/* 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 */
.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, 0.7);
    line-height: 1.3;
}

.header-right p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.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, 0.35);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.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, 0.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, 0.35);
}

/* CTA Button */
.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;
    padding: 27px 48px;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(62, 174, 224, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 174, 224, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.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, 0.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, 0.5);
    line-height: 1.6;
}

.footer-copy p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.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 0.2s;
}

.footer-links a:hover {
    color: #00b0ff;
}

.footer-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 50px 40px 40px;
    max-width: 460px;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    padding: 22px 40px;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.modal-btn-tg {
    background: linear-gradient(135deg, #00c6ff, #00a0ff);
    border-color: #00a0ff;
}

.modal-btn-max {
    background: linear-gradient(135deg, #7b5ea7, #c86dd7);
    border-color: #9b6bbf;
}

.vpn-text {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 8px;
}

.modal-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.modal-icon-img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

/* 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, 0.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, 0.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, 0.15);
    margin: 48px 0;
}

/* Responsive — 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, 0.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;
    }
}

/* Responsive — 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: 40px 24px 28px;
    }

    .modal-btn {
        font-size: 18px;
        padding: 18px 24px;
    }

    .footer {
        padding: 24px 0;
    }

    .footer-legal p,
    .footer-copy p,
    .footer-links a,
    .footer-tag {
        font-size: 11px;
    }

    .policy {
        padding: 40px 0 50px;
    }

    .policy h1 {
        font-size: 24px;
    }

    .policy h2 {
        font-size: 18px;
    }
}
