/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.seo-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.header-left { display: flex; align-items: center; gap: 15px; }
.avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.header-info { display: flex; flex-direction: column; }
.header-name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.header-sub { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.3; }
.header-right p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.9); }

/* Hero */
.hero { flex: 1; display: flex; align-items: center; padding: 60px 0 80px; }
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; max-width: 620px; }

.hero-title { font-size: 54px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.highlight-blue {
    background: #2e9ad4; color: #fff; padding: 2px 8px; display: inline;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.hero-subtitle {
    font-size: 28px; font-weight: 300; line-height: 1.3;
    margin-bottom: 24px; color: rgba(255,255,255,.75);
}
.highlight-yellow {
    color: #fff; text-decoration: underline; text-decoration-color: #ffd600;
    text-underline-offset: 4px; font-weight: 500;
}

.hero-text { font-size: 24px; line-height: 1.4; margin-bottom: 36px; color: rgba(255,255,255,.9); }
.hero-text strong { color: #fff; }
.highlight-blue-underline {
    background: #2e9ad4; color: #fff; padding: 2px 6px;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
}

/* CTA */
.cta-button {
    display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(180deg, #5ec8f2 0%, #3aaee0 50%, #2e9ad4 100%);
    color: #fff; font-size: 18px; font-weight: 800;
    font-family: 'Exo 2', sans-serif;
    padding: 27px 48px; border-radius: 14px;
    text-transform: uppercase; letter-spacing: .5px;
    transition: transform .2s, box-shadow .3s;
    cursor: pointer; border: none; white-space: nowrap;
    box-shadow: 0 4px 15px rgba(62,174,224,.35), inset 0 1px 0 rgba(255,255,255,.25);
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(62,174,224,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.cta-button:active { transform: translateY(0); }
.tg-icon { width: 28px; height: 28px; flex-shrink: 0; }

/* Hero image */
.hero-image { flex: 1; max-width: 600px; display: flex; align-items: center; justify-content: center; }
.hero-image img { width: 100%; height: auto; }
.hero-image-mobile { display: none; }

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: auto;
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-col { flex: 1; }
.footer-legal p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-copy p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; text-align: center; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-links a { font-size: 12px; color: #00a0ff; text-decoration: underline; transition: color .2s; }
.footer-links a:hover { color: #00b0ff; }
.footer-tag { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 1000;
    justify-content: center; align-items: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }

.modal {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 460px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; color: rgba(255,255,255,.5);
    font-size: 28px; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.modal-close:hover { color: #fff; }

/* SMS modal */
.sms-modal .sms-step { display: none; }
.sms-modal .sms-step[data-active] { display: block; }

.sms-title {
    font-size: 24px; font-weight: 800; line-height: 1.25;
    margin-bottom: 8px; color: #fff;
}
.sms-subtitle {
    font-size: 14px; line-height: 1.5;
    color: rgba(255,255,255,.7);
    margin-bottom: 20px;
}
.sms-subtitle strong { color: #fff; font-weight: 600; }

.sms-field { display: block; margin-bottom: 16px; }
.sms-field__label {
    display: block; font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,.5); letter-spacing: .03em;
    text-transform: uppercase; margin-bottom: 6px;
}

.sms-field input {
    width: 100%;
    padding: 13px 16px;
    font: inherit; font-size: 16px;
    background: #0f0f0f;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.sms-field input::placeholder { color: rgba(255,255,255,.3); }
.sms-field input:focus {
    border-color: #2e9ad4;
    box-shadow: 0 0 0 3px rgba(46,154,212,.2);
}

#code {
    text-align: center;
    letter-spacing: .4em;
    font-size: 26px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.sms-consent {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 0 0 18px;
    cursor: pointer;
    font-size: 13px; line-height: 1.45;
    color: rgba(255,255,255,.7);
}
.sms-consent input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #2e9ad4;
    cursor: pointer;
}
.sms-consent a { color: #00a0ff; text-decoration: underline; }
.sms-consent a:hover { color: #00b0ff; }

.sms-btn {
    width: 100%;
    padding: 16px 24px;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    border: none; border-radius: 12px;
    cursor: pointer;
    transition: transform .2s, box-shadow .3s, opacity .2s;
}
.sms-btn-primary {
    background: linear-gradient(180deg, #5ec8f2 0%, #3aaee0 50%, #2e9ad4 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(62,174,224,.35), inset 0 1px 0 rgba(255,255,255,.25);
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.sms-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(62,174,224,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.sms-btn:disabled { opacity: .5; cursor: not-allowed; }

.sms-link {
    background: none; border: 0; padding: 0;
    font: inherit; font-family: 'Exo 2', sans-serif;
    color: #00a0ff; text-decoration: underline;
    cursor: pointer;
}
.sms-link:hover:not(:disabled) { color: #00b0ff; }
.sms-link:disabled { color: rgba(255,255,255,.3); text-decoration: none; cursor: not-allowed; }

.sms-err {
    margin-top: 10px;
    color: #ff7373;
    font-size: 13px;
    line-height: 1.4;
}
.sms-resend {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.6);
    text-align: center;
}
.sms-resend #resend-timer { margin-left: 4px; }

.sms-done { text-align: center; padding: 8px 0 4px; }
.sms-done__check {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #5ec8f2 0%, #2e9ad4 100%);
    color: #fff;
    font-size: 34px; font-weight: 700;
    display: grid; place-items: center;
    box-shadow: 0 6px 20px rgba(46,154,212,.45);
}

/* Tablet */
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .header-inner { justify-content: center; }
    .header-left { width: auto; max-width: fit-content; margin: 0 auto; }
    .header-info { max-width: 220px; }
    .header-right { display: none; }
    .header-info .header-sub { font-size: 13px; }
    .header-info::after {
        content: "Создаю поток квал лидов \A в клиентский бизнес из \A Я.Директ + SEO";
        white-space: pre-line;
        font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.4; margin-top: 2px;
    }
    .hero { padding: 40px 0 50px; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 36px; order: 1; }
    .hero-subtitle { font-size: 22px; order: 2; }
    .hero-image-desktop { display: none; }
    .hero-image-mobile { display: flex; max-width: 500px; order: 3; }
    .hero-text { font-size: 20px; order: 4; }
    .hero-text br { display: none; }
    .cta-button { order: 5; font-size: 16px; padding: 27px 36px; white-space: normal; text-align: center; justify-content: center; }
    .seo-hidden { order: 0; }
    .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .footer-links { align-items: center; }
    .sms-consent { text-align: left; }
}

/* Mobile */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .header { padding: 16px 0; }
    .header-left { gap: 12px; }
    .avatar { width: 80px; height: 80px; }
    .header-name { font-size: 20px; font-weight: 800; }
    .header-info .header-sub { font-size: 14px; }
    .header-info::after { font-size: 13px; }
    .hero { padding: 24px 0 40px; }
    .hero-title { font-size: 30px; margin-bottom: 16px; }
    .hero-subtitle { font-size: 20px; margin-bottom: 16px; }
    .hero-image-mobile { max-width: 360px; max-height: 360px; }
    .hero-image-mobile img { max-width: 360px; max-height: 360px; object-fit: contain; }
    .hero-text { font-size: 18px; margin-bottom: 24px; }
    .cta-button { font-size: 15px; padding: 21px 24px; width: 100%; border-radius: 12px; }
    .modal { padding: 36px 22px 24px; }
    .sms-title { font-size: 22px; }
    .footer { padding: 24px 0; }
    .footer-legal p, .footer-copy p, .footer-links a, .footer-tag { font-size: 11px; }
}

/* Policy page */
.policy { padding: 60px 0 80px; }
.policy h1 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 40px; color: #00a0ff; }
.policy h2 { font-size: 22px; font-weight: 700; margin-top: 36px; margin-bottom: 16px; color: #fff; }
.policy p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: 12px; }
.policy ul { list-style: none; padding-left: 0; margin-bottom: 12px; }
.policy ul li { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.8); padding-left: 20px; position: relative; margin-bottom: 4px; }
.policy ul li::before { content: "—"; position: absolute; left: 0; }
.policy hr { border: none; border-top: 1px solid rgba(255,255,255,.15); margin: 48px 0; }
@media (max-width: 600px) {
    .policy { padding: 40px 0 50px; }
    .policy h1 { font-size: 24px; }
    .policy h2 { font-size: 18px; }
}
