/* ===================================================
   VIABL AI - Cyberpunk / Futuristic Theme
   =================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(18, 18, 30, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --cyan: #00f0ff;
    --magenta: #ff00e5;
    --purple: #8b5cf6;
    --neon-green: #39ff14;
    --electric-blue: #4361ee;

    --text-primary: #e4e4e7;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --gradient-main: linear-gradient(135deg, var(--cyan), var(--magenta));
    --gradient-card: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(255, 0, 229, 0.08));

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #0a0a0f;
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
ul,
li {
    list-style: none;
    list-style-type: none;
}
img {
    max-width: 100%;
    display: block;
}
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; color: inherit; }

/* ---------- UTILITIES ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.accent { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.hidden { display: none !important; }

/* ---------- SECTION DEFAULTS ---------- */
section {
    padding: 120px 0;
    position: relative;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-sub {
    color: var(--text-secondary);
    font-size: 18px;
}

/* ===================================================
   NAVIGATION
   =================================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
#navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}
.logo-icon {
    font-size: 28px;
    color: var(--cyan);
    filter: drop-shadow(0 0 8px rgba(0,240,255,0.5));
}
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    gap: 32px;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gradient-main);
    color: #000;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   HERO
   =================================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 72px;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,240,255,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,0,229,0.06) 0%, transparent 60%);
    pointer-events: none;
}
#particleCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.hero-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--cyan);
    margin-bottom: 20px;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.btn-primary {
    background: var(--gradient-main);
    color: #000;
    box-shadow: 0 0 20px rgba(0,240,255,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0,240,255,0.35);
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
}
.btn-outline:hover {
    border-color: var(--cyan);
    background: rgba(0,240,255,0.05);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-icon { font-size: 12px; }
.btn svg { width: 18px; height: 18px; }

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0,240,255,0.4);
}
.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan);
}
.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50%      { opacity: 1;   transform: scaleY(1);   }
}

/* ===================================================
   SERVICES
   =================================================== */
#services { background: var(--bg-secondary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,240,255,0.2);
}
.card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0,240,255,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }
.service-card.featured {
    border-color: rgba(0,240,255,0.15);
    background: linear-gradient(180deg, rgba(0,240,255,0.04) 0%, var(--bg-card) 100%);
}
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--gradient-main);
    color: #000;
    font-weight: 600;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0,240,255,0.08);
    border: 1px solid rgba(0,240,255,0.15);
    margin-bottom: 24px;
    color: var(--cyan);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.service-features li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

/* ===================================================
   VOICE AGENT
   =================================================== */
#voice-agent {
    background: var(--bg-primary);
    position: relative;
}
#voice-agent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.voice-agent-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
}
.voice-agent-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.voice-agent-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

/* Audio Visualizer */
.agent-visualizer {
    position: relative;
    width: 100%;
    height: 240px;
    margin-bottom: 24px;
}
#audioVisualizer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
.orb-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.orb {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orb-core {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: 0 0 30px rgba(0,240,255,0.5), 0 0 60px rgba(0,240,255,0.2);
    transition: transform 0.3s;
}
.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0,240,255,0.2);
    animation: orbPulse 3s ease-in-out infinite;
}
.ring-1 {
    width: 70px;
    height: 70px;
    animation-delay: 0s;
}
.ring-2 {
    width: 100px;
    height: 100px;
    animation-delay: 0.5s;
}
.ring-3 {
    width: 130px;
    height: 130px;
    animation-delay: 1s;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1);    opacity: 0.3; }
    50%      { transform: scale(1.15); opacity: 0.6; }
}

/* Active states */
.voice-agent-panel.listening .orb-core {
    box-shadow: 0 0 40px rgba(0,240,255,0.7), 0 0 80px rgba(0,240,255,0.3);
    animation: coreBreath 1.5s ease-in-out infinite;
}
.voice-agent-panel.speaking .orb-core {
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
    box-shadow: 0 0 40px rgba(255,0,229,0.5), 0 0 80px rgba(255,0,229,0.2);
    animation: corePulse 0.4s ease-in-out infinite;
}
.voice-agent-panel.thinking .orb-core {
    animation: coreThink 1s linear infinite;
}
@keyframes coreBreath {
    0%, 100% { transform: scale(1);   }
    50%      { transform: scale(1.2); }
}
@keyframes corePulse {
    0%, 100% { transform: scale(1);    }
    50%      { transform: scale(1.35); }
}
@keyframes coreThink {
    0%   { opacity: 1;   }
    50%  { opacity: 0.5; }
    100% { opacity: 1;   }
}

/* Status */
.agent-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: var(--transition);
}
.agent-status.ready .status-dot     { background: var(--cyan);       box-shadow: 0 0 8px var(--cyan);    }
.agent-status.listening .status-dot { background: var(--neon-green);  box-shadow: 0 0 8px var(--neon-green); animation: statusBlink 1s infinite; }
.agent-status.speaking .status-dot  { background: var(--magenta);    box-shadow: 0 0 8px var(--magenta);  }
.agent-status.thinking .status-dot  { background: var(--purple);     box-shadow: 0 0 8px var(--purple); animation: statusBlink 0.6s infinite;  }
.agent-status.error .status-dot     { background: #ef4444;           box-shadow: 0 0 8px #ef4444;       }
@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

/* Voice Button */
.agent-controls { margin-bottom: 24px; }
.voice-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-card);
    border: 2px solid rgba(0,240,255,0.3);
    color: var(--cyan);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.voice-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition);
}
.voice-btn:hover::before { opacity: 0.1; }
.voice-btn:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0,240,255,0.2);
    transform: translateY(-2px);
}
.voice-btn.active {
    background: var(--gradient-main);
    border-color: transparent;
    color: #000;
}
.voice-btn.active::before { opacity: 0; }
.voice-btn svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}
.voice-btn .btn-label { position: relative; z-index: 1; }

