/* ============================================================
   KroLead — Homepage Sections
   Aurora/Bento Design · Dark-First · Premium Aesthetic
   ============================================================ */

/* ============================================================
   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(120px);
    opacity: 0.12;
}

[data-theme="dark"] .hero-orb {
    opacity: 0.35;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    left: -200px;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    top: 40%;
    right: -150px;
    animation: orbFloat 14s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    bottom: -100px;
    left: 25%;
    animation: orbFloat 10s ease-in-out infinite 2s;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-success);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-whatsapp-cta {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    box-shadow: 0 8px 28px rgba(18, 140, 126, 0.3);
}

.hero-whatsapp-cta:hover {
    box-shadow: 0 12px 36px rgba(18, 140, 126, 0.45) !important;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---- 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-xl), 0 0 80px rgba(99, 102, 241, 0.12);
    position: relative;
    z-index: 2;
}

.phone-notch {
    width: 100px;
    height: 20px;
    background: var(--phone-bg);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.phone-screen {
    background: var(--phone-screen-bg);
    border-radius: 24px;
    padding: 16px;
    min-height: 360px;
}

/* Mock dashboard elements */
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.mock-greeting {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.mock-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.mock-stat-card {
    padding: 10px 8px;
    border-radius: 10px;
    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(168, 85, 247, 0.15); }

.mock-stat-num {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.mock-stat-lbl {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.mock-section-title {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mock-lead-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.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;
    color: #fff;
}

.mock-lead-sub {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.mock-lead-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.badge-hot { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-warm { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-deal { background: rgba(16, 185, 129, 0.2); color: #34d399; }

/* 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);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    white-space: nowrap;
}

.float-card-1 {
    top: 10%;
    right: -10%;
    animation: float 4s ease-in-out infinite;
}

.float-card-2 {
    bottom: 30%;
    left: -10%;
    animation: float 5s ease-in-out infinite 1s;
}

.float-card-3 {
    bottom: 10%;
    right: -5%;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

.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: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.float-text span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

/* ============================================================
   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 20px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
}

.trust-pill:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

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

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-section {
    background: var(--bg-surface);
}

.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);
    border-radius: var(--radius-xl);
    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(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.12);
}

.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-danger);
}

.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.65;
}

/* ============================================================
   FEATURES — BENTO GRID
   ============================================================ */
.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);
    border-radius: var(--radius-xl);
    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(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

/* Bento: first 2 cards span 2 cols */
.feature-card:nth-child(1),
.feature-card:nth-child(2) {
    grid-column: span 2;
}

.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.65;
}

/* ============================================================
   CALLPILOT SECTION
   ============================================================ */
.callpilot-section {
    background: var(--bg-surface);
    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.6;
}

/* 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-xl);
}

.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-primary);
    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;
    color: #fff;
}

.cp-caller-tag {
    display: block;
    font-size: 12px;
    color: var(--accent-warning);
    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-body);
    transition: all 0.3s;
}

.cp-accept {
    background: var(--accent-success);
    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-success);
    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.25);
    animation: pulsateRing 3s ease-out infinite;
    pointer-events: none;
}

.cp-pulse-1 {
    width: 350px; height: 350px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.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;
}

/* ============================================================
   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);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-out);
}

.ai-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.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.1);
    color: var(--accent-secondary);
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.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.65;
    margin-bottom: 20px;
}

/* AI Score bars */
.ai-score-demo { display: flex; flex-direction: column; gap: 6px; }

.score-bar {
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    overflow: hidden;
}

[data-theme="dark"] .score-bar,
.score-bar {
    background: var(--bg-elevated);
}

.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, #a1a1aa); }

/* AI insight bubbles */
.ai-insight-demo {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.insight-bubble {
    padding: 8px 14px;
    background: var(--bg-elevated);
    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-success); }
.urgent { color: var(--accent-warning); }
.intent { color: var(--accent-primary); }

/* AI suggestion cards */
.ai-suggestion-demo { display: flex; flex-direction: column; gap: 8px; }

.suggestion-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.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-surface);
}

.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.06);
    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.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkBounce 2s ease-in-out infinite;
}

.sync-arrows {
    display: flex;
    gap: 16px;
}

.sync-arrow {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-success);
    animation: syncPulse 2s ease-in-out infinite;
}

.arrow-down {
    animation-delay: 1s;
}

.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);
    font-weight: 500;
}

/* ============================================================
   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;
}

.lang-chip {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    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-primary);
    color: var(--accent-primary);
}

/* ============================================================
   SECURITY SECTION
   ============================================================ */
.security-section {
    background: var(--bg-base);
}

.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);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.security-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.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.6;
}

