.plans.compact .plan-card { margin: 0; }
.plans.compact .plan-card .price { line-height: 1; }

/* Reduce default large spacing that may come from base styles */
.plans.compact .plan-card .plan-header { margin-bottom: 0.5rem; }
.plans.compact .plan-card .plan-features .feature-item span { white-space: nowrap; }
/* Dedicated page: allow wrapping so long specs (CPU/RAM) don't visually merge */
body.dedicated-location .plans.compact .plan-card .plan-features .feature-item span {
    white-space: normal;
    word-break: break-word;
}
/* Dedicated page: fix icon width so text starts at the same x-position for each row */
body.dedicated-location .product-page .plans.compact .plan-features .feature-item i {
    display: inline-block; /* enforce width on icons */
    width: 20px;
    min-width: 20px;
    text-align: center;
}
/* Dedicated page: ensure each grid cell starts at the same x-position */
body.dedicated-location .product-page .plans.compact .plan-features {
    justify-items: start;
    align-items: start;
    grid-auto-rows: minmax(1.6rem, auto); /* consistent row height across columns */
}
/* Dedicated page: normalize row spacing inside each feature item */
body.dedicated-location .product-page .plans.compact .plan-features .feature-item {
    align-items: center; /* keep icons centered against text */
    padding: 0;
    min-height: 1.6rem; /* normalize row height so columns line up */
}
body.dedicated-location .product-page .plans.compact .plan-features .feature-item span {
    line-height: 1.3; /* stable text height */
    display: inline-block;
}

/* Add this at the beginning of the file */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #a0f;
    --primary-dark: #80d;
    --primary-light: #c0f;
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    /* Modern dark grey palette - easier on eyes */
    --bg-dark: #1a1a1f;
    --bg-darker: #13131a;
    --bg-light: #25252d;
    --bg-card: #1e1e26;
    --bg-elevated: #2a2a35;
    --text-primary: #f5f5f7;
    --text-secondary: #b8b8c0;
    --text-muted: #7a7a85;
    --border-color: #35353f;
    --border-light: #45454f;
    --transition: all 0.3s ease;
    --glow: 0 0 15px rgba(170, 0, 255, 0.3);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
    --card-shadow-hover: 0 8px 30px rgba(170, 0, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
    --header-height: 60px; /* Define header height as a variable */
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
}

/* VPS plan badges */
.plan-badges {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(170, 0, 255, 0.06);
}

.plan-badge i {
    color: var(--primary-color);
}

/* Early BF variant for homepage Bare Metal promos */
.plan-badge.bf-badge {
    border-color: transparent;
    background: linear-gradient(135deg, #7c3aed, #f97316);
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(15,23,42,0.7), 0 10px 30px rgba(124,58,237,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}
@keyframes bfPulse {
    0% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(15,23,42,0.7), 0 10px 30px rgba(124,58,237,0.45); }
    50% { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(15,23,42,0.9), 0 14px 40px rgba(234,179,8,0.55); }
    100% { transform: translateY(0); box-shadow: 0 0 0 1px rgba(15,23,42,0.7), 0 10px 30px rgba(124,58,237,0.45); }
}
.plan-badge.bf-badge {
    animation: bfPulse 2.4s ease-in-out infinite;
}

/* Plans note */
.plans-note {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* VPS plan header layout refinements */
.product-page .plan-card .price-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    line-height: 1.2;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.product-page .plan-card .plan-badges {
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.product-page .plan-card .plan-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(170, 0, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Center and contain the plans note under the include grid */
.plans-include-section .plans-note {
    text-align: center;
    max-width: 900px;
    margin: 1rem auto 0;
    padding: 0 1rem;
    display: block;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    /* Remove extra body overlay to avoid hiding menu content */
    body.menu-open::before { background: transparent !important; }

    /* Place nav list above the body overlay */
    header .nav-list.show,
    nav .nav-list.show,
    .nav-list.show {
        z-index: 2147483647 !important;
        background: rgba(10,10,12,0.98) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0.5rem 0 !important;
    }

    /* On mobile, disable desktop hover behavior entirely */
    .nav-item.dropdown:hover > .dropdown-menu { display: none !important; }
    .dropdown-submenu:hover > .dropdown-menu { display: none !important; }

    /* Base hidden state for all menus */
    .dropdown-menu { 
        display: none !important; 
        position: static !important; 
        width: 100% !important; 
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }

    /* Accordion opens driven by .open class (JS) */
    .nav-item.dropdown.open > .dropdown-menu { display: block !important; }
    .dropdown-submenu.open > .dropdown-menu { display: block !important; }

    /* Make items fully tappable and stacked */
    .nav-item > a, .dropdown-submenu > a { 
        display: block !important; 
        width: 100% !important; 
        padding: 14px 18px !important; 
        color: #fff !important; 
        text-decoration: none !important; 
        white-space: normal !important; 
    }
}

@media (max-width: 768px) {
    .product-page .plan-card .price-options {
        font-size: 0.8rem;
    }

    .product-page .plan-card .plan-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.45rem;
    }
}


/* IP Leasing: Automation highlights */
.automation-highlights {
    padding: 60px 0 20px;
}

.automation-highlights .section-header p {
    color: var(--text-secondary);
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.auto-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.auto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(170, 0, 255, 0.35);
}

.auto-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(60% 60% at 50% 50%, rgba(170, 0, 255, 0.35), rgba(170, 0, 255, 0.05));
    margin-bottom: 10px;
}

.auto-icon i {
    color: var(--primary-color);
    font-size: 18px;
}

.auto-card h3 {
    margin: 6px 0 4px;
    font-size: 1.05rem;
}

.auto-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* RIPE automation block (scoped inside Featured plans) */
.plans .ripe-automation {
    grid-column: 1 / -1; /* if grid */
    width: 100%; /* if flex */
    margin: 10px 0 0;
}

.ripe-automation-inner {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--bg-dark);
    padding: 18px;
}

.ripe-automation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.ripe-automation-header i {
    color: var(--primary-color);
    font-size: 18px;
}

.ripe-automation-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.ripe-automation-header .badge {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--primary-color);
    border: 1px solid rgba(170, 0, 255, 0.35);
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(170, 0, 255, 0.08);
}

