/* ========================================
   Pulse VPN - Styles
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --primary-subtle: #EDE9FE;
    
    --success: #10B981;
    --success-light: #D1FAE5;
    
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-card: #FFFFFF;
    
    --border-light: #E5E7EB;
    --border-subtle: #F3F4F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.05), 0 12px 24px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--bg-white);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--border-light);
}

.btn-text {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

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

.btn-full {
    width: 100%;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

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

.logo-icon {
    color: var(--primary);
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    padding: 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 32px;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-subtle);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 30%, #8B5CF6 60%, #7C3AED 100%);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-app-window {
    max-width: 400px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.app-dots {
    display: flex;
    gap: 6px;
}

.app-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
}

.app-dots span:nth-child(1) { background: #EF4444; }
.app-dots span:nth-child(2) { background: #F59E0B; }
.app-dots span:nth-child(3) { background: #10B981; }

.app-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
}

.logo-icon-sm {
    color: var(--primary);
    font-size: 16px;
}

.app-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.app-status.connected {
    background: var(--success-light);
    color: var(--success);
}

.app-body {
    padding: 24px;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.status-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success) 100%);
    position: relative;
    animation: pulse-ring 2s ease-in-out infinite;
    flex-shrink: 0;
}

.status-ring::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
}

@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.status-ip {
    font-size: 14px;
    color: var(--text-muted);
    font-family: monospace;
}

.server-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.server-location {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flag {
    font-size: 24px;
}

.server-details {
    display: flex;
    flex-direction: column;
}

.server-name {
    font-weight: 600;
    font-size: 14px;
}

.server-ping {
    font-size: 12px;
    color: var(--success);
}

.change-server {
    padding: 6px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.change-server:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value small {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ========================================
   Trust Badges
   ======================================== */
.trust-badges {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-subtle);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.badge-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
}

.badge-icon svg {
    width: 24px;
    height: 24px;
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-content strong {
    font-size: 15px;
    font-weight: 600;
}

.badge-content span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-card);
}

.feature-visual {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
}

/* Feature Visuals */
.servers-map {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

.map-dot {
    position: absolute;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    animation: map-pulse 3s ease-in-out infinite;
}

.map-dot:nth-child(2) { animation-delay: 0.5s; }
.map-dot:nth-child(3) { animation-delay: 1s; }
.map-dot:nth-child(4) { animation-delay: 1.5s; }
.map-dot:nth-child(5) { animation-delay: 2s; }
.map-dot:nth-child(6) { animation-delay: 2.5s; }
.map-dot:nth-child(7) { animation-delay: 0.3s; }

@keyframes map-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.flag-mini {
    font-size: 16px;
}

.map-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Devices Stack */
.devices-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    background: #1F2937;
    border-radius: 8px;
    padding: 4px;
    box-shadow: var(--shadow-lg);
}

.device.laptop {
    width: 140px;
    height: 90px;
    transform: rotate(-5deg);
}

.device.phone {
    width: 50px;
    height: 90px;
    border-radius: 10px;
    position: absolute;
    right: 30%;
    bottom: 20%;
    transform: rotate(10deg);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-app {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
}

.device-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: var(--text-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Kill Switch */
.kill-switch-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.connection-line {
    width: 3px;
    height: 40px;
    background: var(--border-light);
    border-radius: 2px;
}

.connection-line.active {
    background: linear-gradient(180deg, var(--success) 0%, var(--primary) 100%);
    animation: line-pulse 1.5s ease-in-out infinite;
}

@keyframes line-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.kill-switch-demo .shield-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
}

.kill-switch-demo .shield-icon svg {
    width: 24px;
    height: 24px;
}

.switch-label {
    padding: 4px 12px;
    background: var(--success-light);
    color: var(--success);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Split Tunnel */
.split-tunnel {
    display: flex;
    gap: 20px;
}

.tunnel-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.app-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}

.tunnel-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.tunnel-app.vpn .tunnel-badge {
    background: var(--primary-subtle);
    color: var(--primary);
}

.tunnel-app.direct .tunnel-badge {
    background: var(--bg-light);
    color: var(--text-muted);
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
}

.step-visual {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.step-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Step Visuals */
.download-icon,
.config-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-md);
}

.download-icon svg,
.config-icon svg {
    width: 32px;
    height: 32px;
}

.server-select-icon {
    display: flex;
    gap: 8px;
}

.mini-flag {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 20px;
    transition: all 0.2s;
}

.mini-flag.selected {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.protected-icon {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.protected-icon svg {
    width: 48px;
    height: 48px;
}

.shield-glow {
    position: absolute;
    inset: -8px;
    background: var(--success);
    border-radius: 50%;
    opacity: 0.2;
    animation: glow-pulse 2s ease-in-out infinite;
}

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

.check-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    width: fit-content;
    margin: 0 auto 48px;
}

.toggle-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    white-space: nowrap;
}

.toggle-btn.active {
    background: var(--bg-white);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.toggle-btn .discount {
    color: var(--primary);
    font-weight: 600;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.price-display {
    text-align: center;
    margin-bottom: 32px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.price {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.yearly-savings {
    margin-top: 12px;
    font-size: 14px;
    color: var(--success);
    font-weight: 500;
}

.price-slider-wrapper {
    margin-bottom: 32px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.slider-label span:first-child {
    color: var(--text-secondary);
}

.months-display {
    font-weight: 600;
    color: var(--text-primary);
}

.price-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-light);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    transition: transform 0.2s;
}

.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.features-list svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.faq-item summary:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 40%);
}

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

.cta-content h2 {
    font-size: clamp(24px, 4vw, 40px);
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-legal a {
    font-size: 14px;
    color: var(--text-muted);
}

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

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .badges-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Header Mobile */
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }
    
    .hero-visual {
        margin-left: -24px;
        margin-right: -24px;
        border-radius: 0;
        padding: 24px;
    }
    
    .hero-app-window {
        max-width: 100%;
    }
    
    .stats-row {
        gap: 8px;
    }
    
    .stat {
        padding: 10px 6px;
    }
    
    .stat-value {
        font-size: 13px;
    }
    
    /* Trust Badges Mobile */
    .badge-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    /* Features Mobile */
    .feature-card {
        padding: 24px;
    }
    
    .feature-visual {
        height: 150px;
    }
    
    /* Steps Mobile */
    .step-card {
        padding: 32px 24px;
    }
    
    /* Pricing Mobile */
    .pricing-card {
        padding: 24px;
    }
    
    .price {
        font-size: 48px;
    }
    
    /* FAQ Mobile */
    .faq-item summary {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px 16px;
    }
    
    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    /* CTA Mobile */
    .cta-section {
        padding: 60px 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-visual {
        margin-left: -16px;
        margin-right: -16px;
        padding: 16px;
    }
    
    .section-title br {
        display: none;
    }
    
    .billing-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .toggle-btn {
        width: 100%;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .price {
        font-size: 40px;
    }
    
    .currency {
        font-size: 20px;
    }
    
    .features-list li {
        font-size: 14px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   Legal Pages Styles
   ======================================== */

.legal-content {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-subtle);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer Contacts */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-contacts a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: var(--primary-light);
}

/* Footer Legal Info */
.footer-legal-info {
    text-align: left;
}

.footer-legal-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Pages Mobile */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-info {
        text-align: center;
    }
}
