/* ============================================
   LANDING PAGE - EASYAPPLYMAX
   Modern, Professional Design
   ============================================ */

/* CSS Variables */
:root {
  --primary: #0a66c2;
  --primary-light: #378fe9;
  --primary-dark: #004182;
  --primary-gradient: linear-gradient(135deg, #0a66c2 0%, #378fe9 100%);

  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-orange: #0a66c2;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;

  --gold: #0a66c2;
  --gold-light: #378fe9;
  --gold-gradient: linear-gradient(135deg, #0a66c2 0%, #378fe9 100%);

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --bg-dark-secondary: #1e293b;

  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --text-white: #ffffff;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

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

.nav-dashboard {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

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

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

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

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

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.badge-icon {
  font-size: 16px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  margin-top: 8px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

/* Waitlist Form */
.waitlist-form {
  margin-bottom: 48px;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.waitlist-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: white;
  transition: border-color 0.2s ease;
  outline: none;
}

.waitlist-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.waitlist-input-dark {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.waitlist-input-dark::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-input-dark:focus {
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.waitlist-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.waitlist-hint {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.waitlist-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #ecfdf5;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: #059669;
}

.waitlist-success-dark {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.waitlist-extension-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.waitlist-extension-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.waitlist-form-cta {
  max-width: 500px;
  margin: 0 auto;
}

.waitlist-form-cta .waitlist-input-group {
  max-width: 100%;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

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

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Extension Card */
.extension-card-main {
  background: white;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(10, 102, 194, 0.15), 0 0 0 1px rgba(10, 102, 194, 0.08);
  padding: 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.extension-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.extension-card-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.extension-card-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.extension-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.extension-card-version {
  font-size: 12px;
  color: var(--text-tertiary);
}

.extension-card-status-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: #dbeafe;
  color: #0a66c2;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Stats Row */
.extension-card-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.extension-stat-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-secondary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.extension-stat-item.running {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.extension-stat-item.running div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.extension-stat-icon {
  color: #0a66c2;
  display: flex;
  align-items: center;
}

.extension-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.extension-stat-label {
  font-size: 11px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.running-text {
  font-size: 13px;
  font-weight: 600;
  color: #0a66c2;
}

/* Progress Bar */
.extension-card-progress {
  margin-bottom: 24px;
}

.extension-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.extension-progress-pct {
  font-weight: 700;
  color: var(--primary);
}

.extension-progress-bar {
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.extension-progress-fill {
  height: 100%;
  width: 78%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Activity Feed */
.extension-card-activity {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: 12px;
  font-size: 13px;
  transition: all 0.2s;
}

.activity-item.success svg {
  color: #10b981;
  flex-shrink: 0;
}

.activity-item span:first-of-type {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.activity-time {
  font-size: 11px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

/* (old styles removed) */

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: 40px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.trust-container p {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-tertiary);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.trust-logo:hover {
  opacity: 1;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-badge.premium-badge {
  background: var(--gold-gradient);
  color: white;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 24px;
  background: var(--bg-primary);
}

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

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: var(--accent-purple);
}

.feature-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--accent-green);
}

.feature-icon.orange {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--primary);
}

.feature-icon.pink {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: var(--accent-pink);
}

.feature-icon.cyan {
  background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* ============================================
   PREMIUM SECTION
   ============================================ */
.premium-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eeff 50%, #dce4ff 100%);
}

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

.premium-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.premium-card.featured {
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

.premium-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.premium-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gold-gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.premium-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
  color: var(--gold);
}

.premium-icon.purple {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: var(--accent-purple);
}

.premium-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: var(--accent-green);
}

.premium-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 12px;
}

.premium-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.6;
}

.premium-features-list {
  list-style: none;
}

.premium-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}

.premium-features-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.pricing-toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, font-weight 0.2s;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.pricing-switch input {
  display: none;
}

.pricing-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.3s;
}

.pricing-slider:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.pricing-switch input:checked + .pricing-slider {
  background: var(--primary);
}

.pricing-switch input:checked + .pricing-slider:before {
  transform: translateX(24px);
}

.pricing-save-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.pricing-billed {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  text-align: center;
  display: none;
}

.pricing-billed.visible {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card .btn-block {
  margin-top: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--primary-gradient);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.pricing-price .price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.included {
  color: var(--text-primary);
}

.pricing-features li.included svg {
  color: var(--accent-green);
}

.pricing-features li.excluded {
  color: var(--text-tertiary);
}

.pricing-features li.excluded svg {
  color: var(--text-tertiary);
}

.pricing-features li.highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  margin: 0 -40px;
  padding: 12px 40px;
  border-radius: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 100px 24px;
  background: var(--bg-primary);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 280px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

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

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

.step-connector {
  color: var(--border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 24px;
  background: var(--bg-secondary);
}

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

.testimonial-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
}

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

.author-info strong {
  font-size: 14px;
  color: var(--text-primary);
}

.author-info span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 24px;
  background: var(--primary-gradient);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 24px 32px;
  background: var(--bg-dark);
  color: var(--text-white);
}

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

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bg-dark-secondary);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: white;
  margin-bottom: 16px;
}

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

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-tertiary);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-tertiary);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: white;
}

.footer-legal {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.footer-legal a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: white;
}

.footer-legal span {
  color: var(--text-tertiary);
  opacity: 0.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .premium-card.featured {
    transform: none;
  }

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section-header h2 {
    font-size: 32px;
  }

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

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

  .pricing-card.featured {
    transform: none;
  }

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

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

  .waitlist-input-group {
    flex-direction: column;
  }

  .waitlist-btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .demo-video-container {
    flex-direction: column;
  }

  .demo-features {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.demo-video-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.demo-video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-dark);
  aspect-ratio: 16/9;
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.demo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-placeholder:hover {
  background: linear-gradient(135deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
}

.demo-placeholder:hover .play-button {
  transform: scale(1.1);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(10, 102, 194, 0.4);
  transition: transform 0.3s ease;
}

.play-button svg {
  color: white;
  width: 32px;
  height: 32px;
}

.demo-placeholder p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.demo-placeholder span {
  font-size: 14px;
  color: var(--text-tertiary);
}

.demo-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.demo-feature svg {
  color: var(--accent-green);
}

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

/* Blog Hero (listing page) */
.blog-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  text-align: center;
}

.blog-hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

/* Blog Card */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #ddd6fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.5;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-tertiary);
}

.blog-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Layout */
.article-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-header {
  padding: 140px 24px 40px;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.article-header .article-container {
  padding: 0;
  max-width: 740px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

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

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-breadcrumb span {
  color: var(--text-tertiary);
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.article-meta time {
  font-weight: 500;
}

.article-meta .reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Article Content */
.article-content {
  padding: 48px 24px 60px;
}

.article-content .article-container {
  padding: 0;
  max-width: 740px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  margin-bottom: 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--primary-dark);
}

/* Article CTA */
.article-cta {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin: 48px 0;
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  margin-top: 0;
}

.article-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .btn {
  display: inline-flex;
}

/* Related Searches (cross-links between job pages) */
.related-searches {
  padding: 60px 24px 40px;
  background: var(--bg-primary);
}
.related-searches .container {
  max-width: 900px;
  margin: 0 auto;
}
.related-searches h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-primary);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: var(--primary);
}
.related-icon {
  font-size: 32px;
  line-height: 1;
}
.related-title {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .related-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Related Articles */
.related-articles {
  padding: 60px 24px 100px;
  background: var(--bg-secondary);
}

.related-articles h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog Responsive */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .article-cta {
    padding: 32px 24px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========= Language Switcher ========= */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle:hover {
  background: rgba(0,0,0,0.05);
}

.lang-flag {
  width: 28px;
  height: 21px;
  object-fit: cover;
  border-radius: 3px;
}

.lang-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1000;
  min-width: 150px;
  padding: 4px;
  animation: langFadeIn 0.15s ease;
}

.lang-dropdown.open {
  display: block;
}

@keyframes langFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.1);
}

.lang-option.active {
  background: rgba(10, 102, 194, 0.2);
  color: #fff;
  font-weight: 600;
}

.lang-option img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* Lang switcher in navbar (light background) */
.nav-actions .lang-toggle:hover {
  background: var(--bg-secondary);
}
.nav-actions .lang-dropdown {
  bottom: auto;
  top: calc(100% + 4px);
  background: #fff;
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  animation: langFadeInDown 0.15s ease;
}
.nav-actions .lang-option {
  color: var(--text-secondary);
}
.nav-actions .lang-option:hover {
  background: var(--bg-secondary);
}
.nav-actions .lang-option.active {
  background: rgba(10,102,194,0.1);
  color: var(--primary);
}

@keyframes langFadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
