/* Тaro — сайт оплаты. Тёмная тема, золото и фиолет, без внешних зависимостей. */

:root {
    --bg: #0d0a18;
    --bg-soft: #141026;
    --card: #1a1430;
    --card-hi: #221a3d;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f2eefb;
    --muted: #a49cbf;
    --gold: #e7c26b;
    --gold-soft: #f3d79b;
    --violet: #9a7bff;
    --violet-deep: #6b4bd6;
    --green: #47c98a;
    --radius: 20px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(1100px 600px at 10% -10%, rgba(154, 123, 255, 0.20), transparent 60%),
        radial-gradient(900px 500px at 95% 0%, rgba(231, 194, 107, 0.12), transparent 55%),
        var(--bg);
    color: var(--text);
    font: 17px/1.65 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

/* --- шапка --- */

header.site {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(13, 10, 24, 0.72);
    border-bottom: 1px solid var(--line);
}

header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text);
    text-decoration: none;
}

.brand .mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #2a2050, #191233);
    border: 1px solid rgba(231, 194, 107, 0.35);
    font-size: 18px;
}

nav.top a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 22px;
    font-size: 15px;
}

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

/* --- кнопки --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2a1e05;
    box-shadow: 0 10px 30px rgba(231, 194, 107, 0.22);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-buy {
    width: 100%;
    background: rgba(154, 123, 255, 0.16);
    border: 1px solid rgba(154, 123, 255, 0.4);
    color: var(--text);
}

.btn-buy:hover {
    background: rgba(154, 123, 255, 0.26);
}

.btn-buy.gold {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2a1e05;
    border-color: transparent;
}

/* --- первый экран --- */

.hero {
    padding: 84px 0 60px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    margin: 0 0 18px;
    font-weight: 600;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero p.lead {
    color: var(--muted);
    font-size: 19px;
    max-width: 34em;
    margin: 0 0 28px;
}

.hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

/* карточка-«расклад» справа */

.spread {
    position: relative;
    border-radius: 28px;
    padding: 26px;
    background: linear-gradient(160deg, rgba(34, 26, 61, 0.9), rgba(20, 16, 38, 0.9));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.spread .cards {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.spread .card {
    width: 72px;
    height: 116px;
    border-radius: 10px;
    background: linear-gradient(180deg, #2b2252, #1a1433);
    border: 1px solid rgba(231, 194, 107, 0.35);
    display: grid;
    place-items: center;
    font-size: 26px;
    color: var(--gold-soft);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.spread .card:nth-child(2) {
    transform: translateY(-10px);
}

.spread .caption {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.spread .quote {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    line-height: 1.5;
}

/* --- секции --- */

section {
    padding: 56px 0;
}

h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    margin: 0 0 10px;
}

.sub {
    color: var(--muted);
    margin: 0 0 34px;
    max-width: 46em;
}

/* --- товары --- */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
    border-radius: var(--radius);
    background: linear-gradient(170deg, var(--card-hi), var(--card));
    border: 1px solid var(--line);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.product:hover {
    transform: translateY(-4px);
    border-color: rgba(154, 123, 255, 0.45);
}

.product .title {
    font-size: 15px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product .amount {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    line-height: 1.1;
}

.product .amount small {
    font-size: 15px;
    color: var(--muted);
    font-family: "Inter", system-ui, sans-serif;
}

.product ul {
    margin: 10px 0 18px;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14.5px;
}

.product ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.product ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
    top: 2px;
}

.product .spacer {
    flex: 1;
}

.badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #2a1e05;
}

/* --- шаги --- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step {
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-bottom: 12px;
    background: rgba(231, 194, 107, 0.14);
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
}

.step h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* --- вопросы --- */

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    float: right;
    color: var(--gold);
}

.faq details[open] summary::after {
    content: "–";
}

.faq p {
    color: var(--muted);
    margin: 12px 0 0;
}

/* --- подвал --- */

footer.site {
    margin-top: 40px;
    padding: 40px 0 60px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

footer.site .cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

footer.site a {
    color: var(--muted);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

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

footer.site .req {
    line-height: 1.8;
}

.age {
    display: inline-block;
    margin-top: 14px;
    padding: 3px 9px;
    border-radius: 8px;
    border: 1px solid var(--line);
    font-size: 12px;
}

/* --- юридические страницы --- */

.legal {
    padding: 48px 0 70px;
    max-width: 820px;
}

.legal h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3.6vw, 40px);
    margin: 0 0 8px;
}

.legal .meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.legal h2 {
    font-size: 22px;
    margin: 34px 0 10px;
}

.legal p,
.legal li {
    color: #d9d3ea;
}

.legal a {
    color: var(--gold-soft);
}

.legal .back {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    text-decoration: none;
}

/* --- страницы результата оплаты --- */

.status {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 60px 0;
}

.status .box {
    width: min(640px, 92vw);
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(170deg, var(--card-hi), var(--card));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    text-align: center;
}

.status .icon {
    font-size: 52px;
    margin-bottom: 10px;
}

.status h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    margin: 0 0 12px;
}

.status p {
    color: var(--muted);
    margin: 0 0 24px;
}

.status .hint {
    font-size: 14px;
    color: var(--muted);
    margin-top: 18px;
}

/* --- адаптив --- */

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

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

    nav.top {
        display: none;
    }

    .status .box {
        padding: 28px 20px;
    }
}
