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

:root {
    --bg-main: #070606;
    --bg-elevated: #0f0d0b;
    --bg-elevated-soft: #14110d;
    --gold-1: #f7e0a3;
    --gold-2: #c8922a;
    --gold-3: #8a5a14;

    --accent: var(--gold-2);
    --accent-soft: rgba(200, 146, 42, 0.16);
    --accent-strong: var(--gold-1);
    --accent-gradient: linear-gradient(135deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));

    --text-main: #f6f0df;
    --text-muted: #b7ab90;
    --border-subtle: rgba(247, 224, 163, 0.14);

    --danger: #ff5f57;
    --warning: #fdbc2e;
    --success: #28c840;

    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
    --max-width: 1120px;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.22s ease-out;
}

html, body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(900px 500px at 50% -10%, rgba(247, 224, 163, 0.12), transparent 70%),
        radial-gradient(700px 400px at 10% 10%, rgba(200, 146, 42, 0.10), transparent 65%),
        radial-gradient(700px 420px at 90% 20%, rgba(138, 90, 20, 0.12), transparent 70%),
        linear-gradient(180deg, #050404 0%, #090807 45%, #050404 100%);
    color: var(--text-main);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    line-height: 1.5;
    min-height: 100%;
}

/* Layout */

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 4, 4, 0.92), rgba(5, 4, 4, 0.72));
    border-bottom: 1px solid rgba(247, 224, 163, 0.06);
}

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

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
}

.logo-mark {
    color: var(--text-main);
}

.logo-mark-alt {
    color: var(--accent-strong);
}

.logo-dot {
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.nav-link-cta {
    background: var(--accent-gradient);
    color: #fff;
    padding-inline: 16px;
    box-shadow: 0 0 0 1px rgba(247, 224, 163, 0.20), 0 18px 44px rgba(200, 146, 42, 0.28);
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, #ffe7ab, #c8922a 55%, #8a5a14);
}

/* Burger */

.burger {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(247, 224, 163, 0.18);
    background: rgba(10, 8, 6, 0.9);
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger span + span {
    margin-top: 3px;
}

.burger.is-open span:nth-child(1) {
    transform: translateY(5px) rotate(42deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-5px) rotate(-42deg);
}

/* Hero */

.hero {
    padding: 32px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: stretch;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(20, 17, 13, 0.86);
    border: 1px solid rgba(247, 224, 163, 0.18);
}

.hero-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle, #ffe7ab, #c8922a);
    box-shadow: 0 0 0 4px rgba(200, 146, 42, 0.16);
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background-image: var(--accent-gradient);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin: 0 0 18px;
    color: var(--text-muted);
    max-width: 480px;
    font-size: 15px;
}

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

.hero-list {
    margin: 0;
    padding-left: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Hero card */

.hero-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top left, rgba(247, 224, 163, 0.16), transparent 60%), rgba(15, 13, 11, 0.9);
    border: 1px solid rgba(247, 224, 163, 0.22);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(to bottom, rgba(10, 14, 30, 0.95), rgba(10, 14, 30, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: var(--danger); }
.dot.yellow { background: var(--warning); }
.dot.green { background: var(--success); }

.hero-card-body {
    padding: 18px 18px 20px;
}

.hero-card-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 10px;
}

.hero-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(153, 168, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-main);
    background: rgba(15, 21, 40, 0.95);
}

.step-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.step-desc {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition-med), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-med), border-color var(--transition-med);
}

.btn-primary {
    background-image: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 18px 46px rgba(200, 146, 42, 0.28);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 60px rgba(200, 146, 42, 0.34);
}

.btn-ghost {
    border-color: rgba(154, 163, 195, 0.5);
    background: rgba(9, 13, 31, 0.9);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: rgba(24, 31, 61, 0.96);
}

.btn-outline {
    border-color: rgba(154, 163, 195, 0.45);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(22, 29, 52, 0.96);
}

.btn-full {
    margin-top: 10px;
    width: 100%;
    background-image: var(--accent-gradient);
    color: #fff;
}

