/* =====================================================
   STUDENTAI LANDING PAGE — PRODUCTION CSS
   ===================================================== */

/* CSS RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #0066FF;
  --blue-light: #3385FF;
  --blue-dark: #0052CC;
  --purple: #7C3AED;
  --purple-light: #9B5CF6;
  --cyan: #06B6D4;
  --green: #10B981;
  --orange: #F59E0B;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --navy: #0A0F1E;

  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-text: linear-gradient(135deg, #0066FF, #7C3AED);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.08);
  --shadow-blue: 0 8px 32px rgba(0,102,255,.25);
  --shadow-purple: 0 8px 32px rgba(124,58,237,.25);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.section-pad { padding: 100px 0; }
.text-center { text-align: center; }

/* GRADIENT TEXT */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,102,255,.35);
}

.btn--gradient {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.btn--gradient:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,.35);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
}
.btn--ghost:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover {
  background: rgba(0,102,255,.05);
  transform: translateY(-2px);
}

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn--full { width: 100%; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  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);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

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

.nav__link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.nav.scrolled .nav__link { color: var(--gray-700); }
.nav__link:hover { color: var(--white); }
.nav.scrolled .nav__link:hover { color: var(--blue); }

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

.nav:not(.scrolled) .btn--ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.nav:not(.scrolled) .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--gray-800); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  transition: color var(--transition);
}
.mobile-menu__link:hover { color: var(--blue); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding-top: 80px;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,10,30,0.82) 0%,
    rgba(0,40,120,0.65) 40%,
    rgba(80,0,160,0.55) 80%,
    rgba(0,10,30,0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulse-dot 2s infinite;
}

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

.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero__headline .gradient-text {
  background: linear-gradient(135deg, #60A5FA, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

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

.hero__metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  width: fit-content;
  flex-wrap: wrap;
  gap: 0;
}

.hero__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hero__metric strong {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.hero__metric span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  font-weight: 500;
  text-align: center;
}

.hero__metric-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 0;
}
.trust-bar__label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar__logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.trust-bar__logo:hover { color: var(--gray-400); }

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,102,255,.08), rgba(124,58,237,.08));
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(0,102,255,.15);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   VALUE PROPS
   ===================================================== */
.value-props { background: var(--white); }
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
}
.value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.value-card p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features { background: var(--gray-50); }
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.feature-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}

.feature-card__text {
  padding: 40px;
  flex: 1;
}