.ripe-automation .subtext {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .ripe-automation-inner {
        padding: 14px;
    }
}

/* Generic feature banner (reused on VPS) */
.feature-banner {
    padding: 0 2rem;
    margin: 1rem auto 1.5rem; /* add top gap to respect background split */
}

.feature-banner-inner {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--bg-dark);
    padding: 18px;
    max-width: 1200px; /* align width with main content */
    margin: 0 auto;     /* center like plans grid */
}

.feature-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.feature-banner-header i { color: var(--primary-color); font-size: 18px; }
.feature-banner-header h3 { font-size: 1.1rem; margin: 0; }
.feature-banner-header .badge {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--primary-color);
    border: 1px solid rgba(170, 0, 255, 0.35);
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(170, 0, 255, 0.08);
}

.feature-banner .subtext { color: var(--text-secondary); margin-bottom: 10px; }

@media (max-width: 768px) {
    .feature-banner { padding: 0 1rem; }
    .feature-banner-inner { padding: 14px; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* Add scroll padding for anchor links */
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Navigation Improvements */
.navbar {
    background: var(--bg-darker);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(18, 18, 23, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 32px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg);
}

.nav-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10000;
    background: none !important;
    align-items: center;
    box-shadow: none !important;
    border: none !important;
}

@media (min-width: 769px) {
    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: transparent !important;
    }
    
    .product-page .nav-list,
    .vps-location .nav-list,
    .vds-location .nav-list,
    body.dedicated-location .nav-list {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
    }
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--text-primary);
}

.nav-item a:hover::after,
.nav-item a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active underline for dropdown parent links using ::before since ::after is used for chevron */
.nav-item.dropdown > a.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(1);
    transform-origin: left;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-buttons .button {
    margin: 0;
}

/* VPS dropdown */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown > a::after {
    content: "\f078"; /* FontAwesome chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7em;
    margin-left: 0.5rem;
}

/* Hide chevron when dropdown parent is active */
.nav-item.dropdown > a.active::after {
    content: none;
}

/* Hide dropdown chevron on location-specific VPS pages */
.vps-location .nav-item.dropdown > a::after {
    content: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-primary);
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
}

.nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Nested dropdown (submenu) support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a {
    white-space: nowrap;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Description text inside menu */
.menu-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.85;
    margin-top: 0.15rem;
}

