/* ============================================
   PMVPN DESIGN SYSTEM - Parimatch-Inspired Theme
   ============================================
   
   Visual Strategy: Parimatch-style high-contrast dark UI
   - Pure black backgrounds with layered surfaces
   - Electric yellow accent for CTAs and highlights
   - Touch-first interactions
   - Bold, confident typography
   - App-native component patterns
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   COLOR SYSTEM - Dark App Theme
   ============================================
   
   Layered dark surfaces for depth:
   - Base: Deepest background
   - Surface 1: Cards, elevated areas
   - Surface 2: Interactive elements
   - Surface 3: Highest elevation (sheets, modals)
   
   Accent: Used sparingly for primary actions only
   ============================================ */

:root {
    /* Base Dark Surfaces - Parimatch black palette */
    --bg-base: #000000;
    --bg-surface-1: #0A0A0A;
    --bg-surface-2: #141414;
    --bg-surface-3: #1C1C1C;
    --bg-elevated: #242424;
    
    /* Accent - Parimatch electric yellow */
    --accent: #F8FF13;
    --accent-hover: #ECD06F;
    --accent-muted: rgba(248, 255, 19, 0.14);
    --accent-subtle: rgba(248, 255, 19, 0.07);
    --accent-text: #000000;
    
    /* Text Colors */
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --text-disabled: rgba(255, 255, 255, 0.25);
    
    /* Borders - Subtle */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-emphasis: rgba(255, 255, 255, 0.15);
    
    /* Semantic Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Shadows - Minimal for dark theme */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-sheet: 0 -4px 32px rgba(0, 0, 0, 0.6);
    
    /* Spacing Scale - App-native */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    
    /* Section Spacing - Tighter than web */
    --section-padding: 48px;
    --section-padding-mobile: 32px;
    
    /* Border Radius - App-native */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Transitions - Subtle */
    --transition-fast: 120ms ease;
    --transition-base: 180ms ease;
    --transition-slow: 280ms ease;
}

/* ============================================
   TYPOGRAPHY - App Scale
   ============================================
   
   Compact, calm, confident:
   - Tighter line heights
   - Slightly negative letter-spacing for headlines
   - Dense but readable body text
   ============================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 22px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

p {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (min-width: 768px) {
    .container {
        max-width: 680px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 920px;
    }
}

/* ============================================
   BUTTONS - App Style, Touch-First
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--accent-text);
}

.btn-secondary {
    background: var(--bg-surface-2);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-surface-3);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-subtle);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-surface-2);
}

.btn-large {
    padding: 16px 28px;
    font-size: 16px;
    min-height: 52px;
}

/* ============================================
   PILLS / TAGS - App Style
   ============================================ */

.pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-full);
    background: var(--bg-surface-2);
    color: var(--text-secondary);
}

.pill-primary {
    background: var(--accent-muted);
    color: var(--accent);
}

.pill-accent {
    background: var(--accent-subtle);
    color: var(--accent);
}

.pill-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* ============================================
   BADGES - App Style
   ============================================ */

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-2);
    color: var(--text-secondary);
}

.badge-primary {
    background: var(--accent-muted);
    color: var(--accent);
}

/* ============================================
   CARDS - App Surface Pattern
   ============================================ */

.card {
    background: var(--bg-surface-1);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: background var(--transition-fast);
}

.card:active {
    background: var(--bg-surface-2);
}

.card-elevated {
    background: var(--bg-surface-2);
}

/* ============================================
   HEADER / NAVIGATION - App Bar Style
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(248, 255, 19, 0.12);
    transition: background var(--transition-base), border-color var(--transition-base);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.96);
    border-bottom-color: rgba(248, 255, 19, 0.25);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    gap: var(--space-4);
    min-height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Navigation - App Menu Style */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-surface-2);
}

.nav-link.active {
    color: var(--accent);
}

