/* ============================================
   DIPPI — Landing Page Styles
   Good Vibes. Easy Rides.
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Purple palette */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6d28d9;
  --purple-900: #5b21b6;
  --purple-950: #3b0764;

  /* Orange accent palette */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Semantic */
  --bg-primary: var(--white);
  --bg-secondary: var(--purple-50);
  --text-primary: var(--purple-950);
  --text-secondary: #4a3670;
  --text-muted: var(--gray-500);
  --accent: var(--orange-500);
  --accent-hover: var(--orange-600);

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 7rem);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 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: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: var(--section-padding) 0;
}

.text-accent {
  color: var(--accent);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--purple-700);
  border: 2px solid var(--purple-300);
}

.btn-outline:hover {
  background: var(--purple-700);
  color: var(--white);
  border-color: var(--purple-700);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(59, 7, 100, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.65rem 0;
  box-shadow: 0 4px 30px rgba(59, 7, 100, 0.2);
}

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

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 22px;
  height: auto;
  object-fit: contain;
  margin-right: -2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-300);
  background: rgba(249, 115, 22, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

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

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-900) 25%, var(--purple-800) 50%, #8b5fc7 75%, #b8a0d6 100%);
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-shapes .shape {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.04);
  animation: float-shape 20s ease-in-out infinite;
}

.shape-1 { top: 10%; left: 5%; font-size: 3rem; animation-delay: 0s; }
.shape-2 { top: 60%; left: 15%; font-size: 1.5rem; animation-delay: -4s; }
.shape-3 { top: 20%; right: 30%; font-size: 2.5rem; animation-delay: -8s; }
.shape-4 { bottom: 20%; left: 40%; font-size: 2rem; animation-delay: -12s; }
.shape-5 { top: 40%; right: 10%; font-size: 1.8rem; animation-delay: -16s; }

@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
  25% { transform: translateY(-20px) rotate(10deg); opacity: 0.07; }
  50% { transform: translateY(-10px) rotate(-5deg); opacity: 0.04; }
  75% { transform: translateY(-30px) rotate(5deg); opacity: 0.06; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 2rem 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-300);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-form .form-group {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
}

.hero-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s var(--ease-out);
}

.hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-form input:focus {
  border-color: var(--orange-400);
  background: rgba(255, 255, 255, 0.12);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.75rem;
  padding-left: 0.25rem;
}

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

.hero-scene {
  width: clamp(360px, 48vw, 620px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(59, 7, 100, 0.25));
}

/* --- Scene Animations --- */

/* Car gentle bounce */
.scene-car {
  animation: car-idle 3s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes car-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Person 1 (excited, far left) - bouncing with arms up */
.scene-person-1 {
  animation: person-bounce 2s ease-in-out infinite;
  transform-origin: center bottom;
}

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

/* Person 2 (middle, walking) - walking bob */
.scene-person-2 {
  animation: person-walk 2.5s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes person-walk {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-4px) translateX(2px); }
  50% { transform: translateY(0) translateX(4px); }
  75% { transform: translateY(-4px) translateX(2px); }
}

