/* AnywhereBI - Duolingo-Inspired Premium Design */
/* A masterpiece of addictive simplicity */

:root {
  /* Brand Colors - AnywhereBI Palette */
  --primary: #0056E0;
  --primary-hover: #0045B8;
  --primary-light: #E5F0FF;
  --primary-dark: #003BA3;

  /* Accent Colors - Vibrant & Playful */
  --blue: #0056E0;
  --purple: #8E44AD;
  --teal: #5AC8FA;
  --green: #34C759;
  --yellow: #FFD60A;
  --orange: #FF9500;
  --red: #FF3B30;
  --pink: #FF2D55;
  --indigo: #5856D6;

  /* Light Tints for Backgrounds */
  --blue-light: #E5F0FF;
  --purple-light: #F3E5F5;
  --teal-light: #E0F7FA;
  --green-light: #E8F5E9;
  --yellow-light: #FFFDE7;
  --orange-light: #FFF3E0;
  --pink-light: #FCE4EC;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Shadows - Multi-layer for depth */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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-glow: 0 0 40px rgba(0, 86, 224, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.6, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: white;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-900);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.nav.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  z-index: 1001;
  transition: transform 0.2s var(--ease-bounce);
}

.logo:active {
  transform: scale(0.96);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #2970FF 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 86, 224, 0.3);
  transition: all 0.3s var(--ease-bounce);
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: transform 0.2s var(--ease-out);
}

.mobile-menu-toggle:active {
  transform: scale(0.9);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 3px;
  transition: all 0.3s var(--ease-out);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

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

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  list-style: none;
  padding: 5rem 1.5rem 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.4s var(--ease-out);
}

.nav-links.active {
  right: 0;
}

.nav-links li {
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s var(--ease-out);
}

.nav-links.active li {
  opacity: 1;
  transform: translateX(0);
}

.nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
.nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
.nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
.nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
.nav-links.active li:nth-child(5) { transition-delay: 0.3s; }

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  transition: all 0.2s var(--ease-out);
}

.nav-link:active {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #2970FF 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 14px rgba(0, 86, 224, 0.3);
  transition: all 0.2s var(--ease-bounce);
}

.nav-cta:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 86, 224, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(180deg, var(--blue-light) 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 86, 224, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 86, 224, 0.15);
  animation: fadeInDown 0.6s var(--ease-out);
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-icon svg {
  width: 12px;
  height: 12px;
  color: white;
}

.hero-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s 0.1s var(--ease-out) backwards;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s 0.2s var(--ease-out) backwards;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeInUp 0.6s 0.3s var(--ease-out) backwards;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s var(--ease-bounce);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2970FF 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 86, 224, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 86, 224, 0.3);
}

.btn-primary svg {
  transition: transform 0.2s var(--ease-out);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
  transform: translateY(2px) scale(0.98);
  background: var(--gray-50);
  border-color: var(--gray-300);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--gray-900) 0%, #0D1117 100%);
  color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-dark p {
  color: var(--gray-400);
}

.section-gradient {
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  border: 2px solid var(--gray-100);
  transition: all 0.3s var(--ease-out);
  animation: fadeInUp 0.6s var(--ease-out) backwards;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:active {
  transform: translateY(-4px) scale(1.01);
  border-color: currentColor;
}

.feature-card:active::before {
  transform: scaleX(1);
}

/* Color variants */
.feature-card[data-color="blue"] { color: var(--blue); }
.feature-card[data-color="purple"] { color: var(--purple); }
.feature-card[data-color="teal"] { color: var(--teal); }
.feature-card[data-color="green"] { color: var(--green); }
.feature-card[data-color="orange"] { color: var(--orange); }
.feature-card[data-color="pink"] { color: var(--pink); }

.feature-card[data-color="blue"]:active { box-shadow: 0 12px 28px rgba(0, 86, 224, 0.2); }
.feature-card[data-color="purple"]:active { box-shadow: 0 12px 28px rgba(142, 68, 173, 0.2); }
.feature-card[data-color="teal"]:active { box-shadow: 0 12px 28px rgba(90, 200, 250, 0.2); }
.feature-card[data-color="green"]:active { box-shadow: 0 12px 28px rgba(52, 199, 89, 0.2); }
.feature-card[data-color="orange"]:active { box-shadow: 0 12px 28px rgba(255, 149, 0, 0.2); }
.feature-card[data-color="pink"]:active { box-shadow: 0 12px 28px rgba(255, 45, 85, 0.2); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.4s var(--ease-bounce);
}

.feature-card:active .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card[data-color="blue"] .feature-icon {
  background: linear-gradient(135deg, var(--blue-light) 0%, #CCE0FF 100%);
  box-shadow: 0 4px 12px rgba(0, 86, 224, 0.15);
}

.feature-card[data-color="purple"] .feature-icon {
  background: linear-gradient(135deg, var(--purple-light) 0%, #E1BEE7 100%);
  box-shadow: 0 4px 12px rgba(142, 68, 173, 0.15);
}

.feature-card[data-color="teal"] .feature-icon {
  background: linear-gradient(135deg, var(--teal-light) 0%, #B2EBF2 100%);
  box-shadow: 0 4px 12px rgba(90, 200, 250, 0.15);
}

.feature-card[data-color="green"] .feature-icon {
  background: linear-gradient(135deg, var(--green-light) 0%, #C8E6C9 100%);
  box-shadow: 0 4px 12px rgba(52, 199, 89, 0.15);
}

.feature-card[data-color="orange"] .feature-icon {
  background: linear-gradient(135deg, var(--orange-light) 0%, #FFE0B2 100%);
  box-shadow: 0 4px 12px rgba(255, 149, 0, 0.15);
}

.feature-card[data-color="pink"] .feature-icon {
  background: linear-gradient(135deg, var(--pink-light) 0%, #F8BBD0 100%);
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.15);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Animation delays */
.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }

/* ===== CHART GRID ===== */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.chart-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  animation: fadeInUp 0.6s var(--ease-out) backwards;
}

.chart-card:active {
  transform: scale(0.98);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.chart-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.875rem;
  transition: all 0.3s var(--ease-bounce);
}

.chart-card:active .chart-icon {
  transform: scale(1.1) rotate(-5deg);
}

.chart-icon svg {
  width: 26px;
  height: 26px;
  color: white;
}

.blue-gradient { background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%); }
.green-gradient { background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%); }
.purple-gradient { background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%); }
.teal-gradient { background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%); }
.orange-gradient { background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 100%); }
.pink-gradient { background: linear-gradient(135deg, var(--pink) 0%, var(--red) 100%); }