.nav-link i {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

/* Dropdown - Sheet Style */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-2));
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-surface-2);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    list-style: none;
    padding: var(--space-2);
    box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 12px;
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--bg-surface-3);
    color: var(--text-primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.header-actions .btn-primary {
    padding: 10px 18px;
    font-size: 14px;
    min-height: 40px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--space-2);
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   HERO SECTION - App Style, Simplified
   ============================================ */

.hero {
    position: relative;
    padding: 100px 0 var(--section-padding);
    background: var(--bg-base);
    overflow: hidden;
}

/* Subtle gradient - not marketing style */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(248, 255, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    gap: var(--space-8);
}

.hero-text {
    max-width: 480px;
}

.hero-overline {
    display: inline-block;
    margin-bottom: var(--space-4);
}

.hero-overline .pill {
    background: var(--accent-muted);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(248, 255, 19, 0.25);
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn-primary {
    background: var(--accent);
    color: var(--accent-text);
}

.hero-buttons .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--accent-text);
}

.hero-buttons .btn-secondary {
    background: var(--bg-surface-2);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.hero-buttons .btn-secondary:hover {
    background: var(--bg-surface-3);
}

.hero-pills {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.hero-pills .pill {
    background: var(--bg-surface-2);
    color: var(--text-secondary);
    font-size: 12px;
}

.ratings {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    justify-content: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.rating-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.rating-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 320px;
}

.banner-container {
    position: relative;
    width: 100%;
}

.hero-banner {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.banner-decoration {
    display: none;
}

/* ============================================
   SECTION STYLES - Stacked, Not Separated
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .badge {
    margin-bottom: var(--space-3);
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.section-header p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.section-header a {
    color: var(--accent);
}

.section-header a:hover {
    opacity: 0.8;
}

/* ============================================
   BROWSER FEATURES SECTION
   ============================================ */

.browser-features {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-card {
    background: var(--bg-surface-2);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: background var(--transition-fast);
}

.feature-card:active {
    background: var(--bg-surface-3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--accent);
    font-size: 20px;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 17px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

/* ============================================
   VPN SECTION
   ============================================ */

.vpn-section {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.vpn-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.vpn-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.vpn-visual img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-xl);
}

.vpn-visual::before {
    display: none;
}

.vpn-text {
    max-width: 100%;
}

.vpn-text h2 {
    margin-bottom: var(--space-3);
}

.vpn-text > p {
    font-size: 15px;
    margin-bottom: var(--space-5);
}

.vpn-links {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.vpn-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.vpn-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    padding: var(--space-4);
    background: var(--bg-surface-1);
    border-radius: var(--radius-lg);
}

.vpn-feature .feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 18px;
}

.vpn-feature .feature-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    font-size: 16px;
}

.vpn-feature .feature-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .vpn-content {
        flex-direction: row;
        align-items: center;
        gap: var(--space-10);
    }
    
    .vpn-visual {
        flex: 1;
    }
    
    .vpn-text {
        flex: 1;
    }
}

/* ============================================
   CONTENT & PERSONALIZATION SECTION
   ============================================ */

.content-section {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.content-card {
    background: var(--bg-surface-2);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.content-card:active {
    background: var(--bg-surface-3);
}

.content-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--accent);
    font-size: 20px;
}

.content-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 17px;
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .content-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
}

/* ============================================
   PRIVACY FEATURES SECTION
   ============================================ */

.privacy-features {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
    position: relative;
}

.privacy-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(248, 255, 19, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.privacy-features .section-header h2 {
    color: var(--text-primary);
}

.privacy-features .section-header p {
    color: var(--text-secondary);
}

.privacy-features .section-header a {
    color: var(--accent);
}

.privacy-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.privacy-card {
    background: var(--bg-surface-1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.privacy-card:active {
    background: var(--bg-surface-2);
}

.privacy-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--accent);
    font-size: 20px;
}

.privacy-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 17px;
}

.privacy-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 14px;
}

@media (min-width: 768px) {
    .privacy-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

/* ============================================
   PREMIUM FEATURES SECTION
   ============================================ */

.premium-features {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
    position: relative;
}

.premium-features::before {
    display: none;
}

.premium-features .section-header {
    max-width: 480px;
}

.premium-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    position: relative;
    z-index: 1;
}

