/* ================================================================
   StartMyDriving — Marketing Website
   Design system matching the mobile app theme
   ================================================================ */

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

:root {
  /* Brand */
  --brand-50: #EFF6FF;
  --brand-100: #DBEAFE;
  --brand-200: #BFDBFE;
  --brand-300: #93C5FD;
  --brand-400: #60A5FA;
  --brand-500: #3B82F6;
  --brand-600: #2563EB;
  --brand-700: #1D4ED8;
  --brand-800: #1E40AF;
  --brand-900: #1E3A8A;
  --brand-950: #172554;

  /* Neutral */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --slate-950: #020617;

  /* Semantic */
  --success-500: #22C55E;
  --success-600: #16A34A;
  --warning-500: #F59E0B;
  --error-500: #EF4444;

  /* Dark background */
  --bg-dark: #0B1120;
  --bg-surface: #111827;
  --bg-elevated: #1A2332;

  /* Sizing */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: #E2E8F0;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  color: #F8FAFC;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-400);
  margin-bottom: 12px;
}
.section-label--green { color: var(--success-500); }

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

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--slate-400);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text--green {
  background: linear-gradient(135deg, #4ADE80, #16A34A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

.btn--primary {
  background: var(--brand-600);
  color: #fff;
}
.btn--primary:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn--green {
  background: var(--success-600);
  color: #fff;
}
.btn--green:hover {
  background: var(--success-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--slate-300);
  border: 1.5px solid var(--slate-700);
}
.btn--outline:hover {
  border-color: var(--slate-500);
  color: #fff;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.nav--scrolled {
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav__logo-text {
  font-size: 18px;
  color: #F8FAFC;
}
.nav__logo-text .light { font-weight: 300; }
.nav__logo-text .bold { font-weight: 700; }

.nav__links {
  display: flex;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-400);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}
.nav__link:hover { color: #fff; }
.nav__link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-300);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.12), transparent);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--brand-400);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
}

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

.hero__stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #F8FAFC;
}

.hero__stat-label {
  display: block;
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 2px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-800);
}

/* Phone Mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone-mockup {
  width: 280px;
  background: var(--bg-surface);
  border-radius: 36px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.phone-mockup__screen {
  background: var(--bg-dark);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9 / 17;
  padding: 24px 16px;
}

.phone-screen-content { display: flex; flex-direction: column; gap: 20px; }

.psc__header { }
.psc__greeting { font-size: 13px; color: var(--slate-500); }
.psc__name { font-size: 22px; font-weight: 700; color: #F8FAFC; }

.psc__card {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-radius: var(--radius-md);
  padding: 16px;
}
.psc__card-label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.psc__card-title { font-size: 16px; font-weight: 700; color: #fff; margin-top: 4px; }
.psc__card-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.psc__card-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.psc__progress {}
.psc__progress-label { font-size: 13px; color: var(--slate-400); margin-bottom: 8px; }
.psc__progress-bar {
  height: 6px;
  background: var(--slate-800);
  border-radius: 3px;
  overflow: hidden;
}
.psc__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  border-radius: 3px;
}
.psc__progress-value { font-size: 13px; color: var(--brand-400); margin-top: 4px; font-weight: 600; }

.psc__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.psc__action {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--slate-300);
}

/* --- Trust --- */
.trust {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust__text {
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
  letter-spacing: 0.5px;
}

/* --- Steps --- */
.steps {
  padding: 120px 0;
}

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

.steps__card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
}
.steps__card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

.steps__number {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 32px;
  height: 32px;
  background: var(--brand-600);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-400);
  margin-bottom: 20px;
}

.steps__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.steps__desc {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* --- For Who --- */
.for-who {
  padding: 120px 0;
}

.for-who__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.for-who__card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  transition: all 0.3s ease;
  display: block;
}
.for-who__card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
}
.for-who__card--instructor:hover {
  border-color: rgba(34, 197, 94, 0.2);
}

.for-who__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-400);
  margin-bottom: 24px;
}
.for-who__icon--green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-500);
}

.for-who__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.for-who__desc {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

.for-who__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.for-who__list li {
  font-size: 14px;
  color: var(--slate-300);
  padding-left: 20px;
  position: relative;
}
.for-who__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}
.for-who__card--instructor .for-who__list li::before {
  background: var(--success-500);
}

