/* ═══════════════════════════════════════════════════════════════
   BRAIN LEAD — "Neural Awakening" Index Page
   A living, breathing neural network landing page.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. ROOT & RESET ── */
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,240,255,0.3) rgba(3,0,20,0.5);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(3,0,20,0.5); }
::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,240,255,0.5); }

:root {
    --void: #030014;
    --neural-cyan: #00f0ff;
    --neural-purple: #8b5cf6;
    --synapse-pink: #ff006e;
    --plasma-green: #00ff88;
    --neural-amber: #ffaa00;
    --text-primary: #f0f0f0;
    --text-secondary: rgba(255,255,255,0.5);
    --glass-bg: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--void);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── 2. CUSTOM CURSOR ── */
.neural-cursor {
    position: fixed;
    width: 22px;
    height: 22px;
    border: 2px solid var(--neural-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16,1,0.3,1), height 0.25s cubic-bezier(0.16,1,0.3,1), background 0.25s, border-color 0.25s;
    mix-blend-mode: difference;
}

.neural-cursor.hovering {
    width: 44px;
    height: 44px;
    background: rgba(0,240,255,0.08);
    border-color: var(--neural-purple);
}

.neural-cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(0,240,255,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: left 0.15s ease-out, top 0.15s ease-out, opacity 0.3s;
}

/* ── 3. VERTICAL DOT NAVIGATION ── */
.neural-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.nav-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: none;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--neural-cyan);
    box-shadow: 0 0 16px rgba(0,240,255,0.5), 0 0 40px rgba(0,240,255,0.15);
    transform: scale(1.5);
    border-color: var(--neural-cyan);
}

.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, right 0.3s;
    background: rgba(3,0,20,0.9);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.nav-dot:hover::after {
    opacity: 1;
    right: 28px;
}

/* ── 4. HERO SECTION ── */
.neural-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.12) 0%, transparent 50%), var(--void);
}

.neural-canvas-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: float-orbit 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(0,240,255,0.06);
    top: -100px;
    right: -100px;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(139,92,246,0.08);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(255,0,110,0.05);
    top: 40%;
    left: 60%;
    animation-delay: -14s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 950px;
    padding: 0 2rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,240,255,0.05);
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: 100px;
    padding: 8px 22px;
    font-size: 0.8rem;
    color: var(--neural-cyan);
    font-weight: 500;
    margin-bottom: 2rem;
    animation: pulse-glow 3s ease infinite;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neural-cyan);
    box-shadow: 0 0 8px var(--neural-cyan);
    animation: badge-blink 2s ease infinite;
}

/* Hero Title */
.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 7.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-word {
    background: linear-gradient(135deg, var(--neural-cyan), var(--neural-purple), var(--synapse-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 6s ease infinite;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
    font-weight: 300;
}

/* Hero CTAs */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-neural {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--neural-cyan), var(--neural-purple));
    color: #000;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 100px;
    border: none;
    font-size: 0.95rem;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 0 25px rgba(0,240,255,0.25), 0 0 60px rgba(0,240,255,0.08);
    font-family: 'Inter', sans-serif;
}

.btn-neural:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0,240,255,0.4), 0 8px 30px rgba(0,0,0,0.3);
}

.btn-neural .btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: none;
}

.btn-neural:hover .btn-shimmer {
    animation: shimmer 0.8s ease forwards;
}

.btn-neural.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 15px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    border-color: var(--neural-cyan);
    color: var(--neural-cyan);
    background: rgba(0,240,255,0.04);
    box-shadow: 0 0 20px rgba(0,240,255,0.1);
}

.btn-ghost.btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* Hero Live Demo Panels */
.hero-live-demo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-panel {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    font-size: 0.7rem;
    transition: border-color 0.3s, transform 0.4s;
}

.demo-panel:hover {
    border-color: rgba(0,240,255,0.2);
    transform: translateY(-4px);
}

.demo-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
}

.demo-dots { display: flex; gap: 4px; }
.demo-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.demo-dots span:nth-child(1) { background: #ff5f56; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #27c93f; }

.demo-panel-title {
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
}

.demo-live-badge {
    margin-left: auto;
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--neural-cyan);
    background: rgba(0,240,255,0.1);
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 1px;
}

