@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* ========== TOKENS ========== */
:root {
    --bg-0: #06020f;
    --bg-1: #0a0418;
    --bg-2: #120828;
    --surface: rgba(20, 12, 40, 0.55);
    --surface-2: rgba(28, 16, 56, 0.7);
    --border: rgba(139, 92, 246, 0.35);
    --border-strong: rgba(168, 85, 247, 0.6);
    --accent: #a855f7;
    --accent-2: #8b5cf6;
    --accent-bright: #c084fc;
    --text: #f5f3ff;
    --text-dim: rgba(245, 243, 255, 0.65);
    --text-mute: rgba(245, 243, 255, 0.45);
    --glow: rgba(139, 92, 246, 0.45);
    --glow-strong: rgba(168, 85, 247, 0.7);
    --display-font: 'Oswald', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-1);
    color: var(--text);
    overflow-x: hidden;
    background-image:
        linear-gradient(180deg, rgba(6, 2, 15, 0.55), rgba(6, 2, 15, 0.65)),
        url('../images/cta_bg.webp');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== UTILS ========== */

/* Бейдж "13S SYNDICATE" с боковыми лучами */
.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 14px;
    /* margin-left: 140px;*/
}

.section-badge::before,
.section-badge::after {
    content: '';
    flex: 0 0 110px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 80%);
}

.section-badge::after {
    background: linear-gradient(270deg, transparent, var(--accent) 80%);
}

.section-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--glow-strong);
}

.section-badge-text {
    font-family: var(--display-font);
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-bright);
    font-size: 13px;
    text-transform: uppercase;
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: -5px;
    left: 3px;
    right: 3px;
    z-index: 100;
    background: rgba(6, 2, 15, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(196, 181, 253, 0.35);
    border-radius: 0px 0px 30px 30px;
    box-shadow: 0 6px 28px rgba(168, 85, 247, 0.18);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
    max-width: none;
    padding: 0 50px;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 100%;
    filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.45));
}

.logo img {
    display: block;
    height: 75px;
    width: auto;
}

.nav-items {
    display: flex;
    gap: 52px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-items a {
    font-size: 16px;
    color: var(--text-dim);
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

.nav-items a:hover,
.nav-items a.active {
    color: var(--text);
}

.nav-items a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--glow-strong);
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid #8000FF;
    border-radius: 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    text-align: center;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: rgba(196, 181, 253, 0.1);
    box-shadow: 0 0 18px rgba(196, 181, 253, 0.35);
}

.btn-primary .btn-icon {
    width: 22px;
    /* height: 18px; */
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
    margin: 5px -15px 0px 12px;
  }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: transparent;
    border: 1.5px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.btn-ghost:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.site-header .btn-primary {
    padding: 16px 34px;
    font-size: 16px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 60px;
    overflow: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero_bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(6, 2, 15, 0.45) 100%);
    pointer-events: none;
}

.hero-logo-overlay {
    flex: 0 0 auto;
    width: clamp(220px, 30vw, 460px);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 80px rgba(124, 58, 237, 0.35));
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
    min-height: 540px;
    margin-top: -50px;
    margin-left: -250px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
    max-width: 720px;
}

.hero-content .section-badge {
    margin-left: 145px;
    margin-right: auto;
}

.hero-title {
    align-self: stretch;
    text-align: left;
    font-family: var(--display-font);
    font-size: clamp(36px, 5.4vw, 76px);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(168, 85, 247, 0.25);
}

.hero-subtitle {
    align-self: stretch;
    text-align: left;
    max-width: 520px;
    font-size: 17px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.3px;
    color: #a6a6a9c7;
}

.hero-brand {
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #b17ae6 20%, #c2c2c2 30%, #dadada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-cta {
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 4px;
}

.hero-cta .btn-primary,
.hero-cta .btn-ghost {
    padding: 20px 40px;
    font-size: 17px;
    border-radius: 18px;
}