.chart-card h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.chart-card p {
  font-size: 0.8125rem;
}

/* ===== STEPS GRID ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
  animation: fadeInUp 0.6s var(--ease-out) backwards;
  position: relative;
}

.step-card:active {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 86, 224, 0.12);
}

.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #2970FF 100%);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 86, 224, 0.25);
  transition: all 0.3s var(--ease-bounce);
}

.step-card:active .step-number {
  transform: scale(1.1) rotate(-5deg);
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
}

.step-card:nth-child(1) { animation-delay: 0.05s; }
.step-card:nth-child(2) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.25s; }

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 3rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.social-proof-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.proof-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-stat {
  text-align: center;
}

.proof-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.proof-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== CTA SECTION ===== */
.section-cta {
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 0.75rem;
}

.cta-content > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--gray-900);
  color: white;
  padding: 0.875rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s var(--ease-bounce);
  box-shadow: var(--shadow-md);
}

.download-btn:active {
  transform: scale(0.98);
  background: var(--gray-800);
}

.download-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}

.download-btn:active svg {
  transform: scale(1.1);
}

.download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.download-label {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
}

.version-text {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: #E5E7EB;
  padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-bounce);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(0.95);
}

.social-link svg {
  width: 18px;
  height: 18px;
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease-out);
  display: inline-block;
}

.footer-links a:active {
  color: white;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s var(--ease-out);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .chart-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }

  .mobile-menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-links li {
    margin-bottom: 0;
    opacity: 1;
    transform: none;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.625rem 1.25rem;
  }

  .hero {
    padding: 9rem 0 5rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .section {
    padding: 5rem 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }

  /* Hover states for desktop */
  .feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: currentColor;
  }

  .feature-card:hover::before {
    transform: scaleX(1);
  }

  .feature-card[data-color="blue"]:hover { box-shadow: 0 16px 32px rgba(0, 86, 224, 0.2); }
  .feature-card[data-color="purple"]:hover { box-shadow: 0 16px 32px rgba(142, 68, 173, 0.2); }
  .feature-card[data-color="teal"]:hover { box-shadow: 0 16px 32px rgba(90, 200, 250, 0.2); }
  .feature-card[data-color="green"]:hover { box-shadow: 0 16px 32px rgba(52, 199, 89, 0.2); }
  .feature-card[data-color="orange"]:hover { box-shadow: 0 16px 32px rgba(255, 149, 0, 0.2); }
  .feature-card[data-color="pink"]:hover { box-shadow: 0 16px 32px rgba(255, 45, 85, 0.2); }

  .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .chart-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .chart-card:hover .chart-icon {
    transform: scale(1.1) rotate(-5deg);
  }

  .step-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(0, 86, 224, 0.12);
  }

  .step-card:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
  }

  .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
  }

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

  .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
  }

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

  .download-btn:hover svg {
    transform: scale(1.1);
  }

  .nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
  }

  .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 224, 0.4);
  }

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

  .logo:hover {
    transform: scale(1.02);
  }
}

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

/* ===== PRIVACY/TERMS CONTENT ===== */
.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.privacy-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.privacy-content strong {
  color: var(--gray-900);
  font-weight: 600;
}

.privacy-content a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.privacy-content a:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .privacy-content h2 {
    font-size: 1.75rem;
  }
}

/* ===== FAQ GRID ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s var(--ease-out);
}

.faq-item:active {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 86, 224, 0.1);
}

.faq-item h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(0, 86, 224, 0.1);
    transform: translateY(-4px);
  }
}

/* ===== CONTACT CARDS ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: white;
  border: 2px solid var(--gray-100);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.contact-card:active {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 86, 224, 0.12);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #CCE0FF 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 86, 224, 0.15);
  transition: all 0.3s var(--ease-bounce);
}

.contact-card:active .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: opacity 0.2s;
}

.contact-card a:active {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 86, 224, 0.12);
  }

  .contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
  }
}
