/* ==========================================================================
   CMHOST - ENTERPRISE PROFESSIONAL DESIGN SYSTEM
   Default: Clean Corporate Light Mode | Optional: Refined Pro Dark Mode
   Inspired by Stripe, Cloudflare & DigitalOcean
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* Default Theme: CMHOST Brand Colors (Purple #5d088e & Magenta #fa2c68) */
:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-subtle: #f1f5f9;
    --bg-banner: linear-gradient(135deg, #490570 0%, #5d088e 45%, #fa2c68 100%);
    
    /* CMHOST Signature Colors from Logo */
    --primary: #5d088e;              /* CM Purple */
    --primary-hover: #45036d;        /* Deep Purple */
    --primary-light: rgba(93, 8, 142, 0.08); /* Soft Purple Tint */
    --secondary: #fa2c68;            /* HOST Magenta Pink */
    --secondary-hover: #e01a52;      /* Deep Magenta */
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --accent-rose: #fa2c68;
    
    --grad-primary: linear-gradient(135deg, #5d088e 0%, #fa2c68 100%);
    --grad-dark: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    --grad-badge: linear-gradient(135deg, rgba(93, 8, 142, 0.08) 0%, rgba(250, 44, 104, 0.08) 100%);
    --grad-text: linear-gradient(135deg, #5d088e 0%, #fa2c68 100%);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    --text-inverse: #ffffff;
    
    --border-glass: #e2e8f0;
    --border-card: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-card-hover: 0 20px 35px -8px rgba(93, 8, 142, 0.16);
}

/* Optional Dark Theme (Refined Logo Palette) */
[data-theme="dark"] {
    --bg-main: #0b0f19;
    --bg-surface: #111827;
    --bg-card: #151d30;
    --bg-card-hover: #1b253e;
    --bg-glass: rgba(17, 24, 39, 0.85);
    --bg-subtle: #1a2234;
    --bg-banner: linear-gradient(135deg, #3b0764 0%, #581c87 50%, #831843 100%);
    
    --primary: #a855f7;              /* Bright Purple */
    --primary-hover: #c084fc;
    --primary-light: rgba(168, 85, 247, 0.15);
    --secondary: #fb7185;            /* Bright Magenta Pink */
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #fb7185;
    
    --grad-primary: linear-gradient(135deg, #9333ea 0%, #f43f5e 100%);
    --grad-dark: linear-gradient(180deg, #151d30 0%, #111827 100%);
    --grad-badge: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(251, 113, 133, 0.15) 100%);
    --grad-text: linear-gradient(135deg, #c084fc 0%, #fda4af 100%);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-inverse: #0f172a;
    
    --border-glass: #1e293b;
    --border-card: #1e293b;
    --border-hover: #334155;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 20px 35px -8px rgba(0, 0, 0, 0.6);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Subtle background accent for light mode */
.bg-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .bg-grid-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Corporate Gradient Text */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Professional Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

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

.glass-card-glow {
    border: 1px solid rgba(37, 99, 235, 0.25);
}

/* Professional Buttons */
.btn-futuristic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

.btn-futuristic:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-futuristic-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-futuristic-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Professional Live Status Badge & Festive Hero Pill */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    border: 1px solid rgba(93, 8, 142, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-body);
}

.badge-live .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 6px var(--primary);
    animation: subtlePulse 2s infinite;
}

/* Structured Festive Hero Pill (Sleek 2-Piece Chip Design) */
.hero-festive-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 153, 51, 0.4);
    box-shadow: 0 2px 10px rgba(255, 153, 51, 0.12);
    border-radius: var(--radius-full);
    padding: 4px 14px 4px 4px;
    font-size: 13px;
    margin-bottom: 20px;
    max-width: 100%;
    transition: all 0.2s ease;
}

.hero-festive-badge:hover {
    border-color: #ff9933;
    box-shadow: 0 4px 14px rgba(255, 153, 51, 0.2);
}

.hero-festive-badge .badge-chip {
    background: linear-gradient(135deg, #ff9933 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.hero-festive-badge .badge-text {
    color: var(--text-main);
    font-weight: 600;
    font-size: 12.5px;
    white-space: nowrap;
}

@keyframes subtlePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   TOP UTILITY ANNOUNCEMENT BAR (Independence Day Festive Edition)
   ========================================================================== */
.top-utility-bar {
    background: var(--bg-surface);
    border-top: 3px solid #ff9933;
    border-bottom: 1px solid var(--border-glass);
    font-size: 13px;
    padding: 7px 0;
    color: var(--text-muted);
    position: relative;
}

.top-utility-bar::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff9933 0%, #ff9933 33.3%, #ffffff 33.3%, #ffffff 66.6%, #138808 66.6%, #138808 100%);
}

.top-utility-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-offer-tag {
    background: linear-gradient(135deg, #ff9933 0%, #138808 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    margin-right: 8px;
    letter-spacing: 0.03em;
}

.coupon-pill {
    background: rgba(255, 153, 51, 0.12);
    border: 1px dashed #d97706;
    color: #b45309;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.coupon-pill:hover {
    background: #d97706;
    color: #ffffff;
    border-style: solid;
    transform: scale(1.03);
}

.top-right-tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-currency-select {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    outline: none;
    cursor: pointer;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (100% Guaranteed Sticky)
   ========================================================================== */
#default_header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.futuristic-nav {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.25s ease;
}

.futuristic-nav.scrolled,
.futuristic-nav.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    padding: 10px 0 !important;
    box-shadow: var(--shadow-md) !important;
    background: var(--bg-glass) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link-custom {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--primary);
}

.nav-link-custom i.fa-chevron-down {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-item:hover .nav-link-custom i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Megamenu Dropdown */
.futuristic-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.nav-item:hover .futuristic-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.dropdown-promo-box {
    grid-column: span 2;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.dd-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dd-item:hover {
    background: var(--bg-subtle);
}

.dd-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.dd-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.dd-desc {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header Currency Pill Selector */
.header-currency-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 6px 10px;
    height: 38px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-currency-pill:hover {
    border-color: var(--primary);
}

.header-currency-select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
}

.theme-toggle-btn:hover {
    background: var(--bg-subtle);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-nav-login {
    color: var(--text-main);
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    background: var(--bg-card);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-nav-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav-cta {
    padding: 8px 18px;
    font-size: 13.5px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 22px;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-futuristic {
    padding-top: 36px;
    padding-bottom: 45px;
    position: relative;
}

.hero-glow-blob {
    display: none; /* Removed intense glow blobs for clean corporate look */
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-glass);
}

.hero-stat-item h3 {
    font-size: 30px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.hero-stat-item p {
    font-size: 13px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ==========================================================================
   DOMAIN SEARCH BAR (Sleek, Compact, Single-Line)
   ========================================================================== */
.domain-search-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 5px 6px 5px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    flex-wrap: nowrap;
    height: 52px;
    transition: all 0.2s ease;
}

.domain-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.domain-search-box i.fa-search {
    color: var(--text-dim);
    font-size: 15px;
    flex-shrink: 0;
}

.domain-search-box:focus-within i.fa-search {
    color: var(--primary);
}

.domain-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.domain-input::placeholder {
    color: var(--text-dim);
    font-size: 14px;
}

.domain-search-box .btn-futuristic {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    height: 40px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tld-pill-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tld-pill {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tld-pill span {
    color: var(--primary);
    font-weight: 700;
}

.tld-pill:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE PRICING SWITCHER & PLAN CARDS
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
    position: relative;
}

.billing-switcher-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
}

.billing-switcher {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    padding: 5px;
    display: inline-flex;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.switcher-btn {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.switcher-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.discount-tag {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

[data-theme="dark"] .discount-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.plan-header h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.plan-desc {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 20px;
}

.plan-price-box {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.plan-price {
    font-size: 42px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.plan-price .currency {
    font-size: 24px;
    vertical-align: top;
    color: var(--primary);
}

.plan-price .period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.plan-features-list li i.fa-check {
    color: var(--accent-emerald);
    background: #dcfce7;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

[data-theme="dark"] .plan-features-list li i.fa-check {
    background: rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   INTERACTIVE SERVER CONFIGURATOR SLIDER
   ========================================================================== */
.server-calculator-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.spec-slider-row {
    margin-bottom: 24px;
}

.spec-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.spec-slider-header span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}

.spec-val-badge {
    font-family: var(--font-heading);
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
}

.custom-range {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-subtle);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease;
}

/* ==========================================================================
   REAL-TIME GLOBAL DATACENTER LATENCY PING TOOL
   ========================================================================== */
.datacenter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.datacenter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.datacenter-card:hover, .datacenter-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.dc-flag {
    font-size: 26px;
    margin-bottom: 6px;
}

.dc-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.dc-ping {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.futuristic-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-card);
    padding: 70px 0 25px;
    position: relative;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 14px 0 20px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 18px;
    color: var(--text-main);
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.15s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-emerald);
}

.footer-system-status .pulse-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
}

/* ==========================================================================
   SCROLL TO TOP BUTTON (Positioned Above Live Chat)
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 95px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE OFF-CANVAS DRAWER SYSTEM
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-card);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 100002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 20px;
}

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

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-drawer-close {
    background: var(--bg-subtle);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 16px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-glass);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0 0 10px 14px;
    margin: 0;
}

.mobile-submenu.open {
    display: block;
}

.mobile-submenu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
}

.mobile-submenu-item a:hover {
    color: var(--primary);
}

.mobile-drawer-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

/* Compact Single-Line Drawer Theme Row */
.drawer-theme-row {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.drawer-theme-row:hover {
    border-color: var(--primary);
}

.drawer-theme-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
}

/* Modern iOS-Style Toggle Pill */
.theme-switch-toggle {
    width: 44px;
    height: 24px;
    background: var(--border-card);
    border-radius: 12px;
    position: relative;
    transition: background 0.25s ease;
}

[data-theme="dark"] .theme-switch-toggle {
    background: var(--primary);
}

.theme-switch-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-switch-toggle::after {
    transform: translateX(20px);
}

/* Header Currency Pill Selector (Mobile-Only in Navbar, Desktop uses Top Bar) */
.header-currency-pill {
    display: none; /* Hidden on desktop because top utility bar already has currency */
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    height: 34px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.header-currency-pill:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.header-currency-select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding-right: 2px;
}

/* ==========================================================================
   ADVANCED MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================== */
@media (max-width: 991px) {
    /* Compact Top Bar on Mobile */
    .top-utility-bar {
        padding: 5px 0;
        font-size: 11.5px;
    }
    .top-utility-container {
        justify-content: center !important;
        padding: 0 12px;
    }
    .top-announcement-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-wrap: nowrap;
        white-space: nowrap;
        overflow: hidden;
    }
    .top-offer-tag {
        font-size: 10px;
        padding: 2px 6px;
        margin-right: 0;
    }
    .coupon-pill {
        font-size: 10px;
        padding: 2px 7px;
        margin-left: 0;
    }

    .futuristic-nav {
        padding: 13px 0; /* Slightly increased for comfortable touch targets and breathing space */
    }
    .nav-container {
        padding: 0 16px;
    }
    .nav-logo img {
        height: 30px !important; /* Balanced proportion for mobile */
        width: auto;
    }
    .nav-links {
        display: none !important;
    }
    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: 8px; /* Tightly pairs currency pill next to the 3-line hamburger menu */
    }
    .nav-actions .btn-nav-login,
    .nav-actions .btn-nav-cta,
    .nav-actions .theme-toggle-btn {
        display: none !important; /* Move theme and login inside mobile sidebar */
    }
    .nav-actions .header-currency-pill {
        display: inline-flex !important; /* Show currency pill in mobile header */
        height: 34px;
        padding: 4px 10px;
    }
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-card);
        background: var(--bg-card);
        color: var(--text-main);
        font-size: 17px;
        cursor: pointer;
    }
    
    /* Hero Section */
    .hero-futuristic {
        padding-top: 24px;
        padding-bottom: 35px;
    }
    .hero-title {
        font-size: 30px;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .hero-subtitle {
        font-size: 14.5px;
        margin-bottom: 20px;
    }
    .hero-stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
        padding-top: 0;
        border-top: none;
    }
    .hero-stat-item {
        background: var(--bg-card);
        border: 1px solid var(--border-card);
        border-radius: var(--radius-md);
        padding: 14px 10px;
        box-shadow: var(--shadow-sm);
        text-align: center;
    }
    .hero-stat-item h3 {
        font-size: 22px;
        margin-bottom: 2px;
        color: var(--primary);
    }
    .hero-stat-item p {
        font-size: 11px;
        margin: 0;
        color: var(--text-dim);
    }
    
    /* Domain Search Box */
    .domain-search-box {
        height: 48px;
        padding: 4px 5px 4px 14px;
        gap: 8px;
        max-width: 100%;
    }
    .domain-input {
        font-size: 14px;
    }
    .domain-search-box .btn-futuristic {
        height: 38px;
        padding: 6px 14px;
        font-size: 12px;
    }
    
    /* Billing Switcher */
    .billing-switcher-wrap {
        margin: 20px 0 28px;
    }
    .billing-switcher {
        padding: 3px;
        gap: 2px;
    }
    .switcher-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
    .switcher-btn .discount-tag {
        font-size: 9px;
        padding: 2px 4px;
        margin-left: 2px;
    }
    
    /* Pricing Grid */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 24px;
    }
    .pricing-card {
        padding: 24px 20px;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    
    /* Configurator Box */
    .server-calculator-box {
        padding: 22px 16px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .datacenter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 25px;
        line-height: 1.25;
    }
    .hero-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
    }
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hero-stat-item {
        padding: 10px 8px;
    }
    .hero-stat-item h3 {
        font-size: 19px;
    }
    .hero-stat-item p {
        font-size: 10.5px;
    }
    .domain-search-box {
        height: 46px;
        padding: 3px 4px 3px 12px;
    }
    .domain-input {
        font-size: 13px;
    }
    .domain-input::placeholder {
        font-size: 12px;
    }
    .domain-search-box .btn-futuristic {
        height: 36px;
        padding: 5px 12px;
        font-size: 11px;
    }
    .tld-pill-row {
        gap: 6px;
    }
    .tld-pill {
        padding: 4px 9px;
        font-size: 11px;
    }
    .switcher-btn {
        padding: 6px 7px;
        font-size: 11px;
    }
    .pricing-card .plan-price {
        font-size: 34px;
    }
    .scroll-to-top-btn {
        bottom: 85px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}
