:root {
    /* Virtual Numbers Specific Colors */
    --vn-primary: #FFD400;
    --vn-primary-glow: rgba(255, 212, 0, 0.4);
    --vn-bg: #000000;
    --vn-surface: #0a0a0a;
    --vn-glass: rgba(15, 15, 15, 0.6);
    --vn-glass-border: rgba(255, 255, 255, 0.08);
    --vn-text-main: #FFFFFF;
    --vn-text-muted: #a0a0a0;
    
    --section-padding: 6rem 2rem;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Base Overrides & Setup
   ========================================= */
body {
    background-color: var(--vn-bg);
    color: var(--vn-text-main);
    overflow-x: hidden;
}

#bg-network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.site-wrapper {
    position: relative;
    z-index: 1;
}

.vn-section {
    padding: var(--section-padding);
    position: relative;
}

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

.highlight {
    color: var(--vn-primary);
    position: relative;
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--vn-primary-glow);
    z-index: -1;
    filter: blur(8px);
}

/* Utilities */
.text-center { text-align: center; }
.text-yellow { color: var(--vn-primary); }
.margin-bottom-lg { margin-bottom: 4rem; }

.bg-gradient-subtle {
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.5) 50%, transparent 100%);
}

.mesh-bg {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,212,0,0.03) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Typography */
.main-heading {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}
.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}
.lead-text {
    font-size: 1.25rem;
    color: var(--vn-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.sub-text {
    font-size: 1rem;
    color: var(--vn-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--vn-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--vn-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.glass-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--vn-glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 212, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 212, 0, 0.1);
}

/* Layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.split-layout.align-center { align-items: center; }
.split-layout.reverse .split-text { grid-column: 2; grid-row: 1; }
.split-layout.reverse .split-visual { grid-column: 1; grid-row: 1; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}
.btn-primary {
    background: var(--vn-primary);
    color: #000;
}
.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}
.btn-glow {
    box-shadow: 0 0 20px var(--vn-primary-glow);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}
.btn-secondary {
    background: transparent;
    color: var(--vn-text-main);
    border: 1px solid var(--vn-glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   Section 1: Hero
   ========================================= */
.vn-hero {
    padding: 10rem 2rem 6rem;
    position: relative;
}
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 212, 0, 0.1);
    color: var(--vn-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 212, 0, 0.2);
}
.hero-content .subtext {
    font-size: 1.25rem;
    color: var(--vn-text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vn-glass-border);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e0e0e0;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}
.hero-visual {
    position: relative;
    height: 500px;
}
#globe-3d-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
   Section 2: What is a Virtual Number
   ========================================= */
.telecom-dashboard {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(15,15,15,0.8), rgba(5,5,5,0.9));
    overflow-x: auto;
}
.dash-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vn-glass-border);
    margin-bottom: 2rem;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.call-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}
.node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vn-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}
.glow-node {
    background: rgba(255, 212, 0, 0.15);
    border-color: var(--vn-primary);
    color: var(--vn-primary);
    box-shadow: 0 0 20px var(--vn-primary-glow);
}
.path {
    flex-grow: 1;
    height: 2px;
    background: var(--vn-glass-border);
    position: relative;
    overflow: hidden;
}
.split-path {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100px;
    background: transparent;
}
.sub-path {
    height: 2px;
    width: 100%;
    background: var(--vn-glass-border);
    position: relative;
    overflow: hidden;
}
.destinations {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.line-anim::after, .sub-path::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--vn-primary), transparent);
    animation: dashPulse 2s infinite linear;
}
.line-anim-delay-1::after { animation-delay: 0.5s; }
.line-anim-delay-2::after { animation-delay: 1s; }

@keyframes dashPulse {
    0% { left: -100%; }
    100% { left: 200%; }
}

.bullet-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

/* =========================================
   Section 3: Benefits Grid
   ========================================= */
.benefits-grid-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.benefits-grid-5 .b-card:nth-child(4),
.benefits-grid-5 .b-card:nth-child(5) {
    grid-column: span 1.5; /* Center bottom two */
}
.b-card .icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(255, 212, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--vn-primary);
    margin-bottom: 1.5rem;
}
.b-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.b-card p {
    color: var(--vn-text-muted);
    line-height: 1.5;
}

/* =========================================
   Section 4: Number Types
   ========================================= */
.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.type-card {
    text-align: center;
}
.type-icon {
    font-size: 2.5rem;
    color: var(--vn-primary);
    margin-bottom: 1.5rem;
}
.type-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.type-card p {
    color: var(--vn-text-muted);
    font-size: 0.95rem;
}
.card-bg-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--vn-primary-glow);
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
}
.type-card:hover .card-bg-glow {
    opacity: 1;
}