/* Transcript */
.agent-transcript {
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
    font-size: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,240,255,0.2) transparent;
}
.agent-transcript::-webkit-scrollbar { width: 4px; }
.agent-transcript::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 4px; }
.transcript-placeholder p {
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    font-size: 13px;
}
.transcript-msg {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.transcript-msg .speaker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.transcript-msg .speaker.agent { color: var(--cyan); }
.transcript-msg .speaker.user  { color: var(--magenta); }
.transcript-msg .text {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Voice Agent Info */
.voice-agent-info h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 32px;
}
.info-steps { display: flex; flex-direction: column; gap: 28px; }
.info-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.3;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.step-content h4 {
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 6px;
}
.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
}
.info-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(0,240,255,0.03);
    border: 1px solid rgba(0,240,255,0.08);
}
.info-note svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--cyan);
    margin-top: 2px;
}
.info-note p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===================================================
   ROI CALCULATOR
   =================================================== */
#roi-calculator { background: var(--bg-secondary); }
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.calc-input-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.label-text {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.label-value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 500;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0,240,255,0.3);
}

/* Custom Slider */
.slider-container { position: relative; padding: 8px 0 20px; }
.slider-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 3;
}
.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--cyan);
    box-shadow: 0 0 12px rgba(0,240,255,0.4);
    cursor: pointer;
    transition: box-shadow var(--transition);
}
.slider-container input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 24px rgba(0,240,255,0.6);
}
.slider-container input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--cyan);
    box-shadow: 0 0 12px rgba(0,240,255,0.4);
    cursor: pointer;
}
.slider-track {
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    pointer-events: none;
}
.slider-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-main);
    box-shadow: 0 0 8px rgba(0,240,255,0.3);
    width: 10%;
    transition: width 0.1s;
}
.slider-markers {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Results */
.calc-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.result-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: var(--transition);
}
.result-card .result-glow {
    position: absolute;
    top: -40%;
    right: -40%;
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(0,240,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.result-card.highlight {
    border-color: rgba(0,240,255,0.2);
    background: linear-gradient(135deg, rgba(0,240,255,0.05) 0%, var(--bg-card) 100%);
}
.result-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.result-value-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}
.result-currency {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--cyan);
}
.result-value {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0,240,255,0.3);
    transition: text-shadow 0.5s;
}
.result-card.highlight .result-value {
    text-shadow: 0 0 30px rgba(0,240,255,0.5);
}
.result-card.glow-pulse .result-value {
    text-shadow: 0 0 40px rgba(0,240,255,0.7), 0 0 80px rgba(0,240,255,0.3);
}
.result-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}
.result-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: var(--gradient-main);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}
.result-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

/* ===================================================
   CONTACT / CTA
   =================================================== */
#contact {
    background: var(--bg-primary);
    position: relative;
}
.cta-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.cta-grid-line {
    position: absolute;
    background: rgba(0,240,255,0.03);
}
.cta-grid-line:nth-child(1) {
    top: 30%;
    left: 0;
    right: 0;
    height: 1px;
}
.cta-grid-line:nth-child(2) {
    top: 0;
    bottom: 0;
    left: 30%;
    width: 1px;
}
.cta-grid-line:nth-child(3) {
    top: 0;
    bottom: 0;
    right: 30%;
    width: 1px;
}
.cta-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}
.cta-sub {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 17px;
}

/* Cal.com Embed */
.cal-embed-container {
    width: 100%;
    min-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(0, 0, 0, 0.3);
}
.cal-embed-container > div {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,240,255,0.2) transparent;
}
.cal-embed-container > div::-webkit-scrollbar { width: 4px; }
.cal-embed-container > div::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 4px; }

/* ===================================================
   FOOTER
   =================================================== */
#footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 32px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 16px;
    line-height: 1.6;
}
.footer-links {
    display: flex;
    gap: 60px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.footer-col a {
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
    color: var(--text-muted);
}
.footer-built .accent {
    -webkit-text-fill-color: var(--cyan);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .voice-agent-wrapper { grid-template-columns: 1fr; }
    .calculator-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-header { margin-bottom: 40px; }

    /* Logo Mobile */
    .nav-logo { font-size: 18px; gap: 8px; }
    .logo-img { width: 28px; height: 28px; border-radius: 6px; }

    /* Nav Mobile */
    .nav-links {
        position: fixed;
        top: 72px;
    left: 0;
    right: 0;
        background: rgba(10,10,15,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        transform: translateY(-120%);
        transition: transform 0.4s;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 14px 24px; }
    .nav-links a::after { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Hero */
    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }
    .hero-scroll-indicator { display: none; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }

    /* Calculator */
    .result-value { font-size: 32px; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-top { flex-direction: column; }
    .footer-links { gap: 40px; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
    .nav-logo { font-size: 16px; gap: 6px; }
    .logo-img { width: 24px; height: 24px; }
    .voice-agent-panel { padding: 24px 16px; }
    .cta-wrapper { padding: 40px 20px; }
}
