/* ==========================================================================
   CloudAI Pro — Landing Page Styles
   Modern dark theme · Glassmorphism · Micro-animations
   ========================================================================== */

/* --- Root Variables --- */
:root {
  --bg-primary: #06080f;
  --bg-secondary: #0c0f1a;
  --bg-card: rgba(15, 18, 35, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f2f8;
  --text-secondary: #8b8fa8;
  --text-muted: #5a5e74;
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.3);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.3);
  --accent-green: #22c55e;
  --accent-green-glow: rgba(34, 197, 94, 0.2);
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  --gradient-primary: linear-gradient(135deg, #a855f7, #6366f1, #3b82f6);
  --gradient-hero: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #3b82f6 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: #c084fc; }

/* --- Particles Background --- */
.particles {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  50% { transform: translateY(-120px) scale(1.5); }
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.nav-logo svg { width: 28px; height: 28px; color: var(--accent-purple); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-btn-outline {
  padding: 8px 20px !important;
  border: 1px solid var(--border-hover) !important;
  border-radius: var(--radius-sm) !important;
  transition: all 0.2s !important;
}
.nav-btn-outline:hover { border-color: var(--accent-purple) !important; color: var(--text-primary) !important; }
.nav-btn-primary {
  padding: 8px 20px !important;
  background: var(--gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}
.nav-lang select {
  background: rgba(15, 18, 30, 0.9);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.nav-lang select option {
  background: #0f121e;
  color: #e2e8f0;
  padding: 8px;
}
.nav-lang select:hover,
.nav-lang select:focus {
  border-color: var(--accent-purple);
  color: var(--text-primary);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero-glow.g1 { width: 600px; height: 600px; background: var(--accent-purple); top: -200px; left: -100px; }
.hero-glow.g2 { width: 500px; height: 500px; background: var(--accent-blue); bottom: -150px; right: -100px; animation-delay: 2s; }
.hero-glow.g3 { width: 300px; height: 300px; background: #6366f1; top: 30%; right: 10%; animation-delay: 4s; }
@keyframes glowPulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-stat {
  padding: 0 32px;
  text-align: center;
}
.hero-stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.hero-visual { display: none; }

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

/* --- Orb --- */
.hero-orb {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
}
.orb-core {
  position: absolute;
  inset: 25%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}
.orb-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 50%;
  animation: orbSpin 20s linear infinite;
}
.orb-ring.r1 { inset: 10%; animation-duration: 15s; border-color: rgba(99, 102, 241, 0.15); }
.orb-ring.r2 { inset: 20%; animation-duration: 25s; animation-direction: reverse; }
.orb-ring.r3 { inset: 5%; animation-duration: 35s; border-color: rgba(59, 130, 246, 0.1); }
@keyframes orbSpin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-purple-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-purple-glow);
  color: #fff;
}
.btn-glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; justify-content: center; }

.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Trusted / Tech Bar
   ========================================================================== */
.trusted {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.trusted-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trusted-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: 0.5px;
}
.trusted-logo:hover { opacity: 1; color: var(--text-secondary); }

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.35s ease;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }
.feature-card.featured {
  border-color: rgba(168, 85, 247, 0.2);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.05), var(--bg-card));
}
.feature-card.featured::before { opacity: 1; }
.feature-popular {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.purple { background: rgba(168, 85, 247, 0.12); color: var(--accent-purple); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.feature-icon.green { background: rgba(34, 197, 94, 0.12); color: var(--accent-green); }
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Why CloudAI Pro
   ========================================================================== */
.why-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--bg-secondary);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.why-card:hover::after { opacity: 1; }
.why-card-wide {
  grid-column: span 2;
}
.why-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.why-trust {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.why-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.why-trust-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.why-trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.why-trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.how-it-works {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: var(--bg-secondary);
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); }
.step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.toggle-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; transition: color 0.3s; }
.toggle-label.active { color: var(--text-primary); }
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 26px;
  transition: all 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-purple);
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.save-badge {
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 60px 0;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.pricing-card.popular {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.06), var(--bg-card));
  box-shadow: var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 1rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 10px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; }
.price-amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.price-period { font-size: 0.82rem; color: var(--text-muted); }
.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-features li { font-size: 0.88rem; color: var(--text-secondary); }
.pricing-features li.disabled { color: var(--text-muted); opacity: 0.5; }

/* ==========================================================================
   Download Section
   ========================================================================== */
.download {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--bg-secondary);
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.download-grid.six-col {
  grid-template-columns: repeat(3, 1fr);
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s;
  color: var(--text-primary);
  display: block;
}
.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}
.dl-icon { margin-bottom: 20px; }
.download-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.dl-version { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.dl-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}
.dl-btn-soon {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border);
}
.download-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.download-note a { color: var(--accent-purple); }

/* ==========================================================================
   Auth Section
   ========================================================================== */
.auth-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 32px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.25s;
}
.auth-tab.active {
  background: var(--gradient-primary);
  color: #fff;
}
.auth-form-group { margin-bottom: 18px; }
.auth-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.auth-form-group small { color: var(--text-muted); }
.auth-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.auth-input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-purple-glow);
}
.auth-input::placeholder { color: var(--text-muted); }
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-error {
  color: var(--accent-red);
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 12px;
}
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-switch a { color: var(--accent-purple); font-weight: 600; margin-left: 4px; }
.auth-success {
  color: var(--accent-green);
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.auth-forgot {
  text-align: center;
  margin-top: 12px;
  font-size: 0.82rem;
}
.auth-forgot a { color: var(--text-muted); transition: color 0.2s; }
.auth-forgot a:hover { color: var(--accent-purple); }
.auth-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 2;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-logo svg { color: var(--accent-purple); }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.footer-col a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-lang select {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
}
.footer-lang select:focus { border-color: var(--accent-purple); }

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: flex; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat { padding: 0 16px; }
  .hero-stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card-wide { grid-column: span 1; }
  .why-trust { gap: 20px; padding: 24px 16px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid,
  .download-grid.six-col { grid-template-columns: repeat(2, 1fr); }

  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }

  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-4px); }

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

  .auth-form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; margin: 0 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .download-grid,
  .download-grid.six-col { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trusted-logos { gap: 16px; }
  .trusted-logo { font-size: 0.8rem; }
}
