:root {
    --fs-base: 20px;
    --fs-small: 14px;
    --fs-h1: 64px;
    --fs-h2: 46px;

    /* Brand colors */
    --brand: #22c55e;
    --brand2: #14b8a6;
    --onBrand: #052010;

    /* Light page */
    --page-bg: #f5f7fb;
    --page-surface: #ffffff;
    --page-text: #0b1220;
    --page-muted: #5b667a;
    --page-muted2: #7a869b;
    --page-line: rgba(15, 23, 42, 0.10);
    --page-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);

    /* Dark hero */
    --hero-bg: #03050b;
    --hero-text: #ffffff;
    --hero-muted: #b0bcd5;
    --hero-muted2: #7f8aa0;
    --hero-line: rgba(255, 255, 255, 0.15);
    --hero-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    --hero-gradient: radial-gradient(ellipse at 70% 30%, rgba(34, 197, 94, 0.25) 0%, transparent 50%),
                      radial-gradient(ellipse at 30% 70%, rgba(20, 184, 166, 0.20) 0%, transparent 50%),
                      linear-gradient(135deg, #0b0f1a 0%, #03050b 100%);

    /* Radius */
    --r: 18px;
    --r2: 26px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--page-text);
    background: var(--page-bg);
    line-height: 1.5;
}

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

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== Навигация ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 247, 251, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--page-line);
    transition: all 0.3s ease;
}

.nav.is-dark {
    background: rgba(3, 5, 11, 0.75);
    border-bottom: 1px solid var(--hero-line);
    color: var(--hero-text);
}

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

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 110;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--page-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav.is-dark .mobile-menu-toggle span {
    background-color: var(--hero-text);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu a {
    font-size: 13px;
    color: var(--page-muted);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav.is-dark .menu a {
    color: var(--hero-muted);
}

.menu a:hover {
    border-color: var(--page-line);
    color: var(--page-text);
}

.nav.is-dark .menu a:hover {
    border-color: var(--hero-line);
    color: var(--hero-text);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    font-weight: 600;
    color: var(--page-text);
    transition: color 0.2s;
    white-space: nowrap;
}

.nav.is-dark .header-phone {
    color: var(--hero-text);
}

.header-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: var(--onBrand);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.header-telegram:hover {
    transform: translateY(-2px) scale(1.05);
}

.cta {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 260px;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--page-line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--page-text);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.25);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-color: transparent;
    color: var(--onBrand);
    box-shadow: 0 14px 25px -8px rgba(34, 197, 94, 0.3);
}

.btn.primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 18px 30px -8px rgba(34, 197, 94, 0.4);
}

/* ===== Hero секция ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 60px;
    overflow: hidden;
    background: var(--hero-bg);
    color: var(--hero-text);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-gradient);
    pointer-events: none;
}

.heroInner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Логотип */
.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.hero-logo-icon {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.5));
}

.hero-logo-icon.rotating {
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo-icon svg {
    width: 100px;
    height: 100px;
}

.hero-logo-text {
    display: flex;
    gap: 4px;
    position: relative;
}

.typing-letter {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    opacity: 0;
    animation: typeLetter 0.3s ease forwards;
}

.typing-letter:nth-child(1) { animation-delay: 0.1s; }
.typing-letter:nth-child(2) { animation-delay: 0.2s; }
.typing-letter:nth-child(3) { animation-delay: 0.3s; }
.typing-letter:nth-child(4) { animation-delay: 0.4s; }
.typing-letter:nth-child(5) { animation-delay: 0.5s; }
.typing-letter:nth-child(6) { animation-delay: 0.6s; }

@keyframes typeLetter {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.hero-logo-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    animation: glowLine 2s ease-in-out infinite;
}

@keyframes glowLine {
    0%, 100% {
        width: 120px;
        opacity: 0.8;
    }
    50% {
        width: 140px;
        opacity: 1;
    }
}

/* Hero текст */
.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    font-weight: 500;
}

h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 15px;
    max-width: 900px;
    font-weight: 800;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.sub {
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(15px, 1.3vw, 17px);
    max-width: 700px;
    line-height: 1.6;
}

.micro {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.heroBtns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.hero .btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--hero-text);
    backdrop-filter: blur(5px);
    padding: 12px 28px;
}

.hero .btn.primary {
    color: var(--onBrand);
    background: linear-gradient(135deg, var(--brand), var(--brand2));
}

/* ===== Секции ===== */
section {
    padding: 70px 0;
}

