:root {
    --color-primary: #0066cc;
    --color-primary-dark: #0052a3;
    --color-accent: #00a86b;
    --color-text: #1a1a1a;
    --color-text-muted: #5a6371;
    --color-bg: #ffffff;
    --color-bg-gray: #f5f7fa;
    --color-bg-cta: #0d1b2a;
    --color-border: #e3e8ef;
    --color-card-shadow: rgba(0, 0, 0, 0.06);
    --radius: 14px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
    --container-width: 1180px;
    --container-padding: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-text);
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -0.02em;
    font-weight: 800;
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.accent {
    color: var(--color-primary);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--container-padding);
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 22px;
}

.logo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: white;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
}

.logo__accent {
    color: var(--color-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
}

.nav a:hover {
    color: var(--color-primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
}

.btn--ghost:hover {
    background: var(--color-bg-gray);
}

.btn--large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 12px;
}

.btn--small {
    padding: 9px 18px;
    font-size: 14px;
}

.btn--block {
    width: 100%;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 168, 107, 0.12);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 24px 0 36px;
    max-width: 540px;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__features {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
}

.hero__feature-icon {
    font-size: 20px;
}

/* ===== Preview Card ===== */
.preview-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

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

.preview-card__label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-bg-gray);
    color: var(--color-text-muted);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-card__arrow {
    font-size: 32px;
    color: var(--color-primary);
    font-weight: 700;
}

.preview-card__caption {
    margin-top: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.scribbles {
    background: #fef9e7;
    padding: 16px 12px;
    border-radius: 10px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.scribble {
    height: 8px;
    background: #d4a574;
    border-radius: 4px;
    width: 100%;
    transform: rotate(-1.5deg);
    opacity: 0.8;
}

.scribble:nth-child(odd) {
    transform: rotate(2deg);
    background: #b8845a;
}

.scribble:nth-child(3n) {
    transform: rotate(-0.5deg);
    background: #c79268;
}

.scribble--short {
    width: 60%;
}

.scribble--medium {
    width: 80%;
}

.pdf-mock {
    background: white;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    min-height: 180px;
    text-align: left;
}

.pdf-mock__title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.pdf-mock__section {
    margin-bottom: 12px;
}

.pdf-mock__heading {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.pdf-mock__line {
    height: 5px;
    background: #d9e1ec;
    border-radius: 3px;
    margin-bottom: 4px;
    width: 100%;
}

.pdf-mock__line--short {
    width: 60%;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section--gray {
    background: var(--color-bg-gray);
}

.section__title {
    text-align: center;
    margin-bottom: 12px;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 18px;
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--color-card-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.card__icon {
    font-size: 36px;
    margin-bottom: 18px;
}

.card p {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ===== Result grid ===== */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px 40px;
}

.result-item {
    padding: 0;
}

.result-item__num {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.result-item p {
    color: var(--color-text-muted);
}

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.step {
    background: white;
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--color-card-shadow);
    position: relative;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step p {
    color: var(--color-text-muted);
}

/* ===== Price ===== */
.price-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.price-card__main {
    padding: 48px;
}

.price-card__amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-card__unit {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-top: 8px;
    margin-bottom: 32px;
}

.price-card__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-feature {
    color: var(--color-text);
    font-size: 16px;
}

.price-card__side {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    padding: 48px 36px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
}

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

.price-card__highlight-num {
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.price-card__highlight-label {
    font-size: 16px;
    opacity: 0.85;
    margin-top: 6px;
}

.price-card__side .btn--primary {
    background: white;
    color: var(--color-primary);
}

.price-card__side .btn--primary:hover {
    background: #f0f4f8;
    color: var(--color-primary-dark);
}

.price-card__note {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}

/* ===== About ===== */
.about {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about__content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about__content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.about__stats {
    display: grid;
    gap: 24px;
}

.stat {
    background: white;
    padding: 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 12px var(--color-card-shadow);
}

.stat__num {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat__label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* ===== Security ===== */
.security {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.security__item {
    text-align: center;
    padding: 24px;
}

.security__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.security__item p {
    color: var(--color-text-muted);
    font-size: 15px;
}

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

.faq__item {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px var(--color-card-shadow);
    overflow: hidden;
}

.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 28px;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq__item summary:hover {
    color: var(--color-primary);
}

.faq__item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--color-primary);
    transition: var(--transition);
    margin-left: 16px;
    line-height: 1;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 28px 24px;
    color: var(--color-text-muted);
}

/* ===== CTA Block ===== */
.section--cta {
    background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 100%);
    color: white;
}

.section--cta h2,
.section--cta h3 {
    color: white;
}

.cta-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta-block__content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 16px 0 32px;
}

.cta-block__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-contact {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    transition: var(--transition);
}

.cta-contact:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(4px);
}

.cta-contact__icon {
    font-size: 22px;
}

.cta-contact__label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    width: 90px;
}

.cta-contact__value {
    font-weight: 600;
    text-align: right;
}

/* ===== Form ===== */
.form {
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    color: var(--color-text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form__field {
    margin-bottom: 18px;
}

.form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.form__field input,
.form__field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: var(--color-text);
    background: white;
    transition: var(--transition);
    resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form__note {
    margin-top: 12px;
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: center;
}

.form__success {
    margin-top: 16px;
    padding: 14px;
    background: rgba(0, 168, 107, 0.12);
    color: var(--color-accent);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.form__error {
    margin-top: 16px;
    padding: 14px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 10px;
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-cta);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo {
    color: white;
    margin-bottom: 16px;
}

.footer .logo__accent {
    color: #4a9eff;
}

.footer__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer__col h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer__col a:hover {
    color: white;
}

.footer__bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section {
        padding: 64px 0;
    }

    .section__subtitle {
        margin-bottom: 40px;
    }

    .price-card {
        grid-template-columns: 1fr;
    }

    .price-card__main {
        padding: 32px;
    }

    .price-card__side {
        padding: 32px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    .hero__lead {
        font-size: 17px;
    }

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

    .hero__cta .btn {
        width: 100%;
    }

    .hero__features {
        gap: 16px;
    }

    .preview-card {
        padding: 18px;
    }

    .price-card__amount {
        font-size: 42px;
    }

    .cta-contact {
        grid-template-columns: auto 1fr;
    }

    .cta-contact__label {
        display: none;
    }

    .form {
        padding: 24px;
    }

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