:root {
    --bg-color: #03040a;
    --text-main: #FFFFFF;
    --text-muted: #94a3b8;
    --text-darker: #64748B;
    --primary-blue: #1A6BFF;
    --primary-blue-bright: #3D8AFF;
    --accent-cyan: #00D4FF;
    
    --bronze: #B7713A;
    --bronze-hover: #C6814A;
    --silver: #9CA3AF;
    --silver-hover: #D1D5DB;
    --gold: #FACC15;
    --gold-hover: #FDE047;
    --platinum: #1D4ED8;
    --platinum-hover: #2563EB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    position: relative;
}

/* Global premium background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #0d0f15;
  z-index: -3;
  pointer-events: none;
}

/* Background Grid */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    transform: translateZ(0); /* Promote to GPU layer */
    backface-visibility: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

/* Aurora Glow behind background grid */
.grid-background::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle at 25% 15%, rgba(26, 107, 255, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 75% 55%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 50% 80%, rgba(26, 107, 255, 0.05) 0%, transparent 50%);
    z-index: -2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px max(4%, calc(50vw - 650px));
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    opacity: 0;
    animation: fadeDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 10%, #00f5ff 55%, #0077ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.custom-logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #00f5ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
    line-height: 1;
}

.custom-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Dropdown Menu styling */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.95);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link-pay {
    color: var(--text-main);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.3s;
}

.nav-link-pay:hover {
    opacity: 0.8;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.btn:hover::after {
    animation: btn-shimmer 1.2s ease-out;
}

@keyframes btn-shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0052CC 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 107, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-bright) 0%, var(--primary-blue) 100%);
    box-shadow: 0 8px 25px rgba(26, 107, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 8px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #FFFFFF;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.highlight {
    background-image: linear-gradient(135deg, #1A6BFF, #00D4FF, #FFFFFF, #00D4FF, #1A6BFF, #3D8AFF, #00B4FF, #1A6BFF);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora 8s ease-in-out infinite alternate;
    font-weight: inherit;
    display: inline-block;
}

@keyframes aurora {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 650px;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
}

.hero-section .btn-lg {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

/* Browser Wrapper & Glow */
.browser-wrapper {
    position: relative;
    margin-top: 70px;
    width: 100%;
    max-width: 800px;
    opacity: 0;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.video-bottom-fade-1 {
    position: absolute;
    bottom: -16px;
    left: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-color) 20%, transparent 100%);
    pointer-events: none;
    z-index: 20;
}

.video-bottom-fade-2 {
    position: absolute;
    bottom: -32px;
    left: 0;
    right: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, var(--bg-color) 20%, transparent 100%);
    pointer-events: none;
    z-index: 30;
}

.browser-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 250px;
    background: radial-gradient(circle at center, rgba(26, 107, 255, 0.20) 0%, rgba(0, 212, 255, 0.06) 40%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    position: relative;
    padding: 2px; /* Border thickness */
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.08), 0 25px 70px rgba(0,0,0,0.8);
}

.browser-mockup::before {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    background: conic-gradient(from 0deg, transparent 40%, #00F5FF 70%, #00d4ff 85%, #1a6bff 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* beam removed */
    z-index: 1;
}

@keyframes border-beam-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.browser-inner {
    position: relative;
    z-index: 2;
    background: #050508;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.browser-header {
    height: 42px;
    background: #0b0c14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
}

.browser-dots {
    display: flex;
    gap: 6px;
    width: 60px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }

.browser-address-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 4px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 240px;
    justify-content: center;
    user-select: none;
}

.browser-address-bar svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

.browser-actions-placeholder {
    width: 60px; /* balance the dots width to keep address bar centered */
}

.browser-content {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

/* Browser HUD Stats Bar */
.browser-hud {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(3, 4, 10, 0.95) 0%, rgba(3, 4, 10, 0.4) 60%, transparent 100%);
    pointer-events: none; /* let clicks pass through to video play controls if needed, but subelements have auto */
}

.hud-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.hud-title-pulse {
    width: 6px;
    height: 6px;
    background-color: #27C93F;
    border-radius: 50%;
    box-shadow: 0 0 8px #27C93F;
    animation: hud-dot-pulse 1.5s infinite alternate;
}