.premium-category {
    background: var(--bg-surface-2);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.premium-category h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.premium-category h3::before {
    content: '';
    width: 3px;
    height: 18px;
    background: var(--accent);
    border-radius: 2px;
}

.premium-features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface-3);
    border-radius: var(--radius-md);
}

.premium-feature i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.premium-feature span {
    color: var(--text-secondary);
    font-size: 14px;
}

.premium-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.premium-note {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

@media (min-width: 768px) {
    .premium-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.download-section {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.download-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 400px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-surface-1);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
}

.platform-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-muted);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--accent);
    font-size: 24px;
}

.download-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 18px;
}

.download-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    font-size: 14px;
}

.download-card .btn {
    width: 100%;
    margin-bottom: var(--space-3);
}

.download-card .rating {
    justify-content: center;
}

.download-card .rating span {
    font-size: 13px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .download-content {
        flex-direction: row;
        max-width: 680px;
        gap: var(--space-5);
    }
    
    .download-card {
        flex: 1;
    }
}

/* ============================================
   FOOTER - App Style
   ============================================ */

.footer {
    background: var(--bg-surface-1);
    color: var(--text-primary);
    padding: var(--space-10) 0 var(--space-6);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--space-3);
}

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

.footer-section a:hover {
    color: var(--text-primary);
}

.trust-links a::before,
.legal-links a::before {
    display: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-5);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: var(--space-2);
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-section {
        flex: 1;
    }
}

/* ============================================
   MODAL / BOTTOM SHEET STYLES
   ============================================ */

.download-modal,
.premium-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@media (min-width: 768px) {
    .download-modal,
    .premium-modal {
        align-items: center;
    }
}

.modal-content {
    background: var(--bg-surface-2);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-sheet);
    animation: slideUp 0.3s ease;
}

@media (min-width: 768px) {
    .modal-content {
        max-width: 420px;
        border-radius: var(--radius-xl);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 18px;
}

.modal-close {
    background: var(--bg-surface-3);
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-5);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.premium-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-surface-3);
    border-radius: var(--radius-md);
}

