/* ═══════════════════════════════════════════════════════════
   OmixVPN Landing — Mobile-First Clean Design
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Benzin';
    src: url('../fonts/benzin_regular.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'Benzin';
    src: url('../fonts/benzin_medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Benzin';
    src: url('../fonts/benzin_semibold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Benzin';
    src: url('../fonts/benzin_bold.ttf') format('truetype');
    font-weight: bold;
}

/* ── Tokens ─────────────────────────────────── */
:root {
    --bg: #080C15;
    --bg-subtle: #0D1220;
    --bg-card: rgba(13, 18, 32, 0.7);
    --blue: #3B82F6;
    --blue-dim: rgba(59,130,246,0.12);
    --teal: #10B981;
    --teal-dim: rgba(16,185,129,0.12);
    --white: #FFFFFF;
    --gray-1: rgba(255,255,255,0.85);
    --gray-2: rgba(255,255,255,0.55);
    --gray-3: rgba(255,255,255,0.3);
    --border: rgba(255,255,255,0.06);
    --font-display: 'Benzin', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: rgba(59,130,246,0.3); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 8px; }

/* ── Layout ─────────────────────────────────── */
.wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8,12,21,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--blue);
    filter: drop-shadow(0 0 4px rgba(59,130,246,0.4));
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: bold;
    letter-spacing: 0.03em;
}
.logo-text span { color: var(--blue); }

.nav-desktop {
    display: none;
    align-items: center;
    gap: 6px;
}
.nav-pill {
    display: flex;
    align-items: center;
    background: rgba(16,22,37,0.6);
    border: 1px solid var(--border);
    border-radius: 100px;
    height: 36px;
    padding: 0 4px;
}
.nav-pill a {
    padding: 0 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-2);
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.15s var(--ease);
    white-space: nowrap;
}
.nav-pill a:hover { color: var(--white); }
.nav-pill .divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.06);
}

.btn-header-tg {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 100px;
    border: 1px solid rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.05);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    transition: 0.15s var(--ease);
    white-space: nowrap;
}
.btn-header-tg svg { width: 14px; height: 14px; fill: currentColor; }
.btn-header-tg:hover {
    background: rgba(59,130,246,0.12);
    border-color: var(--blue);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
    padding: 88px 0 48px;
    text-align: center;
}
.hero .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--blue-dim);
    border: 1px solid rgba(59,130,246,0.15);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.hero-badge .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 6px var(--teal);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 14px;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: var(--gray-2);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 380px;
}
.hero-sub strong {
    color: var(--teal);
    font-weight: 600;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    height: 52px;
    border-radius: 14px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
    transition: 0.2s var(--ease);
}
.btn-main svg { width: 18px; height: 18px; }
.btn-main:hover {
    background: #4a90f8;
    box-shadow: 0 6px 28px rgba(59,130,246,0.4);
    transform: translateY(-1px);
}

/* App screenshots — swipe carousel on mobile */
.hero-screens {
    margin-top: 36px;
    display: flex;
    gap: 0;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hero-screens::-webkit-scrollbar { display: none; }

.hero-screen {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: center;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    margin-right: 12px;
}
.hero-screen:last-child { margin-right: 0; }

.hero-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel dots */
.screen-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.screen-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: 0.2s var(--ease);
}
.screen-dots .dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--blue);
}

/* ═══════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════ */
.features {
    padding: 48px 0;
}
.section-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 14px;
    padding: 18px 16px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: 0.2s var(--ease);
}
.feature-item:active {
    transform: scale(0.98);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon.blue {
    background: var(--blue-dim);
    color: var(--blue);
}
.feature-icon.teal {
    background: var(--teal-dim);
    color: var(--teal);
}
.feature-icon svg { width: 18px; height: 18px; }

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: bold;
    margin-bottom: 4px;
}
.feature-text p {
    font-size: 0.8rem;
    color: var(--gray-2);
    line-height: 1.55;
}

/* Settings screenshot inside features */
.feature-screen-block {
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 16px;
}
.feature-screen-block .feature-screen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.feature-screen-block .feature-screen-header .feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}
.feature-screen-block .feature-screen-header .feature-icon svg { width: 16px; height: 16px; }
.feature-screen-block .feature-screen-title {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: bold;
}
.feature-screen-block .feature-screen-desc {
    font-size: 0.78rem;
    color: var(--gray-2);
    line-height: 1.5;
    margin-bottom: 14px;
}
.feature-screen-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    max-height: 280px;
}
.feature-screen-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.pricing {
    padding: 48px 0;
}
.pricing-sub {
    font-size: 0.85rem;
    color: var(--gray-2);
    margin-top: -22px;
    margin-bottom: 28px;
    line-height: 1.55;
}

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

.price-card {
    padding: 22px 18px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: 0.2s var(--ease);
}
.price-card:active { transform: scale(0.98); }

