/* CSS Reset & Variables */
:root {
    --bg-dark: #050507;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --accent-glow: rgba(99, 102, 241, 0.5);

    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;

    --container-width: 1200px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    /* Desktop default */
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px -5px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px -5px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

.btn-xl {
    padding: 1.2rem 2.5rem;
    font-size: 1.25rem;
    border-radius: var(--radius-md);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: white;
}

/* Mega Menu */
/* Mega Menu */
.nav-item-dropdown {
    position: static;
}

.mega-menu {
    position: fixed;
    top: var(--nav-height);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 98vw;
    max-width: 1600px;
    background: #0a0a0c;
    border: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    max-height: 85vh;
    overflow: visible;
    /* Important for side pop-outs */
    z-index: 999;
}

/* Hover State for Desktop */
@media (min-width: 1025px) {
    .nav-item-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* The Grid Layout for Categories */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    width: 100%;
    align-items: start;
    position: relative;
}

/* === CARD STYLES === */
.mega-category-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
    position: relative;
    /* Anchor for absolute overlay */
    z-index: 1;
}

.mega-category-card:hover,
.mega-category-card.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 50;
    /* Ensure active card stays above neighbors */
}

/* Header inside card */
.mega-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.card-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    font-size: 0.7em;
    transform: rotate(-90deg);
    /* Point right initially */
}

/* === SIDE POP-OUT SUB-MENU === */
.mega-list {
    /* Default: Pop to the Right */
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    /* Gap */

    width: 320px;
    /* Fixed width for stability */

    /* Appearance */
    background: #121214;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
    z-index: 100;

    /* Grid Layout for Subcomponents */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;

    /* Transition States */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    /* Slide from card */
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* INVISIBLE BRIDGE: Keeps hover active when moving across gap */
.mega-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    /* Extend towards card */
    width: 30px;
    /* Cover the gap */
    background: transparent;
}

/* Reveal Overlay on Hover */
.mega-category-card:hover .mega-list,
.mega-category-card.active .mega-list {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.mega-category-card:hover .card-arrow,
.mega-category-card.active .card-arrow {
    color: var(--text-main);
}

/* === SMART ALIGNMENT (Pop Left vs Right) === */

/* Desktop (6 Columns) */
@media (min-width: 1401px) {

    /* Last 3 columns: Pop Left */
    .mega-category-card:nth-child(6n+4) .mega-list,
    .mega-category-card:nth-child(6n+5) .mega-list,
    .mega-category-card:nth-child(6n+6) .mega-list {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 10px;
        transform: translateX(10px);
    }

    .mega-category-card:nth-child(6n+4) .mega-list::before,
    .mega-category-card:nth-child(6n+5) .mega-list::before,
    .mega-category-card:nth-child(6n+6) .mega-list::before {
        left: auto;
        right: -20px;
    }

    .mega-category-card:nth-child(6n+4):hover .mega-list,
    .mega-category-card:nth-child(6n+4).active .mega-list,
    .mega-category-card:nth-child(6n+5):hover .mega-list,
    .mega-category-card:nth-child(6n+5).active .mega-list,
    .mega-category-card:nth-child(6n+6):hover .mega-list,
    .mega-category-card:nth-child(6n+6).active .mega-list {
        transform: translateX(0);
    }

    .mega-category-card:nth-child(6n+4):hover .card-arrow,
    .mega-category-card:nth-child(6n+4).active .card-arrow,
    .mega-category-card:nth-child(6n+5):hover .card-arrow,
    .mega-category-card:nth-child(6n+5).active .card-arrow,
    .mega-category-card:nth-child(6n+6):hover .card-arrow,
    .mega-category-card:nth-child(6n+6).active .card-arrow {
        transform: rotate(90deg);
        /* Point left-ish/down */
    }
}

/* Link Styles within Grid */
.mega-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    line-height: 1.3;
    transition: color 0.2s;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    min-height: 40px;
}

.mega-list a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .mega-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 4-Col Layout: 1,2 Pop Right | 3,4 Pop Left */
    .mega-category-card:nth-child(4n+3) .mega-list,
    .mega-category-card:nth-child(4n+4) .mega-list {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 10px;
        transform: translateX(10px);
    }

    .mega-category-card:nth-child(4n+3) .mega-list::before,
    .mega-category-card:nth-child(4n+4) .mega-list::before {
        left: auto;
        right: -20px;
    }

    .mega-category-card:nth-child(4n+3):hover .mega-list,
    .mega-category-card:nth-child(4n+3).active .mega-list,
    .mega-category-card:nth-child(4n+4):hover .mega-list,
    .mega-category-card:nth-child(4n+4).active .mega-list {
        transform: translateX(0);
    }
}