.hero-cta .btn-primary {
    background: #4f28d9;
    box-shadow:
        0 0 18px 1px rgb(63, 14, 248), 0 0 28px 2px rgba(62, 20, 102, 0.75), inset 0 0 22px rgba(153, 126, 253, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-primary:hover {
    background: #7c3aed;
    box-shadow:
        0 0 24px 2px rgba(196, 181, 253, 0), 0 0 38px 4px rgba(168, 85, 247, 0.9), inset 0 0 28px rgba(196, 181, 253, 0.75), inset 0 0 10px rgba(255, 255, 255, 0);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--surface);
    border: 0.1px solid rgba(196, 181, 253, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.08) inset,
        0 30px 50px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-stat:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px var(--accent) inset,
        0 30px 60px rgba(139, 92, 246, 0.25);
}

.hero-stat-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.5));
}

.hero-stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-family: var(--display-font);
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-bright);
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-stat-desc {
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 0.2px;
    line-height: 1.4;
}

/* ========== SECTIONS COMMON ========== */
.section {
    padding: 110px 0;
    position: relative;
}

.section-title {
    font-family: var(--display-font);
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-dim);
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

/* ========== WHY US ========== */
.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-card {
    position: relative;
    padding: 40px 32px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    backdrop-filter: blur(14px);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow:
        inset 0 1px 0 rgba(168, 85, 247, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.45);
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 18px var(--glow-strong);
    border-radius: 2px;
    opacity: 0.7;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow:
        inset 0 1px 0 rgba(168, 85, 247, 0.25),
        0 30px 70px rgba(139, 92, 246, 0.25);
}

.why-card-icon {
    height: 130px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(168, 85, 247, 0.55));
}

.why-card-title {
    font-family: var(--display-font);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text);
    margin-bottom: 14px;
}

.why-card-title em {
    color: var(--accent-bright);
    font-style: normal;
}

.why-card-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dim);
}

/* Старые селекторы Steps оставляем на минимуме на случай legacy */
.steps {
    display: none;
}

/* ========== CALCULATOR ========== */
.calc-section {
    padding: 120px 0;
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.calc-form {
/*
    background: var(--surface);
    border: 1px solid var(--border);
    */
    position: relative;
    border-radius: 28px;
    padding: 32px;
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(168, 85, 247, 0.12),
        0 30px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.calc-form::before {
    content: '';
    position: absolute;
    right: 4%;
    bottom: 30px;
    width: 240px;
    height: 220px;
    background:
        url('../images/decor_stars1.webp') 70% 60%/170px no-repeat,
        url('../images/decor_stars2.webp') 0% 0%/220px no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, #000 30%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
            mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, #000 30%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
}

.calc-form::after {
    content: '';
    position: absolute;
    left: 4%;
    bottom: 8px;
    height: clamp(0px, var(--snake-h, 0px), 640px);
    aspect-ratio: 409 / 317;
    max-width: 96%;
    background: url('../images/decor_snake.webp') center/contain no-repeat;
    opacity: 0.75;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.3) 75%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 35%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.3) 75%, transparent 100%);
    filter: drop-shadow(0 30px 40px rgba(75, 0, 130, 0.6));
    transition: height 0.2s ease-out;
}

.calc-form > * {
    position: relative;
    z-index: 1;
}

.calc-main-block {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.calc-role-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}