.feature-tag {
  display: inline-block;
  background: rgba(0,102,255,.08);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.feature-tag--purple {
  background: rgba(124,58,237,.08);
  color: var(--purple);
}
.feature-tag--cyan {
  background: rgba(6,182,212,.08);
  color: var(--cyan);
}
.feature-tag--green {
  background: rgba(16,185,129,.08);
  color: var(--green);
}

.feature-card__text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-card__text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 0.9rem;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%230066FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.feature-card__visual {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 280px;
}
.feature-card__visual--blue {
  background: linear-gradient(135deg, #EEF4FF 0%, #E0EBFF 100%);
}
.feature-card__visual--purple {
  background: linear-gradient(135deg, #F3EEFF 0%, #EAE0FF 100%);
}
.feature-card__visual--cyan {
  background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%);
}
.feature-card__visual--small {
  min-height: 220px;
}

/* MOCK UI COMPONENTS */
.mock-ui {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
}
.mock-ui__bar {
  padding: 10px 14px;
  background: var(--gray-100);
  display: flex;
  gap: 6px;
  align-items: center;
}
.mock-ui__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
}
.mock-ui__bar span:nth-child(1) { background: #FC8181; }
.mock-ui__bar span:nth-child(2) { background: #FBBF24; }
.mock-ui__bar span:nth-child(3) { background: #34D399; }
.mock-ui__content { padding: 20px; }

.mock-profile-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}
.mock-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
}
.mock-line--short { width: 70%; }
.mock-line--tiny { width: 45%; height: 6px; }
.mock-line--blue { background: rgba(0,102,255,.2); }

.mock-progress-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.mock-progress-bars { display: flex; flex-direction: column; gap: 10px; }
.mock-progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
}
.mock-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MOCK CHAT */
.mock-chat {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-chat__bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.83rem;
  line-height: 1.5;
}
.mock-chat__bubble--user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  max-width: 80%;
}
.mock-chat__bubble--ai {
  background: var(--white);
  color: var(--gray-800);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-md);
  max-width: 90%;
}
.ai-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.mock-typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  margin-left: 4px;
  animation: typing-blink 1s infinite;
  vertical-align: middle;
}
@keyframes typing-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* MOCK EXAM */
.mock-exam {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  width: 100%;
  max-width: 280px;
}
.mock-exam__header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.mock-exam__subject {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.mock-exam__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mock-exam__time, .mock-exam__q {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-exam__score-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mock-exam__score-fill {
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 3px;
}
.mock-exam__cta {
  background: var(--cyan);
  color: var(--white);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 700;
}

/* SUBJECT CHIPS */
.feature-card__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 40px;
  align-content: center;
  flex: 1;
}
.subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid;
  transition: all var(--transition);
  cursor: default;
}
.subject-chip:hover { transform: translateY(-2px); }
.subject-chip--math { background: rgba(0,102,255,.06); color: var(--blue); border-color: rgba(0,102,255,.2); }
.subject-chip--math:hover { background: rgba(0,102,255,.1); }
.subject-chip--science { background: rgba(16,185,129,.06); color: var(--green); border-color: rgba(16,185,129,.2); }
.subject-chip--science:hover { background: rgba(16,185,129,.1); }
.subject-chip--lit { background: rgba(124,58,237,.06); color: var(--purple); border-color: rgba(124,58,237,.2); }
.subject-chip--lit:hover { background: rgba(124,58,237,.1); }
.subject-chip--history { background: rgba(245,158,11,.06); color: var(--orange); border-color: rgba(245,158,11,.2); }
.subject-chip--history:hover { background: rgba(245,158,11,.1); }
.subject-chip--coding { background: rgba(6,182,212,.06); color: var(--cyan); border-color: rgba(6,182,212,.2); }
.subject-chip--coding:hover { background: rgba(6,182,212,.1); }
.subject-chip--languages { background: rgba(239,68,68,.06); color: #EF4444; border-color: rgba(239,68,68,.2); }
.subject-chip--languages:hover { background: rgba(239,68,68,.1); }
.subject-chip--economics { background: rgba(16,185,129,.06); color: var(--green); border-color: rgba(16,185,129,.2); }
.subject-chip--economics:hover { background: rgba(16,185,129,.1); }
.subject-chip--more { background: var(--gray-100); color: var(--gray-500); border-color: var(--gray-200); font-size: 0.8rem; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works { background: var(--white); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.step__number {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.step__connector {
  position: absolute;
  top: 60px;
  right: -40%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--gray-200));
  z-index: 0;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--gray-200);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.step__icon {
  width: 72px;
  height: 72px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step:hover .step__icon {
  background: linear-gradient(135deg, rgba(0,102,255,.05), rgba(124,58,237,.05));
  border-color: var(--blue);
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.step p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* =====================================================
   STATS BANNER
   ===================================================== */
.stats-banner {
  background: var(--gradient);
  padding: 72px 0;
}
.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item {
  text-align: center;
}
.stat-item strong, .stat-item__number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline;
}
.stat-item__suffix {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.02em;
}
.stat-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  margin-top: 6px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials { background: var(--gray-50); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.testimonial-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,102,255,.12), var(--shadow-md);
}
.testimonial-card__stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-900);
}
.testimonial-card__author span {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.testimonial-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,102,255,.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0,102,255,.15);
}
.testimonial-card__badge--purple {
  background: rgba(124,58,237,.08);
  color: var(--purple);
  border-color: rgba(124,58,237,.15);
}
.testimonial-card__badge--cyan {
  background: rgba(6,182,212,.08);
  color: var(--cyan);
  border-color: rgba(6,182,212,.15);
}
.testimonial-card__badge--green {
  background: rgba(16,185,129,.08);
  color: var(--green);
  border-color: rgba(16,185,129,.15);
}
.testimonial-card__badge--orange {
  background: rgba(245,158,11,.08);
  color: var(--orange);
  border-color: rgba(245,158,11,.15);
}

/* =====================================================
   PRICING
   ===================================================== */