.benefit-item i {
    color: var(--accent);
    font-size: 18px;
    width: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(100%);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    @keyframes slideUp {
        from { 
            opacity: 0;
            transform: scale(0.95);
        }
        to { 
            opacity: 1;
            transform: scale(1);
        }
    }
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    background: var(--bg-surface-1);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-top: 56px;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

.breadcrumbs span {
    color: var(--text-muted);
}

/* ============================================
   BLOG / ARTICLE STYLES
   ============================================ */

.blog-hero, .article-hero, .feature-hero, .features-hero, .guides-hero, .resources-hero, .pmvpn-hero {
    padding: 80px 0 var(--space-10);
    background: var(--bg-base);
    color: var(--text-primary);
    text-align: center;
    margin-top: 56px;
    position: relative;
}

.blog-hero::before, .article-hero::before, .feature-hero::before, .features-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(248, 255, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.blog-hero-content h1, .article-header h1, .feature-hero-content h1, .features-hero-content h1 {
    font-size: 26px;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.article-header {
    text-align: center;
}

.article-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-muted);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: var(--space-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
}

.article-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

/* Blog Categories */
.blog-categories {
    padding: var(--space-4) 0;
    background: var(--bg-surface-1);
    border-bottom: 1px solid var(--border-subtle);
}

.category-filters {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 16px;
    border: 1px solid var(--border-default);
    background: var(--bg-surface-2);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    font-size: 13px;
    font-weight: 500;
}

.category-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
}

/* Blog Listing */
.blog-listing {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.article-card {
    background: var(--bg-surface-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: background var(--transition-fast);
}

.article-card:active {
    background: var(--bg-surface-2);
}

.article-card .article-image {
    height: 140px;
    background: linear-gradient(135deg, var(--bg-surface-2) 0%, var(--bg-surface-3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 32px;
}

.article-card .article-content {
    padding: var(--space-5);
}

.article-card .article-category {
    padding: 4px 10px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 10px;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.article-card h2 {
    font-size: 17px;
    margin-bottom: var(--space-2);
    line-height: 1.35;
}

.article-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-card h2 a:hover {
    color: var(--accent);
}

.article-card h3 {
    font-size: 16px;
    margin-bottom: var(--space-2);
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--accent);
}

.article-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    font-size: 14px;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .articles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Article Content */
.article-content {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 920px;
    margin: 0 auto;
}

.main-article {
    background: var(--bg-surface-1);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}

.main-article h2 {
    color: var(--text-primary);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    font-size: 20px;
}

.main-article h2:first-child {
    margin-top: 0;
}

.main-article h3 {
    color: var(--text-primary);
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
    font-size: 17px;
}

.main-article ul, .main-article ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-5);
}

.main-article li {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    line-height: 1.6;
}

.main-article a {
    color: var(--accent);
}

.main-article a:hover {
    opacity: 0.8;
}

/* Article Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sidebar-widget {
    background: var(--bg-surface-1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.sidebar-widget h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: 16px;
}

.related-links {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin-bottom: var(--space-3);
}

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

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

.cta-widget {
    background: var(--accent);
    border: none;
}

.cta-widget h3, .cta-widget p {
    color: var(--accent-text);
}

.cta-widget p {
    opacity: 0.9;
    font-size: 14px;
}

.cta-widget .btn {
    margin-top: var(--space-4);
    background: var(--accent-text);
    color: var(--accent);
}

.cta-widget .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 1024px) {
    .content-wrapper {
        flex-direction: row;
    }
    
    .main-article {
        flex: 1;
    }
    
    .article-sidebar {
        width: 280px;
        flex-shrink: 0;
    }
}

/* Continue Reading Section */
.continue-reading {
    padding: var(--space-8) 0;
    background: var(--bg-surface-1);
    border-top: 1px solid var(--border-subtle);
}

.continue-reading-content {
    text-align: center;
}

.continue-reading-content p {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Related Articles Section */
.related-articles {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.related-articles h2 {
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

/* CTA Sections */
.blog-cta, .article-cta, .feature-cta, .pmvpn-cta {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.blog-cta::before, .article-cta::before, .feature-cta::before, .pmvpn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(248, 255, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-size: 22px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    font-size: 15px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--accent);
    color: var(--accent-text);
}

.cta-buttons .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--accent-text);
}

.cta-buttons .btn-secondary {
    background: var(--bg-surface-2);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.cta-buttons .btn-secondary:hover {
    background: var(--bg-surface-3);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-hero {
    background: var(--bg-base);
    color: var(--text-primary);
    padding: 80px 0 var(--space-10);
    text-align: center;
    margin-top: 56px;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(248, 255, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.about-hero-content h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.about-hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* Policy Links Section */
.policy-links {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.policy-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.policy-card {
    background: var(--bg-surface-2);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
}

.policy-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--accent);
    font-size: 22px;
}

.policy-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 17px;
}

.policy-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    font-size: 14px;
}

.policy-card .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .policy-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Policy Page Styles */
.policy-hero {
    background: var(--bg-base);
    color: var(--text-primary);
    padding: 80px 0 var(--space-10);
    text-align: center;
    margin-top: 56px;
    position: relative;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(248, 255, 19, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.policy-hero-content h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: var(--space-5);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.back-link:hover {
    background: var(--bg-surface-2);
    color: var(--text-primary);
}

.policy-content {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.policy-text {
    background: var(--bg-surface-2);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    max-width: 680px;
    margin: 0 auto;
}

.policy-text p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--space-5);
    color: var(--text-secondary);
}

.policy-text h2 {
    color: var(--text-primary);
    font-size: 18px;
    margin: var(--space-8) 0 var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}

.policy-text h2:first-of-type {
    margin-top: 0;
}

.policy-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-5);
}

.policy-text li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding-left: var(--space-5);
}

.policy-text li:last-child {
    border-bottom: none;
}

.policy-text li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 18px;
}

/* ============================================
   FEATURE PAGES
   ============================================ */

.feature-details {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.feature-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 920px;
    margin: 0 auto;
}

.feature-main {
    background: var(--bg-surface-1);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
}

.feature-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@media (min-width: 1024px) {
    .feature-content-wrapper {
        flex-direction: row;
    }
    
    .feature-main {
        flex: 1;
    }
    
    .feature-sidebar {
        width: 280px;
        flex-shrink: 0;
    }
}

/* Feature Cards Large */
.feature-card-large {
    background: var(--bg-surface-1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.feature-icon-large {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: var(--space-3);
}

.feature-card-large h2 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 18px;
}

.feature-card-large h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.feature-card-large h2 a:hover {
    color: var(--accent);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
}

.feature-list li {
    padding: var(--space-2) 0;
    padding-left: var(--space-5);
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Hub Pages */
.features-overview, .guides-listing, .resources-listing {
    padding: var(--section-padding) 0;
    background: var(--bg-base);
}

.guides-grid, .resources-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.guide-card, .resource-card, .link-card {
    background: var(--bg-surface-1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.guide-card:active, .resource-card:active, .link-card:active {
    background: var(--bg-surface-2);
}

.guide-icon, .resource-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: var(--space-3);
}

.coming-soon {
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-2);
    font-size: 13px;
}

.quick-links {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.quick-links h2 {
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.link-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.link-card h3 a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .guides-grid, .resources-grid, .links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .guides-grid, .resources-grid, .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Preview */
.faq-preview {
    margin: var(--space-4) 0;
}

.faq-item {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: 15px;
}

/* Resource Card Large */
.resource-card-large {
    background: var(--bg-surface-1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.resource-card-large .resource-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: var(--space-3);
}

/* Technical Features Section */
.technical-features {
    padding: var(--section-padding) 0;
    background: var(--bg-surface-1);
}

.technical-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.technical-card {
    background: var(--bg-surface-2);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.technical-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: 17px;
}

.technical-card ul {
    list-style: none;
    padding: 0;
}

.technical-card li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 14px;
}

.technical-card li:last-child {
    border-bottom: none;
}

.technical-card strong {
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .technical-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .technical-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 1024px) {
    :root {
        --section-padding: 40px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 20px;
    }
}

@media (min-width: 769px) {
    .nav {
        display: flex !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 32px;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions .btn-primary {
        display: none;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .hero {
        padding: 100px 0 var(--section-padding);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .section-header {
        margin-bottom: var(--space-6);
    }
    
    .main-article {
        padding: var(--space-5);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .blog-hero-content h1, .article-header h1, .feature-hero-content h1, .features-hero-content h1 {
        font-size: 22px;
    }
    
    .about-hero-content h1, .policy-hero-content h1 {
        font-size: 22px;
    }
    
    .category-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-2);
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .ratings {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .policy-text {
        padding: var(--space-5);
    }
}

/* ============================================
   NAV ACTIVE STATE
   ============================================ */

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================
   MOBILE MENU (when active)
   ============================================ */

@media (max-width: 768px) {
    .nav.active {
        display: block !important;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: auto;
        background: var(--bg-surface-1);
        border-top: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-lg);
        padding: var(--space-3);
        z-index: 999;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav.active .nav-list {
        flex-direction: column;
        gap: var(--space-1);
    }
    
    .nav.active .nav-link {
        padding: var(--space-3) var(--space-4);
        width: 100%;
        justify-content: flex-start;
        border-radius: var(--radius-md);
        color: var(--text-primary);
    }
    
    .nav.active .nav-link:active {
        background: var(--bg-surface-2);
    }
    
    .nav.active .nav-link i {
        margin-left: auto;
    }
    
    .nav.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-surface-2);
        margin-top: var(--space-1);
        margin-bottom: var(--space-2);
        border-radius: var(--radius-md);
        padding: var(--space-2);
    }
    
    .nav.active .dropdown-menu li a {
        padding: var(--space-3) var(--space-4);
        display: block;
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
    }
    
    .nav.active .dropdown-menu li a:active {
        background: var(--bg-surface-3);
        color: var(--text-primary);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Touch feedback for interactive elements */
@media (hover: none) {
    .btn:hover,
    .card:hover,
    .feature-card:hover,
    .content-card:hover,
    .privacy-card:hover,
    .article-card:hover,
    .download-card:hover {
        transform: none;
        box-shadow: none;
    }
}