.calc-role-btn {
    padding: 10px 22px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 999px;
    background: rgba(20, 12, 40, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.calc-role-btn span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
}

.calc-role-btn:hover {
    border-color: var(--accent);
}

.calc-role-btn.active {
    border-color: transparent;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
}

.calc-role-btn.active span {
    color: #fff;
}

.calc-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-block h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.calc-block h3::before {
    content: '';
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: radial-gradient(circle at 50% 35%, currentColor 35%, transparent 36%) center/100% 100% no-repeat;
    mask: radial-gradient(circle at 50% 35%, currentColor 35%, transparent 36%) center/100% 100% no-repeat;
    opacity: 0.85;
}

.calc-city-buttons,
.calc-type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-city-buttons button,
.calc-type-buttons button,
.calc-status-buttons button {
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(20, 12, 40, 0.45);
    border: 1px solid rgba(139, 92, 246, 0.18);
    cursor: pointer;
    transition: all 0.2s;
}

.calc-city-buttons button span,
.calc-type-buttons button span,
.calc-status-buttons button span {
    font-size: 13px;
    color: var(--text-dim);
}

.calc-city-buttons button:hover,
.calc-type-buttons button:hover,
.calc-status-buttons button:hover {
    border-color: var(--accent);
}

.calc-city-buttons button.active,
.calc-type-buttons button.active,
.calc-status-buttons button.active {
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.calc-city-buttons button.active span,
.calc-type-buttons button.active span,
.calc-status-buttons button.active span {
    color: #fff;
}

.calc-select-container {
    position: relative;
}

.calc-select-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(20, 12, 40, 0.45);
    border: 1px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: border-color 0.2s;
}

.calc-select-heading:hover {
    border-color: var(--accent);
}

.calc-select-heading span {
    font-size: 14px;
    color: var(--text-dim);
}

.calc-select-heading svg {
    color: var(--accent-bright);
    transition: transform 0.2s;
}

.calc-select-container.open .calc-select-heading svg {
    transform: rotate(180deg);
}

.calc-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
    border-radius: 14px;
    padding: 10px;
    background: rgba(18, 8, 40, 0.95);
    border: 1px solid var(--border);
    flex-direction: column;
    gap: 4px;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.calc-select-container.open .calc-dropdown {
    display: flex;
}

.calc-dropdown button {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.calc-dropdown button:hover {
    background: rgba(139, 92, 246, 0.18);
}

.calc-dropdown button span {
    font-size: 14px;
    color: var(--text-dim);
    white-space: nowrap;
}

.calc-dropdown button.active {
    background: rgba(139, 92, 246, 0.25);
}

.calc-dropdown button.active span {
    color: #fff;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-counter {
    display: inline-flex;
    align-items: center;
    background: rgba(20, 12, 40, 0.45);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.calc-counter button {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--accent-bright);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s;
}

.calc-counter button:hover {
    background: rgba(139, 92, 246, 0.2);
}

.calc-input-row input[type="number"] {
    width: 64px;
    padding: 8px 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.calc-input-row input[type="number"]::-webkit-outer-spin-button,
.calc-input-row input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input-row input[type="number"].error {
    color: #f87171;
}

.calc-input-row p {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.3;
}

.calc-status-buttons {
    display: flex;
    gap: 8px;
}

.calc-inputs-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-input-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    min-width: 60px;
    white-space: nowrap;
}

/* Правая часть */
.calc-result {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.calc-result-illustration {
    flex: 1;
    min-height: 380px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.32) 0%, rgba(75, 0, 208, 0.4) 60%, rgba(92, 0, 255, 0.5) 100%);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 80px rgba(168, 85, 247, 0.2);
}

.calc-result-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
}