.sectionTitle {
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.sectionSub {
    margin: 0 0 35px;
    color: var(--page-muted);
    max-width: 72ch;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.text-center {
    text-align: center;
}

/* ===== Сетки ===== */
.grid2 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
}

.grid3 {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

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

/* ===== Карточки ===== */
.box {
    padding: 28px;
    border-radius: var(--r);
    border: 1px solid var(--page-line);
    background: var(--page-surface);
    box-shadow: var(--page-shadow);
    transition: all 0.3s ease;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(2, 6, 23, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}

.box-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 0 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brand);
}

.tag {
    display: inline-flex;
    font-size: 11px;
    color: var(--onBrand);
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 12px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.box p {
    margin: 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* ===== Списки ===== */
.list {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--page-muted);
    font-size: 14px;
    text-align: left;
}

.list li {
    margin: 5px 0;
    text-align: left;
}

/* ===== Триггеры ===== */
.triggers {
    padding: 0 0 60px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.triggersWrap {
    padding: 24px;
    border-radius: var(--r2);
    border: 1px solid var(--page-line);
    background: var(--page-surface);
    box-shadow: var(--page-shadow);
}

.triggersTitle {
    margin: 0 0 20px;
    color: var(--page-muted2);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

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

.trigger {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--page-line);
    background: rgba(15, 23, 42, 0.02);
    color: var(--page-muted);
    font-size: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 500;
    text-align: left;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    margin-top: 4px;
    flex: 0 0 auto;
}

/* ===== Форма ===== */
.form-container {
    background: var(--page-surface);
    border-radius: var(--r);
}

.form-description {
    margin: 0 0 20px;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    color: var(--page-muted2);
    font-weight: 500;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--page-line);
    background: var(--page-bg);
    color: var(--page-text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-note {
    font-size: 12px;
    color: var(--page-muted2);
    text-align: left;
}

.response-note {
    text-align: center;
}

.submit-btn {
    width: 100%;
}

/* ===== Ценовой блок в форме ===== */
.pricing-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(20, 184, 166, 0.05));
    border-color: rgba(34, 197, 94, 0.2);
}

.pricing-display {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    text-align: left;
}

.pricing-label {
    font-size: 14px;
    color: var(--page-muted2);
}

.pricing-old {
    font-size: 22px;
    color: var(--page-muted2);
    text-decoration: line-through;
}

.pricing-new {
    font-size: 34px;
    font-weight: 850;
    color: var(--brand);
}

.pricing-condition {
    font-size: 14px;
    color: var(--page-muted2);
}

.pricing-condition strong {
    color: var(--brand);
}

.pricing-note {
    margin-top: 10px;
    color: var(--page-muted);
    font-size: var(--fs-small);
    line-height: 1.5;
    text-align: left;
}

/* ===== Иконки для блоков ===== */
.icon-box {
    text-align: left;
}

.box-icon {
    width: 70px;
    height: 70px;
    margin: 0 0 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--brand);
}

/* ===== Превью архитектур ===== */
.thumb {
    height: 160px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(145deg, #f0f3f8, #ffffff);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

.thumb:before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    transform: rotate(10deg);
    opacity: 0.5;
}

.thumbLabel {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-size: 12px;
    color: var(--page-muted2);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    font-weight: 500;
}

/* ===== Сравнение подходов ===== */
.compare {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.compare .box {
    position: relative;
    overflow: hidden;
}

.compare .box.emph {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.1), var(--page-surface));
    border-color: rgba(34, 197, 94, 0.3);
}

.comparison-card {
    text-align: left;
    padding-top: 40px;
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    color: var(--page-muted2);
    border: 1px solid var(--page-line);
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

/* ===== Шаги работы ===== */
.stepsGrid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.step {
    padding: 20px;
    border-radius: var(--r);
    border: 1px solid var(--page-line);
    background: var(--page-surface);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--page-shadow);
    transition: all 0.3s ease;
    text-align: left;
}

.step:hover {
    transform: translateX(5px);
    border-color: rgba(34, 197, 94, 0.3);
}

.stepNum {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--brand);
    font-size: 18px;
    flex-shrink: 0;
}

.step h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

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

/* ===== Цены (тарифы) ===== */
.pricing-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.priceTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.priceTitle h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.priceTitle .mini {
    font-size: 13px;
    color: var(--page-muted2);
    background: var(--page-bg);
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.system-box {
    border-color: rgba(34, 197, 94, 0.28);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10), rgba(20, 184, 166, 0.08));
}

.priceAmount {
    margin: 20px 0 10px;
    font-size: 28px;
    font-weight: 850;
    color: var(--page-text);
    text-align: left;
}

.priceCta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.note {
    font-size: 12px;
    color: var(--page-muted2);
    margin-top: 8px;
}

.pricing-note-bottom {
    margin-top: 12px;
    display: block;
    text-align: left;
}

/* ===== FAQ ===== */
.faq {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--page-line);
    background: var(--page-surface);
    border-radius: var(--r);
    padding: 16px 20px;
    box-shadow: var(--page-shadow);
    transition: all 0.3s ease;
    text-align: left;
}

details:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}