.price-card.hot {
    border-color: rgba(59,130,246,0.35);
    background: rgba(59,130,246,0.04);
}
.price-card.hot::after {
    content: 'ВЫГОДНО';
    position: absolute;
    top: 12px;
    right: 14px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.58rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

.price-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}
.price-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: bold;
}
.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: bold;
}
.price-amount small {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-2);
}

.price-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 16px;
}
.price-features li {
    font-size: 0.78rem;
    color: var(--gray-1);
    display: flex;
    align-items: center;
    gap: 5px;
}
.price-features li::before {
    content: '✓';
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: bold;
}

.btn-price {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.15s var(--ease);
}
.btn-price:hover {
    background: rgba(255,255,255,0.07);
}
.price-card.hot .btn-price {
    background: var(--blue);
    border: none;
    box-shadow: 0 4px 16px rgba(59,130,246,0.25);
}
.price-card.hot .btn-price:hover {
    background: #4a90f8;
}

/* ═══════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════ */
.steps {
    padding: 48px 0;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Vertical connecting line */
.step-list::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 19px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, var(--blue), var(--teal));
    opacity: 0.2;
}

.step-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1.5px solid rgba(59,130,246,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-body h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 3px;
}
.step-body p {
    font-size: 0.8rem;
    color: var(--gray-2);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   SUPPORT CTA
   ═══════════════════════════════════════════════ */
.support-cta {
    padding: 24px 0 48px;
}

.support-card {
    padding: 24px 20px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.support-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--blue);
    filter: blur(60px);
    opacity: 0.08;
    pointer-events: none;
}

.support-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 6px;
}
.support-card > p {
    font-size: 0.82rem;
    color: var(--gray-2);
    margin-bottom: 18px;
    line-height: 1.5;
}

.btn-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    color: var(--white);
    font-weight: 600;
    font-size: 0.88rem;
    transition: 0.15s var(--ease);
    margin-bottom: 10px;
}
.btn-support svg { width: 18px; height: 18px; fill: currentColor; }
.btn-support:hover {
    background: rgba(59,130,246,0.06);
    border-color: rgba(59,130,246,0.3);
}

.support-email {
    font-size: 0.7rem;
    color: var(--gray-3);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
    border-top: 1px solid var(--border);
    padding: 32px 0 20px;
}
.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-brand svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
}
.footer-brand-text {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: bold;
}
.footer-brand-text span { color: var(--blue); }

.footer-desc {
    font-size: 0.78rem;
    color: var(--gray-2);
    line-height: 1.5;
    max-width: 300px;
    margin-top: 8px;
}

.footer-cols {
    display: flex;
    gap: 48px;
}
.footer-col h4 {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-2);
    margin-bottom: 10px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-col a {
    font-size: 0.78rem;
    color: var(--gray-2);
    transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.68rem;
    color: var(--gray-3);
}
.footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-legal a {
    color: var(--gray-3);
    transition: color 0.15s var(--ease);
}
.footer-legal a:hover { color: var(--blue); }

/* ═══════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8,12,21,0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.modal-content {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.25s var(--ease);
    position: relative;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--gray-3);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
}

/* ═══════════════════════════════════════════════
   DESKTOP (>768px)
   ═══════════════════════════════════════════════ */
@media (min-width: 769px) {
    .wrap {
        max-width: 960px;
    }

    .header-inner { height: 60px; }
    .nav-desktop { display: flex; }

    .hero { padding: 120px 0 64px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { font-size: 1.05rem; max-width: 500px; }
    .btn-main { max-width: 360px; height: 56px; font-size: 1rem; border-radius: 16px; }

    .hero-screens {
        gap: 16px;
        margin-top: 56px;
        width: 100%;
        margin-left: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
        justify-content: center;
    }
    .hero-screen {
        flex: 0 0 auto;
        width: 200px;
        max-width: 200px;
        border-radius: 22px;
        margin-right: 0;
    }
    .screen-dots { display: none; }

    .section-title { font-size: 1.6rem; }

    .feature-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .feature-item { padding: 22px 20px; }

    .feature-screen-block {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 220px;
        gap: 20px;
        align-items: center;
        padding: 24px;
    }
    .feature-screen-block .feature-screen-text-side {
        display: flex;
        flex-direction: column;
    }
    .feature-screen-img {
        max-height: 320px;
    }

    .price-cards {
        flex-direction: row;
        gap: 14px;
    }
    .price-card { flex: 1; }

    .step-list {
        flex-direction: row;
        gap: 24px;
    }
    .step-list::before {
        top: 19px;
        left: 20px;
        right: 20px;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(to right, var(--blue), var(--teal));
    }
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        padding: 0;
    }
    .step-num { margin-bottom: 14px; }

    .support-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 32px;
        gap: 32px;
    }
    .support-card > p { margin-bottom: 0; }
    .support-right { flex-shrink: 0; }
    .btn-support { width: 240px; }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .modal-overlay { align-items: center; }
}
