/* === V2.CSS === market.ai-platform.space - Tema ai-platform.space (gold/electric) */

/* --- Variables (ТОЧНАЯ КОПИЯ ai-platform.space) --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #171717;
    --bg-card: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #666666;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --gold: #FFD700;
    --gold-dim: rgba(255, 215, 0, 0.1);
    --electric: #00F0FF;
    --electric-dim: rgba(0, 240, 255, 0.1);
    --blue: #3b82f6;
    --green: #10b981;
    --green-dim: rgba(16, 185, 129, 0.1);
    --red: #ef4444;
    --red-dim: rgba(239, 68, 68, 0.1);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-electric: linear-gradient(135deg, #00F0FF 0%, #0080FF 100%);
    --gradient-text: linear-gradient(135deg, #FFD700 0%, #00F0FF 100%);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 6px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}
html.light-theme {
    --bg-primary: #f0ece4;
    --bg-secondary: #e8e3d9;
    --bg-card: #faf8f4;
    --text-primary: #1a1715;
    --text-secondary: #4a4540;
    --text-muted: #7a756e;
    --border: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.22);
    --gold: #b8860b;
    --gold-dim: rgba(184, 134, 11, 0.15);
    --electric: #0e7490;
    --electric-dim: rgba(14, 116, 144, 0.12);
    --blue: #1d4ed8;
    --green: #059669;
    --green-dim: rgba(5, 150, 105, 0.12);
    --red: #dc2626;
    --red-dim: rgba(220, 38, 38, 0.08);
    --gradient-gold: linear-gradient(135deg, #b8860b 0%, #d4940a 100%);
    --gradient-electric: linear-gradient(135deg, #0e7490 0%, #1d4ed8 100%);
    --gradient-text: linear-gradient(135deg, #92400e 0%, #0e7490 100%);
    --shadow: 0 4px 16px rgba(80, 60, 30, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(80, 60, 30, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

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

/* --- Header (ТОЧНАЯ КОПИЯ ai-platform.space) --- */
.mkt-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}
html.light-theme .mkt-header { background: rgba(240, 236, 228, 0.92); }
.mkt-header-inner { display: flex; align-items: center; justify-content: space-between; }
.mkt-logo { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--gold); }
.mkt-logo span { color: var(--text-primary); font-weight: 400; }
.mkt-nav { display: flex; align-items: center; gap: 24px; }
.mkt-nav-link { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.mkt-nav-link:hover { color: var(--text-primary); }
.mkt-nav-cta {
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--gradient-gold);
    color: #0a0a0a !important;
    font-weight: 600;
    font-size: 13px;
}
.mkt-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); }

/* --- Header controls --- */
.mkt-header-actions { display: flex; align-items: center; gap: 10px; }

