/* Youtube VPN — Light theme, YouTube design language */
/* Font: Roboto, Colors: #FF0000 red, #FFFFFF white, #F2F2F2 cards */

:root {
    --accent: #FF1744;
    --accent-hover: #D50032;
    --bg: #ffffff;
    --card: #f2f2f2;
    --card-hover: #e8e8e8;
    --text: #0f0f0f;
    --muted: #606060;
    --border: #e5e5e5;
    --radius: 12px;
    --shadow: 0 1px 6px rgba(0,0,0,.08);
    --shadow-hover: 0 4px 16px rgba(0,0,0,.12);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────── */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo-icon { display: flex; align-items: center; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--text); }
.brand-sub { font-size: 12px; color: var(--muted); }

nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--text); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
    background: var(--accent);
    color: #fff;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-hover); }

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}
.btn-secondary:hover { background: rgba(255,0,0,.06); transform: translateY(-1px); }

.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 48px;
    align-items: center;
    padding: 72px 0 56px;
}
.hero-left { display: flex; flex-direction: column; gap: 20px; }

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 13px;
    color: var(--muted);
    width: fit-content;
}

h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

.lead { font-size: 17px; color: var(--muted); line-height: 1.6; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
    padding: 6px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }

/* ── Phone Mockup ───────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; }

.phone-mockup {
    width: 280px;
    background: var(--text);
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.phone-screen {
    background: #1a1a1a;
    border-radius: 22px;
    padding: 16px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}
.phone-status {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 24px;
}
.phone-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.phone-app h3 { color: #fff; font-size: 18px; }
.phone-server {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    padding: 10px 20px;
    border-radius: 12px;
    color: #ccc;
    font-size: 14px;
}
.phone-flag { font-size: 20px; }
.phone-ping { color: #4CAF50; font-size: 12px; }
.phone-speed { color: var(--accent); font-size: 22px; font-weight: 700; }
.phone-status-badge {
    background: rgba(76,175,80,.15);
    color: #4CAF50;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-section { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 20px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.stat-number { font-size: 36px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 64px 0; }
.section h2, .faq-section h2, .download-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Servers ─────────────────────────────────────────────── */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.server-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    white-space: nowrap;
}
.server-pill:hover { background: var(--card-hover); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── Features ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.feature-card {
    padding: 28px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }

.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── KPIs ────────────────────────────────────────────────── */
.kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.kpi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.kpi-value { font-size: 28px; font-weight: 700; color: var(--accent); }
.kpi-label { font-size: 13px; color: var(--muted); text-align: center; }

/* ── Security ────────────────────────────────────────────── */
.sec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.sec-item {
    padding: 32px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
}
.sec-icon { font-size: 36px; margin-bottom: 12px; }
.sec-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.sec-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    padding: 32px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .2s;
    position: relative;
}
.pricing-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--muted); }
.price-amount { font-size: 40px; font-weight: 700; color: var(--text); }
.price-period { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-per-month { font-size: 14px; color: var(--muted); margin-top: 4px; }

.pricing-popular {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    background: #fff;
}
.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.pricing-card .btn { margin-top: 24px; }
.pricing-card .btn-block { margin-top: 16px; }

.pricing-trial {
    text-align: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 15px;
}
.pricing-trial span { color: var(--accent); font-weight: 700; }

/* ── Referral ────────────────────────────────────────────── */
.referral-section { padding: 48px 0; }
.referral-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.referral-icon { font-size: 48px; margin-bottom: 16px; }
.referral-card h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.referral-card .lead { max-width: 500px; margin: 0 auto 32px; }

.referral-steps { display: flex; justify-content: center; gap: 40px; margin-bottom: 32px; }
.referral-step { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 180px; }
.referral-step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}
.referral-step p { font-size: 14px; color: var(--muted); text-align: center; }

/* ── Download ────────────────────────────────────────────── */
.download-section { padding: 64px 0; }
.download-intro {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.dl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .2s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.dl-icon { width: 48px; height: 48px; }
.dl-icon svg { width: 48px; height: 48px; fill: var(--text); }
.dl-card h4 { font-size: 15px; font-weight: 700; }
.dl-card p { font-size: 12px; color: var(--muted); }
.dl-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    transition: background .2s;
}
.dl-btn:hover { background: var(--accent-hover); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-section { padding: 64px 0; }
.faq-section h2 { margin-bottom: 32px; }
.faq-list { max-width: 780px; margin: 0 auto; }

details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--card);
    transition: all .2s;
}
details[open] { background: #fff; border-color: var(--accent); }

summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    font-size: 22px;
    color: var(--muted);
    transition: transform .2s;
    font-weight: 300;
}
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }

.faq-answer {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── CTA ─────────────────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 64px 40px;
    background: var(--card);
    border-radius: 20px;
    margin-bottom: 48px;
    border: 1px solid var(--border);
}
.cta-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-section .lead { max-width: 500px; margin: 0 auto 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */
footer { padding: 40px 0 24px; border-top: 1px solid var(--border); }
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}
.footer-top strong { font-size: 16px; }
.footer-top > div:first-child { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { font-size: 12px; color: var(--muted); line-height: 1.5; padding-top: 16px; border-top: 1px solid var(--border); }

/* ── SEO Block ───────────────────────────────────────────── */
.seo-block { overflow: hidden; max-height: 1px; opacity: .01; }
.seo-block-wrap { padding: 4px; }
.seo-block-label { font-size: 1px; color: var(--bg); }
.seo-block-links { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; }
.seo-block-links li { font-size: 1px; }
.seo-block-links a { color: var(--bg); text-decoration: none; font-size: 1px; }

/* ── Animations ──────────────────────────────────────────── */
.feature-card, .stat-card, .kpi-card, .dl-card, .sec-item, .pricing-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s, transform .5s, box-shadow .2s, border-color .2s;
}
.feature-card.visible, .stat-card.visible, .kpi-card.visible, .dl-card.visible, .sec-item.visible, .pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .servers-grid { grid-template-columns: repeat(4, 1fr); }
    .kpis-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding: 48px 0 40px; }
    .hero-left { align-items: center; }
    .ai-badge { margin: 0 auto; }
    .badges { justify-content: center; }
    .hero-cta { justify-content: center; }
    h1 { font-size: 34px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-popular { transform: none; }
    .sec-grid { grid-template-columns: 1fr; }
    .referral-steps { flex-direction: column; align-items: center; gap: 20px; }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .servers-grid { grid-template-columns: repeat(2, 1fr); }
    .kpis-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 16px; }
    .footer-links { flex-wrap: wrap; }
    .section h2, .faq-section h2, .download-section h2 { font-size: 26px; }
}

@media (max-width: 400px) {
    .download-grid { grid-template-columns: 1fr; }
    nav a:not(.btn) { display: none; }
    .menu-toggle { display: flex; }
    nav { gap: 12px; }
    nav.nav-open {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-hover);
    }
    nav.nav-open a:not(.btn) { display: block; padding: 8px 0; }
}
