/* Mixen AI landing — единый CSS для всех 4 страниц.
   Палитра наследует Mixen-logo: тёмный neon-фон + cyan/purple/orange акценты. */

:root {
    --bg: #0a0e1a;
    --bg-card: #11141d;
    --bg-card-soft: rgba(17, 20, 29, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: #2a3550;
    --text: #f0f0f0;
    --text-dim: #a0a0b0;
    --cyan: #00e0ff;
    --purple: #b04eff;
    --pink: #ff6b9d;
    --orange: #ffa050;
    --gradient: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(176, 78, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 224, 255, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 157, 0.06) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Canvas с particle-сетью — фон под всем контентом */
#bg-net {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.55;
}

/* Subtle голографическая сетка поверх canvas (как у netrunner) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 224, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 224, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Header ─── */
.header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
}
.header .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--text); }
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text-dim); font-size: 14px; }
.nav a:hover { color: var(--cyan); }

/* ─── Hero ─── */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    line-height: 1.25;
    margin-bottom: 20px;
    padding-bottom: 0.08em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 32px;
}
.cta {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 20px rgba(176, 78, 255, 0.3);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(176, 78, 255, 0.5); color: #fff; }

/* ─── Sections ─── */
section { padding: 60px 0; }
section h2 { font-size: 32px; margin-bottom: 32px; text-align: center; }

/* ─── Features grid ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.feature {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.feature:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}
.feature .icon { font-size: 36px; margin-bottom: 12px; display: block; }
.feature h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--text-dim); font-size: 14px; }
.feature .soon {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0, 224, 255, 0.4);
    border-radius: 999px;
    background: rgba(0, 224, 255, 0.08);
}

/* ─── Pricing ─── */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.pricing-card .free-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gradient);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.pricing-card h3 { font-size: 28px; margin-bottom: 8px; }
.pricing-card .quota { font-size: 16px; color: var(--text-dim); margin-bottom: 14px; }
.pricing-card .welcome-bonus {
    display: inline-block;
    margin: 0 auto 28px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.08), rgba(176, 78, 255, 0.08));
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text);
}
.pricing-card .welcome-bonus strong {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.pricing-list { text-align: left; max-width: 360px; margin: 0 auto; }
.pricing-list li { list-style: none; padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list .label { color: var(--text-dim); }
.pricing-list .price { font-weight: 600; color: var(--cyan); }
.pricing-note { margin-top: 20px; font-size: 13px; color: var(--text-dim); }

/* ─── Payment methods (2×2 cards, как на netrunner) ─── */
.payment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}
.payment-feature {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.payment-feature:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}
.payment-feature .pf-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 107, 157, 0.1));
    border: 1px solid var(--border);
    border-radius: 10px;
}
.payment-feature h3 { font-size: 15px; margin-bottom: 6px; }
.payment-feature p { color: var(--text-dim); font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
    .payment-features { grid-template-columns: 1fr; }
}

/* ─── How it works ─── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.step {
    text-align: center;
    padding: 24px;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.step:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.1);
}
.step .num {
    display: inline-block;
    width: 48px; height: 48px; line-height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 14px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ─── Final CTA ─── */
.final-cta {
    text-align: center;
    padding: 80px 0;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: var(--text-dim); margin-bottom: 28px; }

/* ─── Footer ─── */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    color: var(--text-dim);
    font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--text); margin-bottom: 12px; font-size: 14px; }
.footer ul { list-style: none; }
.footer ul li { padding: 4px 0; }
.footer .requisites { line-height: 1.8; }
.footer .copyright {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 12px;
}

/* ─── Docs pages (oferta/privacy/refund) ─── */
.doc-page {
    padding: 60px 0 80px;
}
.doc-page h1 { font-size: 36px; margin-bottom: 12px; }
.doc-page .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 40px; }
.doc-page h2 { font-size: 24px; margin: 36px 0 16px; color: var(--cyan); text-align: left; }
.doc-page h3 { font-size: 18px; margin: 24px 0 10px; color: var(--text); }
.doc-page p, .doc-page li { margin-bottom: 12px; }
.doc-page ul, .doc-page ol { padding-left: 24px; margin-bottom: 16px; }
.doc-page strong { color: var(--text); }
.doc-page blockquote {
    border-left: 3px solid var(--purple);
    padding: 12px 16px;
    margin: 16px 0;
    background: var(--bg-card);
    border-radius: 0 8px 8px 0;
    color: var(--text-dim);
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 17px; }
    section { padding: 40px 0; }
    section h2 { font-size: 26px; }
    .pricing-card { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .doc-page h1 { font-size: 28px; }
}