/* --- Theme toggle --- */
.mkt-theme-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: all 0.2s;
}
.mkt-theme-toggle:hover { color: var(--text-primary); border-color: var(--gold); }
.mkt-lang-switch {
    background: none; border: 1px solid var(--border); border-radius: 8px;
    padding: 4px 6px; color: var(--text-muted); font-size: 12px; font-weight: 600;
    cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23999' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 4px center;
    padding-right: 16px; transition: all 0.2s;
}
.mkt-lang-switch:hover { border-color: var(--gold); color: var(--text-primary); }
.mkt-lang-switch option { background: var(--bg-primary); color: var(--text-primary); }
html.light-theme .mkt-lang-switch { border-color: rgba(0,0,0,0.15); color: #4a4540; }
html.light-theme .mkt-lang-switch:hover { border-color: var(--gold); }
.mkt-icon-sun { display: none; }
.mkt-icon-moon { display: inline; }
html.light-theme .mkt-icon-sun { display: inline; }
html.light-theme .mkt-icon-moon { display: none; }
html.light-theme .mkt-nav-cta {
    background: linear-gradient(135deg, #b8860b 0%, #d4940a 100%);
    color: #fff !important;
}

/* --- Accent text (solid color, no gradient - rule 50) --- */
.mkt-text-gradient {
    color: var(--gold);
}

/* --- Hero (ТОЧНАЯ КОПИЯ ai-platform.space) --- */
.mkt-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.mkt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(0, 240, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
html.light-theme .mkt-hero::before {
    background:
        radial-gradient(ellipse at 20% 40%, rgba(184, 134, 11, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 60%, rgba(14, 116, 144, 0.08) 0%, transparent 60%);
}

/* Mesh gradient animation (dreamcar) */
.mkt-hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 40%);
    background-size: 400% 400%;
    animation: mesh-shift 20s ease infinite;
}

.mkt-hero-grid { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; }
.mkt-hero-content { flex: 1; max-width: 580px; }
.mkt-hero-visual { flex: 1; max-width: 480px; }

/* --- Badges (ТОЧНАЯ КОПИЯ) --- */
.mkt-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mkt-badge { padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: 0.3px; }
.mkt-badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.25); }
.mkt-badge-accent { background: var(--electric-dim); color: var(--electric); border: 1px solid rgba(0, 200, 220, 0.25); }
.mkt-badge-warning { background: rgba(37, 99, 235, 0.1); color: var(--blue); border: 1px solid rgba(37, 99, 235, 0.25); }
html.light-theme .mkt-badge-gold { background: rgba(184, 134, 11, 0.14); color: #92400e; border-color: rgba(184, 134, 11, 0.35); }
html.light-theme .mkt-badge-accent { background: rgba(14, 116, 144, 0.12); color: #0e7490; border-color: rgba(14, 116, 144, 0.35); }
html.light-theme .mkt-badge-warning { background: rgba(29, 78, 216, 0.1); color: #1d4ed8; border-color: rgba(29, 78, 216, 0.35); }

/* --- Hero title --- */
.mkt-hero-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: 18px; line-height: 1.1; }
.mkt-hero-subtitle { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }

/* --- CTA buttons (ТОЧНАЯ КОПИЯ) --- */
.mkt-hero-cta { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.mkt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.mkt-btn-primary {
    background: var(--gradient-gold);
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}
.mkt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35); }
.mkt-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.mkt-btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--border-hover); }
html.light-theme .mkt-btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, #d4940a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}
html.light-theme .mkt-btn-primary:hover { box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4); }
html.light-theme .mkt-btn-ghost {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-secondary);
}
html.light-theme .mkt-btn-ghost:hover { background: rgba(0, 0, 0, 0.06); border-color: rgba(0, 0, 0, 0.25); }