/* Flag icons inside dropdown items */
.menu-flag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.menu-flag img {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

@media (max-width: 992px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar.scrolled {
        padding: 0.75rem 1rem;
    }
    
    .nav-buttons {
        display: none;
    }
}

/* Header & Navigation */
header {
    background: var(--bg-darker);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.logo img,
.logo-img {
    height: 32px;
    transition: transform 0.3s ease;
    display: block;
}

.logo:hover img {
    transform: rotate(5deg);
}

.nav-list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1.5rem;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    /* Base mobile menu - hidden by default */
    header .nav-list,
    nav .nav-list,
    .nav-list {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10,10,12,0.98);
        /* Block layout to avoid flex-row bleed */
        overflow-x: hidden;
        padding: 0;
        z-index: 10000; /* above content/header decorations */
        visibility: hidden;
    }
    
    /* Show menu when active */
    header .nav-list.show,
    nav .nav-list.show,
    .nav-list.show {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: block !important;
        width: 100vw !important;
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: rgba(10,10,12,0.98) !important;
        z-index: 2147483647 !important; /* force on top of everything */
        visibility: visible !important;
    }

    /* Prevent body behind from scrolling when menu is open */
    body.menu-open { overflow: hidden !important; }

    /* Ensure the fixed overlay is not constrained by header's backdrop-filter */
    body.menu-open header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: visible !important;
        z-index: 1 !important;
    }

    header .nav-item,
    nav .nav-item,
    .nav-item {
        display: block !important;
        width: 100% !important;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid var(--border-color, rgba(255,255,255,.08));
    }
    
    header .nav-item a,
    nav .nav-item a,
    .nav-item a {
        display: block !important;
        width: 100% !important;
        padding: 1rem 1.25rem;
        color: #ffffff !important;
        font-size: 1.05rem;
        text-decoration: none;
        white-space: normal !important; /* allow wrap */
    }
    
    /* Mobile dropdown behavior */
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.3);
        width: 100%;
        box-shadow: none;
    }
    /* Allow wrapping for any submenu anchors on mobile */
    .dropdown-submenu > a { white-space: normal !important; }
    
    .nav-item.dropdown.active > .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu > .dropdown-menu {
        position: static;
        left: 0;
        margin-top: 0;
    }
    
    .dropdown-submenu.active > .dropdown-menu {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    /* Override product page styles on mobile */
    .product-page .nav-list,
    .vps-location .nav-list,
    .vds-location .nav-list,
    body.dedicated-location .nav-list,
    .home-page .nav-list {
        display: none !important;
        position: fixed !important;
        flex-direction: column !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background-color: var(--bg-darker) !important;
    }
    
    .product-page .nav-list.show,
    .vps-location .nav-list.show,
    .vds-location .nav-list.show,
    body.dedicated-location .nav-list.show,
    .home-page .nav-list.show {
        display: flex !important;
    }
    
    /* Force nav items to show on mobile */
    .product-page .nav-item,
    .vps-location .nav-item,
    .vds-location .nav-item,
    body.dedicated-location .nav-item,
    .home-page .nav-item {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .product-page .nav-item a,
    .vps-location .nav-item a,
    .vds-location .nav-item a,
    body.dedicated-location .nav-item a,
    .home-page .nav-item a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        color: var(--text-primary) !important;
    }
    
    /* Nuclear option - force everything visible */
    body .nav-list.show {
        display: flex !important;
        visibility: visible !important;
    }
    
    body .nav-list.show .nav-item {
        display: block !important;
        visibility: visible !important;
    }
    
    body .nav-list.show .nav-item a {
        display: block !important;
        visibility: visible !important;
        color: #ffffff !important;
    }
}

/* Section Divider Bars */
.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(170, 0, 255, 0.3) 20%, 
        rgba(170, 0, 255, 0.8) 50%, 
        rgba(170, 0, 255, 0.3) 80%, 
        transparent 100%);
    margin: 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: var(--primary-gradient);
    filter: blur(10px);
    opacity: 0.8;
}

/* Home Page Styles */
.home-page .hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    background: 
        radial-gradient(circle at center, rgba(26, 26, 31, 0.7) 0%, rgba(26, 26, 31, 0.85) 40%, var(--bg-dark) 70%),
        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

/* Grey out non-selectable/coming-soon dedicated locations */
.location-selector .location-card.coming-soon {
    opacity: 0.45;
    filter: grayscale(0.6);
    cursor: default;
}

.location-selector .location-card.coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

/* Interactive hero glow effect */
.home-page .hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--mouse-x, 50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(170, 0, 255, 0.3) 0%, rgba(170, 0, 255, 0.15) 30%, rgba(170, 0, 255, 0.05) 50%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: left 0.2s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.home-page .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.home-page .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Hero Plan Cards */
.hero-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.hero-plan-card {
    background: rgba(30, 30, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.hero-plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(170, 0, 255, 0.2);
}

.hero-plan-card .plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hero-plan-card .plan-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-plan-card .plan-price {
    margin-bottom: 1.5rem;
}

.hero-plan-card .price-from {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.hero-plan-card .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-plan-card .price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-plan-card .plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.hero-plan-card .plan-features-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-plan-card .plan-features-list i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.hero-plan-card .button {
    width: 100%;
}

.home-page .hero-stats {
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.home-page .hero-cta {
    margin: 2rem 0 2.5rem;
    position: relative;
    z-index: 2;
}

.home-page .features {
    padding: 2rem 2rem 4rem;
    background: transparent;
}

.home-page .hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-page .hero-stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 2.5rem auto 2rem;
    position: relative;
    z-index: 2;
}

.home-page .stat-item {
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.home-page .stat-number {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.home-page .hero-badge {
    margin-bottom: 2rem;
}

.home-page .hero-cta {
    margin-top: 2.5rem;
}

.home-page .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.home-page .hero h1 .highlight {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(170, 0, 255, 0.6), 0 0 40px rgba(170, 0, 255, 0.4);
}

.home-page .hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-secondary);
    opacity: 0.9;
}

.home-page .hero .button-primary {
    margin-right: 0; /* Use flex gap for consistent spacing */
}

.home-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(170, 0, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(170, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    z-index: 1;
    opacity: 0.15;
}

.home-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.home-page .hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(170, 0, 255, 0.1);
    border: 1px solid rgba(170, 0, 255, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(170, 0, 255, 0.15);
}

.home-page .hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.home-page .hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.home-page .hero h1 .highlight {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(170, 0, 255, 0.6), 0 0 40px rgba(170, 0, 255, 0.4);
}

.home-page .hero p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.home-page .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 1.5rem auto;
}

.home-page .features {
    padding-top: 3rem;
}

.home-page .hero-cta {
    margin-bottom: 2.5rem;
}

.home-page .stat-item {
    background: rgba(170, 0, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(170, 0, 255, 0.2);
    transition: var(--transition);
    text-align: center;
}

.home-page .stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: rgba(170, 0, 255, 0.08);
    box-shadow: 0 4px 15px rgba(170, 0, 255, 0.2);
}

.home-page .stat-number {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.75rem;
}

.home-page .stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Product Page Styles */
.product-page .hero {
    min-height: 26vh; /* reduced from 40vh */
    padding: 2rem 1.5rem; /* reduced vertical + horizontal padding */
    background: linear-gradient(180deg,
        rgba(170, 0, 255, 0.03) 0%,
        rgba(5, 5, 5, 0.95) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* even tighter hero when using .compact */
.product-page .hero.compact {
    min-height: 22vh;
    padding: 1.5rem 1.25rem;
}

.product-page .features {
    padding: 3rem 2rem;
    margin-bottom: -1rem;
}

.product-page .plans {
    position: relative;
    z-index: 2;
    padding-top: 3rem;
}

.product-page .features-grid {
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-page .section-title {
    margin-bottom: 2rem;
}

.product-page .plans {
    padding: 4rem 2rem;
    background-color: var(--bg-darker);
}

.product-page .section-header {
    margin-bottom: 3rem;
}

.product-page .plans-container {
    margin-top: 2rem;
}

.product-page .hero + .features {
    padding-top: 1rem;
}

.product-page .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-page .section-header {
    margin-bottom: 2rem;
}

.product-page .section-title {
    margin-bottom: 1.5rem;
}

.product-page .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.product-page .hero p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.product-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.product-page .hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.product-page .hero p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    margin-bottom: 0;
    max-width: 600px;
    color: var(--text-secondary);
}

/* Small inline flags/chips row under hero subtitle */
.product-page .hero-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.product-page .hero-flags .flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
    line-height: 1;
}

.product-page .hero-flags .flag-badge img {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 2px;
}

/* Product Page Buttons */
.product-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    box-shadow: var(--glow);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
    min-width: 200px;
}

.product-page .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(170, 0, 255, 0.3);
}

.product-page .button-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
}