/* Sections */

.section {
    padding: 42px 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(247, 224, 163, 0.10), transparent 55%), rgba(7, 6, 6, 0.96);
}

.section-title {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin: 0 0 24px;
    color: var(--text-muted);
    max-width: 520px;
}

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: rgba(15, 13, 11, 0.86);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.feature-icon {
    font-size: 22px;
    margin-bottom: 8px;
}

.feature-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Tariffs */

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 32px; /* вертикальный / горизонтальный зазор */
    width: 100%;
}

/* Десктоп: делаем ровные 2×2 карточки */
@media (min-width: 1200px) {
    .tariffs-grid {
        grid-template-columns: repeat(2, minmax(0, 520px));
        justify-content: space-between; /* растягивает две колонки */
    }
}

/* Планшеты */
@media (max-width: 1199px) and (min-width: 768px) {
    .tariffs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
}

.tariff-card {
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    background: rgba(20, 17, 13, 0.82);
    border: 1px solid var(--border-subtle);
    width: 100%;
}

.tariff-card-popular {
    background: radial-gradient(circle at top, rgba(247, 224, 163, 0.14), rgba(7, 6, 6, 1));
    border-color: rgba(247, 224, 163, 0.38);
    box-shadow: 0 24px 60px rgba(200, 146, 42, 0.22);
}

.tariff-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.tariff-card-popular .tariff-label {
    color: #d4ddff;
}

.tariff-card h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.tariff-price {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.tariff-list {
    margin: 0 0 16px;
    padding-left: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

/* How it works */

.how-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 24px;
}

.how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-steps li {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.how-steps span {
    color: var(--accent-strong);
    font-weight: 600;
}

.how-box {
    padding: 18px 16px;
    border-radius: var(--radius-lg);
    background: rgba(15, 13, 11, 0.86);
    border: 1px solid var(--border-subtle);
    font-size: 14px;
}

.how-box h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 16px;
}

.how-box ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.how-note {
    margin: 0;
    color: var(--text-muted);
}

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(15, 13, 11, 0.86);
    padding: 10px 12px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

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

.faq-item p {
    margin: 8px 0 4px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 0 26px;
    background: #050404;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links a {
    display: inline-block;
    margin-right: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

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

.footer-copy {
    margin: 4px 0 0;
    max-width: 280px;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 24px;
    }

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

    .how-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding-block: 10px;
    }

    .nav {
        position: fixed;
        inset: 56px 12px auto 12px;
        flex-direction: column;
        background: rgba(7, 11, 30, 0.97);
        border-radius: 18px;
        padding: 10px;
        border: 1px solid rgba(158, 173, 255, 0.3);
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(16px);
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 10px;
    }

    .burger {
        display: inline-flex;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .features-grid,
    .tariffs-grid,
    .how-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 20px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 32px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Brand */
.logo {
    gap: 10px;
    letter-spacing: 0.10em;
    font-size: 13px;
}

.logo-img {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.55);
    border: 1px solid rgba(247, 224, 163, 0.18);
}

.logo-text {
    font-family: Cinzel, ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.logo-dot {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--text-muted);
    font-weight: 500;
}


/* Typography tweaks */
h1, h2, h3, .section-title, .tariff-card h3 {
    font-family: Cinzel, ui-serif, Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.hero h1 {
    font-size: 34px;
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
}

/* Brand mark in hero card */
.brand-mark {
    display: flex;
    justify-content: center;
    margin: 2px 0 10px;
}
.brand-mark img{
    width: 86px;
    height: 86px;
    border-radius: 999px;
    border: 1px solid rgba(247, 224, 163, 0.18);
    box-shadow: 0 22px 55px rgba(0,0,0,0.65);
}

/* Premium texture overlay */
body::before{
    content:"";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 50% 40%, rgba(0,0,0,0.0), rgba(0,0,0,0.55)),
        url("assets/banner_welcome.png");
    background-size: cover;
    opacity: 0.08;
    mix-blend-mode: overlay;
}
