@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #070b12;
    --bg-elevated: #0f1623;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-2: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.18);
    --gold: #facc15;
    --teal: #2dd4bf;
    --danger: #f87171;
    --success: #34d399;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.35);
    --radius: 18px;
    --radius-lg: 28px;
    --max: 1180px;
}

html { scroll-behavior: smooth; }

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb--blue {
    width: 520px;
    height: 520px;
    background: rgba(37, 99, 235, 0.28);
    top: -120px;
    right: -80px;
}

.orb--teal {
    width: 380px;
    height: 380px;
    background: rgba(45, 212, 191, 0.16);
    bottom: 10%;
    left: -120px;
}

.wrap {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(7, 11, 18, 0.72);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.brand span { color: var(--gold); }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.btn--primary:hover {
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45);
}

.btn:disabled,
.btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.btn--primary:disabled:hover,
.btn--primary.is-disabled:hover {
    box-shadow: none;
    transform: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
}

.hero {
    padding: 88px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 55%, var(--teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero__stat strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.hero__stat span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trial-note {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d1fae5;
    font-size: 0.92rem;
    font-weight: 600;
}

.trial-note::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.16);
    color: var(--success);
}

.mockup {
    position: relative;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
}

.mockup::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mockup__bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mockup__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}

.mockup__dot:nth-child(1) { background: #f87171; }
.mockup__dot:nth-child(2) { background: #fbbf24; }
.mockup__dot:nth-child(3) { background: #34d399; }

.section {
    padding: 88px 0;
    position: relative;
}

.section--soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.section__head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section__head h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.section__head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(59,130,246,0.22), rgba(45,212,191,0.12));
    border: 1px solid rgba(255,255,255,0.08);
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.compare__col {
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.compare__col--bad {
    background: rgba(248, 113, 113, 0.06);
}

.compare__col--good {
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(45,212,191,0.08));
    box-shadow: var(--shadow-soft);
}

.compare__title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.compare ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.compare li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
}

.step p {
    margin-top: 10px;
    color: var(--text-muted);
}

.spotlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(15,23,42,0.9));
    border: 1px solid rgba(59,130,246,0.22);
    box-shadow: var(--shadow);
}

.spotlight ul {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.spotlight__lead {
    color: #bfdbfe;
    margin-top: 12px;
}

.spotlight li {
    display: flex;
    gap: 12px;
    color: #dbeafe;
}

.segments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.segment {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    min-height: 140px;
}

.segment strong {
    display: block;
    margin-bottom: 8px;
}

.segment span {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.segments-cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, background 0.25s;
}

.benefit:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.benefit__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(59,130,246,0.22), rgba(45,212,191,0.12));
    border: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.benefit h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.benefit p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.price-card,
.calc-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.price-card {
    background: linear-gradient(160deg, rgba(37,99,235,0.18), rgba(15,23,42,0.92));
    border-color: rgba(59,130,246,0.28);
}

.price-card__badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-card__value {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.price-card__value span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-card__note {
    color: #bfdbfe;
    margin-bottom: 22px;
}

.price-card__trial {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #d1fae5;
    font-weight: 700;
}

.price-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.price-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #e2e8f0;
    font-size: 0.96rem;
}

.price-list li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 700;
}

.calc-card h3 {
    margin-bottom: 6px;
}

.calc-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.calc-field {
    margin-bottom: 18px;
}

.calc-field label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.calc-field label strong {
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.calc-field input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
}

.calc-result {
    margin-top: 8px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(7, 11, 18, 0.55);
    border: 1px solid var(--border);
}

.calc-result__main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.calc-result__main strong {
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.calc-result__daily {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.calc-breakdown {
    list-style: none;
    display: grid;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.vs-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.vs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.vs-table th,
.vs-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.vs-table th {
    background: rgba(255,255,255,0.03);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.vs-table th.vs-they { color: #fca5a5; }
.vs-table th.vs-we { color: #6ee7b7; }

.vs-table tr:last-child td { border-bottom: 0; }

.vs-table td:first-child {
    color: #cbd5e1;
    font-weight: 600;
    width: 28%;
}

.vs-table td.vs-they { color: #fecaca; }
.vs-table td.vs-we { color: #d1fae5; }

.pricing-footnote {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq {
    display: grid;
    gap: 14px;
}

.faq details {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
    padding: 18px 20px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq__calc-btn {
    margin-top: 14px;
}

.cta {
    padding: 42px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.cta p {
    color: rgba(255,255,255,0.86);
    margin-top: 10px;
}

.form {
    display: grid;
    gap: 12px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(7,11,18,0.35);
    color: #fff;
    font: inherit;
}

.form input::placeholder,
.form textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.form__field--contact {
    display: grid;
    gap: 8px;
}

.form__contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
}

.form__contact-type {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.form__contact-type:hover {
    color: rgba(255,255,255,0.9);
}

.form__contact-type.is-active {
    color: #fff;
    font-weight: 700;
    text-decoration-color: #FACC15;
}

.form__contact-sep {
    color: rgba(255,255,255,0.45);
}

.form__contact-hint {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
}

.form__field {
    display: grid;
    gap: 6px;
}

.form__error {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #fecaca;
}

.form__field.has-error input,
.form__field.has-error textarea {
    border-color: rgba(248, 113, 113, 0.65);
}

.form__note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.form-success {
    display: none;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.18);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #d1fae5;
    font-size: 0.92rem;
}

.form-success.is-visible { display: block; }

.site-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-modal[hidden] {
    display: none !important;
}

.site-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 18, 0.62);
}

.site-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    color: #121212;
    box-shadow: var(--shadow);
    text-align: center;
}

.site-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.site-modal__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.14);
    color: #059669;
    font-size: 26px;
    font-weight: 700;
}

.site-modal__title {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.site-modal__text {
    margin: 0 0 22px;
    color: #4b5563;
    line-height: 1.55;
}

.site-modal__dialog .btn {
    min-width: 140px;
}

body.site-modal-open {
    overflow: hidden;
}

.cta__actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta__trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #d1fae5;
    font-weight: 700;
}

.footer {
    padding: 42px 0 56px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero__grid,
    .spotlight,
    .cta,
    .compare,
    .pricing-grid,
    .grid-3,
    .steps,
    .segments,
    .trust,
    .benefits,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .mockup {
        transform: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 20px;
        background: rgba(7,11,18,0.96);
        border-bottom: 1px solid var(--border);
    }

    .nav.is-open { display: flex; }

    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Yii debug toolbar — не показывать на публичном лендинге */
#yii-debug-toolbar,
.yii-debug-toolbar,
.yii-debug-toolbar_position_bottom,
div[id^="yii-debug"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