.product-page .button-secondary:hover {
    background: rgba(170, 0, 255, 0.1);
}

/* Location Selector */
.location-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.location-selector.active {
    opacity: 1;
    visibility: visible;
}

.location-selector-content {
    background: var(--bg-darker);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.location-selector.active .location-selector-content {
    transform: translateY(0);
}

.location-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.location-selector-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-primary);
    position: relative;
    padding-left: 1.5rem;
}

.location-selector-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.location-selector-close {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.location-selector-close:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.location-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.location-selector .location-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.location-selector .location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.location-selector .location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

.location-selector .location-card:hover::before {
    opacity: 1;
}

.location-selector .location-flag {
    margin-bottom: 1rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-selector .location-flag img {
    width: 40px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.location-selector .location-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.location-selector .location-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.location-selector .location-country {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 1rem;
}

.location-selector .location-features {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.location-selector .location-features i {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .location-selector-content {
        padding: 1.5rem;
    }
    
    .location-selector-header h2 {
        font-size: 1.5rem;
    }
    
    .location-selector-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 1.5rem auto 0;
    }
}

/* Home Page Features */
.home-page .features-section {
    padding: 4rem 2rem;
}

.home-page .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

/* First 6 cards span 2 columns each (3 per row) */
.home-page .feature:nth-child(1),
.home-page .feature:nth-child(2),
.home-page .feature:nth-child(3),
.home-page .feature:nth-child(4),
.home-page .feature:nth-child(5),
.home-page .feature:nth-child(6) {
    grid-column: span 2;
}

/* Last 2 cards offset to center under gaps (pyramid style) */
.home-page .feature:nth-child(7) {
    grid-column: 2 / 4;
}

.home-page .feature:nth-child(8) {
    grid-column: 4 / 6;
}

.home-page .feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-page .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-page .feature:hover::before {
    opacity: 1;
}

.home-page .feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 12px 40px rgba(170, 0, 255, 0.2);
}

.home-page .feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.2) 0%, rgba(170, 0, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.home-page .feature-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.home-page .feature:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.3) 0%, rgba(170, 0, 255, 0.1) 100%);
}

.home-page .feature:hover .feature-icon-wrapper::after {
    opacity: 1;
    transform: scale(1.3);
}

.home-page .feature i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 1; /* Ensure proper stacking */
}

.home-page .feature:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(170, 0, 255, 0.6));
}

.home-page .feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.home-page .feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
}

@media (max-width: 1100px) {
    .home-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reset grid spanning for 2-column layout */
    .home-page .feature:nth-child(1),
    .home-page .feature:nth-child(2),
    .home-page .feature:nth-child(3),
    .home-page .feature:nth-child(4),
    .home-page .feature:nth-child(5),
    .home-page .feature:nth-child(6),
    .home-page .feature:nth-child(7),
    .home-page .feature:nth-child(8) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .home-page .features {
        padding: 3rem 1rem;
    }
    
    .home-page .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 1.5rem;
    }
    
    .home-page .feature {
        padding: 1.75rem 1.25rem;
    }
}

/* Plan Cards Improvements */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.plan-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--glow);
    margin-top: 15px; /* Space for the tag */
}