@keyframes hud-dot-pulse {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 12px #27C93F; }
}

.hud-stats-group {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.hud-card {
    background: rgba(10, 11, 20, 0.65);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 8px 16px;
    min-width: 95px;
    text-align: center;
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.hud-card:hover {
    border-color: rgba(0, 212, 255, 0.40);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hud-card-label {
    font-family: 'Outfit', sans-serif;
    font-size: 8px;
    color: rgba(148, 163, 184, 0.7);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
}

.hud-card-value-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-card-value {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 900;
    transition: color 0.3s ease;
}

.hud-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.hud-indicator.green {
    background-color: #27C93F;
    box-shadow: 0 0 6px #27C93F;
    animation: indicator-glow-green 2s infinite alternate;
}

.hud-indicator.cyan {
    background-color: #00D4FF;
    box-shadow: 0 0 6px #00D4FF;
    animation: indicator-glow-cyan 2s infinite alternate;
}

@keyframes indicator-glow-green {
    0% { box-shadow: 0 0 4px #27C93F; opacity: 0.7; }
    100% { box-shadow: 0 0 10px #27C93F; opacity: 1; }
}

@keyframes indicator-glow-cyan {
    0% { box-shadow: 0 0 4px #00D4FF; opacity: 0.7; }
    100% { box-shadow: 0 0 10px #00D4FF; opacity: 1; }
}

.youtube-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
/* Pricing Section */
.pricing-section {
    padding: 10px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
    justify-content: center;
    gap: 24px;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(20, 24, 38, 0.95) 0%, rgba(10, 12, 20, 0.95) 100%);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Bronze */
.pricing-card.bronze { border-color: rgba(183, 113, 58, 0.4); --card-theme-glow: var(--bronze); }
.pricing-card.bronze:hover { border-color: var(--bronze-hover); }
.pricing-card.bronze .btn-bronze { background: linear-gradient(135deg, var(--bronze) 0%, #854d24 100%); color: white; width: 100%; box-shadow: 0 4px 12px rgba(183, 113, 58, 0.2); }
.pricing-card.bronze .btn-bronze:hover { background: linear-gradient(135deg, var(--bronze-hover) 0%, var(--bronze) 100%); transform: translateY(-2px) scale(1.02); }
.bronze-text { color: var(--bronze); }

/* Silver */
.pricing-card.silver { border-color: rgba(156, 163, 175, 0.4); --card-theme-glow: var(--silver); }
.pricing-card.silver:hover { border-color: var(--silver-hover); }
.pricing-card.silver .btn-silver { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); color: white; width: 100%; box-shadow: 0 4px 12px rgba(156, 163, 175, 0.15); }
.pricing-card.silver .btn-silver:hover { background: linear-gradient(135deg, #4B5563 0%, #374151 100%); transform: translateY(-2px) scale(1.02); }
.silver-text { color: var(--silver); }

/* Gold */
.pricing-card.gold { border-color: rgba(250, 204, 21, 0.4); --card-theme-glow: var(--gold); }
.pricing-card.gold:hover { border-color: var(--gold-hover); }
.pricing-card.gold .btn-gold { background: linear-gradient(135deg, var(--gold) 0%, #ca8a04 100%); color: #03040a; width: 100%; box-shadow: 0 4px 12px rgba(250, 204, 21, 0.25); }
.pricing-card.gold .btn-gold:hover { background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%); transform: translateY(-2px) scale(1.02); }
.gold-text { color: var(--gold); }

/* Platinum */
.pricing-card.platinum { border-color: rgba(29, 78, 216, 0.4); --card-theme-glow: var(--platinum); }
.pricing-card.platinum:hover { border-color: var(--platinum-hover); }
.pricing-card.platinum .btn-platinum { background: linear-gradient(135deg, var(--platinum) 0%, #1e3a8a 100%); color: white; width: 100%; box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25); }
.pricing-card.platinum .btn-platinum:hover { background: linear-gradient(135deg, var(--platinum-hover) 0%, var(--platinum) 100%); transform: translateY(-2px) scale(1.02); }
.platinum-text { color: var(--platinum); }


.pricing-header h3 {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    min-height: 42px;
}

.price {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 32px;
}

.price span {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check {
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 280px;
    background: radial-gradient(ellipse at top, rgba(26, 107, 255, 0.35) 0%, rgba(0, 212, 255, 0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(10px);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 107, 255, 0.6), rgba(0, 212, 255, 0.4), rgba(26, 107, 255, 0.6), transparent);
}

.cta-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 5% 30px;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.6;
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-darker);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    font-size: 14px;
    color: var(--text-darker);
}

@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        font-weight: 800;
        letter-spacing: -1.2px;
    }
    .cta-title {
        font-size: 36px;
    }
    .footer-top {
        flex-direction: column;
    }
    .footer-links-grid {
        gap: 30px;
    }
}

/* Always hide the raw checkbox input */
.nav-toggle-checkbox {
  display: none;
}

/* Hide hamburger label on desktop */
.nav-toggle-label {
  display: none;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    cursor: pointer;
    z-index: 2000;
  }
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    background: rgba(10, 12, 20, 0.96);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    z-index: 1500;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
  #navToggle:checked ~ .nav-menu {
    right: 0;
  }
  .nav-links,
  .nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .nav-links a,
  .nav-right a {
    width: 100%;
    padding: 12px 16px;
    min-height: 48px;
  }
  .nav-right .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .navbar {
    position: relative;
  }
}

/* ==========================================================================

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes play-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

@keyframes auroraShift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(4%, 3%) scale(1.08);
    }
    100% {
        transform: translate(-2%, 1%) scale(0.96);
    }
}

@keyframes textShimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ==========================================================================
   Application Modal Styles
   ========================================================================== */

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: linear-gradient(180deg, rgba(13, 16, 28, 0.88) 0%, rgba(7, 9, 16, 0.95) 100%);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(26, 107, 255, 0.15);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 24px 32px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #FF5F56;
    transform: scale(1.1);
}

/* Stepper Progress */
.modal-stepper {
    display: flex;
    justify-content: space-between;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: calc(50% + 15px);
    width: calc(100% - 30px);
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
    transition: background-color 0.4s ease;
}

.step-item.active:not(:last-child)::after,
.step-item.completed:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #151926;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item.active .step-number {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 16px rgba(26, 107, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.3);
    transform: scale(1.1);
}

.step-item.completed .step-number {
    background: #10b981;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
    color: var(--text-darker);
    transition: color 0.3s ease;
}

.step-item.active .step-label {
    color: var(--accent-cyan);
}

.step-item.completed .step-label {
    color: #10b981;
}

/* Modal Body & Form Steps */
.modal-body {
    padding: 32px;
    overflow-y: auto;
    flex-grow: 1;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideInStep 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInStep {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-input.error {
    border-color: #FF5F56;
    box-shadow: 0 0 12px rgba(255, 95, 86, 0.25), 0 0 0 3px rgba(255, 95, 86, 0.1);
    background: rgba(255, 95, 86, 0.04);
}

.error-message {
    font-size: 11px;
    color: #FF5F56;
    margin-top: 6px;
    display: none;
}

.form-input.error ~ .error-message {
    display: block;
}

/* Calendar Slots */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.date-slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.date-slot:hover {
    border-color: rgba(26, 107, 255, 0.5);
    background: rgba(26, 107, 255, 0.05);
    transform: translateY(-2px);
}

.date-slot.selected {
    border-color: var(--primary-blue-bright);
    background: rgba(26, 107, 255, 0.12);
    box-shadow: 0 0 20px rgba(26, 107, 255, 0.25), inset 0 0 20px rgba(26, 107, 255, 0.05);
}

.date-slot-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.date-slot-time {
    font-size: 12px;
    color: var(--text-muted);
}

.date-slot-status {
    font-size: 10px;
    color: #27C93F;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Success Confirmation */
.success-wrapper {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(39, 201, 63, 0.1);
    border: 2px solid #27C93F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27C93F;
    font-size: 36px;
    margin: 0 auto 24px;
    animation: scaleInCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleInCheck {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.ref-box {
    background: rgba(26, 107, 255, 0.05);
    border: 1px dashed rgba(26, 107, 255, 0.4);
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--primary-blue-bright);
    margin-bottom: 32px;
    display: inline-block;
    text-shadow: 0 0 20px rgba(26, 107, 255, 0.6);
}

/* Modal Footer */
.modal-footer {
    padding: 20px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer .btn {
    min-width: 100px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.modal-plan-badge {
    background: rgba(26, 107, 255, 0.12);
    color: var(--primary-blue-bright);
    border: 1px solid rgba(26, 107, 255, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 0 12px rgba(26, 107, 255, 0.15);
}

/* ==========================================================================
   Pricing Tab & FAQ Accordion Styles
   ========================================================================== */

.pricing-header-tab {
    display: flex;
    text-align: center;
    padding: 80px 20px 40px;
    flex-direction: column;
    align-items: center;
}

.pricing-badge {
    display: inline-block;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    border: 1.5px solid #00D4FF;
    border-radius: 30px;
    margin-bottom: 24px;
    background: transparent;
}

.pricing-tab-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
}

.pricing-tab-subtitle {
    font-size: 18px;
    color: #a1a1aa; /* A nice muted gray/blue */
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* SPA View Toggles & Animations */
body.view-pricing .hero-section,
body.view-pricing .choose-section,
body.view-pricing .cta-section {
    display: none !important;
}

body.view-pricing #pricingTabLink {
    color: var(--primary-blue);
}

body.view-pricing .pricing-header-tab {
    display: flex !important;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.view-pricing .pricing-section {
    padding-top: 20px !important;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

body.view-pricing .faq-section {
    display: block !important;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* FAQ Section */
.faq-section {
    display: none; /* Hidden on standard Home view */
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 60px;
}

.faq-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.faq-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 48px;
}

.faq-container {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.4s;
    padding-right: 24px;
}

.faq-item.active .faq-answer {
    padding-bottom: 16px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Outline Background Text */
.footer-bg-text {
    width: 100%;
    font-size: 11vw;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.012);
    stroke: 1px rgba(255, 255, 255, 0.012);
    pointer-events: auto;
    user-select: none;
    margin-top: 40px;
    margin-bottom: -10px;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    white-space: nowrap;
}

.footer-bg-text span {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.015);
    stroke: 1px rgba(255, 255, 255, 0.015);
    opacity: 1;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto;
    cursor: default;
    /* animation removed */
}

/* Staggered animation delays for sweeping wave effect */
.footer-bg-text span:nth-child(1) { animation-delay: 0.0s; }
.footer-bg-text span:nth-child(2) { animation-delay: 0.1s; }
.footer-bg-text span:nth-child(3) { animation-delay: 0.2s; }
.footer-bg-text span:nth-child(4) { animation-delay: 0.3s; }
.footer-bg-text span:nth-child(5) { animation-delay: 0.4s; }
.footer-bg-text span:nth-child(6) { animation-delay: 0.5s; }
.footer-bg-text span:nth-child(7) { animation-delay: 0.6s; } /* space */
.footer-bg-text span:nth-child(8) { animation-delay: 0.7s; }
.footer-bg-text span:nth-child(9) { animation-delay: 0.8s; }
.footer-bg-text span:nth-child(10) { animation-delay: 0.9s; }
.footer-bg-text span:nth-child(11) { animation-delay: 1.0s; }
.footer-bg-text span:nth-child(12) { animation-delay: 1.1s; }

.footer-bg-text span:hover {
    animation-play-state: paused !important;
    opacity: 1 !important;
    color: transparent !important;
    -webkit-text-stroke: 1.2px rgba(0, 212, 255, 0.85) !important;
    stroke: 1.2px rgba(0, 212, 255, 0.85) !important;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.65)) 
            drop-shadow(0 0 8px rgba(26, 107, 255, 0.3)) !important;
}

.footer-bg-text .footer-space {
    width: 3vw;
    pointer-events: none;
}

@keyframes fiberPulseSweep {
    0% {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.015);
        stroke: 1px rgba(255, 255, 255, 0.015);
        filter: none;
    }
    /* Peak of the pulse */
    10% {
        -webkit-text-stroke: 1.2px rgba(0, 212, 255, 0.8);
        stroke: 1.2px rgba(0, 212, 255, 0.8);
        filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.5));
    }
    /* Fall back to default dim stroke */
    20%, 100% {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.015);
        stroke: 1px rgba(255, 255, 255, 0.015);
        filter: none;
    }
}

/* Border Beam Effect */
.border-beam {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1.5px solid transparent;
    z-index: 10;
    overflow: hidden;
    
    /* Standard mask rule for Firefox/modern browsers */
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    
    /* Webkit-specific mask rule for Safari/Chrome */
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
}

.border-beam::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 55%, #00D4FF 72%, #1A6BFF 82%, #3D8AFF 90%, #00D4FF 100%);
    animation: rotate-beam 8s linear infinite;
}

@keyframes rotate-beam {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hudPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px #00D4FF, 0 0 16px #00D4FF; }
    50% { opacity: 0.4; box-shadow: 0 0 4px #00D4FF; }
}

@keyframes arcSpin {
    from { stroke-dashoffset: 362; }
    to   { stroke-dashoffset: 36; }
}

@keyframes ringPulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    70%  { transform: scale(1.1); opacity: 0; }
    100% { transform: scale(1.1); opacity: 0; }
}

/* Why Choose Us Section */
.choose-section {
    padding: 80px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.choose-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

/* Conic Glow Badge */
.choose-badge-wrapper {
    position: relative;
    display: inline-flex;
    height: 32px;
    overflow: hidden;
    border-radius: 9999px;
    padding: 1.5px;
    margin-bottom: 20px;
}

.choose-badge-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(from 90deg at 50% 50%, #1A6BFF 0%, #00D4FF 40%, #3D8AFF 70%, #1A6BFF 100%);
    animation: spin 6s linear infinite;
    z-index: 1;
}

.choose-badge-content {
    position: relative;
    display: inline-flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #050505;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    z-index: 2;
    letter-spacing: 0.5px;
    /* backdrop-filter removed for performance */
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.choose-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.choose-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.choose-card {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.choose-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 107, 255, 0.45);
    box-shadow: 0 15px 50px rgba(26, 107, 255, 0.15), 0 0 60px rgba(0, 212, 255, 0.05);
}

.choose-card-icon {
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.choose-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.choose-card-number {
    position: absolute;
    top: 32px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.choose-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.choose-card-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Custom Logo Styling */
.custom-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-logo-img,
.logo-svg {
    height: 40px;
    width: 40px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(26, 107, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.custom-logo:hover .custom-logo-img,
.custom-logo:hover .logo-svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(0, 212, 255, 0.7));
}

.custom-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.custom-logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 10%, #00f5ff 55%, #0077ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.3));
}

.custom-logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: #00f5ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* ==========================================================================
   Page Layout & Common Dashboard Styles
   ========================================================================== */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 4% 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card {
    background: rgba(10, 12, 20, 0.6);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card h2, .glass-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-main);
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: var(--text-muted);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select {
    appearance: none;
    cursor: pointer;
}

option {
    background-color: #0d0f1a;
    color: #ffffff;
    padding: 12px;
}

/* ==========================================================================
   Ticket Page Specific
   ========================================================================== */
.ticket-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@media (max-width: 900px) {
    .ticket-container, .form-row {
        grid-template-columns: 1fr;
    }
}

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ticket-id {
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    color: var(--primary-blue-bright);
    font-weight: 600;
}

.ticket-info h4 {
    margin: 4px 0;
    font-size: 15px;
    font-weight: 500;
}

.ticket-date {
    font-size: 12px;
    color: var(--text-darker);
}

/* ==========================================================================
   Account Dashboard Specific
   ========================================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.dashboard-card-full {
    grid-column: 1 / -1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    margin-bottom: 0;
}

.plan-info {
    margin-bottom: 32px;
}

.plan-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #fff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-speed {
    color: var(--primary-blue-bright);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 16px;
}

.plan-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

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

.card-actions {
    display: flex;
    gap: 12px;
}

.network-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.text-green { color: #10B981; }
.text-cyan { color: var(--accent-cyan); }

/* Table Styles */
.billing-table {
    width: 100%;
    border-collapse: collapse;
}

.billing-table th {
    text-align: left;
    padding: 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.billing-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    vertical-align: middle;
}

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

/* ==========================================================================
   Badges & Indicators
   ========================================================================== */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.status-resolved { background: rgba(124, 58, 237, 0.15); color: #A78BFA; }
.status-closed { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.status-paid { background: rgba(16, 185, 129, 0.15); color: #10B981; }

.pulsing-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pulsing-indicator.online {
    background: #10B981;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Serviceability Map & Leaflet Dark Overrides */
.map-search-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 16px;
    width: 100%;
}

#serviceabilityMap {
    height: 380px !important;
    width: 100%;
    margin-top: 0 !important;
    border: none !important;
    position: relative;
    z-index: 10;
}

/* Floating Map Search Container */
.map-search-container {
    position: absolute;
    top: 12px;
    left: 50px; /* leaves room for Leaflet zoom control at top-left */
    right: 12px;
    z-index: 1000;
    pointer-events: auto;
}

.map-search-box {
    display: flex;
    align-items: center;
    background: rgba(10, 12, 20, 0.85);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0 12px;
    height: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.map-search-box:focus-within {
    border-color: var(--primary-blue-bright);
    box-shadow: 0 4px 20px rgba(26, 107, 255, 0.3);
}

.map-search-box .search-icon {
    color: var(--text-muted);
    margin-right: 8px;
    flex-shrink: 0;
}

.map-search-box input {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    color: var(--text-main) !important;
    width: 100%;
    height: 100%;
}

.map-search-box input:focus {
    box-shadow: none !important;
    background: transparent !important;
}

#mapSearchClearBtn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mapSearchClearBtn:hover {
    color: #ff5f56;
}

/* Suggestions Dropdown */
.map-search-results {
    background: rgba(10, 12, 20, 0.95);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-top: 6px;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.map-search-item {
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.map-search-item:last-child {
    border-bottom: none;
}

.map-search-item:hover {
    background: rgba(26, 107, 255, 0.15);
    color: var(--text-main);
}

/* Floating Locate Me Button */
#mapLocateBtn {
    position: absolute;
    bottom: 20px;
    right: 12px;
    z-index: 1000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 12, 20, 0.85);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

#mapLocateBtn:hover {
    border-color: var(--primary-blue-bright);
    color: var(--primary-blue-bright);
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(26, 107, 255, 0.3);
}

#mapLocateBtn:active {
    transform: scale(0.95);
}

.leaflet-container {
    background: #050508 !important;
    border-radius: 10px;
    font-family: inherit;
}



.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.leaflet-bar a {
    background-color: #0d0f1a !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.leaflet-bar a:hover {
    background-color: #1a1f33 !important;
}

/* TomSelect Dark Theme Overrides */
.ts-control {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
}
.ts-wrapper.single .ts-control .item {
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: normal;
    margin: 0;
    flex: 1;
    min-width: 0;
}
.ts-wrapper.single .ts-control::after {
    display: none !important;
}
.ts-dropdown {
    background-color: #0d0f1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.ts-dropdown .active {
    background-color: rgba(26, 107, 255, 0.2) !important;
    color: #fff !important;
}
.ts-dropdown .option {
    padding: 12px !important;
}

/* Force City and Barangay dropdowns to open upwards (top instead of bottom) */
.ts-dropdown.drop-up {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.3) !important;
}

/* Hide scrollbar in TomSelect dropdown */
.ts-dropdown .ts-dropdown-content::-webkit-scrollbar {
    display: none;
}
.ts-dropdown .ts-dropdown-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fix highlight class collision in TomSelect */
.ts-dropdown .highlight {
    background: none !important;
    background-color: rgba(0, 212, 255, 0.3) !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    animation: none !important;
    filter: none !important;
    display: inline !important;
    border-radius: 2px;
}

/* Hide scrollbars for modal containers to keep it clean */
.modal-body::-webkit-scrollbar,
.form-step::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.modal::-webkit-scrollbar {
    display: none !important;
}
.modal-body, .form-step, .modal-content, .modal {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* ─── Profile Settings Modal Styles ─── */
.modal-tab-btn:hover {
    color: #fff !important;
}
.modal-pane {
    display: none;
    animation: profileFadeIn 0.3s ease;
}
.modal-pane.active-pane {
    display: block !important;
}
.btn-loader {
    animation: profile-spin 1s linear infinite;
}
@keyframes profile-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes profileFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}





/* Dashboard Layout Sidebar Architecture */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: rgba(10, 12, 20, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 24px;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    margin-bottom: 40px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-blue-bright);
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.logout-link {
    color: #ef4444;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

.top-header {
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 12, 20, 0.8);
    /* backdrop-filter removed for performance */
    -webkit-/* backdrop-filter removed for performance */
    position: sticky;
    top: 0;
    z-index: 90;
}

/* User Dropdown */
.user-dropdown-menu.show {
    display: flex !important;
}

/* Uptime Graph */
.uptime-graph {
    margin-top: 20px;
}

/* --- Customer Portal Responsive Upgrades --- */
@media (max-width: 580px) {
    .modal-container {
        width: calc(100% - 16px) !important;
        max-width: 98% !important;
        border-radius: 12px;
        box-sizing: border-box !important;
        max-height: 95vh !important;
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-stepper {
        padding: 8px 16px;
    }
    
    .modal-body {
        padding: 12px 16px;
    }
    
    .step-label {
        font-size: 8px;
        margin-top: 6px;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .step-item:not(:last-child)::after {
        top: 13px;
        left: calc(50% + 13px);
        width: calc(100% - 26px);
    }
    
    #serviceabilityMap {
        height: 200px !important;
    }
    
    .map-search-container {
        left: 12px;
        top: 10px;
    }
    
    .map-search-box {
        height: 36px;
    }
    
    .map-search-box input {
        font-size: 12px !important;
    }
    
    #mapLocateBtn {
        width: 32px;
        height: 32px;
        bottom: 12px;
        right: 8px;
    }

    /* Prevent horizontal overflow of two-column inputs on small viewports */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Stack map instructions so the text wraps nicely and icon centers on top */
    #mapInstruction {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }
    #mapInstruction span {
        display: block !important;
        text-align: center !important;
    }

    /* Adjust modal footer layout so plans badge and buttons stack beautifully on mobile */
    .modal-footer {
        padding: 16px 20px 20px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .modal-footer > div {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }
    .modal-footer > div .btn {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .modal-plan-badge {
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
}

/* Responsive Browser Mockup & HUD Updates */
@media (max-width: 600px) {
    .browser-header {
        height: 34px !important;
        padding: 0 10px !important;
    }
    .browser-dots {
        width: 45px !important;
        gap: 4px !important;
    }
    .browser-dots span {
        width: 8px !important;
        height: 8px !important;
    }
    .browser-address-bar {
        min-width: unset !important;
        flex: 1 !important;
        max-width: 180px !important;
        padding: 3px 12px !important;
        font-size: 10px !important;
        gap: 4px !important;
    }
    .browser-address-bar svg {
        width: 8px !important;
        height: 8px !important;
    }
    .browser-actions-placeholder {
        width: 45px !important;
    }
    .browser-hud {
        padding: 8px 10px !important;
        justify-content: center !important;
    }
    .hud-title {
        display: none !important;
    }
    .hud-stats-group {
        width: 100% !important;
        gap: 6px !important;
        justify-content: space-between !important;
    }
    .hud-card {
        min-width: unset !important;
        flex: 1 !important;
        padding: 4px 6px !important;
        gap: 1px !important;
        border-radius: 6px !important;
    }
    .hud-card-label {
        font-size: 7px !important;
        letter-spacing: 0.5px !important;
    }
    .hud-card-value {
        font-size: 11px !important;
    }
    .hud-indicator {
        width: 4px !important;
        height: 4px !important;
    }
}

/* Short Viewports modal height safety overrides */
@media (max-height: 640px) {
    .modal-container {
        max-height: 96vh !important;
    }
    #serviceabilityMap {
        height: 170px !important;
    }
    .modal-header {
        padding: 8px 16px !important;
    }
    .modal-stepper {
        padding: 6px 16px !important;
    }
    .modal-body {
        padding: 8px 16px !important;
    }
    .modal-footer {
        padding: 8px 16px !important;
    }
    .step-label {
        font-size: 8px !important;
        margin-top: 4px !important;
    }
    .step-number {
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
    }
    .step-item:not(:last-child)::after {
        top: 11px !important;
    }
}

/* --- Navbar Mobile Responsive Overrides --- */

/* Lock background page scrolling when mobile navigation drawer is active */
html:has(#navToggle:checked),
body:has(#navToggle:checked) {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Hide checkbox by default */
.nav-toggle-checkbox {
    display: none;
}

/* Hide toggle label (hamburger icon) on desktop */
.nav-toggle-label {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 110;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

@media (max-width: 768px) {
    /* Show hamburger icon on mobile */
    .nav-toggle-label {
        display: block !important;
    }

    /* Reposition and format the nav menu as a mobile overlay dropdown with smooth animations */
    .nav-menu {
        display: flex !important; /* Managed via opacity/visibility for transition compatibility */
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        position: absolute;
        top: 100%;
        left: 50% !important;
        transform: translateY(-12px) translateX(-50%) !important;
        width: 100vw !important;
        box-sizing: border-box !important;
        background: rgba(7, 9, 16, 0.98) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 24px max(4%, 20px) !important;
        z-index: 99 !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
        max-height: 85vh;
        overflow-y: auto;
        
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100% !important;
        gap: 20px !important;
    }

    .nav-links a {
        font-size: 17px !important;
        width: 100%;
        justify-content: flex-start !important;
    }

    .nav-dropdown {
        width: 100% !important;
    }

    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        border-left: 2px solid #00f5ff !important;
        border-radius: 0 !important;
        padding-left: 12px !important;
        margin-top: 8px !important;
        box-shadow: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .nav-dropdown-menu a {
        font-size: 15px !important;
        padding: 8px 0 !important;
    }

    .nav-right {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 16px !important;
        margin-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-top: 20px !important;
    }

    .nav-link-pay {
        font-size: 17px !important;
        justify-content: flex-start !important;
        padding: 4px 0 !important;
    }

    .nav-right .btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }

    /* When the checkbox is checked, smoothly reveal the nav menu */
    .nav-toggle-checkbox:checked ~ .nav-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) translateX(-50%) !important;
    }

    /* Rotate and color hamburger icon when open */
    .nav-toggle-checkbox:checked ~ .nav-toggle-label {
        transform: rotate(90deg) !important;
        color: #00f5ff !important;
    }
}

/* Identity Verification Upload Zones */
.verification-upload-box {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.verification-upload-box:hover {
    border-color: var(--accent-cyan) !important;
    background: rgba(99, 102, 241, 0.04) !important;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.05);
}

.verification-upload-box:active {
    transform: scale(0.985);
}

/* --- Global Responsive Overrides for Mobile & PC fit --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 52px;
        letter-spacing: -1.5px;
    }
    .choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 16px 40px;
    }
    .hero-title {
        font-size: clamp(32px, 8vw, 46px);
        line-height: 1.2;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: clamp(14px, 4vw, 16px);
        margin-bottom: 32px;
        padding: 0 10px;
    }
    .browser-wrapper {
        margin-top: 40px;
    }
    .browser-header {
        height: 38px;
        padding: 0 10px;
    }
    .browser-address-bar {
        min-width: 140px;
        padding: 3px 12px;
    }
    .browser-hud {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        align-items: stretch;
    }
    .hud-title {
        justify-content: center;
        font-size: 11px;
    }
    .hud-stats-group {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .hud-card {
        flex: 1 1 calc(33% - 8px);
        min-width: 70px;
        padding: 6px 8px;
    }
    .hud-card-value {
        font-size: 13px;
    }
    .choose-section {
        padding: 60px 20px;
    }
    .choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .choose-title {
        font-size: 28px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pricing-section {
        padding: 20px 16px 60px;
    }
    .faq-title {
        font-size: 26px;
    }
    .faq-container {
        padding: 0 10px;
    }
    .cta-section {
        padding: 80px 16px;
    }
    .cta-title {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.2;
    }
    .cta-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        width: 100%;
    }
    .modal-container {
        width: 95% !important;
        margin: 10px auto !important;
        max-height: 95vh !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    .hud-card {
        flex: 1 1 calc(50% - 8px);
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .modal-stepper {
        padding: 10px 5px !important;
    }
    .step-label {
        font-size: 9px !important;
    }
}