.demo-panel-body {
    padding: 6px 10px;
    min-height: 90px;
}

.demo-panel-footer {
    display: flex;
    justify-content: space-around;
    padding: 6px 10px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.demo-stat-valid { color: var(--plasma-green); font-weight: 700; }
.demo-stat-invalid { color: var(--synapse-pink); font-weight: 700; }

.demo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    animation: float-up 0.3s ease;
}

.demo-email { color: rgba(255,255,255,0.6); font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; }
.demo-number { color: rgba(255,255,255,0.6); font-family: 'JetBrains Mono', monospace; font-size: 0.55rem; }
.demo-carrier { color: var(--neural-cyan); font-weight: 600; font-size: 0.55rem; }
.demo-loc { color: var(--text-secondary); font-size: 0.5rem; }

.demo-status { padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: 0.5rem; }
.demo-status-valid { background: rgba(0,255,136,0.1); color: var(--plasma-green); }
.demo-status-invalid { background: rgba(255,0,110,0.1); color: var(--synapse-pink); }
.demo-status-risky { background: rgba(255,170,0,0.1); color: var(--neural-amber); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.5s;
    z-index: 10;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 11px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease infinite;
}

.scroll-indicator span {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ── 5. FLOATING STATS BAR ── */
.neural-stats {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem 2rem;
    background: rgba(3,0,20,0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    transition: bottom 0.5s cubic-bezier(0.16,1,0.3,1);
}

.neural-stats.visible {
    bottom: 0;
}

.stat-item { text-align: center; }
.stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--neural-cyan);
    font-family: 'JetBrains Mono', monospace;
}
.stat-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* ── 6. SECTION SHARED ── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.8rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.orbit-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neural-cyan), var(--neural-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── 7. PRODUCT CARDS ── */
.neural-products {
    min-height: 100vh;
    padding: 7rem 2rem;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.06) 0%, transparent 55%), var(--void);
}

.orbit-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card-neural {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}

.product-card-neural:hover {
    border-color: rgba(0,240,255,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,240,255,0.08);
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,240,255,0.06) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
}

.card-visual {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--void) 100%);
}

.product-card-neural .card-icon {
    margin: -25px 0 1rem 1.5rem;
    position: relative;
    z-index: 2;
}

.product-card-neural .card-title,
.product-card-neural .card-desc,
.product-card-neural .card-tags,
.product-card-neural .card-rating,
.product-card-neural .card-footer {
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.product-card-neural .card-footer {
    padding-bottom: 1.5rem;
}

/* Card Icon */
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.card-icon.email { background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(139,92,246,0.15)); color: var(--neural-cyan); }
.card-icon.carrier { background: linear-gradient(135deg, rgba(0,255,136,0.15), rgba(0,240,255,0.15)); color: var(--plasma-green); }
.card-icon.sms { background: linear-gradient(135deg, rgba(255,0,110,0.15), rgba(255,170,0,0.15)); color: var(--synapse-pink); }
.card-icon.sender { background: linear-gradient(135deg, rgba(255,170,0,0.15), rgba(255,0,110,0.15)); color: var(--neural-amber); }

.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: white; }
.card-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }

