/* Стиль сайта-лендинга «Сайт под ключ за 7 дней» — современный дизайн, светлая тема */

:root {
    --bg-color: #f5f7fb;
    --header-bg: rgba(255, 255, 255, 0.8);
    --header-border: rgba(30, 27, 75, 0.06);
    --text-color: #1c1b2e;
    --text-secondary: #6b7280;
    --text-muted: #3f3d56;
    --primary-color: #5b4ee5;
    --primary-hover: #4a3ed2;
    --primary-soft: rgba(91, 78, 229, 0.1);
    --secondary-bg: #ffffff;
    --border-color: #e8e9f3;
    --hero-gradient: linear-gradient(180deg, #eef0ff 0%, #f7f6ff 55%, #f5f7fb 100%);
    --feature-bg: #ffffff;
    --feature-icon-bg: linear-gradient(135deg, rgba(91, 78, 229, 0.14), rgba(162, 92, 240, 0.14));
    --card-bg: #ffffff;
    --card-border: rgba(91, 78, 229, 0.14);
    --card-shadow: rgba(48, 42, 133, 0.1);
    --step-bg: #ffffff;
    --step-border: #e8e9f3;
    --footer-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #dde0f5;
    --faq-bg: #ffffff;
    --faq-border: #e8e9f3;
    --accent-gradient: linear-gradient(120deg, #4f46e5, #7c3aed 55%, #a855f7);
    --glow-indigo: rgba(99, 102, 241, 0.35);
    --glow-violet: rgba(168, 85, 247, 0.3);
    --radius-card: 20px;
    --header-height: 72px;
}

* {box-sizing: border-box;}

html {scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px);}

body {margin: 0; font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; color: var(--text-color); background: var(--bg-color);}

a {text-decoration: none;}

/* Лёгкое «зерно» поверх всей страницы */
body::after {content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");}
img {max-width: 100%;}
h1, h2, h3 {letter-spacing: -0.02em;}

@media (prefers-reduced-motion: reduce) {
    html {scroll-behavior: auto;}
}

/* Появление блоков при прокрутке — базовое состояние */
@media (prefers-reduced-motion: no-preference) {
    .reveal {opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);}
    .reveal.is-visible {opacity: 1; transform: none;}
}

/* Шапка — стеклянная, прилипающая */
.site-header {position: sticky; top: 0; z-index: 100; background: var(--header-bg); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border-bottom: 1px solid var(--header-border);}
.site-header__inner {max-width: 1140px; margin: 0 auto; padding: 0 16px; height: var(--header-height); display: flex; align-items: center; gap: 24px;}
.site-header__logo {display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--primary-color); white-space: nowrap; letter-spacing: -0.01em;}
.site-header__logo span {color: var(--text-color);}
.site-header__nav {display: flex; gap: 8px; flex: 1 1 auto; margin-left: auto;}
.site-header__nav a {color: var(--text-muted); font-size: 15px; font-weight: 500; white-space: nowrap; padding: 8px 14px; border-radius: 10px; transition: color 0.2s ease, background-color 0.2s ease;}
.site-header__nav a:hover {color: var(--primary-color); background: var(--primary-soft);}

/* Бургер-меню (мобильные) */
.site-burger {display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--border-color); border-radius: 12px; cursor: pointer;}
.site-burger span {display: block; height: 2px; width: 100%; background: var(--text-color); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;}
.site-burger.is-open span:nth-child(1) {transform: translateY(7px) rotate(45deg);}
.site-burger.is-open span:nth-child(2) {opacity: 0;}
.site-burger.is-open span:nth-child(3) {transform: translateY(-7px) rotate(-45deg);}

