/* ============================================================
   ZhurVPN Landing Page — Dark Theme
   Colors from logo: #0ff (cyan), #00b4d8 (blue), #1b1b2f (dark)
   ============================================================ */

:root {
    --bg-primary: #0d0d1a;
    --bg-secondary: #13132b;
    --bg-card: #1a1a35;
    --bg-card-hover: #222250;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --accent: #00e5ff;
    --accent-dark: #00b4d8;
    --accent-gradient: linear-gradient(135deg, #00e5ff, #007cf0);
    --accent-glow: rgba(0, 229, 255, 0.15);
    --border: rgba(255, 255, 255, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid rgba(0, 229, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    background: var(--accent-gradient);
    color: #000;
    padding: 10px 24px;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.2);
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.4);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 20px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.7; }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
    background: var(--bg-secondary);
}

.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: var(--radius);
    padding: 36px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 229, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.08);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.price-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.15);
}

.price-card.popular {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05) 0%, var(--bg-card) 100%);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.price-duration {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 4px;
}

.price-amount span {
    font-size: 24px;
    font-weight: 400;
}

.price-per {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.price-save {
    color: #00e676;
    font-weight: 600;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.price-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================================
   DOWNLOAD
   ============================================================ */

.download {
    background: var(--bg-secondary);
}

.download-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
}

.step {
    text-align: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex: 1;
    max-width: 260px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:hover {
    border-color: rgba(0, 229, 255, 0.15);
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    color: #000;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 28px;
    color: var(--accent);
    font-weight: 300;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    min-width: 220px;
}

.download-btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.1);
}

.download-btn-icon {
    font-size: 36px;
}

.download-btn-small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.download-btn-big {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

/* ============================================================
   REFERRAL
   ============================================================ */

.referral-card {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(0, 124, 240, 0.08) 100%);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius);
    padding: 64px;
    text-align: center;
}

.referral-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.referral-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    padding: 24px 40px 24px 0;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .download-steps {
        flex-direction: column;
    }

    .step {
        max-width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-value {
        font-size: 24px;
    }

    .referral-card {
        padding: 40px 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