/* Person 3 (near car) - subtle lean toward car */
.scene-person-3 {
  animation: person-lean 3s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes person-lean {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* Music notes floating */
.note {
  animation: note-float 4s ease-in-out infinite;
}

.note-1 { animation-delay: 0s; }
.note-2 { animation-delay: -1.3s; }
.note-3 { animation-delay: -2.6s; }

@keyframes note-float {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  20% { opacity: 0.5; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-40px) translateX(10px) rotate(15deg); opacity: 0; }
}

/* Sparkle pulse */
.sparkle {
  animation: sparkle-pulse 3s ease-in-out infinite;
  transform-origin: center;
}

.sparkle-1 { animation-delay: 0s; }
.sparkle-2 { animation-delay: -1s; }
.sparkle-3 { animation-delay: -2s; }

@keyframes sparkle-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* Scroll hint */
.hero-scroll-hint {
  text-align: center;
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.scroll-arrow {
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  margin-top: 0.25rem;
}

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

/* ---------- STATS BAR ---------- */
.stats {
  background: var(--purple-950);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-highlight {
  color: var(--orange-400);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 700px) {
  .stats-inner { gap: 1.5rem; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 1 40%; }
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- PROBLEM SECTION ---------- */
.problem {
  background: var(--bg-secondary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  border: 1px solid var(--purple-100);
  transition: all 0.4s var(--ease-out);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(91, 33, 182, 0.08);
  border-color: var(--purple-200);
}

.problem-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-100);
  border-radius: 16px;
  margin-bottom: 1.25rem;
  color: var(--purple-700);
}

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

.problem-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.problem-card strong {
  color: var(--purple-800);
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ---------- SOLUTION / STEPS ---------- */
.solution {
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  position: relative;
  transition: all 0.4s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(91, 33, 182, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--purple-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  color: var(--purple-600);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-card strong {
  color: var(--purple-800);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 6rem;
  color: var(--purple-300);
  flex-shrink: 0;
}

.step-connector svg {
  width: 50px;
  height: 16px;
}

@media (max-width: 900px) {
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { padding-top: 0; transform: rotate(90deg); }
}

/* ---------- FEATURES ---------- */
.features {
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--purple-100);
  transition: all 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91, 33, 182, 0.08);
  border-color: var(--orange-200);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange-100), var(--orange-50));
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid var(--orange-200);
}

.feature-icon {
  font-size: 1.3rem;
  color: var(--orange-600);
  font-weight: 700;
  line-height: 1;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

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

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ---------- COMPARISON ---------- */
.comparison {
  background: var(--white);
  padding-top: 0;
}

.comparison-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--purple-100);
  box-shadow: 0 8px 30px rgba(91, 33, 182, 0.06);
}

.comparison-col {
  padding: 2.5rem;
}

.comparison-them {
  background: var(--gray-50);
}

.comparison-us {
  background: var(--purple-50);
}

.comparison-col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.comparison-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.6rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.comparison-col li:last-child {
  border-bottom: none;
}

.x-mark {
  color: #ef4444;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-mark {
  color: #22c55e;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.comparison-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--gray-50), var(--purple-100), var(--purple-50));
  padding: 0 1rem;
}

.comparison-divider span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--purple-400);
  background: var(--white);
  border: 2px solid var(--purple-200);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .comparison-card { grid-template-columns: 1fr; }
  .comparison-divider {
    padding: 1rem 0;
    background: linear-gradient(to right, var(--gray-50), var(--purple-100), var(--purple-50));
  }
}

/* ---------- PARTNERS ---------- */
.partners {
  background: var(--white);
}

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

.partner-card {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s var(--ease-out);
}

.partner-card:hover {
  box-shadow: 0 20px 50px rgba(91, 33, 182, 0.08);
  transform: translateY(-4px);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.partner-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-700);
  border-radius: 14px;
  color: var(--white);
  flex-shrink: 0;
}

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

.partner-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
}

.partner-benefits {
  margin-bottom: 2rem;
}

.partner-benefits li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.partner-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--orange-400);
  border-radius: 50%;
}

.partner-benefits strong {
  color: var(--purple-800);
}

@media (max-width: 768px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA / COMING SOON ---------- */
.cta {
  background: linear-gradient(135deg, var(--purple-950) 0%, var(--purple-900) 40%, var(--purple-800) 100%);
  position: relative;
  overflow: hidden;
}

.cta .cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta .cta-bg-shapes .shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.03);
  font-size: 3rem;
}

.cta .shape-1 { top: 10%; right: 10%; animation: float-shape 15s ease-in-out infinite; }
.cta .shape-2 { bottom: 15%; left: 5%; font-size: 2rem; animation: float-shape 18s ease-in-out infinite reverse; }
.cta .shape-3 { top: 40%; left: 50%; font-size: 2.5rem; animation: float-shape 22s ease-in-out infinite; }

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

/* App icon (iOS style) */
.app-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26.5%; /* iOS app icon radius */
  object-fit: cover;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
}

.app-icon-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.cta h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta p strong {
  color: var(--orange-300);
}

.cta-form .form-group {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s var(--ease-out);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-form input:focus {
  border-color: var(--orange-400);
  background: rgba(255, 255, 255, 0.12);
}

.cta-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.cta-link:hover {
  color: var(--orange-300);
}

.cta-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--purple-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo-icon {
  width: 15px;
  height: auto;
  object-fit: contain;
  margin-right: -1px;
}

.footer-left p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children reveals */
.problem-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.problem-grid .reveal:nth-child(3) { transition-delay: 0.24s; }

.steps-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.steps-grid .reveal:nth-child(5) { transition-delay: 0.4s; }

.features-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- FORM SUCCESS STATE ---------- */
.form-success {
  text-align: center;
  color: var(--orange-300);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 0;
  animation: fadeInUp 0.5s var(--ease-out);
}

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

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-form .form-group {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  .mascot-img {
    width: clamp(180px, 40vw, 260px);
  }

  .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 500px) {
  .hero-form .form-group {
    flex-direction: column;
  }

  .hero-form .btn {
    width: 100%;
  }

  .cta-form .form-group {
    flex-direction: column;
  }

  .cta-form .btn {
    width: 100%;
  }
}

/* ---------- SMOOTH SCROLL TARGET OFFSET ---------- */
#notify {
  scroll-margin-top: 80px;
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--purple-300);
  color: var(--purple-950);
}