/* Первый экран */
.site-hero {position: relative; overflow: hidden; background: var(--hero-gradient); padding: 96px 16px 88px;}
.site-hero__glow {position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;}
.site-hero__glow--indigo {width: 560px; height: 560px; top: -220px; left: -140px; background: radial-gradient(circle, var(--glow-indigo), transparent 65%);}
.site-hero__glow--violet {width: 620px; height: 620px; bottom: -300px; right: -160px; background: radial-gradient(circle, var(--glow-violet), transparent 65%);}
.site-hero__glow--center {width: 420px; height: 420px; top: -120px; right: 18%; background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);}
@media (prefers-reduced-motion: no-preference) {
    .site-hero__glow--indigo {animation: blob-float-1 14s ease-in-out infinite;}
    .site-hero__glow--violet {animation: blob-float-2 18s ease-in-out infinite;}
    .site-hero__glow--center {animation: blob-float-3 16s ease-in-out infinite;}
}
@keyframes blob-float-1 {
    0%, 100% {transform: translate(0, 0) scale(1);}
    50% {transform: translate(60px, 40px) scale(1.12);}
}
@keyframes blob-float-2 {
    0%, 100% {transform: translate(0, 0) scale(1);}
    50% {transform: translate(-70px, -50px) scale(1.08);}
}
@keyframes blob-float-3 {
    0%, 100% {transform: translate(0, 0) scale(1); opacity: 1;}
    50% {transform: translate(-40px, 60px) scale(0.92); opacity: 0.7;}
}

.site-hero__inner {position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center;}
.site-badge {display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--card-border); box-shadow: 0 2px 14px rgba(48, 42, 133, 0.06); color: var(--primary-color); font-size: 13.5px; font-weight: 600; margin-bottom: 26px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);}
.site-badge::before {content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-gradient); flex: 0 0 auto;}
.site-hero h1 {font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; margin: 0 0 18px; line-height: 1.12;}
.site-hero h1 em {font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;}
.site-hero p {max-width: 660px; margin: 0 auto 26px; color: var(--text-secondary); font-size: 17.5px; line-height: 1.65;}
.site-hero__price {margin: 0 0 10px; color: var(--text-muted); font-size: 19px;}
.site-hero__price b {color: var(--primary-color); font-size: 32px; font-weight: 800; letter-spacing: -0.02em;}
.site-hero__actions {display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 26px 0;}
.site-hero__list {list-style: none; margin: 34px 0 0; padding: 0; display: flex; justify-content: center; gap: 10px 28px; flex-wrap: wrap; color: var(--text-muted); font-size: 15px;}
.site-hero__list li {padding-left: 28px; position: relative;}
.site-hero__list li::before {content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-gradient); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;}

/* Кнопки */
.site-btn {display: inline-block; padding: 14px 28px; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; font-family: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;}
.site-btn:active {transform: scale(0.97);}
.site-btn--primary {background: var(--accent-gradient); color: #ffffff; box-shadow: 0 8px 22px rgba(91, 78, 229, 0.35);}
.site-btn--primary:hover {background-size: 160% 100%; background-position: right center; box-shadow: 0 12px 28px rgba(91, 78, 229, 0.45); transform: translateY(-2px);}
.site-btn--ghost {background: rgba(255, 255, 255, 0.9); color: var(--text-muted); border: 1px solid var(--border-color); box-shadow: 0 4px 14px rgba(48, 42, 133, 0.05);}
.site-btn--ghost:hover {color: var(--primary-color); border-color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(48, 42, 133, 0.08);}
.site-btn--white {background: #ffffff; color: var(--primary-color); width: 100%; box-shadow: 0 10px 26px rgba(23, 18, 74, 0.25);}
.site-btn--white:hover {transform: translateY(-2px); box-shadow: 0 14px 32px rgba(23, 18, 74, 0.35);}

/* Секции */
.site-section {position: relative; overflow: hidden; padding: 84px 0;}
.site-section > .site-section__inner {position: relative; z-index: 1;}
.site-section::before {content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -180px; top: -180px; background: radial-gradient(circle, rgba(91, 78, 229, 0.08), transparent 65%); pointer-events: none;}
.site-section::after {content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(168, 85, 247, 0.07), transparent 65%); pointer-events: none;}
.site-section--alt {background-color: var(--secondary-bg); background-image: radial-gradient(circle, rgba(91, 78, 229, 0.10) 1px, transparent 1px); background-size: 26px 26px;}
.site-section--alt::before {background: radial-gradient(circle, rgba(99, 102, 241, 0.10), transparent 65%);}
.site-section--alt::after {background: radial-gradient(circle, rgba(168, 85, 247, 0.09), transparent 65%);}
@media (prefers-reduced-motion: no-preference) {
    .site-section::before {animation: blob-float-1 18s ease-in-out infinite;}
    .site-section::after {animation: blob-float-2 22s ease-in-out infinite;}
}
.site-section__inner {max-width: 1140px; margin: 0 auto; padding: 0 16px; text-align: center;}
.site-section__title {font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; margin: 0 0 12px;}
.site-section__text {max-width: 680px; margin: 0 auto; color: var(--text-secondary); font-size: 16px; line-height: 1.65;}
.site-section--alt {background: var(--secondary-bg);}
.site-subtitle {font-size: 22px; font-weight: 800; margin: 48px 0 22px;}

/* Возможности */
.site-features {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; text-align: left;}
.site-feature {background: var(--feature-bg); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 30px 26px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;}
.site-feature:hover {transform: translateY(-6px); box-shadow: 0 18px 40px var(--card-shadow); border-color: var(--card-border);}
.site-feature__icon {width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--feature-icon-bg); font-size: 24px; margin-bottom: 18px; transition: transform 0.3s ease;}
.site-feature:hover .site-feature__icon {transform: scale(1.08) rotate(-4deg);}
.site-feature__title {font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em;}
.site-feature__text {color: var(--text-secondary); font-size: 14.5px; line-height: 1.65; margin: 0;}