.card-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.tag {
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-rating {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.card-rating .fa-star { font-size: 0.7rem; color: var(--neural-amber); }
.rating-count { font-size: 0.65rem; color: var(--text-secondary); margin-left: 6px; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.card-price { display: flex; align-items: baseline; gap: 0.5rem; }
.price-current { font-size: 1.3rem; font-weight: 800; color: white; }
.price-original { font-size: 0.85rem; color: var(--text-secondary); text-decoration: line-through; }

/* ── 8. API DEMO SECTION ── */
.neural-api {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: var(--void);
}

.api-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.api-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.api-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
    color: white;
}

.api-feature span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mini pricing strip */
.api-pricing-mini {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mini-plan {
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    text-align: center;
    flex: 1;
    min-width: 80px;
    transition: all 0.3s;
}

.mini-plan.active {
    border-color: rgba(0,240,255,0.3);
    background: rgba(0,240,255,0.05);
    box-shadow: 0 0 15px rgba(0,240,255,0.1);
}

.mini-plan-name { display: block; font-size: 0.65rem; color: var(--text-secondary); margin-bottom: 2px; }
.mini-plan-price { font-weight: 700; font-size: 0.85rem; color: white; }
.mini-plan.active .mini-plan-price { color: var(--neural-cyan); }

/* Terminal */
.api-terminal {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }

.terminal-title {
    margin-left: auto;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.9;
    min-height: 350px;
    max-height: 420px;
    overflow-y: auto;
}

.terminal-line { white-space: pre-wrap; word-break: break-all; }
.line-comment { color: rgba(255,255,255,0.25); }
.line-keyword { color: var(--neural-purple); }
.line-string { color: var(--plasma-green); }
.line-method { color: var(--neural-cyan); }
.line-response { color: var(--neural-amber); }

/* ── 9. FREE TOOLS ── */
.neural-free-tools {
    padding: 7rem 2rem;
    background: radial-gradient(ellipse at 50% 100%, rgba(0,240,255,0.04) 0%, transparent 50%), var(--void);
}

.free-tools-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.free-tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    cursor: none;
    display: flex;
    flex-direction: column;
}

.free-tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,240,255,0.2);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.free-tool-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-color, rgba(139,92,246,0.08)) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.free-tool-card:hover .free-tool-glow { opacity: 1; }

.free-tool-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; position: relative; }
.free-tool-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; flex: 1; position: relative; }

.free-tool-badges { display: flex; gap: 0.5rem; margin-bottom: 1rem; position: relative; }
.badge-free {
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(0,255,136,0.08);
    color: var(--plasma-green);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.badge-limit {
    font-size: 0.6rem;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(0,240,255,0.08);
    color: var(--neural-cyan);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.free-tool-arrow {
    position: relative;
    color: var(--neural-cyan);
    font-size: 0.9rem;
    transition: transform 0.3s;
}
.free-tool-card:hover .free-tool-arrow { transform: translateX(5px); }

/* ── 10. TRUST SECTION ── */
.neural-trust {
    padding: 7rem 2rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,240,255,0.04) 0%, transparent 45%), var(--void);
}

.trust-grid {
    max-width: 1100px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.4s, border-color 0.4s;
}

.trust-card:hover {
    border-color: rgba(0,240,255,0.2);
    transform: translateY(-5px);
}

.trust-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.trust-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.7; }

/* Comparison strip */
.comparison-strip {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.comparison-item {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s;
}

.comparison-item.active {
    border-color: rgba(0,240,255,0.3);
    background: rgba(0,240,255,0.04);
    box-shadow: 0 0 20px rgba(0,240,255,0.08);
}

.comp-label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.3rem; }
.comp-price { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--neural-cyan); }
.comparison-item:not(.active) .comp-price { color: var(--text-secondary); }
.comp-feature { font-size: 0.7rem; color: var(--text-secondary); }
.comparison-item.active .comp-feature { color: var(--plasma-green); }

/* ── 11. CTA SECTION ── */
.neural-cta {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(139,92,246,0.12) 0%, rgba(0,240,255,0.04) 35%, transparent 65%), var(--void);
    padding: 5rem 2rem;
}

.cta-content { max-width: 700px; }

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.custom-script-box {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255,170,0,0.03);
    border: 1px solid rgba(255,170,0,0.15);
    border-radius: 16px;
    display: inline-block;
    max-width: 600px;
}

.custom-script-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.custom-script-box p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.2rem; }

/* ── 12. FOOTER ── */
.neural-footer {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem 1.5rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    cursor: none;
}
.footer-links a:hover { color: white; }

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    transition: color 0.2s;
    cursor: none;
}
.footer-social a:hover { color: var(--neural-cyan); }

/* ── 13. TELEGRAM FLOAT ── */
.tg-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 1000;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    cursor: none;
    box-shadow: 0 4px 20px rgba(0,136,204,0.35);
    transition: all 0.3s;
}

