/* ═══════════════════════════════════════════════
   AnonyVPN V2 — Design System
   Premium dark cybersecurity aesthetic, 2026
   ═══════════════════════════════════════════════ */

/* === GOOGLE FONT (Outfit — same as freecv.org) === */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* === DESIGN TOKENS === */
:root {
    /* Base palette */
    --bg-deep:       #050a15;
    --bg-primary:    #0a0f1e;
    --bg-elevated:   #0f1629;
    --bg-surface:    #141c30;
    --bg-card:       #1a2340;
    --bg-hover:      #1e2a4a;

    /* Text */
    --text-primary:   #f0f4fc;
    --text-secondary: #8b98b8;
    --text-muted:     #4a5578;
    --text-dim:       #2d3654;

    /* Accents */
    --blue:         #3b82f6;
    --blue-bright:  #60a5fa;
    --blue-dim:     rgba(59,130,246,0.08);
    --blue-glow:    rgba(59,130,246,0.25);

    --purple:       #8b5cf6;
    --purple-dim:   rgba(139,92,246,0.08);
    --purple-glow:  rgba(139,92,246,0.25);

    --cyan:         #22d3ee;
    --cyan-dim:     rgba(34,211,238,0.08);

    --green:        #10b981;
    --green-bright: #34d399;
    --green-dim:    rgba(16,185,129,0.08);

    --red:          #ef4444;
    --red-bright:   #f87171;
    --red-dim:      rgba(239,68,68,0.06);
    --red-glow:     rgba(239,68,68,0.3);

    --orange:       #f59e0b;
    --orange-dim:   rgba(245,158,11,0.08);

    /* Borders */
    --border:       rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.10);
    --border-hover: rgba(255,255,255,0.15);

    /* Radius */
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  16px;
    --r-xl:  24px;
    --r-2xl: 32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:  0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg:  0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow-blue: 0 0 30px rgba(59,130,246,0.15);
    --shadow-glow-red:  0 0 30px rgba(239,68,68,0.15);

    /* Layout */
    --max-w:  1280px;
    --max-w-narrow: 800px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --speed: 0.3s;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea {
    font: inherit; color: inherit;
    background: none; border: none; outline: none;
}
button { cursor: pointer; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { line-height: 1.8; color: var(--text-secondary); }
strong { color: var(--text-primary); font-weight: 600; }

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}
.narrow { max-width: var(--max-w-narrow); }
.section { padding: 100px 0; }
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* === GLASS EFFECT === */
.glass {
    background: rgba(15, 22, 41, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.glass-strong {
    background: rgba(20, 28, 48, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--r-md);
    transition: all var(--speed) var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.45);
}
.btn-outline {
    border: 2px solid var(--border-light);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--blue);
    background: var(--blue-dim);
    color: var(--blue-bright);
}
.btn-green {
    background: linear-gradient(135deg, var(--green), #059669);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.45);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* === SCROLL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === STAT COUNTER === */
.stat {
    text-align: center;
}
.stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* === HIGHLIGHT BOXES === */
.callout {
    padding: 24px;
    border-radius: var(--r-lg);
    margin: 28px 0;
}
.callout-info {
    background: var(--blue-dim);
    border-left: 4px solid var(--blue);
}
.callout-warning {
    background: var(--red-dim);
    border-left: 4px solid var(--red);
}
.callout-success {
    background: var(--green-dim);
    border-left: 4px solid var(--green);
}
.callout p { margin: 0; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .section { padding: 70px 0; }
    .section-header { margin-bottom: 40px; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .section { padding: 50px 0; }
    h1 { letter-spacing: -0.01em; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }
}
@media (max-width: 480px) {
    body { font-size: 15px; }
}
