﻿/* ============================================================
   KroLead — Premium Promotional Website
   Light/Dark Theme · Glassmorphism · Scroll Animations
   ============================================================ */

/* ---------- CSS CUSTOM PROPERTIES — LIGHT MODE (DEFAULT) ---------- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f5f8;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);

    --text-primary: #1a1a2e;
    --text-secondary: #5a5a72;
    --text-muted: #8888a0;

    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-cyan: #06b6d4;
    --accent-red: #ef4444;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-purple: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-green: linear-gradient(135deg, #10b981, #06b6d4);

    --font-primary: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.1);
    --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.12);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Light mode specific */
    --phone-bg: #1a1a2e;
    --phone-screen-bg: #0f0f23;
    --phone-border: rgba(0, 0, 0, 0.1);
    --floating-card-bg: rgba(255, 255, 255, 0.92);
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.92);
    --mobile-menu-bg: rgba(255, 255, 255, 0.97);
    --lang-dropdown-bg: rgba(255, 255, 255, 0.97);
    --download-card-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    --download-text: rgba(255, 255, 255, 0.7);
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
    --bg-primary: #0a0a1a;
    --bg-secondary: #111127;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b82;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.5);

    --phone-bg: #1a1a2e;
    --phone-screen-bg: #0f0f23;
    --phone-border: rgba(255, 255, 255, 0.1);
    --floating-card-bg: rgba(20, 20, 40, 0.9);
    --navbar-scrolled-bg: rgba(10, 10, 26, 0.9);
    --mobile-menu-bg: rgba(10, 10, 26, 0.95);
    --lang-dropdown-bg: rgba(20, 20, 40, 0.95);
    --download-card-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    --download-text: rgba(255, 255, 255, 0.7);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: #fff;
    color: #0a0a1a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* ---------- SECTION PATTERNS ---------- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.hero-whatsapp-cta {
    box-shadow: 0 16px 32px rgba(18, 140, 126, 0.22);
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(18, 140, 126, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(18, 140, 126, 0.4);
}

.floating-whatsapp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 800;
}

.floating-whatsapp__icon svg {
    width: 18px;
    height: 18px;
}

.floating-whatsapp__text {
    line-height: 1;
}