.for-who__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-400);
  transition: color 0.2s;
}
.for-who__card--instructor .for-who__link { color: var(--success-500); }
.for-who__card:hover .for-who__link { color: var(--brand-300); }
.for-who__card--instructor:hover .for-who__link { color: #4ADE80; }

/* --- Features Grid --- */
.features {
  padding: 120px 0;
}

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

.features__card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}
.features__card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.features__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.features__icon--blue { background: rgba(37, 99, 235, 0.1); color: var(--brand-400); }
.features__icon--green { background: rgba(34, 197, 94, 0.1); color: var(--success-500); }
.features__icon--purple { background: rgba(139, 92, 246, 0.1); color: #A78BFA; }
.features__icon--orange { background: rgba(245, 158, 11, 0.1); color: var(--warning-500); }

.features__card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.features__card p {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.6;
}

/* --- Page Hero (sub-pages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-hero--learner::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.15), transparent);
}
.page-hero--instructor::before {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(34, 197, 94, 0.12), transparent);
}

.page-hero__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-hero__subtitle {
  font-size: 18px;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* --- Feature Rows (sub-pages) --- */
.feature-section {
  padding: 100px 0;
}
.feature-section--alt {
  background: var(--bg-surface);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row--reverse {
  direction: rtl;
}
.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-row__desc {
  font-size: 16px;
  color: var(--slate-400);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-row__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-300);
  line-height: 1.5;
}
.feature-row__list li svg { flex-shrink: 0; margin-top: 2px; }

/* --- Feature Demo Cards --- */
.feature-row__visual {
  display: flex;
  justify-content: center;
}

/* Instructor search cards */
.feature-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.feature-demo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.3s ease;
}
.feature-section--alt .feature-demo-card {
  background: var(--bg-elevated);
}
.feature-demo-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(4px);
}

.fdc__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.fdc__avatar--green { background: linear-gradient(135deg, #16A34A, #4ADE80); }
.fdc__avatar--purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }

.fdc__info { flex: 1; }
.fdc__name { font-size: 15px; font-weight: 600; color: #F8FAFC; }
.fdc__detail { font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.fdc__meta { display: flex; gap: 12px; margin-top: 6px; }
.fdc__rating { font-size: 13px; color: #FBBF24; font-weight: 600; }
.fdc__price { font-size: 13px; color: var(--success-500); font-weight: 600; }
.fdc__distance { font-size: 13px; color: var(--slate-500); }

/* Calendar Demo */
.feature-calendar-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 380px;
}
.feature-section--alt .feature-calendar-demo {
  background: var(--bg-elevated);
}

.fcd__header {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 16px;
  text-align: center;
}

.fcd__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.fcd__day { font-size: 11px; color: var(--slate-500); font-weight: 600; text-transform: uppercase; padding: 4px; }

.fcd__dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 2px;
  margin-bottom: 16px;
}
.fcd__dates span {
  padding: 8px 4px;
  font-size: 13px;
  color: var(--slate-400);
  border-radius: var(--radius-sm);
}
.fcd__today {
  background: var(--brand-600) !important;
  color: #fff !important;
  font-weight: 700;
}
.fcd__booked {
  background: rgba(37, 99, 235, 0.15) !important;
  color: var(--brand-400) !important;
}
.fcd__multi {
  background: rgba(34, 197, 94, 0.12) !important;
  color: var(--success-500) !important;
}

.fcd__lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.fcd__lesson-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  flex-shrink: 0;
}
.fcd__lesson-dot--green { background: var(--success-500); }
.fcd__lesson-title { font-size: 13px; font-weight: 600; color: #F8FAFC; }
.fcd__lesson-sub { font-size: 12px; color: var(--slate-500); }
.fcd__lesson-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.15);
  color: var(--success-500);
}
.fcd__lesson-badge--green { background: rgba(34, 197, 94, 0.15); color: var(--success-500); }

/* Progress Demo */
.feature-progress-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.fpd__ring {
  position: relative;
  width: 120px;
  height: 120px;
}
.fpd__ring svg { width: 100%; height: 100%; }
.fpd__ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 800;
  color: #F8FAFC;
}

