/* ═══════════════════════════════════════════════════════════════
   Chum Chat — GetChumChat.com Landing Page Styles
   Premium dark-mode design with animated gradients & glassmorphism
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ───────────────────────────────────────────── */
:root {
    --bg-primary: #07080f;
    --bg-secondary: #0d0f1a;
    --bg-card: rgba(15, 17, 30, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(124, 92, 252, 0.3);
    --text-primary: #f0f0f5;
    --text-secondary: #9a9ab0;
    --text-muted: #6b6b80;
    --accent: #7c5cfc;
    --accent-hover: #9074ff;
    --accent-glow: rgba(124, 92, 252, 0.25);
    --cyan: #06b6d4;
    --emerald: #10b981;
    --coral: #f97066;
    --amber: #f59e0b;
    --gradient-main: linear-gradient(135deg, #7c5cfc 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-text: linear-gradient(135deg, #9f7afe, #3b82f6, #06b6d4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(124, 92, 252, 0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font);
    --nav-height: 72px;
}

/* ─── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ─── Navigation ──────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 8, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.brand-logo {
    border-radius: 10px;
    object-fit: cover;
}

.brand-name {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: white;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent 30%);
    animation: btnGlow 3s linear infinite;
}

@keyframes btnGlow {
    to {
        transform: rotate(360deg);
    }
}

.btn-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 28px;
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-nav {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-play {
    font-size: 10px;
    opacity: 0.7;
}

/* ─── Section Headers ─────────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Hero Section ────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7c5cfc 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation: orbFloat3 12s ease-in-out infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black, transparent);
}

@keyframes orbFloat1 {

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

    50% {
        transform: translate(-40px, 30px) scale(1.1);
    }
}

@keyframes orbFloat2 {

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

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(0.8);
    }

    50% {
        transform: translate(-20px, 20px) scale(1);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--emerald);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
}

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

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Hero visual / mascot */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hero-mascot {
    max-width: 440px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: mascotFloat 6s ease-in-out infinite;
}

@keyframes mascotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ─── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
    position: relative;
    z-index: 1;
    padding: 40px 0 0;
}

.trust-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.trust-logo {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.trust-logo:hover {
    opacity: 1;
}

/* ─── Social Proof ────────────────────────────────────────────── */
.social-proof {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.testimonial-card.featured {
    border-color: rgba(124, 92, 252, 0.3);
    background: linear-gradient(135deg, rgba(124, 92, 252, 0.08), rgba(59, 130, 246, 0.05));
}

.testimonial-stars {
    color: var(--amber);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 15px;
    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: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: white;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ─── Features (Bento Grid) ──────────────────────────────────── */
.features {
    padding: 100px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s;
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.bento-card.bento-hero {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px;
}

.bento-icon-wrap {
    margin-bottom: 16px;
}

.bento-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent);
    margin-bottom: 16px;
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.bento-visual {
    display: flex;
    align-items: center;
}

/* Code windows */
.code-window {
    background: #0c0e1a;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
}

.code-window.small {
    max-width: 400px;
}

.code-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dots span:nth-child(1) {
    background: var(--coral);
}

.code-dots span:nth-child(2) {
    background: var(--amber);
}

.code-dots span:nth-child(3) {
    background: var(--emerald);
}

.code-window pre {
    padding: 16px;
    overflow-x: auto;
}

.code-window code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hl-key {
    color: #c678dd;
}

.hl-str {
    color: #98c379;
}

.hl-comment {
    color: #5c6370;
    font-style: italic;
}

/* ─── How It Works ────────────────────────────────────────────── */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px 32px;
    align-items: start;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

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

.step-visual {
    grid-column: 1 / -1;
}

.step-connector {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

/* Step mockup */
.step-mockup {
    background: #0c0e1a;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mockup-field {
    height: 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.mockup-field.short {
    width: 60%;
}

.mockup-textarea {
    height: 40px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.mockup-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
}

/* Engine creation mockup */
.mockup-title {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.mockup-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-input,
.mockup-select {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-primary);
}

.mockup-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-select span {
    color: var(--text-muted);
    font-size: 10px;
}

.mockup-textarea-rich {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 40px;
    font-style: italic;
}

.mockup-docs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mockup-doc {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    color: var(--text-secondary);
}

.doc-check {
    color: var(--emerald);
    font-weight: 700;
    font-size: 14px;
}

.doc-size {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-muted);
}

/* Learning animation */
.learning-animation {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #0c0e1a;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.learn-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(124, 92, 252, 0.15) 0%, rgba(124, 92, 252, 0.05) var(--w), transparent var(--w));
    font-size: 13px;
    color: var(--text-secondary);
}

.learn-bar.growing {
    border: 1px solid rgba(124, 92, 252, 0.2);
    animation: learnPulse 2s ease-in-out infinite;
}

.learning-tag {
    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
    animation: learnBlink 1.5s ease-in-out infinite;
}

@keyframes learnPulse {

    0%,
    100% {
        border-color: rgba(124, 92, 252, 0.2);
    }

    50% {
        border-color: rgba(124, 92, 252, 0.5);
    }
}

@keyframes learnBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ─── Demo Section ────────────────────────────────────────────── */
.demo-section {
    padding: 100px 0;
}

.demo-box {
    max-width: 700px;
    margin: 0 auto;
}

.demo-browser {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-card);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
}

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

.dot.red {
    background: #f97066;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.browser-url {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 6px;
    flex: 1;
}

.demo-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Demo chat preview */
.browser-content {
    padding: 0;
    text-align: left;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.demo-chat-preview {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.demo-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(124, 92, 252, 0.06);
}

.demo-chat-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.demo-chat-status {
    font-size: 11px;
    color: var(--emerald);
}

.demo-messages {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.demo-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
    color: var(--text-secondary);
}

.demo-msg.user {
    background: rgba(124, 92, 252, 0.15);
    border: 1px solid rgba(124, 92, 252, 0.2);
    align-self: flex-end;
    color: var(--text-primary);
}

.demo-msg.bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    align-self: flex-start;
}

.demo-bot-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}

.demo-input-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.demo-send {
    color: var(--accent);
    font-size: 18px;
}

.demo-prompt-overlay {
    padding: 16px 18px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(124, 92, 252, 0.04);
}

.demo-prompt-overlay p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.demo-arrow {
    font-size: 24px;
    animation: arrowBounce 1.5s ease-in-out infinite;
    color: var(--accent);
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }
}

/* ─── Pricing ─────────────────────────────────────────────────── */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.price-card.popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(124, 92, 252, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: 0 0 60px rgba(124, 92, 252, 0.1);
    transform: scale(1.04);
}

.price-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    border-radius: 50px;
    background: var(--gradient-main);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.price-interval {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    padding-left: 24px;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: 700;
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-toggle {
    color: var(--accent);
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-a p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    padding-bottom: 20px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

/* ─── Final CTA ───────────────────────────────────────────────── */
.final-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(124, 92, 252, 0.08) 0%, transparent 70%);
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.cta-fish {
    margin: 0 auto 24px;
    border-radius: 16px;
    animation: mascotFloat 5s ease-in-out infinite;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 36px;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 240px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bento-card.bento-hero {
        grid-column: span 3;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Nav */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 20px;
        border-left: 1px solid var(--border);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    /* Mobile Dropdown resets */
    .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: flex !important;
        flex-direction: column;
        position: static;
        box-shadow: none;
        border: none;
        margin-top: 5px;
        background: rgba(255, 255, 255, 0.03);
        transform: none;
        border-radius: var(--radius-sm);
        padding-left: 10px;
    }

    .dropdown.active .dropdown-content a {
        font-size: 14px;
        padding: 10px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Hero */
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-mascot {
        max-width: 320px;
    }

    /* Trust */
    .trust-logos {
        gap: 20px;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Bento */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.bento-hero {
        grid-column: span 1;
    }

    /* Steps */
    .step-card {
        grid-template-columns: 1fr;
    }

    .step-number {
        justify-self: start;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .price-card.popular {
        transform: none;
    }

    .price-card.popular:hover {
        transform: translateY(-4px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Sections */
    .section-header h2 {
        font-size: 32px;
    }

    .final-cta h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-mascot {
        max-width: 260px;
    }

    .hero-stat-num {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .final-cta h2 {
        font-size: 26px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

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

    .bento-card {
        padding: 20px;
    }

    .price-card {
        padding: 28px 20px;
    }
}