/* ============================================================
   DASHBOARD SHOWCASE
   ============================================================ */
.showcase-section {
    background: var(--bg-surface);
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.showcase-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    font-family: var(--font-body);
}

.showcase-tab:hover {
    border-color: var(--border-hover);
    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;
}

.dashboard-mock {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 32px;
}

/* Dashboard stats */
.dash-stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dash-stat {
    background: var(--bg-elevated);
    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-success); background: rgba(16, 185, 129, 0.1); }
.dash-stat-change.negative { color: var(--accent-danger); 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: var(--bg-elevated);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.stage-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0;
    background: var(--color);
    border-radius: 6px;
    transition: width 1.5s var(--ease-out);
}

.stage-bar.animate::after {
    width: var(--fill);
}

.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: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.chart-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0;
    background: var(--color);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out);
}

.chart-bar.animate::after {
    width: var(--fill);
}

.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: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.team-bar::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out);
}

.team-bar.animate::after {
    width: var(--fill);
}

.team-score {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: right;
}

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

.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-2xl);
    background:
        linear-gradient(145deg, rgba(99, 102, 241, 0.06), rgba(236, 72, 153, 0.03)),
        var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.proof-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.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.15), transparent);
    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.08);
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.15);
}

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

.proof-card__content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

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

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

.onboarding-step {
    padding: 32px 28px;
    border-radius: var(--radius-2xl);
    background: var(--bg-base);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-out);
}

.onboarding-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.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.1);
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    font-size: 20px;
}

.onboarding-step h3 {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
    font-weight: 700;
}

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--bg-base);
}

.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);
    border-radius: var(--radius-xl);
    transition: all 0.4s var(--ease-out);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent-warning);
    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);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.1), transparent 34%),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.08), transparent 30%),
        var(--bg-surface);
}

.pricing-banner {
    display: flex;
    justify-content: center;
    margin: 0 auto 32px;
    max-width: 760px;
    padding: 18px 24px;
    text-align: center;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

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

.pricing-column {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
}

.pricing-column__header { margin-bottom: 20px; }

.pricing-column__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
}

.pricing-column__header h3 {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
}

.pricing-plan-list {
    display: grid;
    gap: 14px;
}

.pricing-plan-card {
    padding: 22px;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease-out);
}

.pricing-plan-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.pricing-plan-card__duration {
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
}

.pricing-plan-card__rows {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pricing-plan-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-plan-card__value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-plan-card__value--original {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.pricing-plan-card__value--offer {
    color: var(--accent-primary);
}

.pricing-plan-card__effective {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-plan-card__effective strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-primary);
}

.pricing-footnote {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Inline pricing cards (new toggle-based) */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s var(--ease-out);
}

.toggle-label.active {
    color: var(--text-primary);
}

.pricing-toggle-btn {
    position: relative;
    width: 56px;
    height: 30px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 2px solid var(--border-hover);
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background 0.3s var(--ease-out);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    transition: transform 0.3s var(--ease-spring);
}

.pricing-toggle-btn.yearly .toggle-slider {
    transform: translateX(26px);
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-base);
    padding: 0 24px;
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

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

.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-primary);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

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

/* ============================================================
   DOWNLOAD / CTA
   ============================================================ */
.download-section {
    padding: 80px 0 120px;
}

.download-card {
    position: relative;
    background: var(--download-card-bg);
    border-radius: var(--radius-2xl);
    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-primary);
    top: -80px; right: -60px;
}

.dl-orb-2 {
    width: 250px; height: 250px;
    background: var(--accent-tertiary);
    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;
    color: #fff;
}

.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);
}

/* ============================================================
   RESPONSIVE — HOMEPAGE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-text { max-width: 100%; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .hero-visual { order: -1; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(1),
    .feature-card:nth-child(2) {
        grid-column: span 1;
    }

    .callpilot-content,
    .offline-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .callpilot-visual { order: -1; }

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

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-badge { font-size: 12px; }

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

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

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

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

    .proof-card__media img {
        max-width: 180px;
    }

    .download-card {
        padding: 48px 24px;
    }

    .download-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .showcase-tabs {
        flex-wrap: wrap;
    }

    .dashboard-mock {
        padding: 20px;
    }

    .pipeline-stage,
    .chart-bar-item {
        grid-template-columns: 80px 1fr 30px;
    }

    .team-row {
        grid-template-columns: 24px 80px 1fr 80px;
        gap: 8px;
    }

    .floating-card {
        display: none;
    }

    .hero-scroll-hint {
        display: none;
    }

    .trust-strip__inner {
        gap: 8px;
    }

    .trust-pill {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-suffix {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
