/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2C3E50;
    background: #FAFFFE;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: #3498DB; text-decoration: none; transition: color .2s; }
a:hover { color: #2980B9; }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== VPN Detection Banner ===== */
.vpn-banner {
    width: 100%;
    padding: 14px 24px;
    text-align: center;
    font-size: .95rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    transition: opacity .4s;
}
.vpn-banner--warn {
    background: #FFF3CD;
    color: #856404;
    border-bottom: 1px solid #FFEEBA;
}
.vpn-banner--pass {
    background: #E8F5E9;
    color: #2E7D32;
    border-bottom: 1px solid #C8E6C9;
}
.vpn-banner--block {
    background: #FDECEA;
    color: #B71C1C;
    border-bottom: 1px solid #F5C6CB;
}
body.has-vpn-banner .header { top: 48px; }
body.has-vpn-banner { scroll-padding-top: 128px; }
body.has-vpn-banner .hero { padding-top: 188px; }
body.has-vpn-banner .header__nav { top: 120px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s;
    font-family: inherit;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #3498DB 0%, #27AE60 100%);
    color: #fff;
    border-color: transparent;
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(52,152,219,.35);
}

.btn--outline {
    background: transparent;
    color: #3498DB;
    border-color: #3498DB;
}
.btn--outline:hover {
    background: #3498DB;
    color: #fff;
}

.btn--full { width: 100%; }

/* ===== Section titles ===== */
.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #2C3E50;
}

.section__subtitle {
    text-align: center;
    color: #5D6D7E;
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,255,254,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(52,152,219,.08);
    transition: box-shadow .3s;
}
.header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }

.header__inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C3E50;
    text-decoration: none;
    flex-shrink: 0;
}
.header__logo-icon { width: 36px; height: 36px; }

.header__nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.header__link {
    font-size: 15px;
    font-weight: 500;
    color: #5D6D7E;
    transition: color .2s;
    position: relative;
}
.header__link:hover, .header__link--active { color: #3498DB; }
.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498DB, #27AE60);
    transition: width .3s;
}
.header__link:hover::after, .header__link--active::after { width: 100%; }

.header__cta { margin-left: 8px; padding: 8px 20px; font-size: 14px; }

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2C3E50;
    border-radius: 2px;
    transition: all .3s;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #E6F3FA 0%, #FAFFFE 100%);
}

.hero__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero__content { flex: 1; max-width: 560px; }

.hero__title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #2C3E50, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: #5D6D7E;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero__illustration img {
    max-width: 480px;
    width: 100%;
    border-radius: 16px;
}

/* ===== Countdown ===== */
.countdown-section {
    padding: 48px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
    color: #fff;
}

.countdown {
    text-align: center;
}

.countdown__label {
    font-size: 1.1rem;
    color: #AEB6BF;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.countdown__timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.countdown__unit {
    text-align: center;
    min-width: 72px;
}

.countdown__unit span {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #5DADE2, #58D68D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown__unit small {
    display: block;
    font-size: .8rem;
    color: #AEB6BF;
    margin-top: 4px;
}

.countdown__sep {
    font-size: 2rem;
    font-weight: 700;
    color: #5D6D7E;
    padding-bottom: 20px;
}

/* ===== Features ===== */
.features {
    padding: 96px 0;
    background: #fff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 32px 24px;
    border-radius: 16px;
    background: #FAFFFE;
    border: 1px solid rgba(52,152,219,.1);
    transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(52,152,219,.12);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}
.feature-card__icon svg { width: 100%; height: 100%; }

.feature-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card__text {
    font-size: .925rem;
    color: #5D6D7E;
    line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 96px 0;
    background: linear-gradient(180deg, #E8F5E9 0%, #FAFFFE 100%);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.step {
    text-align: center;
    max-width: 200px;
    flex-shrink: 0;
    position: relative;
}

.step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498DB, #27AE60);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    margin: 0 auto 16px;
}

.step__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}
.step__icon svg { width: 100%; height: 100%; }

.step__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step__text {
    font-size: .875rem;
    color: #5D6D7E;
    line-height: 1.5;
}

.step__arrow {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
    width: 60px;
}
.step__arrow svg { width: 100%; }

/* API Note */
.how-it-works__api-note {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 24px 32px;
    border-radius: 16px;
    border: 1px solid rgba(52,152,219,.15);
    max-width: 640px;
    margin: 0 auto;
}
.how-it-works__api-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}
.how-it-works__api-icon svg { width: 100%; height: 100%; }
.how-it-works__api-note h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.how-it-works__api-note p {
    font-size: .9rem;
    color: #5D6D7E;
    line-height: 1.5;
}

/* ===== Stats ===== */
.stats {
    padding: 64px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #fff;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #5DADE2, #58D68D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: .95rem;
    color: #AEB6BF;
}