/* --- Hero stats --- */
.mkt-stats { display: flex; gap: 24px; }
.mkt-stat { display: flex; flex-direction: column; }
.mkt-stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--gold); }
.mkt-stat-label { font-size: 12px; color: var(--text-muted); }
html.light-theme .mkt-stat-value { color: #92400e; }

/* --- Demo terminal (ТОЧНАЯ КОПИЯ) --- */
.mkt-demo { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.mkt-demo-header { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-secondary); border-bottom: 1px solid var(--border); }
.mkt-demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.mkt-demo-dot-red { background: #ef4444; }
.mkt-demo-dot-yellow { background: #f59e0b; }
.mkt-demo-dot-green { background: #10b981; }
.mkt-demo-title { font-family: var(--font-display); font-size: 12px; color: var(--text-muted); flex: 1; text-align: center; }
.mkt-demo-body { padding: 16px; font-family: 'JetBrains Mono', 'SF Mono', monospace; font-size: 13px; line-height: 1.8; }
.mkt-demo-key { color: var(--electric); }
.mkt-demo-val-red { color: var(--red); }
.mkt-demo-val-green { color: var(--green); }
.mkt-demo-val-gold { color: var(--gold); }
.mkt-demo-val-electric { color: var(--electric); }
html.light-theme .mkt-demo-header { background: #ede9e0; }
html.light-theme .mkt-demo-body { background: #faf8f4; }
html.light-theme .mkt-demo-key { color: #0e7490; }
html.light-theme .mkt-demo-val-red { color: #dc2626; }
html.light-theme .mkt-demo-val-green { color: #059669; }
html.light-theme .mkt-demo-val-gold { color: #b8860b; }
html.light-theme .mkt-demo-val-electric { color: #0e7490; }

/* --- Sections --- */
.mkt-section { padding: 80px 0; }
/* Все секции на едином --bg-primary - НЕТ резких границ цветов между секциями.
   Различие "alt" - через едва заметный radial-gradient (имитация лёгкого осветления). */
.mkt-section-alt {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 255, 255, 0.025) 0%, transparent 70%),
        var(--bg-primary);
}
html.light-theme .mkt-section-alt {
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 0, 0, 0.025) 0%, transparent 70%),
        var(--bg-primary);
}
.mkt-section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); text-align: center; margin-bottom: 10px; }
.mkt-section-subtitle { text-align: center; color: var(--text-secondary); font-size: 16px; margin-bottom: 48px; }

/* --- Services grid --- */
.mkt-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.mkt-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s; display: flex; flex-direction: column; }
.mkt-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.mkt-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.mkt-card-icon-blue { background: rgba(59, 130, 246, 0.12); color: var(--blue); }
.mkt-card-icon-gold { background: var(--gold-dim); color: var(--gold); }
.mkt-card-icon-electric { background: var(--electric-dim); color: var(--electric); }
.mkt-card-icon-green { background: var(--green-dim); color: var(--green); }
html.light-theme .mkt-card-icon-blue { background: rgba(29, 78, 216, 0.1); color: #1d4ed8; }
html.light-theme .mkt-card-icon-gold { background: rgba(184, 134, 11, 0.12); color: #b8860b; }
html.light-theme .mkt-card-icon-electric { background: rgba(14, 116, 144, 0.1); color: #0e7490; }
html.light-theme .mkt-card-icon-green { background: rgba(5, 150, 105, 0.1); color: #059669; }
.mkt-card h3 { font-size: 17px; margin-bottom: 8px; }
.mkt-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.mkt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mkt-tags span { padding: 3px 10px; border-radius: 50px; font-size: 11px; background: var(--border); color: var(--text-secondary); font-weight: 500; }
html.light-theme .mkt-tags span { background: rgba(0, 0, 0, 0.06); color: var(--text-secondary); border: 1px solid rgba(0, 0, 0, 0.08); }
.mkt-price { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.mkt-price-value { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--gold); }
.mkt-price-note { font-size: 12px; color: var(--text-muted); }
html.light-theme .mkt-card { border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 2px 8px rgba(80, 60, 30, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04); }
html.light-theme .mkt-card:hover { box-shadow: 0 12px 32px rgba(80, 60, 30, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.18); }

/* --- Category pills --- */
.mkt-cat-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.mkt-pill {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: var(--font-display);
}
.mkt-pill:hover { border-color: var(--border-hover); color: var(--text-primary); }
.mkt-pill.active { background: var(--gradient-gold); color: #0a0a0a; border-color: transparent; }
html.light-theme .mkt-pill.active { background: var(--gradient-gold); color: #fff; }

/* --- Bundles / Store --- */
.mkt-bundles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mkt-bundle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
    position: relative;
}
.mkt-bundle-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.mkt-bundle-card.featured { border-color: rgba(255, 215, 0, 0.3); }
.mkt-bundle-badge {
    position: absolute;
    top: -10px; right: 16px;
    background: var(--gradient-gold);
    color: #0a0a0a;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}
.mkt-bundle-card h3 { font-size: 18px; margin-bottom: 8px; }
.mkt-bundle-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.mkt-bundle-price { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.mkt-bundle-original { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
html.light-theme .mkt-bundle-card { border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 2px 8px rgba(80, 60, 30, 0.08); }
html.light-theme .mkt-bundle-card:hover { box-shadow: 0 12px 32px rgba(80, 60, 30, 0.16); border-color: rgba(0, 0, 0, 0.18); }

/* --- Quiz / AI block --- */
.mkt-quiz-block {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.mkt-input-row { display: flex; gap: 10px; margin-bottom: 16px; }
.mkt-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.mkt-input:focus { border-color: var(--gold); }
html.light-theme .mkt-input { background: #faf8f4; }
#quiz-result { min-height: 60px; }

/* --- Toast --- */
.mkt-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
    font-size: 14px;
}
.mkt-toast.show { transform: translateY(0); opacity: 1; }

/* --- Section desc (alias for subtitle) --- */
.mkt-section-desc { text-align: center; color: var(--text-secondary); font-size: 16px; margin-bottom: 48px; }

/* --- Price variants (catalog cards) --- */
.mkt-price-range { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--gold); }
.mkt-price-term { font-size: 12px; color: var(--text-muted); }
html.light-theme .mkt-price-range { color: #92400e; }

/* --- Bundle featured (alias) --- */
.mkt-bundle-featured { border-color: rgba(255, 215, 0, 0.3); }
html.light-theme .mkt-bundle-featured { border-color: rgba(184, 134, 11, 0.35); }

/* --- Bundle CTA --- */
.mkt-bundle-cta { margin-top: 16px; }

/* --- Badge variants --- */
.mkt-badge-electric { background: var(--electric-dim); color: var(--electric); border: 1px solid rgba(0, 200, 220, 0.25); }
.mkt-badge-blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); border: 1px solid rgba(59, 130, 246, 0.25); }
html.light-theme .mkt-badge-electric { background: rgba(14, 116, 144, 0.12); color: #0e7490; border-color: rgba(14, 116, 144, 0.35); }
html.light-theme .mkt-badge-blue { background: rgba(29, 78, 216, 0.1); color: #1d4ed8; border-color: rgba(29, 78, 216, 0.35); }

/* --- Steps (how it works) --- */
.mkt-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mkt-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}
.mkt-step-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.mkt-step-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
    line-height: 1;
}
html.light-theme .mkt-step-num { color: #92400e; }
.mkt-step-card h3 { font-size: 17px; margin-bottom: 8px; }
.mkt-step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
html.light-theme .mkt-step-card { border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 2px 8px rgba(80, 60, 30, 0.08); }
html.light-theme .mkt-step-card:hover { box-shadow: 0 12px 32px rgba(80, 60, 30, 0.16); border-color: rgba(0, 0, 0, 0.18); }

/* --- Demo chat messages --- */
.mkt-demo-msg { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.mkt-demo-msg-user {
    background: var(--gold-dim);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--text-primary);
    align-self: flex-end;
    margin-left: 40px;
    border-radius: 12px 12px 4px 12px;
}
.mkt-demo-msg-ai {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-right: 20px;
    border-radius: 12px 12px 12px 4px;
}
.mkt-demo-msg-promo {
    background: var(--electric-dim);
    border: 1px solid rgba(0, 240, 255, 0.2);
    color: var(--electric);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}
.mkt-demo-ai-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0a0a0a;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800;
    flex-shrink: 0;
}
.mkt-demo-ai-text { flex: 1; }
.mkt-demo-highlight { color: var(--gold); font-weight: 700; }
.mkt-demo-accent { color: var(--electric); font-weight: 700; }
html.light-theme .mkt-demo-msg-user { background: rgba(184, 134, 11, 0.12); border-color: rgba(184, 134, 11, 0.25); }
html.light-theme .mkt-demo-msg-ai { background: #ede9e0; }
html.light-theme .mkt-demo-msg-promo { background: rgba(14, 116, 144, 0.1); border-color: rgba(14, 116, 144, 0.25); color: #0e7490; }
html.light-theme .mkt-demo-highlight { color: #92400e; }
html.light-theme .mkt-demo-accent { color: #0e7490; }

/* --- Button variants --- */
.mkt-btn-full { width: 100%; justify-content: center; text-align: center; }
.mkt-btn-lg { padding: 16px 32px; font-size: 17px; }

/* --- CTA section --- */
.mkt-cta-center { text-align: center; }
.mkt-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Quiz result --- */
.mkt-quiz-result { margin-top: 16px; padding: 16px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); }
html.light-theme .mkt-quiz-result { background: #ede9e0; }

/* --- Design switch --- */
.mkt-design-switch {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    transition: all 0.2s;
}
.mkt-design-switch:hover { color: var(--text-primary); border-color: var(--gold); }

/* --- Footer --- */
.mkt-footer { border-top: 1px solid var(--border); padding: 24px 0; }
.mkt-footer-content { display: flex; justify-content: space-between; align-items: center; }
.mkt-footer-logo { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--gold); }
.mkt-footer-nav { display: flex; gap: 16px; }
.mkt-footer-link { font-size: 13px; color: var(--text-secondary); transition: color 0.2s; }
.mkt-footer-link:hover { color: var(--text-primary); }
.mkt-footer-copy { font-size: 13px; color: var(--text-muted); }
html.light-theme .mkt-footer { border-top-color: rgba(0, 0, 0, 0.1); }
html.light-theme .mkt-footer-logo { color: #b8860b; }

/* --- Badges for cards --- */
.badge { padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.badge-hot { background: var(--gold-dim); color: var(--gold); }
.badge-new { background: var(--electric-dim); color: var(--electric); }
.badge-partner { background: var(--green-dim); color: var(--green); }

/* --- Dialog (native) --- */
dialog {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 480px;
    width: 90%;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
dialog h3 { font-family: var(--font-display); margin-bottom: 12px; }
dialog p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

/* --- Skeleton shimmer --- */
.mkt-skeleton {
    background: var(--bg-secondary);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.mkt-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    background-size: 200% 100%;
    animation: zk-shimmer 1.5s infinite;
}
@keyframes zk-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
html.light-theme ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.15); }
html.light-theme ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.3); }

/* =====================================================
   ANIMATIONS (dreamcar)
   ===================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mesh-shift { 0%, 100% { background-position: 0% 50%; } 33% { background-position: 100% 50%; } 66% { background-position: 50% 0%; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Hero animations */
.mkt-hero-title { animation: fadeUp 0.8s ease both; }
.mkt-hero-subtitle { animation: fadeUp 0.8s 0.15s ease both; }
.mkt-hero-cta { animation: fadeUp 0.8s 0.3s ease both; }
.mkt-stats { animation: fadeUp 0.8s 0.45s ease both; }
.mkt-header { animation: fadeIn 0.4s ease both; }

/* Theme change transition */
body, body * {
    transition: background-color 0.35s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mkt-btn-primary, .mkt-btn-ghost, .mkt-card, .mkt-bundle-card, .mkt-theme-toggle {
    transition: background-color 0.25s, color 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}

/* No transition (FOUC prevention) */
.no-transition, .no-transition * { transition: none !important; }

/* --- Loader (dreamcar) --- */
@keyframes loader-dots { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes loader-logo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loader-fade-out { from { opacity: 1; } to { opacity: 0; pointer-events: none; } }

#dc-loader { position: fixed; inset: 0; z-index: 99999; background: #0a0a0a; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#dc-loader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#dc-loader.dc-loader-hide { animation: loader-fade-out 0.6s ease forwards; }
.dc-loader-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; animation: loader-logo-in 0.6s ease both; }
.dc-loader-logo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dc-loader-brand { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.08em; color: #ffffff; }
.dc-loader-brand-accent { color: var(--gold); }
.dc-loader-dots { display: flex; gap: 8px; align-items: center; }
.dc-loader-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: loader-dots 1.2s ease-in-out infinite; display: block; }
.dc-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.dc-loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* --- Cursor glow (dreamcar) --- */
#dc-cursor-wrap { position: fixed; width: 40px; height: 40px; pointer-events: none; z-index: 10000; top: 0; left: 0; will-change: left, top; }
body.dc-hide-cursor, body.dc-hide-cursor * { cursor: none !important; }
.dc-cursor-blur { position: absolute; inset: 0; width: 40px; height: 40px; border-radius: 50%; opacity: 0.8; filter: blur(40px); transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.dc-cursor-svg { position: absolute; top: 0; left: 0; width: 22px; height: 22px; }
#dc-cursor-wrap.dc-cursor-hover .dc-cursor-blur { width: 60px; height: 60px; margin: -10px; opacity: 0.5; }
@media (hover: none) { #dc-cursor-wrap { display: none !important; } }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .mkt-hero-grid { flex-direction: column; text-align: center; }
    .mkt-hero-content { max-width: 600px; }
    .mkt-badges { justify-content: center; }
    .mkt-hero-cta { justify-content: center; }
    .mkt-stats { justify-content: center; }
    .mkt-hero-visual { max-width: 400px; width: 100%; }
    .mkt-services-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-bundles-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mkt-nav { display: none; }
    .mkt-container { padding: 0 16px; }
    .mkt-hero { min-height: auto; padding-top: 80px; padding-bottom: 40px; }
    .mkt-hero-title { font-size: 1.8rem; }
    .mkt-hero-subtitle { font-size: 15px; }
    .mkt-hero-cta { flex-direction: column; gap: 10px; }
    .mkt-hero-cta .mkt-btn { width: 100%; justify-content: center; }
    .mkt-stats { flex-wrap: wrap; gap: 16px; }
    .mkt-services-grid { grid-template-columns: 1fr; }
    .mkt-bundles-grid { grid-template-columns: 1fr; }
    .mkt-steps-grid { grid-template-columns: 1fr; }
    .mkt-section { padding: 48px 0; }
    .mkt-section-title { font-size: 1.4rem; }
    .mkt-footer-content { flex-direction: column; gap: 8px; }
    .mkt-footer-nav { gap: 12px; }
    .mkt-cta-buttons { flex-direction: column; }
    .mkt-cta-buttons .mkt-btn { width: 100%; }
}

/* Focus-visible (keyboard accessibility) */
:focus-visible {
    outline: 2px solid var(--gold, #f0c040);
    outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible) { outline: none; }

/* text-wrap: balance for headings */
h1, h2, h3 { text-wrap: balance; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