.calc-result-numbers {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.calc-result-profit,
.calc-result-bonus {
    padding: 22px 24px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.calc-result-profit p,
.calc-result-bonus p {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.calc-result-profit h3 {
    font-family: var(--display-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-bright);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.calc-result-bonus h3 {
    font-family: var(--display-font);
    font-size: 26px;
    font-weight: 700;
    color: var(--accent-bright);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.mobile-br {
    display: none;
}

/* ========== CTA ========== */
.cta-section {
    text-align: center;
    padding: 110px 0;
    position: relative;
}

.cta-section .cta-logo {
    width: 120px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 10px 30px rgba(168, 85, 247, 0.5));
}

.cta-section .section-subtitle {
    margin-bottom: 36px;
}

/* ========== REVIEWS ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
    position: relative;
}

.reviews-grid.has-extra::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to bottom, transparent, var(--bg-1));
    pointer-events: none;
    z-index: 1;
}

.review-extra {
    display: none;
}

.review-card {
    position: relative;
    padding: 28px 26px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(168, 85, 247, 0.12),
        0 24px 50px rgba(0, 0, 0, 0.4);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    background: url('../images/quote.webp') center/contain no-repeat;
    opacity: 0.85;
    pointer-events: none;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    background: rgba(20, 12, 40, 0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-bright);
    flex-shrink: 0;
    box-shadow: inset 0 0 12px rgba(168, 85, 247, 0.25);
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.review-rating {
    margin-top: 6px;
    width: 153px;
    height: 26px;
    background: url('../images/stars5.webp') left center/contain no-repeat;
    color: transparent;
    overflow: hidden;
}

.review-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-grid.expanded .review-extra {
    display: block;
}

.reviews-grid.expanded::after {
    display: none;
}

.reviews-more {
    text-align: center;
    margin-top: 56px;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 940px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--border-strong);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
}

.faq-item.open {
    border-color: var(--border-strong);
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.22);
}

.faq-question {
    width: 100%;
    min-height: 78px;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-bright);
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
}

/* ========== CONTACT FORM ========== */
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.contact-modal.open {
    display: flex;
}

.contact-form {
    background: linear-gradient(180deg, #1a0d36 0%, #120828 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.contact-form h2 {
    font-family: var(--display-font);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(20, 12, 40, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.contact-form .btn-primary {
    width: 100%;
}

.contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-mute);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

.contact-close:hover {
    color: var(--text);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

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

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

    .hero-content {
        transform: none;
        max-width: 100%;
    }

    .hero-content .section-badge {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-content .section-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo-overlay {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        display: block;
        margin: 0 auto 20px;
        width: clamp(180px, 56vw, 280px);
        /*margin-left: -250px;*/
    }

    .nav-items {
        display: none;
    }

    .site-header {
        top: -5;
        left: 0;
        right: 0;
        border-radius: 0 0 18px 18px;
    }

    .site-header .container {
        height: 64px;
        padding: 0 16px;
    }

    .site-header .btn-primary {
        padding: 9px 16px;
        font-size: 13px;
    }

    .site-header .btn-primary .btn-icon {
        width: 16px;
        margin: 2px -6px 0 6px;
    }

    .logo img {
        height: 38px;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }

    .hero-grid {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        margin-left: 0;
        min-height: auto;
        gap: 16px;
    }

    .hero-content {
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }

    .hero-title {
        font-size: clamp(34px, 9vw, 48px);
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-ghost {
        width: 100%;
        padding: 16px 22px;
        font-size: 15px;
        border-radius: 14px;
    }

    .hero-stats {
        margin-top: 36px;
        gap: 14px;
    }

    .hero-stat {
        padding: 14px 18px;
        gap: 14px;
    }

    .hero-stat-icon {
        width: 52px;
        height: 56px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .hero-stat-desc {
        font-size: 10.5px;
    }

    .section {
        padding: 70px 0;
    }

    .section-badge::before,
    .section-badge::after {
        flex: 0 0 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 36px;
    }

    .calc-section {
        padding: 70px 0;
    }

    .calc-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-form {
        padding: 22px;
        border-radius: 22px;
    }

    .calc-role-btn {
        padding: 9px 16px;
    }

    .calc-result-numbers {
        grid-template-columns: 1fr;
    }

    .calc-result-illustration {
        min-height: 220px;
    }

    .calc-result-profit h3 {
        font-size: 26px;
    }

    .calc-result-bonus h3 {
        font-size: 22px;
    }

    .mobile-br {
        display: inline;
    }

    .cta-section {
        padding: 70px 0;
    }

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

    .review-card {
        padding: 22px 20px;
    }

    .reviews-more {
        margin-top: 32px;
    }

    .faq-question {
        min-height: 64px;
        padding: 14px 22px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 22px 18px;
        font-size: 13px;
    }

    .contact-form {
        width: calc(100vw - 32px);
        max-width: 420px;
        padding: 28px 22px;
    }

    .btn-primary,
    .btn-ghost {
        padding: 14px 22px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .section-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .hero-stat {
        padding: 12px 14px;
        gap: 12px;
    }

    .hero-stat-icon {
        width: 48px;
        height: 52px;
    }

    .hero-stat-value {
        font-size: 20px;
    }
}