/* ===== Media Section ===== */
.media-section {
    padding: 96px 0;
    background: #fff;
}

.media__list {
    max-width: 800px;
    margin: 0 auto;
}

.media-entry {
    padding: 32px;
    background: #FAFFFE;
    border-radius: 16px;
    border: 1px solid rgba(52,152,219,.1);
    margin-bottom: 24px;
}

.media-entry__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.media-entry__video {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #000;
}
.media-entry__video video {
    width: 100%;
    display: block;
}

.media-entry__caption {
    font-size: .95rem;
    color: #5D6D7E;
    margin-bottom: 12px;
    font-style: italic;
}

.media-entry__link {
    font-size: .95rem;
    font-weight: 500;
    color: #3498DB;
}
.media-entry__link:hover { color: #2980B9; }

/* ===== Pricing ===== */
.pricing {
    padding: 96px 0;
    background: linear-gradient(180deg, #E6F3FA 0%, #FAFFFE 100%);
}

.pricing__placeholder {
    max-width: 480px;
    margin: 0 auto 48px;
}

.pricing__card {
    text-align: center;
    padding: 48px 36px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(52,152,219,.12);
    box-shadow: 0 4px 24px rgba(52,152,219,.08);
}

.pricing__card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}
.pricing__card-icon svg { width: 100%; height: 100%; }

.pricing__card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.pricing__card p {
    font-size: .95rem;
    color: #5D6D7E;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing__contact {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.pricing__contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2C3E50;
}

/* ===== Contact Form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form__row {
    display: flex;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #D5DBDB;
    border-radius: 10px;
    font-size: .95rem;
    font-family: inherit;
    color: #2C3E50;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #3498DB;
    box-shadow: 0 0 0 3px rgba(52,152,219,.12);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form .btn { align-self: flex-start; }

.form-status {
    font-size: .9rem;
    min-height: 20px;
}
.form-status--success { color: #27AE60; }
.form-status--error { color: #E74C3C; }

/* ===== Contacts ===== */
.contacts {
    padding: 96px 0;
    background: #fff;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contacts__item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contacts__item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}
.contacts__item a {
    font-size: .95rem;
    color: #3498DB;
}
.contacts__item span {
    display: block;
    font-size: .85rem;
    color: #5D6D7E;
    margin-top: 2px;
}

.contacts__form-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ===== Regulatory Notice ===== */
.regulatory {
    padding: 40px 0;
    background: #F4F6F7;
}

.regulatory__content {
    max-width: 800px;
    margin: 0 auto;
    font-size: .82rem;
    line-height: 1.7;
    color: #7F8C8D;
}

.regulatory__content p {
    margin-bottom: 10px;
}

.regulatory__content p:last-child {
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background: #2C3E50;
    color: #AEB6BF;
    padding: 36px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.footer__logo-icon { width: 32px; height: 32px; }

.footer__links {
    display: flex;
    gap: 24px;
}
.footer__links a {
    color: #AEB6BF;
    font-size: .9rem;
    transition: color .2s;
}
.footer__links a:hover { color: #fff; }

.footer__copy { font-size: .85rem; }

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal--open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44,62,80,.5);
    backdrop-filter: blur(4px);
}

.modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    transform: translateY(20px);
    transition: transform .3s;
}
.modal--open .modal__dialog { transform: translateY(0); }

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #5D6D7E;
    cursor: pointer;
    line-height: 1;
}
.modal__close:hover { color: #2C3E50; }

.modal__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal__subtitle {
    font-size: .95rem;
    color: #5D6D7E;
    margin-bottom: 24px;
}

.modal__success {
    text-align: center;
}
.modal__success svg {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
}
.modal__success h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #27AE60;
}
.modal__success p {
    color: #5D6D7E;
    margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .hero__title { font-size: 2.2rem; }
    .countdown__unit span { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,255,254,.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(52,152,219,.1);
        transform: translateY(-120%);
        transition: transform .3s;
    }
    .header__nav--open { transform: translateY(0); }
    .header__cta { display: none; }
    .header__burger { display: flex; }

    .hero__inner { flex-direction: column; text-align: center; gap: 40px; }
    .hero__actions { justify-content: center; }
    .hero__title { font-size: 2rem; }
    .hero { padding: 120px 0 60px; }

    .features__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .steps { flex-direction: column; align-items: center; gap: 16px; }
    .step__arrow { transform: rotate(90deg); padding-top: 0; width: 40px; }

    .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-form__row { flex-direction: column; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .countdown__unit span { font-size: 1.8rem; }
    .countdown__unit { min-width: 56px; }

    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .section__title { font-size: 1.6rem; }
    .stat__number { font-size: 2rem; }
    .hero__title { font-size: 1.7rem; }
    .modal__dialog { padding: 28px 20px; }
}