@media (max-width: 1100px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 3-Col Layout: 1,2 Pop Right | 3 Pop Left */
    .mega-category-card:nth-child(3n+3) .mega-list {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: 10px;
        transform: translateX(10px);
    }

    .mega-category-card:nth-child(3n+3) .mega-list::before {
        left: auto;
        right: -20px;
    }

    .mega-category-card:nth-child(3n+3):hover .mega-list,
    .mega-category-card:nth-child(3n+3).active .mega-list {
        transform: translateX(0);
    }
}

/* TABLET & MOBILE LAYOUT (Switch to Accordion at 1024px) */
@media (max-width: 1024px) {

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        align-items: flex-start;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        border: none;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: none;
        max-height: none;
        overflow: hidden;
    }

    .nav-item-dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
    }

    /* Mobile specific card adjustments */
    .mega-category-card {
        padding: 15px;
        background: rgba(255, 255, 255, 0.02);
        position: relative;
        z-index: auto;
        /* Reset z-index on mobile */
    }

    .card-arrow {
        transform: rotate(0deg);
    }

    /* Mobile: Revert overlay to accordion for better UX */
    .mega-list {
        position: static;
        width: 100%;
        max-width: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        display: flex;
        /* Back to list for mobile */
        flex-direction: column;
        gap: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0;
        margin-left: 0;
        pointer-events: auto;
    }

    .mega-list a {
        background: transparent;
        padding: 8px 0;
        min-height: auto;
    }

    /* Remove Bridge on Mobile */
    .mega-list::before {
        display: none;
    }

    /* Only expand on active class for mobile */
    .mega-category-card.active .mega-list {
        max-height: 800px;
        /* Accordion expansion */
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 10px;
    }

    .mega-category-card.active .card-arrow {
        transform: rotate(180deg);
    }

    /* Disable hover effects on mobile */
    .mega-category-card:hover .mega-list {
        max-height: 0;
    }

    .mega-category-card.active:hover .mega-list {
        max-height: 800px;
    }

    .dropdown-arrow {
        float: right;
        transition: transform 0.3s;
    }

    .nav-item-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-links>a,
    .nav-link-dropdown {
        width: 100%;
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* End Mega Menu Mobile */
/* Cleaned orphaned styles */

/* Mobile Responsive Mega Menu override */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1500px;
    /* Increased for wider coverage */
    height: 1500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(5, 5, 7, 0) 70%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* 2 Column layout */
    align-items: center;
    gap: 4rem;
}

.hero-text {
    max-width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Visualization Styles */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.visual-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.float-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    /* More transparent */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Faint border */
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: floatIcon 5s ease-in-out infinite;
    opacity: 0.8;
    /* Subtle overall opacity */
}

.float-icon svg {
    width: 28px;
    height: 28px;
    opacity: 0.9;
}

.icon-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

/* Instagram */
.icon-2 {
    top: 70%;
    right: -8%;
    animation-delay: 1.5s;
    width: 50px;
    height: 50px;
}

/* YouTube */
.icon-3 {
    bottom: 5%;
    left: 5%;
    animation-delay: 2.5s;
}

/* Facebook */
.icon-4 {
    top: 0%;
    right: 10%;
    animation-delay: 3s;
    width: 45px;
    height: 45px;
}

/* LinkedIn */
.icon-5 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
    width: 40px;
    height: 40px;
}

/* Telegram */

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #a5b4fc;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #22c55e;
}