.plan-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2; /* Ensure proper stacking */
}

/* Remove any legacy popular tags */
.popular-tag,
.home-page .popular-tag,
.product-page .popular-tag {
    display: none !important;
}

/* Ensure only one featured plan per row gets the tag */
.plans-container .plan-card.featured:nth-of-type(n+2)::before {
    display: none;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.currency, .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2rem 0;
}

.plan-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.plan-features .feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.plan-card .button {
    margin-top: auto;
}

/* Fix for multiple "Most Popular" tags */

/* Remove any legacy popular tags */
.popular-tag,
.home-page .popular-tag,
.product-page .popular-tag {
    display: none !important;
}

/* Ensure only one featured plan per row gets the tag */
.plans-container .plan-card.featured:nth-of-type(n+2)::before {
    display: none;
}

/* Additional fix for plan cards to ensure proper spacing with the tag */
.plan-card.featured {
    margin-top: 15px;
}

/* Compact plan style variant */
.product-page .plans.compact .plans-container { display: grid !important; gap: 1rem; padding: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; align-items: stretch; justify-content: center; max-width: 1200px; margin: 0 auto; }
.product-page .plans.compact .plan-card { padding: 1rem; border-radius: 10px; }
.product-page .plans.compact .plan-header h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.product-page .plans.compact .price { font-size: 1.6rem; }
.product-page .plans.compact .plan-features {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem 1.1rem;
    margin: 0.75rem 0;
}
.product-page .plans.compact .plan-features .feature-item { margin: 0; font-size: 0.9rem; }
.product-page .plans.compact .plan-features .feature-item i { font-size: 0.85rem; }
.product-page .plans.compact .button { padding: 0.6rem 0.9rem; min-width: 0; }
.product-page .plans.compact .price-options { display: none; }

@media (max-width: 520px) {
    .product-page .plans.compact .plans-container { padding: 0.75rem; grid-template-columns: 1fr !important; }
    .product-page .plans.compact .plan-features { grid-template-columns: 1fr !important; }
}

/* Force 3 columns and centered rows on desktop for a 6-plan layout */
@media (min-width: 992px) {
  .product-page .plans.compact .plans-container {
    grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
    justify-content: center;
  }
}

/* Optional features under plans */
/* Per-card optional features */
.plan-optional { border-top: 1px solid var(--border-color); margin-top: 0.75rem; padding-top: 0.75rem; text-align: left; }
.plan-optional .optional-title { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.plan-optional ul { list-style: none; margin: 0; padding: 0; }
.plan-optional li { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); font-size: 0.92rem; margin: 0.25rem 0; }
.plan-optional i { color: var(--primary-color); font-size: 0.9rem; }

/* Feature Chips (compact banner replacement) */
.feature-chips {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.feature-chips .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.feature-chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
}

.feature-chips .chip i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.feature-chips .chip-info {
    margin-left: 0.35rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.feature-chips .chip-info:hover { color: var(--text-secondary); }

.feature-chips .chip-info::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-darker);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    box-shadow: var(--card-shadow);
}

.feature-chips .chip-info:hover::after { opacity: 1; }

.feature-chips .chips-note {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-chips .chips-note a { color: var(--primary-color); text-decoration: none; }
.feature-chips .chips-note a:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .feature-chips .chip { font-size: 0.85rem; }
}

/* Location selector (modal) */
.location-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.location-selector.active { opacity: 1; visibility: visible; }