.fpd__skills { width: 100%; display: flex; flex-direction: column; gap: 16px; }
.fpd__skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.fpd__skill-header span:first-child { color: var(--slate-300); font-weight: 500; }
.fpd__skill-header span:last-child { color: var(--slate-500); }
.fpd__skill-bar {
  height: 6px;
  background: var(--slate-800);
  border-radius: 3px;
  overflow: hidden;
}
.fpd__skill-fill {
  height: 100%;
  background: var(--brand-500);
  border-radius: 3px;
  transition: width 1s ease;
}
.fpd__skill-fill--yellow { background: #FBBF24; }
.fpd__skill-fill--orange { background: #F97316; }
.fpd__skill-fill--red { background: #EF4444; }

/* Payment Demo */
.feature-payment-demo {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fpm__card {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fpm__card::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.fpm__card-chip {
  width: 36px;
  height: 26px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  margin-bottom: 24px;
}
.fpm__card-number { font-size: 16px; font-weight: 500; letter-spacing: 2px; margin-bottom: 20px; }
.fpm__card-bottom { display: flex; justify-content: space-between; }
.fpm__card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.6; }
.fpm__card-value { font-size: 14px; font-weight: 500; margin-top: 2px; }

.fpm__receipt {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-section--alt .fpm__receipt { background: var(--bg-elevated); }
.fpm__receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--slate-400);
}
.fpm__receipt-amount { color: #F8FAFC; font-weight: 600; }
.fpm__receipt-row--pending { opacity: 0.5; }
.fpm__receipt-status {
  font-size: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning-500);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Chat Demo */
.feature-chat-demo {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fchat__msg { display: flex; flex-direction: column; }
.fchat__msg--sent { align-items: flex-end; }
.fchat__msg--system { align-items: center; }

.fchat__bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.5;
}
.fchat__msg--received .fchat__bubble {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--slate-300);
  border-bottom-left-radius: 4px;
}
.fchat__msg--sent .fchat__bubble {
  background: var(--brand-600);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.fchat__msg--system .fchat__bubble {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--brand-400);
  font-size: 13px;
  text-align: center;
  max-width: 90%;
}
.fchat__time {
  font-size: 11px;
  color: var(--slate-600);
  margin-top: 4px;
  padding: 0 4px;
}

/* Dashboard Demo */
.feature-dashboard-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 400px;
}

.fdd__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.fdd__stat {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}
.fdd__stat-value { font-size: 20px; font-weight: 800; color: #F8FAFC; }
.fdd__stat-label { font-size: 11px; color: var(--slate-500); margin-top: 4px; }

.fdd__schedule-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-300);
  margin-bottom: 12px;
}

.fdd__lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.fdd__lesson:last-child { border-bottom: none; }
.fdd__lesson-time { font-size: 14px; font-weight: 700; color: var(--brand-400); min-width: 46px; }
.fdd__lesson-info { flex: 1; }
.fdd__lesson-name { font-size: 14px; font-weight: 600; color: #F8FAFC; }
.fdd__lesson-topic { font-size: 12px; color: var(--slate-500); }
.fdd__lesson-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.fdd__lesson-badge--confirmed { background: rgba(34, 197, 94, 0.12); color: var(--success-500); }
.fdd__lesson-badge--pending { background: rgba(245, 158, 11, 0.12); color: var(--warning-500); }

/* Students Demo */
.feature-students-demo {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 8px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fsd__student {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.fsd__student:hover { background: rgba(255, 255, 255, 0.03); }

.fsd__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #FB923C);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.fsd__avatar--blue { background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); }
.fsd__avatar--purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.fsd__avatar--orange { background: linear-gradient(135deg, #EA580C, #F97316); }

.fsd__info { flex: 1; }
.fsd__name { font-size: 14px; font-weight: 600; color: #F8FAFC; }
.fsd__meta { font-size: 12px; color: var(--slate-500); margin-top: 2px; }

.fsd__status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.fsd__status--active {
  width: 8px;
  height: 8px;
  padding: 0;
  background: var(--success-500);
  border-radius: 50%;
}
.fsd__status--test {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand-400);
}
.fsd__status--new {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning-500);
}

/* Earnings Demo */
.feature-earnings-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 400px;
}

.fed__total { text-align: center; margin-bottom: 28px; }
.fed__total-label { font-size: 13px; color: var(--slate-500); }
.fed__total-value { font-size: 36px; font-weight: 800; color: #F8FAFC; margin: 4px 0; }
.fed__total-change { font-size: 13px; color: var(--success-500); font-weight: 500; }

.fed__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 24px;
  padding: 0 8px;
}
.fed__bar {
  flex: 1;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 4px 4px 0 0;
  position: relative;
  min-height: 8px;
  transition: background 0.3s;
}
.fed__bar--active { background: var(--brand-600); }
.fed__bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--slate-600);
}

.fed__payout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.fed__payout-label { font-size: 12px; color: var(--slate-500); }
.fed__payout-value { font-size: 18px; font-weight: 700; color: #F8FAFC; margin-top: 2px; }
.fed__payout-btn {
  background: var(--success-600);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* Notifications Demo */
.feature-notif-demo {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 8px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fnd__item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.fnd__item:hover { background: rgba(255, 255, 255, 0.02); }
.fnd__item--unread {
  background: rgba(37, 99, 235, 0.04);
  border-left: 3px solid var(--brand-500);
}

.fnd__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fnd__icon--blue { background: rgba(37, 99, 235, 0.12); color: var(--brand-400); }
.fnd__icon--green { background: rgba(34, 197, 94, 0.12); color: var(--success-500); }
.fnd__icon--orange { background: rgba(245, 158, 11, 0.12); color: var(--warning-500); }
.fnd__icon--yellow { background: rgba(251, 191, 36, 0.12); color: #FBBF24; }

.fnd__content { flex: 1; }
.fnd__title { font-size: 13px; font-weight: 600; color: #F8FAFC; }
.fnd__body { font-size: 13px; color: var(--slate-400); margin-top: 2px; line-height: 1.4; }
.fnd__time { font-size: 11px; color: var(--slate-600); margin-top: 4px; }

/* --- Why Join --- */
.why-join {
  padding: 100px 0;
  background: var(--bg-surface);
}

.why-join__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-join__card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.why-join__value {
  font-size: 36px;
  font-weight: 800;
  color: var(--success-500);
  margin-bottom: 8px;
}
.why-join__label {
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.5;
}

/* --- Download CTA --- */
.download {
  padding: 100px 0;
}

.download__inner {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  position: relative;
  overflow: hidden;
}
.download__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  pointer-events: none;
}

.download__inner--green {
  background: linear-gradient(135deg, #052e16, #14532d);
  border-color: rgba(34, 197, 94, 0.2);
}
.download__inner--green::before {
  background: rgba(34, 197, 94, 0.08);
}

.download__content { position: relative; }

.download__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #F8FAFC;
}

.download__subtitle {
  font-size: 17px;
  color: var(--slate-400);
  margin-bottom: 32px;
  max-width: 480px;
}

.download__buttons {
  display: flex;
  gap: 16px;
}

/* Official store badge images */
.store-badge-img {
  display: inline-block;
  transition: all 0.2s ease;
}
.store-badge-img:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.store-badge-img img {
  height: 52px;
  width: auto;
  display: block;
}
/* Google Play badge has built-in padding — compensate to match App Store height */
.store-badge-img--gplay {
  margin: -8px 0;
}
.store-badge-img--gplay img {
  height: 68px;
}

.hero__store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__store-badges--center {
  justify-content: center;
}

.download__visual { position: relative; }

.download__qr {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.download__qr-placeholder {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: var(--brand-50);
  border-radius: var(--radius-sm);
}
.download__qr-text {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 12px;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate-400);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color 0.2s;
}
.footer__col a:hover { color: #F8FAFC; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer__bottom p {
  font-size: 13px;
  color: var(--slate-600);
}

/* --- Coming Soon --- */
.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--brand-400);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.cs-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cs-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 32px auto 14px;
}

.cs-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-surface);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: #F8FAFC;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.cs-form input::placeholder { color: var(--slate-600); }
.cs-form input:focus { border-color: var(--brand-600); }

.cs-form button {
  padding: 14px 28px;
  background: var(--brand-600);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.cs-form button:hover {
  background: var(--brand-500);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
.cs-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cs-form-note {
  font-size: 13px;
  color: var(--slate-600);
  text-align: center;
}

.cs-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  color: #22C55E;
  font-size: 15px;
  font-weight: 500;
  max-width: 460px;
  margin: 0 auto;
}
.cs-success.visible { display: flex; }

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

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero__subtitle { margin: 0 auto 40px; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-row--reverse { direction: ltr; }
  .feature-row__content { text-align: center; }
  .feature-row__list { align-items: center; }

  .feature-row__visual {
    justify-content: center;
  }

  .download__inner {
    flex-direction: column;
    text-align: center;
    padding: 48px 32px;
  }
  .download__subtitle { margin: 0 auto 32px; }
  .download__buttons { justify-content: center; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }

  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 4px;
  }
  .nav__links.active .nav__link {
    padding: 12px 16px;
  }

  .hero { padding: 140px 0 80px; }
  .hero__title { font-size: 32px; }

  .steps__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .for-who__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-join__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }
  .hero__stat-divider {
    width: 40px;
    height: 1px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer__links { gap: 40px; }

  .store-badge-img img { height: 44px; }
  .store-badge-img--gplay img { height: 58px; }

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

  .btn--lg { padding: 14px 28px; font-size: 15px; }

  .feature-card-stack,
  .feature-calendar-demo,
  .feature-progress-demo,
  .feature-payment-demo,
  .feature-chat-demo,
  .feature-dashboard-demo,
  .feature-students-demo,
  .feature-earnings-demo,
  .feature-notif-demo {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 120px 0 60px; }
  .hero__cta { flex-direction: column; align-items: center; }
  .steps, .for-who, .features, .download { padding: 80px 0; }
  .feature-section { padding: 64px 0; }
  .why-join__grid { grid-template-columns: 1fr; }
  .for-who__card { padding: 32px 24px; }
  .fpm__card-number { font-size: 14px; }
  .cs-form { flex-direction: column; }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .steps__card,
  .for-who__card,
  .features__card,
  .why-join__card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .steps__card.visible,
  .for-who__card.visible,
  .features__card.visible,
  .why-join__card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