details p {
    margin: 15px 0 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Финальный CTA ===== */
.finalCta {
    padding: 40px;
    border-radius: var(--r2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(20, 184, 166, 0.1));
    box-shadow: var(--page-shadow);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.contact-box {
    background: var(--page-surface);
}

.contact-box h3 {
    margin-top: 0;
    text-align: left;
}

.contact-box p {
    margin: 0;
    color: var(--page-muted);
    font-size: 14px;
    line-height: 2;
    text-align: left;
}

.contact-link {
    color: var(--page-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--brand);
}

/* ===== Popup ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background: var(--page-surface);
    border-radius: var(--r2);
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--page-bg);
    color: var(--page-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: var(--brand);
    color: var(--onBrand);
    transform: rotate(90deg);
}

.popup-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
}

.popup-subtitle {
    margin: 0 0 30px;
    color: var(--page-muted);
    font-size: 14px;
    text-align: center;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.popup-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-form label {
    font-size: 13px;
    color: var(--page-muted2);
    font-weight: 500;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--page-line);
    background: var(--page-bg);
    color: var(--page-text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.popup-form textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-submit {
    width: 100%;
}

.popup-note {
    text-align: center;
    font-size: 12px;
    color: var(--page-muted2);
}

/* ===== Footer ===== */
footer {
    padding: 40px 0 60px;
    border-top: 1px solid var(--page-line);
    color: var(--page-muted2);
    font-size: 14px;
}

.footerGrid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
}

.mono {
    font-family: 'SF Mono', 'Courier New', monospace;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 14px;
    display: none;
    z-index: 1001;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* ===== Адаптивность ===== */
@media (max-width: 1100px) {
    .hero-logo-icon svg {
        width: 90px;
        height: 90px;
    }
    
    .typing-letter {
        font-size: 42px;
    }
}

@media (max-width: 980px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--page-surface);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 30px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .nav.is-dark .menu {
        background: var(--hero-bg);
    }

    .menu.active {
        left: 0;
    }

    .menu a {
        width: 100%;
        text-align: left;
        padding: 12px 15px;
        font-size: 16px;
        border: 1px solid var(--page-line);
        margin-bottom: 8px;
    }

    .header-contacts {
        margin-left: auto;
    }

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

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

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

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

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

    .footerGrid {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0 40px;
    }

    .hero-logo-icon svg {
        width: 80px;
        height: 80px;
    }

    .typing-letter {
        font-size: 38px;
    }

    h1 {
        font-size: 34px;
    }

    .sub {
        font-size: 15px;
    }

    .heroBtns {
        flex-direction: column;
        width: 100%;
    }

    .heroBtns .btn {
        width: 100%;
    }

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

    .finalCta {
        grid-template-columns: 1fr;
        padding: 30px;
    }

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

@media (max-width: 640px) {
    .hero-logo-icon svg {
        width: 70px;
        height: 70px;
    }

    .typing-letter {
        font-size: 32px;
    }

    .hero-logo-text::after {
        width: 100px;
    }

    .kicker {
        font-size: 11px;
        padding: 6px 12px;
    }

    h1 {
        font-size: 30px;
    }

    .header-phone {
        display: none;
    }

    .popup-container {
        padding: 30px 20px;
    }

    .pricing-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

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

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

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

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

    .finalCta {
        padding: 20px;
    }
    
    .sectionTitle,
    .sectionSub,
    .box h3,
    .box p,
    .list,
    .trigger,
    .step,
    .priceTitle,
    .priceAmount,
    .pricing-note,
    .contact-box p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .typing-letter {
        font-size: 28px;
    }

    .hero-logo-icon svg {
        width: 60px;
        height: 60px;
    }

    .hero-logo-text::after {
        width: 80px;
    }

    h1 {
        font-size: 26px;
    }
}

/* ===== Примеры архитектур ===== */
.example-card {
    display: flex;
    flex-direction: column;
}

.example-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s ease;
}

.example-link:hover {
    opacity: 0.9;
}

.example-link .thumb {
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.example-link:hover .thumb {
    transform: scale(1.02);
}

.example-link h3 {
    margin: 15px 0 8px;
    transition: color 0.3s ease;
}

.example-link:hover h3 {
    color: var(--brand);
}

.thumb {
    height: 160px;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(145deg, #f0f3f8, #ffffff);
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

.thumb:before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    transform: rotate(10deg);
    opacity: 0.5;
}

.thumbLabel {
    position: absolute;
    left: 14px;
    bottom: 12px;
    font-size: 12px;
    color: var(--page-muted2);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    font-weight: 500;
    z-index: 2;
}

/* Футер примеров */
.examples-footer {
    margin-top: 40px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(20, 184, 166, 0.05));
    border-radius: var(--r2);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.examples-footer-text {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--page-text);
}

.examples-footer .btn {
    min-width: 200px;
}