.mobile-sticky-cta {
    display: none;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.lang-switcher-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    transition: opacity 0.2s;
    right: 0;
    width: 200px;
    max-height: 340px;
    overflow-y: auto;
    background: var(--lang-dropdown-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    padding: 6px;
    z-index: 1001;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: var(--font-primary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-option:focus-visible {
    outline: 2px solid var(--accent-indigo);
    outline-offset: 2px;
}

.lang-option.active {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-indigo);
    font-weight: 600;
}

/* RTL support */
[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    text-align: right;
}

[dir="rtl"] .callpilot-content,
[dir="rtl"] .offline-content {
    direction: rtl;
}

[dir="rtl"] .hero-text {
    text-align: right;
}

[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

/* Theme toggle button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.theme-toggle:focus-visible,
.lang-switcher-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent-indigo);
    outline-offset: 2px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    transition: transform 0.3s, opacity 0.3s;
}

.theme-toggle .icon-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: flex;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

[data-theme="dark"] .hero-orb {
    opacity: 0.4;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-indigo);
    top: -100px;
    left: -150px;
    animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-violet);
    top: 50%;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    bottom: -50px;
    left: 30%;
    animation: orbFloat 8s ease-in-out infinite 2s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -20px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-indigo);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ---- Hero Phone Mockup ---- */
.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    background: var(--phone-bg);
    border-radius: 36px;
    border: 2px solid var(--phone-border);
    padding: 12px;
    box-shadow: var(--shadow-float), 0 0 80px rgba(99, 102, 241, 0.15);
    position: relative;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #0a0a1a;
    /* always dark inside phone */
    border-radius: 0 0 16px 16px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--phone-screen-bg);
    border-radius: 24px;
    padding: 16px;
    min-height: 400px;
}

/* Mock UI inside phone */
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mock-greeting {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.mock-avatar {
    width: 28px;
    height: 28px;
    background: var(--accent-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.mock-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.mock-stat-card {
    padding: 10px 8px;
    border-radius: 12px;
    text-align: center;
}

.stat-blue {
    background: rgba(99, 102, 241, 0.15);
}

.stat-green {
    background: rgba(16, 185, 129, 0.15);
}

.stat-purple {
    background: rgba(139, 92, 246, 0.15);
}

.mock-stat-num {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.mock-stat-lbl {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    margin-top: 2px;
}

.mock-section-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.mock-lead-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-bottom: 8px;
    opacity: 0;
    animation: slideInCard 0.6s var(--ease-out) forwards;
}

.lead-card-1 {
    animation-delay: 1.2s;
}

.lead-card-2 {
    animation-delay: 1.5s;
}

.lead-card-3 {
    animation-delay: 1.8s;
}

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mock-lead-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.mock-lead-info {
    flex: 1;
    min-width: 0;
}

.mock-lead-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.mock-lead-sub {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
}

.mock-lead-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.badge-hot {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.badge-warm {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-deal {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Floating notification cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--floating-card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    white-space: nowrap;
    opacity: 0;
    animation: floatIn 0.7s var(--ease-spring) forwards;
}

.float-card-1 {
    top: 60px;
    right: -30px;
    animation-delay: 2.2s;
}

.float-card-2 {
    bottom: 120px;
    left: -40px;
    animation-delay: 2.6s;
}

.float-card-3 {
    top: 200px;
    left: -50px;
    animation-delay: 3.0s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.float-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-text strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.float-text span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Floating card hover animation */
.float-card-1 {
    animation: floatIn 0.7s var(--ease-spring) forwards, hoverFloat 4s ease-in-out 3s infinite;
}

.float-card-2 {
    animation: floatIn 0.7s var(--ease-spring) forwards, hoverFloat 5s ease-in-out 3.5s infinite;
}

.float-card-3 {
    animation: floatIn 0.7s var(--ease-spring) forwards, hoverFloat 3.5s ease-in-out 4s infinite;
}

@keyframes hoverFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: fadeIn 1s 3.5s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--text-muted));
    transform-origin: center top;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(239, 68, 68, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.08);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-red);
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent, var(--gradient-primary));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   CALLPILOT SECTION
   ============================================================ */
.callpilot-section {
    background: var(--bg-secondary);
    overflow: hidden;
}

.callpilot-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.callpilot-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.callpilot-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cp-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.cp-feature strong {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.cp-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CallPilot visual */
.callpilot-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.callpilot-phone {
    position: relative;
    z-index: 1;
}

.cp-phone-frame {
    width: 300px;
    background: var(--phone-bg);
    border-radius: 28px;
    border: 2px solid var(--phone-border);
    padding: 24px 16px;
    box-shadow: var(--shadow-float);
}

.cp-overlay-card {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.cp-overlay-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cp-caller-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-indigo);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.cp-caller-name {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

.cp-caller-tag {
    display: block;
    font-size: 12px;
    color: #f59e0b;
    font-weight: 600;
}

.cp-overlay-body {
    margin-bottom: 16px;
}

.cp-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cp-overlay-actions {
    display: flex;
    gap: 8px;
}

.cp-action-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-primary);
}

.cp-accept {
    background: var(--accent-green);
    color: #fff;
}

.cp-info {
    background: var(--bg-card);
    color: var(--text-primary);
}

.cp-incoming-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--accent-green);
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

/* CallPilot Pulses */
.cp-pulse {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    animation: pulsateRing 3s ease-out infinite;
    pointer-events: none;
}

.cp-pulse-1 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.cp-pulse-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.cp-pulse-3 {
    width: 550px;
    height: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes pulsateRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.ai-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ai-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(168, 85, 247, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
}

.ai-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ai-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* AI Score bars */
.score-bar {
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    transition: width 1.5s var(--ease-out);
}

.score-hot {
    background: linear-gradient(90deg, #10b981, #6366f1);
}

.score-warm {
    background: linear-gradient(90deg, #f59e0b, #ec4899);
}

.score-cold {
    background: linear-gradient(90deg, #6b7280, #9ca3af);
}

/* AI insight bubbles */
.ai-insight-demo {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.insight-bubble {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.insight-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.insight-value {
    font-size: 13px;
    font-weight: 600;
}

.positive {
    color: var(--accent-green);
}

.urgent {
    color: var(--accent-amber);
}

.intent {
    color: var(--accent-indigo);
}

/* AI suggestion cards */
.suggestion-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.sug-icon {
    font-size: 20px;
}

.suggestion-card strong {
    display: block;
    font-size: 13px;
}

.suggestion-card span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================================
   OFFLINE SECTION
   ============================================================ */
.offline-section {
    background: var(--bg-secondary);
}

.offline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.offline-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.offline-icon-main {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wifi-off-icon {
    width: 100px;
    height: 100px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.offline-check {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkBounce 2s ease-in-out infinite;
}

@keyframes checkBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.sync-arrows {
    display: flex;
    gap: 16px;
}

.sync-arrow {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-green);
    animation: syncPulse 2s ease-in-out infinite;
}

.arrow-down {
    animation-delay: 1s;
}

@keyframes syncPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.offline-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.offline-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.offline-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

/* ============================================================
   LANGUAGES SECTION
   ============================================================ */
.languages-showcase {
    overflow: hidden;
    padding: 20px 0;
}

.lang-marquee {
    overflow: hidden;
    margin-bottom: 12px;
}

.lang-track {
    display: flex;
    gap: 12px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.lang-track-reverse {
    animation: marqueeReverse 28s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marqueeReverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.lang-chip {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
}

.lang-chip:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
}

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.security-section {
    background: var(--bg-primary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.security-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.security-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.sec-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.security-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================================
   DASHBOARD SHOWCASE
   ============================================================ */
.showcase-section {
    background: var(--bg-secondary);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.showcase-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.showcase-tab:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.showcase-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.showcase-panel {
    display: none;
    animation: fadeInUp 0.5s var(--ease-out);
}

.showcase-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-mock {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
}

/* Dashboard stats */
.dash-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dash-stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.dash-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
}

.dash-stat-lbl {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dash-stat-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 4px;
}

.dash-stat-change.positive {
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.dash-stat-change.negative {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

.dash-stat-change.neutral {
    color: var(--text-muted);
}

/* Pipeline bars */
.dash-pipeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pipeline-stage {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: 12px;
    align-items: center;
}

.stage-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.stage-bar {
    height: 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.stage-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: var(--color);
    border-radius: 6px;
    transition: width 1.5s var(--ease-out);
}

.stage-count {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

/* Analytics chart bars */
.chart-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chart-bar-item {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: 12px;
    align-items: center;
}

.chart-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.chart-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.chart-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: var(--color);
    border-radius: 4px;
}

.chart-val {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

/* Team leaderboard */
.team-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-row {
    display: grid;
    grid-template-columns: 32px 100px 1fr 120px;
    gap: 12px;
    align-items: center;
}

.team-rank {
    font-size: 18px;
    text-align: center;
}

.team-name {
    font-size: 14px;
    font-weight: 600;
}

.team-bar {
    height: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.team-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--fill);
    background: var(--gradient-primary);
    border-radius: 4px;
}

.team-score {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
    padding: 0 0 32px;
}

.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.trust-pill__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

/* ============================================================
   MANAGED ONBOARDING
   ============================================================ */
.onboarding-section {
    background: var(--bg-secondary);
}

/* ============================================================
   REAL PRODUCT PROOF
   ============================================================ */
.proof-section {
    background: var(--bg-primary);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.proof-card {
    display: grid;
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.04)),
        var(--bg-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.proof-card__media {
    position: relative;
}

.proof-card__media::before {
    content: '';
    position: absolute;
    inset: 10% -10% auto 10%;
    height: 70%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), rgba(99, 102, 241, 0));
    filter: blur(18px);
    pointer-events: none;
}

.proof-card__media picture,
.proof-card__media img {
    display: block;
}

.proof-card__media img {
    position: relative;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.18);
}

.proof-card__eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-indigo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.proof-card__content h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.proof-card__content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.onboarding-step {
    padding: 32px 28px;
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.onboarding-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-indigo);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.onboarding-step h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.onboarding-step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    padding: 0 24px;
    box-shadow: var(--shadow-card);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    padding-right: 36px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--accent-indigo);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    padding: 0 0 22px;
}

/* ============================================================
   DOWNLOAD / CTA SECTION
   ============================================================ */
.download-section {
    padding: 80px 0 120px;
}

.download-card {
    position: relative;
    background: var(--download-card-bg);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.download-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dl-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.dl-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-indigo);
    top: -80px;
    right: -60px;
}

.dl-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--accent-pink);
    bottom: -80px;
    left: -60px;
}

.download-content {
    position: relative;
    z-index: 1;
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.15;
}

.download-desc {
    font-size: 18px;
    color: var(--download-text);
    margin-bottom: 36px;
}

.download-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--download-text);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .dash-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-row {
        grid-template-columns: 32px 100px 1fr 100px;
    }

    .onboarding-steps {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .proof-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .proof-card__content h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    body.has-mobile-sticky-cta {
        padding-bottom: 88px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 88px;
        padding: 12px 16px;
    }

    .floating-whatsapp__text {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--mobile-menu-bg);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-subtle);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .trust-strip {
        padding-bottom: 24px;
    }

    .phone-frame {
        width: 240px;
    }

    .floating-card {
        display: none;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .callpilot-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .offline-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .offline-list {
        align-items: center;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 0 20px;
    }

    .faq-item summary {
        font-size: 16px;
    }

    .dash-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-stage {
        grid-template-columns: 80px 1fr 30px;
    }

    .chart-bar-item {
        grid-template-columns: 80px 1fr 30px;
    }

    .team-row {
        grid-template-columns: 24px 80px 1fr auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .download-card {
        padding: 48px 24px;
    }

    .section {
        padding: 80px 0;
    }

    .showcase-tabs {
        flex-wrap: wrap;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1150;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        border-radius: 22px;
        background: rgba(10, 10, 26, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(18px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    }

    .mobile-sticky-cta__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 12px;
        border-radius: 16px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
    }

    .mobile-sticky-cta__link--primary {
        background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
        color: #fff;
    }

    .mobile-sticky-cta__link--secondary {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    .download-features {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