.tg-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(0,136,204,0.5);
}

/* ── 14. ANIMATIONS ── */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0,240,255,0.15); }
    50% { box-shadow: 0 0 20px rgba(0,240,255,0.3); }
}

@keyframes badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

@keyframes float-up {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float-orbit {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(-15px, 30px); }
    75% { transform: translate(20px, 15px); }
}

@keyframes scroll-bounce {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ── 15. REVEAL ON SCROLL ── */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 16. RESPONSIVE ── */
@media (max-width: 1024px) {
    .orbit-container { grid-template-columns: repeat(2, 1fr); }
    .api-container { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .neural-nav { display: none; }
    .comparison-strip { flex-direction: column; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .neural-cursor, .neural-cursor-trail { display: none !important; }
    .btn-neural, .btn-ghost, .free-tool-card, .nav-dot, a, button { cursor: pointer; }
    .footer-links a { cursor: pointer; }
    .footer-social a { cursor: pointer; }

    .neural-hero {
        height: auto;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        overflow: visible;
    }

    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-live-demo { grid-template-columns: 1fr; max-width: 320px; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .btn-neural, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }

    .orbit-container { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .free-tools-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .neural-stats { gap: 1rem; padding: 0.7rem 1rem; flex-wrap: wrap; }
    .stat-number { font-size: 1rem; }
    .stat-label { font-size: 0.5rem; }

    .api-pricing-mini { gap: 0.4rem; }
    .mini-plan { padding: 6px 10px; min-width: 60px; }
    .mini-plan-price { font-size: 0.75rem; }
    
    /* Hide 3rd floating panel on mobile to prevent overlap */
    #demoSmsPanel { display: none !important; }
    .hero-live-demo { grid-template-columns: 1fr 1fr; max-width: 580px; gap: 0.8rem; }
}

@media (max-width: 580px) {
    .hero-live-demo { grid-template-columns: 1fr; max-width: 290px; }
    #demoCarrierPanel { display: none !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .neural-stats { gap: 0.7rem; }
    .stat-item { flex: 0 0 auto; }
}


/* ── 17. NEURAL NEXUS SIDEBAR NAVIGATION ── */
.nexus-trigger {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(3,0,20,0.65);
    border: 1px solid rgba(0,240,255,0.25);
    box-shadow: 0 0 15px rgba(0,240,255,0.15), inset 0 0 10px rgba(0,240,255,0.1);
    z-index: 10002;
    cursor: pointer; /* Fallback for no-cursor scripts */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    backdrop-filter: blur(12px);
}

body:not(.nexus-open) .nexus-trigger {
    animation: trigger-pulse 3s ease infinite;
}

@keyframes trigger-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0,240,255,0.15); }
    50% { box-shadow: 0 0 25px rgba(0,240,255,0.4), 0 0 40px rgba(139,92,246,0.15); border-color: rgba(0,240,255,0.5); }
}

.nexus-trigger:hover {
    transform: scale(1.1) rotate(10deg);
    border-color: var(--neural-cyan);
    box-shadow: 0 0 30px rgba(0,240,255,0.4), inset 0 0 15px rgba(0,240,255,0.2);
}

.nexus-trigger-glow {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neural-cyan), var(--neural-purple));
    z-index: -1;
    opacity: 0.3;
    filter: blur(4px);
    transition: opacity 0.5s;
}

.nexus-trigger:hover .nexus-trigger-glow {
    opacity: 0.8;
}

.nexus-trigger-core {
    color: var(--neural-cyan);
    font-size: 1.4rem;
    transition: all 0.3s;
}

.nexus-trigger:hover .nexus-trigger-core {
    color: white;
    text-shadow: 0 0 10px var(--neural-cyan);
}

.nexus-trigger-rings {
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(0,240,255,0.15);
    border-radius: 50%;
    animation: wave-ripple 3s infinite linear;
    pointer-events: none;
}

.nexus-trigger-rings:nth-child(3) {
    animation-delay: 1.5s;
}