.pricing { background: var(--white); }
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}
.pricing__toggle-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color var(--transition);
}
.pricing__toggle-label.active { color: var(--gray-800); }
.pricing__toggle-btn {
  width: 52px;
  height: 28px;
  background: var(--gray-200);
  border-radius: 14px;
  position: relative;
  transition: background var(--transition);
}
.pricing__toggle-btn.active { background: var(--blue); }
.pricing__toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.pricing__toggle-btn.active .pricing__toggle-thumb { transform: translateX(24px); }
.pricing__save-badge {
  display: inline-block;
  background: rgba(16,185,129,.1);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,255,.1), var(--shadow-lg);
  transform: translateY(-8px);
}
.pricing-card--featured:hover { transform: translateY(-12px); }

.pricing-card__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 28px; }
.pricing-card__tier {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.pricing-card__amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card--featured .pricing-card__amount { color: var(--blue); }
.pricing-card__period {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 500;
}
.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-card__features li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 24px;
  position: relative;
  line-height: 1.4;
}
.pricing-card__features li.check::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='11' fill='%230066FF' fill-opacity='0.1'/%3E%3Cpath d='M7 12l3.5 3.5L17 9' stroke='%230066FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}
.pricing-card__features li.cross {
  color: var(--gray-400);
}
.pricing-card__features li.cross::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23E5E7EB'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.pricing-btn { margin-bottom: 12px; }
.pricing-card__trial-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
}
.pricing__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(16,185,129,.05);
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 12px;
  padding: 18px 24px;
}
.pricing__guarantee p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  position: relative;
  background: var(--gradient);
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section__content { position: relative; z-index: 1; }
.cta-section__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.cta-section__content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}
.cta-section__content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}
.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-section__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-section__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.footer__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer__socials {
  display: flex;
  gap: 12px;
}
.footer__social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
}
.footer__social:hover {
  background: rgba(0,102,255,0.2);
  color: var(--blue-light);
  transform: translateY(-2px);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 0.84rem; }
.footer__bottom-badges {
  display: flex;
  gap: 10px;
}
.footer__badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.value-props__grid .fade-up:nth-child(1),
.features__grid .fade-up:nth-child(1),
.testimonials__grid .fade-up:nth-child(1),
.pricing__grid .fade-up:nth-child(1),
.steps .fade-up:nth-child(1) { transition-delay: 0.1s; }

.value-props__grid .fade-up:nth-child(2),
.features__grid .fade-up:nth-child(2),
.testimonials__grid .fade-up:nth-child(2),
.pricing__grid .fade-up:nth-child(2),
.steps .fade-up:nth-child(2) { transition-delay: 0.2s; }

.value-props__grid .fade-up:nth-child(3),
.features__grid .fade-up:nth-child(3),
.testimonials__grid .fade-up:nth-child(3),
.pricing__grid .fade-up:nth-child(3),
.steps .fade-up:nth-child(3) { transition-delay: 0.3s; }

.testimonials__grid .fade-up:nth-child(4) { transition-delay: 0.1s; }
.testimonials__grid .fade-up:nth-child(5) { transition-delay: 0.2s; }
.testimonials__grid .fade-up:nth-child(6) { transition-delay: 0.3s; }

/* =====================================================
   RESPONSIVE — TABLET
   ===================================================== */
@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  .hero__metrics {
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__metric { flex: 0 0 calc(50% - 40px); }
  .hero__metric-divider { display: none; }

  .value-props__grid { grid-template-columns: 1fr; }

  .features__grid {
    grid-template-columns: 1fr;
  }
  .feature-card--wide {
    flex-direction: column;
  }
  .feature-card__visual { flex: none; width: 100%; }
  .feature-card__visual--blue, .feature-card__visual--purple, .feature-card__visual--cyan {
    min-height: 200px;
  }
  .feature-card__subjects { padding: 24px 32px; }

  .steps { flex-direction: column; align-items: center; gap: 32px; }
  .step__connector { display: none; }

  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

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

  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 64px 0; }

  .hero__content { padding: 40px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__metrics { padding: 16px; }
  .hero__metric { padding: 0 12px; }

  .feature-card__text { padding: 24px; }

  .trust-bar__logos { gap: 24px; }

  .stats-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item strong, .stat-item__number { font-size: 2rem; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-section { padding: 64px 0; }
  .cta-section__buttons { flex-direction: column; align-items: center; }
  .cta-section__buttons .btn { width: 100%; max-width: 280px; }

  .cta-section__trust { gap: 16px; }
}
