/* ═══════════════════════════════════════════
   BoS VPN — Design System 2026
   Apple × Linear × SaaS
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --bg: #080E1A;
    --bg-card: #0E1524;
    --bg-card-hover: #151E30;
    --bg-surface: #0B1220;
    --accent: #E6B54A;
    --accent-hover: #F2C766;
    --accent-dark: #C9982F;
    --accent-dim: rgba(230,181,74,0.12);
    --accent-glow: rgba(230,181,74,0.25);
    --text: #F5F7FA;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: rgba(255,255,255,0.04);
    --border-accent: rgba(230,181,74,0.2);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.2);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-full: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080E1A;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body > * {
    position: relative;
    z-index: 1;
}


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Container ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text);
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-desc {
    margin: 16px auto 0;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #E6B54A 0%, #D4A03A 100%);
    color: #0F172A;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F0C45E 0%, #E6B54A 100%);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid #334155;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
    background: rgba(255,255,255,0.03);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ── Header ── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    background: rgba(8,14,26,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s, border-color 0.3s;
}

header.scrolled {
    background: rgba(8,14,26,0.97);
    border-bottom-color: rgba(255,255,255,0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #0F172A;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

nav {
    display: flex;
    gap: 36px;
}

nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover {
    color: var(--text);
}

nav a:hover::after {
    width: 100%;
    left: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-self: end;
}

.header-actions .btn-primary {
    padding: 10px 22px;
    font-size: 14px;
}

.header-actions .btn-ghost {
    padding: 10px 22px;
    font-size: 14px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 102;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.8);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(18,26,42,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 1px solid var(--border);
    z-index: 101;
    padding: 88px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.mobile-menu .divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    max-width: var(--container);
    margin: 0 auto;
    padding: calc(var(--header-h) + 80px) 24px 80px;
}

.hero-text h1 {
    margin-bottom: 32px;
    color: #FFFFFF;
}

.hero-text h1 br + .accent,
.hero-text h1 .line2 {
    font-weight: 400;
    color: #A8B8CC;
}

.hero-text h1 .accent {
    color: var(--accent);
    font-weight: 800;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* App Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 800px;
}

.hero-mockup::before {
    display: none;
}

.mockup-phone {
    width: 280px;
    background: linear-gradient(180deg, #111928, #0E1524);
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    will-change: transform;
}


.mockup-notch {
    width: 100px;
    height: 6px;
    background: var(--bg);
    border-radius: 4px;
    margin: 0 auto 24px;
}

.mockup-screen {
    text-align: center;
    padding: 8px 12px 20px;
}

.mockup-app-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.mockup-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px rgba(34,197,94,0.4);
}

.mockup-status span {
    font-size: 14px;
    font-weight: 500;
    color: #22C55E;
}

.mockup-speed {
    margin-bottom: 32px;
}

.mockup-speed .speed-value {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    display: block;
    color: #FFFFFF;
}

.mockup-speed .speed-unit {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-connect {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #0F172A;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    cursor: default;
}

.mockup-server {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
}

/* Flag images */
.flag-img {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.flag-img-sm {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 2px;
}

/* ── Sections ── */
section {
    padding: 120px 24px;
}

/* ── Features ── */
.features {
    max-width: var(--container);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 36px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    border-color: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-accent);
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ── Interface ── */
.interface {
    max-width: var(--container);
    margin: 0 auto;
}

.interface-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.interface-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.interface-card:hover {
    border-color: rgba(255,255,255,0.08);
}

.interface-card .card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.interface-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.interface-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.interface-card .card-visual {
    margin-top: 24px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
}

/* Mini UI elements inside interface cards */
.mini-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mini-toggle .toggle-track {
    width: 40px;
    height: 22px;
    background: var(--accent);
    border-radius: 11px;
    position: relative;
}

.mini-toggle .toggle-track::after {
    content: '';
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    right: 2px;
}

.mini-toggle span {
    font-size: 13px;
    color: var(--text-secondary);
}

.mini-server-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.mini-server-row:last-child { border-bottom: none; }

.mini-server-row .server-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-server-row .server-ping {
    color: #22C55E;
    font-weight: 500;
}

.mini-stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mini-stat:last-child { margin-bottom: 0; }

.mini-stat .stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.mini-stat .stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* ── Use Cases ── */
.use-cases {
    max-width: var(--container);
    margin: 0 auto;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
}

.case-card:hover {
    border-color: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.case-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 14px;
    border: 1px solid var(--border-accent);
}

.case-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.case-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Pricing ── */
.pricing {
    max-width: var(--container);
    margin: 0 auto;
}

.pricing-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-card);
}

.pricing-tab {
    flex: 1;
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: background 0.3s ease, color 0.3s ease;
    font-family: inherit;
}

.pricing-tab.active {
    background: var(--accent);
    color: #0F172A;
}

.pricing-tab:not(.active):hover {
    color: var(--text);
}

.pricing-tab-content {
    display: none;
}

.pricing-tab-content.active {
    display: block;
    animation: fadeUp 0.4s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.period-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.period-chip {
    padding: 8px 18px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.period-chip.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.period-chip:not(.active):hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.discount-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 44px 32px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-card);
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(230,181,74,0.08);
}