@keyframes wave-ripple {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Sidebar */
.nexus-sidebar {
    position: fixed;
    right: -420px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: rgba(3,0,20,0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid rgba(0,240,255,0.15);
    z-index: 10001;
    transition: right 0.6s cubic-bezier(0.16,1,0.3,1);
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,0.7);
}

.nexus-sidebar.active {
    right: 0;
}

.nexus-close {
    position: absolute;
    top: 24px;
    left: 24px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexus-close:hover {
    color: var(--synapse-pink);
    transform: rotate(90deg);
}

.nexus-hud-status {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 12px;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.hud-item {
    display: flex;
    gap: 6px;
}

.hud-label { color: rgba(255,255,255,0.3); }
.hud-value { color: var(--neural-amber); }
.hud-value.active { color: var(--plasma-green); text-shadow: 0 0 8px var(--plasma-green); }

.nexus-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
}

.nexus-content::-webkit-scrollbar { display: none; }

.nexus-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    align-self: center;
}

.nexus-logo img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(0,240,255,0.5));
}

.nexus-logo span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Holographic menu */
.nexus-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.nexus-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    position: relative;
    overflow: hidden;
}

.nexus-menu-item i {
    width: 20px;
    font-size: 0.95rem;
    transition: all 0.3s;
    color: rgba(255,255,255,0.3);
}

.nexus-menu-item:hover,
.nexus-menu-item.active {
    color: white;
    background: rgba(0,240,255,0.04);
    border-color: rgba(0,240,255,0.15);
    box-shadow: 0 0 15px rgba(0,240,255,0.05);
}

.nexus-menu-item:hover i,
.nexus-menu-item.active i {
    color: var(--neural-cyan);
    text-shadow: 0 0 8px var(--neural-cyan);
}

.nexus-menu-item.active {
    background: linear-gradient(90deg, rgba(0,240,255,0.08) 0%, transparent 100%);
    border-left: 3px solid var(--neural-cyan);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

/* AI Chat Container */
.nexus-ai-container {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(0,240,255,0.15);
    border-radius: 16px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    height: 280px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    margin-top: auto;
}

.nexus-ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--neural-cyan);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.ai-status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--plasma-green);
    box-shadow: 0 0 6px var(--plasma-green);
    margin-left: auto;
    animation: badge-blink 2s ease infinite;
}

.nexus-ai-chat {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    margin-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.05) transparent;
}

.nexus-ai-chat::-webkit-scrollbar { width: 3px; }
.nexus-ai-chat::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.05); border-radius: 2px; }

.ai-msg {
    display: flex;
    flex-direction: column;
    max-width: 88%;
    font-size: 0.65rem;
    line-height: 1.4;
    padding: 6px 10px;
    border-radius: 10px;
}

.ai-msg.bot {
    background: rgba(0,240,255,0.05);
    color: #e0f8ff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(0,240,255,0.1);
}

.ai-msg.user {
    background: rgba(139,92,246,0.1);
    color: #f3efff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid rgba(139,92,246,0.15);
}

.ai-sender {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.ai-msg.bot .ai-sender { color: var(--neural-cyan); }
.ai-msg.user .ai-sender { color: var(--neural-purple); }

.nexus-ai-input-group {
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 3px;
    align-items: center;
}

.nexus-ai-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.68rem;
    padding: 5px 8px;
    font-family: 'Inter', sans-serif;
}

.nexus-ai-input-group input:focus {
    outline: none;
}

.nexus-ai-input-group button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.nexus-ai-input-group button:hover {
    color: var(--neural-cyan);
    background: rgba(0,240,255,0.1);
}

/* Chat typing loading bubble */
.ai-msg.bot.typing-bubble {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
}
.typing-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--neural-cyan);
    animation: typing-bounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

/* Hide dot nav when sidebar is active */
body.nexus-open .neural-nav {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .nexus-sidebar {
        width: 320px;
        right: -340px;
    }
}

@media (max-width: 480px) {
    .nexus-sidebar {
        width: 100%;
        right: -100%;
        padding: 2.5rem 1.2rem;
    }
    .nexus-trigger {
        top: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
}

