/* ───────────────────────────────────────────────────────────
   GW-AI landing — dark theme
   Палитра: чёрный + белый + cyan акцент (как в лого)
   ─────────────────────────────────────────────────────────── */

:root {
    --bg: #000000;
    --surface: #0d0d12;
    --surface-2: #14141c;
    --border: #1f1f2a;
    --border-strong: #2a2a3a;
    --text: #ffffff;
    --text-muted: #a0a0a8;
    --text-faint: #6c6c78;
    --accent: #5fd4ff;
    --accent-soft: rgba(95, 212, 255, 0.12);
    --accent-dark: #0098c2;
    --shadow-glow: 0 0 30px rgba(95, 212, 255, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #97e6ff; }

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow { max-width: 760px; }

/* ─── Topbar ────────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
}
.brand img { border-radius: 50%; }
.brand-text { font-family: 'Inter', sans-serif; }
.brand-accent { color: var(--accent); font-weight: 500; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #001520;
}
.btn-primary:hover {
    background: #7ce0ff;
    color: #001520;
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: -200px;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(95, 212, 255, 0.10), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(95, 212, 255, 0.05), transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
}
.hero-title {
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.accent { color: var(--accent); }
.hero-lead {
    margin: 0 0 36px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 560px;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.hero-meta {
    color: var(--text-faint);
    font-size: 14px;
}
.hero-logo {
    display: flex;
    justify-content: center;
}
.hero-logo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 50%;
    filter: drop-shadow(0 0 60px rgba(95, 212, 255, 0.12));
}

/* ─── Sections ──────────────────────────────────────────── */
section { padding: 70px 0; }
.section-title {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    margin: 0 0 40px;
    letter-spacing: -0.01em;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
}
.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}
.card-soft {
    background: transparent;
    border-color: var(--border);
}

/* ─── Pricing ───────────────────────────────────────────── */
.price-card {
    max-width: 460px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--accent);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 0 50px rgba(95, 212, 255, 0.08);
}
.price-card-head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    color: var(--text);
}
.price-amount {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.price-currency { color: var(--accent); }
.price-period {
    color: var(--text-muted);
    font-size: 18px;
}
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.price-list li {
    color: var(--text);
    font-size: 15px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}
.price-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 14px;
    height: 6px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.faq-item[open] {
    border-color: var(--border-strong);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── Final CTA ────────────────────────────────────────── */
.cta-final {
    text-align: center;
    padding: 80px 0 100px;
    background: radial-gradient(ellipse at center, rgba(95, 212, 255, 0.08), transparent 70%);
}
.cta-title {
    font-size: clamp(28px, 4vw, 42px);
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.cta-sub {
    color: var(--text-muted);
    font-size: 17px;
    margin: 0 0 30px;
}

/* ─── Generic content page ────────────────────────────── */
.content-page {
    padding: 80px 0 120px;
}
.page-title {
    font-size: clamp(32px, 5vw, 44px);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.muted { color: var(--text-muted); }

/* ─── Footer ────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 28px 0 32px;
    background: #050507;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.footer-brand img { border-radius: 50%; }
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-faint); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-logo img { max-width: 280px; }
    .cards.three { grid-template-columns: 1fr; }
    section { padding: 56px 0; }
}

@media (max-width: 540px) {
    .container { padding: 0 18px; }
    .topbar-row { height: 64px; }
    .topbar-nav .btn { padding: 10px 14px; font-size: 14px; }
    .hero { padding: 48px 0 64px; }
    .price-card { padding: 32px 24px; }
    .price-amount { font-size: 44px; }
    .footer-row { justify-content: flex-start; }
}
