/* Chatova AI Plus — site stylesheet */
:root {
    --bg: #0a0f12;
    --surface: #141a1f;
    --surface-2: #1d242b;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #26c79e;
    --accent-dim: #1a8c70;
    --text: #f4f7f8;
    --text-2: rgba(244, 247, 248, 0.72);
    --text-3: rgba(244, 247, 248, 0.5);
    --max: 1100px;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
                 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--text-2); }
ul { padding-left: 1.2em; color: var(--text-2); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ───── Nav ───── */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(10, 15, 18, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); font-weight: 700; font-size: 1.05rem;
    text-decoration: none;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 600px) {
    .nav-links a:not(.btn) { display: none; }
}

/* ───── Buttons ───── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: #061a14; }
.btn-primary:hover { background: #2fdaab; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }

.btn-store {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 22px;
    background: #000; color: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.85;
    user-select: none;
}
.btn-store .apple { font-size: 1.4rem; line-height: 1; }
.btn-store .small { display: block; font-size: 0.7rem; line-height: 1.1; color: var(--text-3); font-weight: 500; }
.btn-store .big { display: block; font-size: 1rem; line-height: 1.2; }
.btn-store-wrap { display: inline-flex; align-items: center; gap: 8px; }
.btn-store-wrap .badge {
    background: var(--accent); color: #061a14;
    font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 999px;
}

/* ───── Hero ───── */
.hero {
    padding: 90px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(38, 199, 158, 0.18), transparent 60%);
}
.hero img.app-icon {
    width: 110px; height: 110px;
    border-radius: 24px;
    margin: 0 auto 28px;
    box-shadow: 0 18px 50px rgba(38, 199, 158, 0.25);
}
.hero h1 { max-width: 780px; margin: 0 auto 16px; }
.hero .lede {
    max-width: 640px; margin: 0 auto 32px;
    font-size: 1.15rem; color: var(--text-2);
}
.hero .cta-row {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero .badges {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
    margin-top: 36px; color: var(--text-3); font-size: 0.85rem;
}

/* ───── Sections ───── */
section { padding: 70px 0; border-top: 1px solid var(--border); }
section.no-border { border-top: none; }
section h2 { margin-bottom: 36px; text-align: center; }

.features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.feature h3 { margin-bottom: 6px; color: var(--text); }
.feature p { margin: 0; font-size: 0.95rem; }
.feature .icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(38, 199, 158, 0.12);
    color: var(--accent);
    display: grid; place-items: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

/* ───── Pricing ───── */
.pricing {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px; max-width: 760px; margin: 0 auto;
}
.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}
.plan.featured { border-color: var(--accent); }
.plan.featured::before {
    content: "Best value · Save 33%";
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: #061a14;
    font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.plan h3 { font-size: 1rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.plan .price { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.plan .period { color: var(--text-3); margin-bottom: 16px; font-size: 0.9rem; }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.plan li { padding: 6px 0; border-top: 1px solid var(--border); }
.plan li:first-child { border-top: none; }

/* ───── Doc pages (privacy / terms / support) ───── */
.doc {
    padding: 60px 0 90px;
}
.doc h1 { font-size: 2.4rem; margin-bottom: 8px; }
.doc .updated { color: var(--text-3); font-size: 0.9rem; margin-bottom: 32px; }
.doc h2 { text-align: left; font-size: 1.4rem; margin: 36px 0 12px; }
.doc h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--text); }
.doc p, .doc li { color: var(--text-2); }

/* ───── Footer ───── */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    color: var(--text-3);
    font-size: 0.9rem;
}
.footer-inner {
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: space-between; align-items: center;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); }