/* Чек-лист «что входит» */
.site-checks {list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; text-align: left;}
.site-checks li {background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); display: flex; align-items: flex-start; gap: 12px; text-align: left; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;}
.site-checks li:hover {transform: translateY(-2px); border-color: var(--card-border); box-shadow: 0 10px 24px rgba(48, 42, 133, 0.07);}
.site-checks li::before {content: "✓"; flex: 0 0 auto; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background: var(--accent-gradient); color: #ffffff; border-radius: 50%; font-size: 11px; font-weight: 700;}

/* Таймлайн */
.site-steps {margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: left;}
.site-step {background: var(--step-bg); border: 1px solid var(--step-border); border-radius: var(--radius-card); padding: 24px 20px; position: relative; box-shadow: 0 4px 14px rgba(48, 42, 133, 0.04); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;}
.site-step:hover {transform: translateY(-6px); box-shadow: 0 18px 36px var(--card-shadow); border-color: var(--card-border);}
.site-step__day {display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-gradient); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 14px;}
.site-step__title {font-size: 16px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em;}
.site-step__text {margin: 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.6;}

/* Тарифы */
.site-pricing {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; align-items: stretch;}
.site-price-plan {display: flex; flex-direction: column; position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 22px; padding: 34px 28px; box-shadow: 0 10px 30px rgba(48, 42, 133, 0.06); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;}
.site-price-plan:hover {transform: translateY(-8px); box-shadow: 0 24px 50px var(--card-shadow); border-color: var(--card-border);}
.site-price-plan--popular {border: 2px solid transparent; background: linear-gradient(180deg, #fdfcff, #f6f4ff) padding-box, linear-gradient(120deg, #4f46e5, #a855f7 35%, #22d3ee 65%, #4f46e5) border-box; box-shadow: 0 18px 44px rgba(91, 78, 229, 0.16);}
@media (prefers-reduced-motion: no-preference) {
    .site-price-plan--popular {background-size: 100% 100%, 300% 300%; animation: popular-border 7s ease infinite;}
    @keyframes popular-border {
        0%, 100% {background-position: 0 0, 0% 50%;}
        50% {background-position: 0 0, 100% 50%;}
    }
}
.site-price-plan--popular:hover {box-shadow: 0 28px 60px rgba(91, 78, 229, 0.24);}
.site-price-plan__badge {position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-gradient); color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(91, 78, 229, 0.35);}
.site-price-plan__name {font-size: 21px; font-weight: 800; margin: 0 0 4px; letter-spacing: -0.01em;}
.site-price-plan__note {color: var(--text-secondary); font-size: 13.5px;}
.site-price-plan__amount {margin: 20px 0 24px; color: var(--text-muted); font-size: 16px;}
.site-price-plan__amount b {color: var(--primary-color); font-size: 32px; font-weight: 800; letter-spacing: -0.02em;}
.site-price-plan__list {list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; flex: 1 1 auto;}
.site-price-plan__list li {font-size: 14.5px; color: var(--text-muted); padding-left: 30px; position: relative; line-height: 1.5;}
.site-price-plan__list li::before {content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: var(--accent-gradient); color: #ffffff; border-radius: 50%; font-size: 11px; font-weight: 700;}
.site-price-plan__btn {width: 100%; text-align: center;}
.site-price-note {margin: 28px auto 0; max-width: 760px; color: var(--text-secondary); font-size: 14px; line-height: 1.6;}

/* FAQ */
.site-faq {margin-top: 44px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; display: grid; gap: 12px;}
.site-faq details {background: var(--faq-bg); border: 1px solid var(--faq-border); border-radius: 16px; padding: 18px 22px; transition: border-color 0.25s ease, box-shadow 0.25s ease;}
.site-faq details[open] {border-color: var(--card-border); box-shadow: 0 10px 26px rgba(48, 42, 133, 0.06);}
.site-faq summary {font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; position: relative; padding-right: 34px; transition: color 0.2s ease;}
.site-faq summary:hover {color: var(--primary-color);}
.site-faq summary::-webkit-details-marker {display: none;}
.site-faq summary::after {content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--primary-color); font-weight: 600; transition: transform 0.25s ease;}
.site-faq details[open] summary::after {content: "–";}
.site-faq details p {margin: 12px 0 2px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.65;}

/* Форма заявки */
.site-order {position: relative; overflow: hidden; background: linear-gradient(135deg, #4f46e5 0%, #6d28d9 55%, #7c3aed 100%); padding: 88px 16px; color: #ffffff;}
.site-order::before {content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%); top: -240px; right: -120px; pointer-events: none;}
.site-order::after {content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 65%); bottom: -260px; left: -140px; pointer-events: none;}
.site-order__blob {position: absolute; top: 50%; left: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), rgba(124, 58, 237, 0.25) 45%, transparent 70%); pointer-events: none;}
@media (prefers-reduced-motion: no-preference) {
    .site-order__blob {animation: order-blob 16s ease-in-out infinite;}
    @keyframes order-blob {
        0%, 100% {transform: translate(0, 0) scale(1);}
        50% {transform: translate(80px, -40px) scale(1.15);}
    }
}
.site-order__inner {position: relative; z-index: 1; max-width: 540px; margin: 0 auto;}
.site-order .site-section__title {color: #ffffff; font-size: clamp(26px, 3.6vw, 34px);}
.site-order .site-section__text {color: rgba(232, 226, 255, 0.92); margin-bottom: 28px;}
#order-form {display: grid; gap: 12px;}
.site-input {width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.96); color: var(--text-color); font-size: 15px; font-family: inherit; resize: vertical; box-shadow: 0 6px 18px rgba(23, 18, 74, 0.18); transition: box-shadow 0.2s ease, transform 0.2s ease;}
.site-input::placeholder {color: #9ca3af;}
.site-input:focus {outline: 3px solid rgba(255, 255, 255, 0.55); transform: translateY(-1px);}
.site-input.is-invalid {outline: 3px solid rgba(255, 170, 190, 0.9);}
.site-input--area {min-height: 76px;}
.site-order__status {margin: 4px 0 0; font-size: 14px; font-weight: 600; min-height: 18px; color: #ffffff;}
.site-order__status.is-error {color: #ffd9e0;}

/* Подвал */
.site-footer {background: var(--footer-bg); border-top: 1px solid var(--header-border);}
.site-footer__inner {max-width: 1140px; margin: 0 auto; padding: 26px 16px; display: flex; justify-content: space-between; gap: 12px; color: var(--text-secondary); font-size: 13.5px; flex-wrap: wrap;}

@media (max-width: 991.98px) {
    .site-steps {grid-template-columns: repeat(2, 1fr);}
    .site-pricing {grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto;}
}

@media (max-width: 767.98px) {
    .site-hero {padding: 64px 16px 60px;}
    .site-hero p {font-size: 16px;}
    .site-hero__price b {font-size: 28px;}
    .site-features {grid-template-columns: 1fr;}
    .site-checks {grid-template-columns: 1fr;}
    .site-steps {grid-template-columns: 1fr;}
    .site-section {padding: 56px 0;}
    .site-order {padding: 64px 16px;}

    /* Мобильное меню */
    .site-burger {display: flex; order: 3;}
    .site-header__nav {flex: 1 1 auto; display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--header-border); padding: 8px 0; box-shadow: 0 16px 30px rgba(33, 37, 41, 0.08);}
    .site-header__nav.is-open {display: flex;}
    .site-header__nav a {padding: 12px 20px; font-size: 16px; border-radius: 0;}
}