.location-selector-content {
    background-color: var(--bg-darker);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-selector-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.location-selector-header h2 { margin: 0; color: var(--text-primary); }
.location-selector-close { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; padding: 0; line-height: 1; }

.location-selector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin: 1rem auto 0; }
.location-card { background-color: var(--bg-dark); border: 1px solid var(--border-color); border-radius: 8px; display: flex; padding: 0.85rem; align-items: center; gap: 0.75rem; cursor: pointer; }
.location-card:hover { border-color: var(--primary-color); }
.location-flag { width: 40px; height: 30px; display: flex; align-items: center; justify-content: center; }
.location-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.location-info h3 { margin: 0 0 0.25rem; color: var(--text-primary); }
.location-country { display: block; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.location-features { font-size: 0.85rem; color: var(--text-secondary); }

/* FAQ */
.faq-section { max-width: 1200px; margin: 2.5rem auto; padding: 0 1rem; }
.faq-container h2 { color: var(--text-primary); margin-bottom: 1rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 0.9rem 1rem; font-weight: 600; color: var(--text-primary); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; border-radius: 8px; }
.faq-item summary::after { content: '+'; color: var(--text-muted); font-weight: 700; margin-left: 1rem; transition: transform .15s ease, color .15s ease; }
.faq-item[open] summary::after { content: '−'; color: var(--primary-color); }
.faq-item .faq-answer { padding: 0 1rem 1rem; color: var(--text-secondary); }

@media (max-width: 640px) {
  .faq-section { margin: 2rem auto; }
  .faq-item summary { padding: 0.85rem 0.9rem; }
  .faq-item .faq-answer { padding: 0 0.9rem 0.9rem; }
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 4rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1rem 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .home-page .hero {
        min-height: auto;
        padding: 4rem 1rem 2rem;
    }
    
    .hero-plans {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .home-page .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

    .home-page .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .home-page .hero-cta .button {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .home-page .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 1rem;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .plans-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hover effect */
.service:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

/* Location Selector Improvements */
.location-selector-content {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-darker);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2rem;
}

.location-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature, .plan-card, .service {
        min-height: auto;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Global Spacing Adjustments */
section {
    padding: 3rem 0;
}

.section-header {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

/* Hero Section Refinements */
.hero {
    background: var(--bg-darker);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(170, 0, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.1), transparent 60%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    text-align: center;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-align: center;
}

/* Page Header Fixes */
.page-header {
    background: var(--bg-darker);
    padding: 2rem 0;
    position: relative;
    margin-top: 0;
    padding-top: 2rem;
    overflow: hidden;
    border-bottom: none;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(170, 0, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.1), transparent 60%);
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Hero Section Fixes */
.hero {
    background: var(--bg-darker);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(170, 0, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.1), transparent 60%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    text-align: center;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-align: center;
}

/* Features Section */
.features {
    padding: 4rem 0;
    position: relative;
}

.features .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: var(--glow);
}

.feature:hover::before {
    opacity: 1;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for features */
@media (max-width: 768px) {
    .features {
        padding: 3rem 1rem;
    }
    
    .features .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Plan Cards Refinements */
.product-page .plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-page .plan-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-page .plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-page .plan-card:hover::after {
    transform: scaleX(1);
}

.product-page .plan-card.featured::after {
    transform: scaleX(1);
}

.product-page .plan-card.featured {
    border: 2px solid var(--primary-color);
    background: rgba(170, 0, 255, 0.05);
}

.product-page .popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--glow);
}

.product-page .plan-card .plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-page .plan-card .plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-page .plan-card .price {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.product-page .plan-card .price .currency {
    font-size: 2.5rem;
}

.product-page .plan-card .price .period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: normal;
    margin-left: 0.5rem;
}

.product-page .plan-card .plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-page .plan-card .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.product-page .plan-card .feature-item:hover {
    background: rgba(170, 0, 255, 0.05);
}

.product-page .plan-card .feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.product-page .plan-card .feature-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-page .plan-card .button {
    width: 100%;
    margin-top: auto;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-page .plan-card.featured .button {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--glow);
}

.product-page .plan-card:not(.featured) .button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
}

.product-page .plan-card .button:hover {
    transform: translateY(-2px);
}

.product-page .plan-card.featured .button:hover {
    box-shadow: 0 7px 20px rgba(170, 0, 255, 0.4);
}

.product-page .plan-card:not(.featured) .button:hover {
    background: rgba(170, 0, 255, 0.1);
}

/* Section Header Improvements */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid Improvements */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.feature-box {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-box:hover::after {
    transform: scaleX(1);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: var(--card-shadow);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-box:hover i {
    transform: scale(1.1);
}

.feature-box h4 {
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-box-center:last-child {
        grid-column: 2;
    }
}

/* Plan Cards Improvements */
.product-page .plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-page .plan-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-page .plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-page .plan-card:hover::after {
    transform: scaleX(1);
}

.product-page .plan-card.featured::after {
    transform: scaleX(1);
}

.product-page .plan-card.featured {
    border: 2px solid var(--primary-color);
    background: rgba(170, 0, 255, 0.05);
}

.product-page .popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--glow);
}

.product-page .plan-card .plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-page .plan-card .plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-page .plan-card .price {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.product-page .plan-card .price .currency {
    font-size: 2.5rem;
}

.product-page .plan-card .price .period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: normal;
    margin-left: 0.5rem;
}

.product-page .plan-card .plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-page .plan-card .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.product-page .plan-card .feature-item:hover {
    background: rgba(170, 0, 255, 0.05);
}

.product-page .plan-card .feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.product-page .plan-card .feature-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-page .plan-card .button {
    width: 100%;
    margin-top: auto;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-page .plan-card.featured .button {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--glow);
}

.product-page .plan-card:not(.featured) .button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
}

.product-page .plan-card .button:hover {
    transform: translateY(-2px);
}

.product-page .plan-card.featured .button:hover {
    box-shadow: 0 7px 20px rgba(170, 0, 255, 0.4);
}

.product-page .plan-card:not(.featured) .button:hover {
    background: rgba(170, 0, 255, 0.1);
}

/* Hero Text Improvements */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    .hero-buttons .button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Product page buttons */
    .product-page .button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Plan card buttons */
    .plan-card .button {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Table Improvements */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--bg-darker);
}

thead {
    background: var(--bg-dark);
}

th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

th:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

tr:hover th:after {
    transform: scaleX(1);
}

td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

tbody tr {
    background: var(--bg-darker);
    transition: var(--transition);
}

tbody tr:hover {
    background: var(--bg-dark);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Form Improvements */
input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(170, 0, 255, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Mobile Menu Improvements */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.mobile-nav-item a:hover,
.mobile-nav-item a.active {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-100 {
    transition-delay: 100ms;
}

.animate-delay-200 {
    transition-delay: 200ms;
}

.animate-delay-300 {
    transition-delay: 300ms;
}

.animate-delay-400 {
    transition-delay: 400ms;
}

.animate-delay-500 {
    transition-delay: 500ms;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease forwards;
}

/* Slide In Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.8s ease forwards;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Prevent animations on mobile devices with reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    .fade-in,
    .slide-up,
    .slide-in,
    .pulse {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Utility for preventing scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Global hard override for portaled mobile menu */
.mobile-menu-portal.show {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  background: rgba(10,10,12,0.98) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 2147483647 !important;
  visibility: visible !important;
}

.mobile-menu-portal.show > li { display: block !important; width: 100% !important; }
.mobile-menu-portal.show a { display: block !important; width: 100% !important; color: #fff !important; padding: 14px 18px !important; text-decoration: none !important; white-space: normal !important; }

/* Force accordion behavior inside portaled mobile menu */
.mobile-menu-portal .dropdown-menu { display: none !important; position: static !important; width: 100% !important; background: rgba(255,255,255,0.04) !important; border: 1px solid rgba(255,255,255,0.08) !important; }
.mobile-menu-portal li.open > .dropdown-menu { display: block !important; }

/* Neutralize any .active-based rules on mobile that conflict */
@media (max-width: 768px) {
  .nav-item.dropdown.active > .dropdown-menu,
  .dropdown-submenu.active > .dropdown-menu { display: none !important; }
}

/* Included Features Improvements */
.included-features {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.included-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.75rem;
}

.included-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

.features-list li:hover {
    background: rgba(170, 0, 255, 0.1);
}

.features-list li i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.features-list li span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive adjustments for plan includes */
@media (max-width: 768px) {
    .included-features {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .included-features h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
}

/* Plan Note */
.plan-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    border: none;
    outline: none;
    font-size: 0.95rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.button-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--glow);
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(170, 0, 255, 0.4);
}

.button-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(170, 0, 255, 0.3);
}

.button-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.button-secondary:hover {
    background: rgba(170, 0, 255, 0.1);
    transform: translateY(-2px);
}

.button-secondary:active {
    transform: translateY(0);
}

.button i {
    font-size: 1rem;
}

/* Hero Section */
.hero {
    background: var(--bg-darker);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(170, 0, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.1), transparent 60%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    text-align: center;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    text-align: center;
}

/* Page Header Fixes */
.page-header {
    background: var(--bg-darker);
    padding: 2rem 0;
    position: relative;
    margin-top: 0;
    padding-top: 2rem;
    overflow: hidden;
    border-bottom: none;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(170, 0, 255, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 102, 255, 0.1), transparent 60%);
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-gradient);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Plan Includes Styling */
.plan-includes {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-includes h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.features-list li:hover {
    background: rgba(170, 0, 255, 0.05);
}

.features-list li i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Responsive adjustments for plan includes */
@media (max-width: 768px) {
    .plan-includes {
        margin-top: 1rem;
        gap: 0.5rem;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
}

/* Plan comparison section */
.plan-comparison {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--bg-darker);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: rgba(170, 0, 255, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table i.fa-check {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.comparison-table i.fa-times {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.comparison-table .highlight {
    background: rgba(170, 0, 255, 0.05);
}

@media (max-width: 768px) {
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Feature Boxes - Enterprise Grade Infrastructure */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-box {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: var(--glow);
}

.feature-box-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-box-icon img {
    width: 100%;
    height: auto;
}

.feature-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* All Plans Include Section */
.plans-include-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: transparent;
    border-radius: 0;
    position: relative;
}

.plans-include-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.plans-include-title h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.plans-include-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

.plans-include-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.include-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.include-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.include-box:hover::before {
    opacity: 1;
}

.include-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 12px 40px rgba(170, 0, 255, 0.2);
}

.include-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.2) 0%, rgba(170, 0, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.include-box:hover .include-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.3) 0%, rgba(170, 0, 255, 0.1) 100%);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 8px 25px rgba(170, 0, 255, 0.15);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.2) 0%, rgba(170, 0, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-box-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.3) 0%, rgba(170, 0, 255, 0.1) 100%);
}

.include-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.include-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.include-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plans-include-section {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }
    
    .plans-include-title h2 {
        font-size: 1.75rem;
    }
    
    .plans-include-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .plans-include-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Products Section */
.products-section {
    padding: 4rem 2rem;
    background-color: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: var(--glow);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card .button {
    align-self: flex-start;
    margin-top: auto;
}

/* Client Area Section */
.client-area-section {
    padding: 3rem 2rem;
    background-color: var(--bg-darker);
}

.client-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.client-area-item {
    display: flex;
    flex-direction: column;
}

.client-area-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.client-area-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-area-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
    padding: 0.3rem 0;
}

.client-area-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-grid,
    .client-area-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .products-section,
    .client-area-section {
        padding: 3rem 1rem;
    }
}