/* Trust Signals in Text Column now */
.trust-signals {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signal {
    display: flex;
    flex-direction: column;
}

.signal-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.signal span:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.signal-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.arrow {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.trust-signals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.8;
}

.signal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signal .count {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.signal .label {
    font-size: 0.875rem;
    color: var(--text-dim);
}

.signal-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* SEO Intro */
.seo-intro {
    padding: 4rem 0;
}

.seo-card {
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(99, 102, 241, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.seo-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Services */
.services {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--bg-card-hover);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: white;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.instagram-gradient {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.youtube-gradient {
    background: #ff0000;
}

.facebook-gradient {
    background: #1877f2;
}

.linkedin-gradient {
    background: #0a66c2;
}

.twitter-gradient {
    background: #000000;
    border: 1px solid #333;
}

.telegram-gradient {
    background: #229ED9;
}

/* Features (Why Choose) */
.features {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(5, 150, 105, 0.2);
    color: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.visual-card {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.stat-row {
    margin-bottom: 1.5rem;
}

.stat-row span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.floating-badge {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.badge-1 {
    top: -20px;
    right: -20px;
}

.badge-2 {
    bottom: -20px;
    left: -20px;
}

/* Infrastructure */
.infrastructure {
    padding: 6rem 0;
    text-align: center;
}

.infra-header {
    margin-bottom: 4rem;
}

.infra-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 4rem;
}

.infra-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.infra-label {
    font-weight: 500;
    color: var(--text-muted);
}

.world-map-visual {
    width: 100%;
    height: 300px;
    background:
        radial-gradient(circle at 70% 40%, rgba(99, 102, 241, 0.2) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='dots' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23dots)' /%3E%3C/svg%3E");
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.map-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.map-dot-pulse {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 50%;
    transform: translate(-3px, -3px);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-3px, -3px) scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }

    70% {
        transform: translate(-3px, -3px) scale(1);
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        transform: translate(-3px, -3px) scale(0.95);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-card {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    background: #020203;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--text-dim);
    max-width: 300px;
}

.footer-links h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    color: var(--text-dim);
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

/* Top Selling Services */
.top-selling {
    padding: 2rem 0 6rem;
    position: relative;
    z-index: 10;
}

.top-selling-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.top-card {
    position: relative;
    padding: 2.5rem;
    border-top: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
    display: flex;
    flex-direction: column;
}

.top-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.linkedin-theme {
    border-top-color: #0a66c2;
}

.linkedin-theme:hover {
    box-shadow: 0 15px 30px -10px rgba(10, 102, 194, 0.2);
}

.linkedin-theme .top-icon {
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.youtube-theme {
    border-top-color: #ff0000;
}

.youtube-theme:hover {
    box-shadow: 0 15px 30px -10px rgba(255, 0, 0, 0.2);
}

.youtube-theme .top-icon {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.facebook-theme {
    border-top-color: #1877f2;
}

.facebook-theme:hover {
    box-shadow: 0 15px 30px -10px rgba(24, 119, 242, 0.2);
}

.facebook-theme .top-icon {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.top-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.top-icon svg {
    width: 32px;
    height: 32px;
}

.top-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.fire-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.sub-services {
    margin-bottom: 1.5rem;
}

.sub-services li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.sub-services li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.value-cues {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-full {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    position: relative;
    z-index: 5;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.faq-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #6366f1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
    opacity: 1;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.faq-list {
    list-style: disc;
    padding-left: 3.5rem !important;
    /* Override p padding for list indentation clarity */
}

.faq-list li {
    margin-bottom: 0.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .top-selling-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-layout {
        grid-template-columns: 1fr;
    }

    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .badge-1,
    .badge-2 {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: inline-block;
        margin: 10px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 7, 0.98);
        backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        border-bottom: none;
        z-index: 1001;
        animation: slideDown 0.3s ease-out;
    }

    .nav-link-dropdown {
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 0;
    }

    .mega-menu-container {
        padding: 1rem 0;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .top-selling-grid {
        grid-template-columns: 1fr;
    }


    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
        /* Text first */
    }

    .hero-visual {
        order: 2;
        /* Visual second */
    }

    .hero-sub,
    .trust-signals,
    .cta-group {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .signal-divider {
        display: none;
    }

    .trust-signals {
        flex-direction: row;
        /* Keep row unless very small, but maybe wrap */
        justify-content: space-around;
    }

    .infra-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-signals {
        flex-direction: column;
        gap: 1rem;
    }

    .signal-divider {
        display: none;
    }

    .grid {
        gap: 1.5rem;
    }
}

/* =========================================
   Reviews & Testimonials Section
   ========================================= */
.reviews-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(5, 5, 7, 0) 0%, rgba(15, 17, 22, 0.5) 100%);
}

.aggregate-reviews {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stars-gold {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Gradient Gold/Pink for Stars */
.star {
    width: 32px;
    height: 32px;
    color: #fbbf24;
    /* Amber 400 */
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
}

.aggregate-reviews h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.aggregate-reviews p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Re-use standard border */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars-gold-sm {
    color: #fbbf24;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.reviewer-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.review-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
    /* Pushes meta down */
}

.reviewer-meta {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.reviewer-name {
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

/* Tablet Responsive Reviews */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 2rem;
        /* Scrollbar space */
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar visually but keep functionality? Optional */
    }

    .review-card {
        min-width: 85vw;
        /* Card width on mobile */
        scroll-snap-align: center;
    }

    .aggregate-reviews h3 {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
}

/* =========================================
   Service Page Specific Styles
   ========================================= */

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--text-dim);
}

.breadcrumbs a:hover {
    color: var(--primary-color, #6366f1);
}

.breadcrumbs span {
    margin: 0 0.5rem;
    color: var(--border-color);
}

.breadcrumbs .current {
    color: var(--text-main);
}

/* Service Content Typography */
.service-content h2,
.service-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.service-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    /* Green check */
    font-weight: bold;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    color: var(--text-muted);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table-wrapper {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Sidebar Layout Grid (Content + Sidebar/Table) */
.sidebar-layout-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 992px) {
    .sidebar-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-table-wrapper {
        margin-top: 2rem;
    }
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Utility for long headings */
.h1-long {
    font-size: 2.5rem !important;
}

@media (max-width: 768px) {
    .h1-long {
        font-size: 1.8rem !important;
    }
}

/* =========================================
   Responsive Grid Utilities
   ========================================= */

/* Hero Grid: 2 columns on desktop (Text | Visual), Stack on mobile */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Desktop default */
    align-items: center;
    gap: 4rem;
}

/* Feature Grid: 2 columns side-by-side */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Benefit Grid: Text | Image */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Mobile & Tablet Overrides for Grids */
@media (max-width: 992px) {

    .hero-grid,
    .feature-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-grid {
        gap: 3rem;
    }

    .hero-text {
        margin: 0 auto;
        max-width: 600px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    /* Center Buttons in Hero */
    .hero-text .btn-group {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.feature-list-check {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0;
    margin-top: 2rem;
    list-style: none;
}

@media (max-width: 768px) {
    .feature-list-check {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Global Components (Refactored from Page-Specific)
   ========================================= */

/* 1. Selection Grid (Tab Switcher) */
.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.selection-card {
    border: 2px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    text-align: left;
}

.selection-card:hover {
    border-color: #6366f1;
    transform: translateY(-3px);
}

.selection-card.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.card-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    flex-shrink: 0;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.selection-card.active .card-radio {
    border-color: #6366f1;
    background: #6366f1;
    box-shadow: inset 0 0 0 3px #1e293b;
}

.card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    margin-bottom: 0;
}

.badge-soft {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Premium Card Specifics */
.selection-card.premium.active {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.selection-card.premium.active .card-radio {
    border-color: #f59e0b;
    background: #f59e0b;
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #f59e0b;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Tab Content Animation */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }
}

/* 2. Process Steps Grid */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #6366f1;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* 3. Strategy Grid */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.strategy-card {
    padding: 1.25rem !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #6366f1;
    transform: translateY(-5px);
}

.strategy-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strategy-card p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: var(--text-muted);
    margin: 0 !important;
}

.strategy-icon {
    width: 20px;
    height: 20px;
    color: #6366f1;
}

@media (max-width: 992px) {
    .strategy-grid {
        grid-template-columns: 1fr;
    }
}

/* 4. Global Pricing/Benefits Grid (Standardized) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* 5. Utility: Modern Section Heading */
.section-heading-modern {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.section-heading-modern h2 {
    margin: 0;
    white-space: nowrap;
}

.section-heading-modern::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color), transparent);
}

@media (max-width: 768px) {
    .section-heading-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading-modern::after {
        width: 100%;
    }

    .section-heading-modern h2 {
        white-space: normal;
    }
}

/* 6. Utility: Process Title Wrapper */
.process-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.process-title-wrapper h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.process-title-wrapper .step-indicator {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
}

.step-dot.active {
    background: #6366f1;
    box-shadow: 0 0 10px #6366f1;
}

@media (max-width: 768px) {
    .process-title-wrapper h2 {
        font-size: 1.8rem;
    }
}

/* 7. Timer Bar (Flash Sale) */
:root {
    --fb-red: #ef4444;
    --fb-red-dark: #7f1d1d;
    --fb-red-glow: rgba(239, 68, 68, 0.4);
}

.ss-timer-bar {
    background: linear-gradient(90deg, rgba(69, 10, 10, 0.8) 0%, rgba(127, 29, 29, 0.8) 100%);
    border: 1px solid var(--fb-red);
    color: #fecaca;
    text-align: center;
    padding: 12px 24px;
    margin: 0 auto 2rem;
    border-radius: 99px;
    font-weight: 500;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 0 20px var(--fb-red-glow);
    backdrop-filter: blur(10px);
    max-width: fit-content;
    animation: pulse-red 2s infinite;
    position: relative;
    z-index: 10;
}

.ss-discount-badge {
    background: var(--fb-red);
    color: white;
    padding: 4px 12px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ss-timer-val {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

@media (max-width: 768px) {
    .ss-timer-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
    }
}

/* 8. Ads Premium Section */
.ads-premium-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    border: 2px solid #f59e0b !important;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}


.ads-premium-section::before {
    content: 'PREMIUM CHOICE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #f59e0b;
    color: #000;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 800;
    transform: rotate(45deg);
    z-index: 1;
}

/* 12. FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* 9. Hero Card & Pricing Card Hover Effects */
.pricing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1 !important;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(99, 102, 241, 0.3);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.pricing-card:hover::after {
    left: 100%;
}

/* 10. Hero Animations & Backgrounds */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bg-icon {
    position: absolute;
    opacity: 0.15;
    animation: float-bg 8s infinite ease-in-out;
    color: rgba(255, 255, 255, 0.5);
}

.bg-icon.highlight {
    color: #1877F2;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.4));
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 10px;
    backdrop-filter: blur(4px);
}

/* Specific Icon Positioning */
.bg-icon:nth-child(1) {
    top: 15%;
    left: 5%;
    width: 60px;
    height: 60px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.bg-icon:nth-child(2) {
    top: 25%;
    right: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 10s;
    animation-delay: 1s;
}

.bg-icon:nth-child(3) {
    bottom: 20%;
    left: 15%;
    width: 50px;
    height: 50px;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bg-icon:nth-child(4) {
    bottom: 30%;
    right: 5%;
    width: 70px;
    height: 70px;
    animation-duration: 16s;
    animation-delay: 0.5s;
}

.bg-icon:nth-child(5) {
    top: 40%;
    left: 50%;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    animation-duration: 20s;
}

.bg-icon:nth-child(6) {
    bottom: 40%;
    left: 5%;
    width: 45px;
    height: 45px;
    animation-duration: 11s;
    animation-delay: 3s;
}

.bg-icon:nth-child(7) {
    top: 20%;
    right: 30%;
    width: 35px;
    height: 35px;
    animation-duration: 15s;
    animation-delay: 1.5s;
}

.bg-icon:nth-child(8) {
    bottom: 10%;
    right: 40%;
    width: 55px;
    height: 55px;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.bg-icon:nth-child(9) {
    top: 60%;
    right: 5%;
    width: 48px;
    height: 48px;
    animation-duration: 17s;
    animation-delay: 4s;
}

.hero-main-icon {
    margin-bottom: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: rgba(24, 119, 242, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(24, 119, 242, 0.4);
    border: 1px solid rgba(24, 119, 242, 0.3);
    animation: pulse-blue 4s infinite;
    backdrop-filter: blur(10px);
}

.hero-main-icon svg {
    width: 64px;
    height: 64px;
    color: #1877F2;
    filter: drop-shadow(0 0 20px rgba(24, 119, 242, 0.6));
}

@keyframes float-bg {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(8deg);
    }
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0.4);
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        box-shadow: 0 0 0 30px rgba(24, 119, 242, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(24, 119, 242, 0);
        transform: scale(1);
    }
}

/* 11. Extra Helper Utilities from Page */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.box-padding-large {
    padding: 3rem;
}

.hero-padding {
    padding-top: 140px;
    min-height: 70vh;
}

@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        gap: 2rem;
    }

    .box-padding-large {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-padding {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .grid-2-col {
        gap: 1.5rem;
    }

    /* Comparison table wrapper specific */
    .comparison-table-wrapper {
        width: 100%;
        overflow-x: auto;
    }
}

.text-center {
    text-align: center !important;
}

/* FAQ Accordion Styles */
.faq-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Increased safe limit */
    opacity: 1;
    margin-top: 1.5rem;
    /* Smoother spacing */
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color, #6366f1);
}

/* Floating WhatsApp Button */
.floating-whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff0000;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.whatsapp-message-bubble {
    background-color: white;
    color: #333;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 250px;
    position: relative;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    /* Initially hidden */
}

.whatsapp-message-bubble.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-message-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);
}

.support-agent-title {
    color: #25D366;
    font-weight: bold;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.whatsapp-close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
}

.whatsapp-close-btn:hover {
    color: #666;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Fixes for Audit */

/* 1. Footer Grid Stacking */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 1rem;
    }
}

/* 2. Hero Content Stacking */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin: 0 auto;
    }
}

/* 3. Global Responsive Helpers */
img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
}

/* 4. Comparison Table Containment */
/* Ensure tables don't overflow their containers if wrapper is missing */
/* Ensure tables don't overflow their containers if wrapper is missing */
.comparison-table {
    width: 100%;
    /* Remove display: block to keep standard table behavior, wrapper handles scroll */
}

/* Robust Wrapper for Flex/Grid Containers */
.comparison-table-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Crucial for flex items to shrink */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}