.price-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0F172A;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.price-card .card-devices {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.price-card .card-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-card .card-period {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.price-card .card-price {
    margin-bottom: 8px;
}

.price-card .card-price .amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-card .card-price .currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 2px;
}

.price-card .card-price.updating .amount {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.price-card .card-discount {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    min-height: 20px;
    margin-bottom: 28px;
}

.price-card .card-features {
    margin-bottom: 32px;
    text-align: left;
}

.price-card .card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.price-card .card-features li:last-child {
    border-bottom: none;
}

.price-card .card-features li svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.price-card .card-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    transition: border-color 0.3s ease, background 0.3s ease;
    display: block;
    text-align: center;
}

.price-card .card-btn:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}

.price-card.featured .card-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #0F172A;
}

.price-card.featured .card-btn:hover {
    background: var(--accent-hover);
}

/* White List */
.wl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.wl-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 44px 28px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-card);
    position: relative;
}

.wl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.08);
}

.wl-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.wl-card.featured::before {
    content: 'Выгодный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0F172A;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.wl-card .wl-period {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.wl-card .wl-days {
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.wl-card .wl-price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 4px;
}

.wl-card .wl-price .cur {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.wl-card .wl-traffic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--accent-dim);
    border: 1px solid rgba(230,181,74,0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin: 16px 0 28px;
}

.wl-card .wl-btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    transition: border-color 0.3s ease, background 0.3s ease;
    display: block;
    text-align: center;
}

.wl-card .wl-btn:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}

.wl-card.featured .wl-btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #0F172A;
}

.wl-card.featured .wl-btn:hover {
    background: var(--accent-hover);
}

.traffic-addon {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(230,181,74,0.12);
    border-radius: var(--radius);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    box-shadow: var(--shadow-card);
}

.traffic-addon .addon-label {
    color: var(--text-secondary);
}

.traffic-addon .addon-value {
    font-weight: 700;
    color: var(--accent);
}

.pricing-note {
    text-align: center;
    margin-top: 48px;
    color: var(--text-muted);
    font-size: 13px;
}

.pricing-note span {
    color: var(--accent);
}

/* ── Footer ── */
footer {
    padding: 48px 24px;
    border-top: 1px solid var(--border);
    max-width: var(--container);
    margin: 0 auto;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-telegram {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-telegram a {
    color: var(--accent);
    transition: opacity 0.3s ease;
}

.footer-telegram a:hover {
    opacity: 0.8;
}

/* ── Download Modal ── */
.dl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.85);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dl-overlay.active { opacity: 1; pointer-events: all; }

.dl-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px 28px;
    max-width: 440px;
    width: 92%;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.dl-overlay.active .dl-modal { transform: none; }

.dl-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none; border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.dl-close:hover { color: var(--text); }

.dl-modal h3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.dl-modal > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.dl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dl-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.dl-card:hover {
    background: var(--accent-dim);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.dl-card svg { width: 28px; height: 28px; fill: var(--text-secondary); transition: fill 0.2s; }
.dl-card:hover svg { fill: var(--accent); }
.dl-card .dc-name { font-size: 14px; font-weight: 600; }
.dl-card .dc-status { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.dl-card.available .dc-status { color: var(--accent); }

.dl-card.dl-main {
    grid-column: span 2;
    flex-direction: row;
    justify-content: center;
    gap: 14px;
    background: var(--accent-dim);
    border-color: var(--border-accent);
}

.dl-card.dl-main svg { width: 32px; height: 32px; fill: var(--accent); }

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.case-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

.case-card:hover .case-icon {
    transform: scale(1.05);
}

.section-label {
    position: relative;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    vertical-align: middle;
}

/* Accent link underline animation */
.pricing-note span,
.footer-telegram a {
    position: relative;
}

.pricing-note span::after,
.footer-telegram a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    opacity: 0.4;
}

/* Scrollbar accent on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dim);
}

/* ── Page Content (for subpages) ── */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 60px) 24px 80px;
    min-height: 70vh;
}

.page-content h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.page-content .page-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.page-content h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.page-content h3 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 8px;
}

.page-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content ul, .page-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.page-content li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 4px;
    list-style: disc;
}

.page-content a {
    color: var(--accent);
    transition: opacity 0.3s ease;
}

.page-content a:hover { opacity: 0.8; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        min-height: auto;
        padding-top: calc(var(--header-h) + 60px);
    }

    .hero-text p { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .interface-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .wl-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
    .price-card.featured { box-shadow: none; }
}

@media (max-width: 768px) {
    header { padding: 0 16px; }
    nav { display: none; }
    .header-actions { display: none; }
    .hamburger { display: flex; }
    section { padding: 80px 16px; }
    .section-header { margin-bottom: 40px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
    .hero-text p { font-size: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-ghost { width: 100%; justify-content: center; }
    .feature-card { padding: 32px 24px; }
    .price-card { padding: 32px 20px; }
    .mockup-phone { width: 240px; }
    .period-chip { padding: 6px 12px; font-size: 13px; }
}