/* Enterprise-Grade Infrastructure Section */
.enterprise-infrastructure {
    padding: 4rem 0;
    background-color: var(--bg-dark);
    position: relative;
}

.enterprise-infrastructure h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Improved Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-box {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: var(--glow);
}

.feature-box-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-box-icon i {
    font-size: 2rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enterprise-infrastructure {
        padding: 3rem 1rem;
    }
    
    .enterprise-infrastructure h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Services Section Improvements */
.home-page .services {
    padding: 2rem 0 4rem;
    background: transparent;
    position: relative;
}

.home-page .services .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.home-page .services .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.home-page .services .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.home-page .services .section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.home-page .services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* First 3 cards span 2 columns each (top row) */
.home-page .service:nth-child(1) {
    grid-column: 1 / 3;
}

.home-page .service:nth-child(2) {
    grid-column: 3 / 5;
}

.home-page .service:nth-child(3) {
    grid-column: 5 / 7;
}

/* Bottom 2 cards offset to center under gaps (pyramid style) */
.home-page .service:nth-child(4) {
    grid-column: 2 / 4;
}

.home-page .service:nth-child(5) {
    grid-column: 4 / 6;
}

.home-page .service {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.home-page .service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.home-page .service:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 8px 25px rgba(170, 0, 255, 0.15);
}

.home-page .service:hover::before {
    opacity: 1;
}

.home-page .service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: rgba(170, 0, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition);
}