/* =========================================
   Section 5: Global Experience
   ========================================= */
#map-3d-container {
    width: 100%;
    height: 400px;
    position: relative;
}
.feature-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.fg-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--vn-glass-border);
    font-size: 0.9rem;
}

/* =========================================
   Section 6: Mobile Numbers
   ========================================= */
.mobile-ui-mockup {
    max-width: 350px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 1rem;
    background: linear-gradient(145deg, #111, #000);
}
.mockup-header {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid var(--vn-glass-border);
    font-weight: 600;
    color: var(--vn-primary);
}
.mockup-body {
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.msg {
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 80%;
}
.bubble-in {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.bubble-out {
    background: var(--vn-primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* =========================================
   Section 7: Toll Free & National
   ========================================= */
.dual-cards-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.promo-card {
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.promo-icon {
    font-size: 3rem;
    color: var(--vn-primary);
    margin-bottom: 1.5rem;
}
.promo-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.promo-card p { color: var(--vn-text-muted); }
.card-bg-animation {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.promo-card:hover .card-bg-animation { opacity: 1; }

/* =========================================
   Section 8: How it Works
   ========================================= */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.step-card {
    text-align: center;
    width: 150px;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--vn-glass);
    border: 1px solid var(--vn-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--vn-primary);
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}
.step-card:hover .step-icon {
    background: var(--vn-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--vn-primary-glow);
}
.step-arrow {
    color: var(--vn-glass-border);
    font-size: 1.5rem;
}

/* =========================================
   Section 9: Features Grid
   ========================================= */
.feature-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.f-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--vn-glass-border);
    transition: var(--transition-smooth);
}
.f-item i {
    color: var(--vn-primary);
    font-size: 1.2rem;
}
.f-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,212,0,0.3);
    transform: translateY(-2px);
}

/* =========================================
   Section 10: CTA
   ========================================= */
.cta-banner {
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #111, #050505);
}
.cta-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--vn-primary);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.cta-subtext {
    font-size: 1.2rem;
    color: var(--vn-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   Scroll Reveal Failsafe
   ========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 1024px) {
    .main-heading { font-size: 3.2rem; }
    .hero-split, .split-layout { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-actions { justify-content: center; }
    .feature-tags { justify-content: center; }
    
    .split-layout.reverse .split-text { grid-column: 1; grid-row: 2; }
    .split-layout.reverse .split-visual { grid-column: 1; grid-row: 1; }
    
    .bullet-list { grid-template-columns: 1fr; text-align: left; max-width: 300px; margin: 0 auto; }
    
    .benefits-grid-5, .types-grid, .feature-grid-large { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid-5 .b-card:nth-child(4),
    .benefits-grid-5 .b-card:nth-child(5) { grid-column: auto; }
    
    .workflow-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 1.5rem;
    }
    .main-heading { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .benefits-grid-5, .types-grid, .feature-grid-large, .dual-cards-layout { grid-template-columns: 1fr; }
    
    .feature-grid-small { grid-template-columns: 1fr; }
    
    .hero-visual, #map-3d-container { height: 300px; }
    
    .cta-heading { font-size: 2rem; }
    .cta-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .btn { text-align: center; justify-content: center; }

    .vn-hero { padding: 7rem 1.5rem 4rem; }
    .hero-content .subtext { max-width: 100%; font-size: 1rem; }
    .call-route { flex-wrap: wrap; gap: 1rem; justify-content: center; }
    .bullet-list { grid-template-columns: 1fr; max-width: 100%; }
}

@media (max-width: 480px) {
    :root { --section-padding: 3rem 1rem; }

    .main-heading { font-size: 1.9rem; line-height: 1.2; }
    .section-title { font-size: 1.6rem; }
    .lead-text { font-size: 1rem; }
    .sub-text { font-size: 0.9rem; }

    .vn-hero { padding: 6rem 1rem 3rem; }
    .hero-visual, #map-3d-container { height: 220px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }

    .benefits-grid-5, .types-grid, .feature-grid-large, .dual-cards-layout { grid-template-columns: 1fr; }
    .feature-grid-small { grid-template-columns: 1fr; }

    .promo-card { padding: 2rem 1rem; }
    .promo-card h3 { font-size: 1.2rem; }

    .cta-heading { font-size: 1.6rem; }
    .cta-subtext { font-size: 0.95rem; padding: 0 0.5rem; }
    .cta-banner { padding: 3rem 1rem; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }

    .mobile-ui-mockup { max-width: 100%; }
    .glass-card { padding: 1.25rem; }

    .workflow-steps { gap: 0.75rem; }
    .step-card { width: 100px; }
    .step-card p { font-size: 0.8rem; }
}