.home-page .service:hover .service-icon {
    background: rgba(170, 0, 255, 0.15);
    transform: scale(1.05);
}

.home-page .service-icon i {
    font-size: 2rem;
}

.home-page .service h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.home-page .service p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.home-page .service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.home-page .service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.home-page .service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.home-page .service .button {
    margin-top: auto;
    align-self: center;
}

/* Responsive adjustments */
/* Tablet view for services - 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .home-page .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-page .services {
        padding: 3rem 1rem;
    }
    
    .home-page .services .section-header h2 {
        font-size: 2rem;
    }
    
    .home-page .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    /* Reset grid positioning for mobile */
    .home-page .service:nth-child(1),
    .home-page .service:nth-child(2),
    .home-page .service:nth-child(3),
    .home-page .service:nth-child(4),
    .home-page .service:nth-child(5) {
        grid-column: auto;
    }
    
    .home-page .service {
        padding: 2rem;
    }
}

/* Global Network Section Improvements */
.home-page .locations-section {
    padding: 2rem 0 4rem;
    background: transparent;
    position: relative;
}

.home-page .locations-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.home-page .locations-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.home-page .locations-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.home-page .locations-section .section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.home-page .locations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.home-page .location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-page .location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.home-page .location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 8px 25px rgba(170, 0, 255, 0.15);
}

.home-page .location-card:hover::before {
    opacity: 1;
}

.home-page .location-flag {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .location-flag img {
    width: 40px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.home-page .location-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-page .location-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.home-page .location-country {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}

.home-page .location-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-page .location-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.home-page .location-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .home-page .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Reset grid positioning for tablet */
    .home-page .locations-grid .location-card:nth-child(1),
    .home-page .locations-grid .location-card:nth-child(2),
    .home-page .locations-grid .location-card:nth-child(3),
    .home-page .locations-grid .location-card:nth-child(4),
    .home-page .locations-grid .location-card:nth-child(5),
    .home-page .locations-grid .location-card:nth-child(6),
    .home-page .locations-grid .location-card:nth-child(7),
    .home-page .locations-grid .location-card:nth-child(8),
    .home-page .locations-grid .location-card:nth-child(9),
    .home-page .locations-grid .location-card:nth-child(10) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .home-page .locations-section {
        padding: 3rem 1rem;
    }
    
    .home-page .locations-section .section-header h2 {
        font-size: 2rem;
    }
    
    .home-page .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-page .locations-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* Plan Cards Refinements */
.product-page .plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive adjustments for plans container */
@media (max-width: 1200px) {
    .product-page .plans-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .product-page .plans-container {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-page .plans.compact .plans-container {
        grid-template-columns: 1fr !important;
    }
    
    .plan-card {
        max-width: 100%;
    }
    
    .plan-card .button {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: auto;
    }
}

/* IP Leasing Features Row */
.features-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features-row .feature {
    flex: 1;
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features-row .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-row .feature:hover::before {
    opacity: 1;
}

.features-row .feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: var(--bg-elevated);
    box-shadow: 0 12px 40px rgba(170, 0, 255, 0.2);
}

.features-row .feature i {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.2) 0%, rgba(170, 0, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.features-row .feature:hover i {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(170, 0, 255, 0.3) 0%, rgba(170, 0, 255, 0.1) 100%);
}

/* Plans note styling */
.plans-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1.5rem auto 2rem;
    max-width: 800px;
}

/* Custom config note - subtle inline text */
.custom-config-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 2rem;
    padding: 1rem;
}

.custom-config-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.custom-config-note a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Responsive adjustments for features row */
@media (max-width: 992px) {
    .features-row {
        flex-wrap: wrap;
    }
    
    .features-row .feature {
        flex-basis: calc(50% - 1rem);
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .features-row .feature {
        flex-basis: 100%;
    }
}

/* Menu Toggle Button - Ensure it's visible on mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Explicitly show menu toggle on mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important; /* Force display with !important */
    }
    
    nav {
        justify-content: space-between;
        width: 100%;
    }
    
    .logo {
        z-index: 1001;
    }
}
