/* ═══════════════════════════════════
   Landing Page - Stubby
   ═══════════════════════════════════ */

/* ── Base ── */
.landing-body {
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0;
}

.landing-nav .nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #6366f1;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.landing-nav .nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.landing-nav .nav-links a:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
}

.btn-nav-login {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: white;
  transition: all 0.15s ease;
}

.btn-nav-login:hover {
  border-color: #6366f1;
  color: #6366f1;
}

.btn-nav-signup {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  background: #6366f1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-nav-signup:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
  color: white;
}

/* ── Hero ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(99, 102, 241, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 5% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
    #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: #6366f1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: #6366f1;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero-headline {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.hero-headline .highlight {
  color: #6366f1;
  position: relative;
  display: inline-block;
}

.hero-headline .highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  opacity: 0.35;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6366f1;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  background: white;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.03);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

.hero-trust .avatars {
  display: flex;
}

.hero-trust .avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: white;
  margin-left: -9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.hero-trust .avatars span:first-child {
  margin-left: 0;
}

/* ── Hero Visual ── */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(226, 232, 240, 0.8),
    0 8px 16px -4px rgba(15, 23, 42, 0.06),
    0 32px 64px -16px rgba(15, 23, 42, 0.12);
  z-index: 3;
  animation: float-center 5s ease-in-out infinite;
}

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

.hero-card-side {
  position: absolute;
  width: 210px;
  background: white;
  border-radius: 1.25rem;
  padding: 1.1rem;
  box-shadow:
    0 0 0 1px rgba(226, 232, 240, 0.8),
    0 8px 24px -8px rgba(15, 23, 42, 0.1);
  z-index: 2;
}

.hero-card-side.left {
  top: 12%;
  left: -2%;
  animation: float-left-card 6s ease-in-out infinite;
}

.hero-card-side.right {
  bottom: 12%;
  right: -2%;
  animation: float-right-card 6s ease-in-out infinite 1.2s;
}

@keyframes float-left-card {
  0%,
  100% {
    transform: translateY(0) rotate(-2.5deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2.5deg);
  }
}

@keyframes float-right-card {
  0%,
  100% {
    transform: translateY(0) rotate(2.5deg);
  }
  50% {
    transform: translateY(-8px) rotate(2.5deg);
  }
}

.match-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.match-score-badge .score-dot {
  width: 5px;
  height: 5px;
  background: #6366f1;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.mini-module-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 0.3rem;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Stats Strip ── */
.stats-strip {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 3.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 0 2rem;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item .stat-number span {
  color: #6366f1;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: #e2e8f0;
  align-self: center;
}

/* ── Section Shared ── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 520px;
}

/* ── How It Works ── */
.how-section {
  padding: 7rem 0;
  background: white;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 44px);
  right: calc(-50% + 44px);
  height: 1px;
  background: linear-gradient(90deg, #e2e8f0, #c7d2fe, #e2e8f0);
  z-index: 0;
}

.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  z-index: 1;
  transition: transform 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  position: relative;
  z-index: 2;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 0.875rem;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.35rem;
  transition: all 0.25s ease;
}

.step-card:hover .step-icon-wrap {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
}

/* ── Features ── */
.features-section {
  padding: 7rem 0;
  background: #f8fafc;
}

.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem;
  height: 100%;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.12),
    0 20px 40px -12px rgba(99, 102, 241, 0.12),
    0 4px 12px -4px rgba(0, 0, 0, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

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

.feature-icon.indigo {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}
.feature-icon.violet {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
}
.feature-icon.emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}
.feature-icon.amber {
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}
.feature-icon.sky {
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
}
.feature-icon.rose {
  background: rgba(244, 63, 94, 0.08);
  color: #f43f5e;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── Quote ── */
.quote-section {
  padding: 6rem 0;
  background: white;
}

.quote-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.quote-card:hover {
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.08);
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 9rem;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.07);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.quote-text {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.8;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.quote-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.quote-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.quote-author-role {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ── CTA ── */
.cta-section {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 0
  );
  background-size: 36px 36px;
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.cta-subtext {
  font-size: 1rem;
  color: #c0c0c0;
  line-height: 1.75;
  max-width: 460px;
  margin: 0 auto 2.5rem;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #6366f1;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.btn-cta-primary:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45);
}

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.btn-cta-ghost:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.cta-note {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 1.25rem;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.landing-footer {
  background: #0f172a;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copy {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .hero-visual {
    height: 380px;
    margin-top: 3rem;
  }
  .hero-card-main {
    width: 260px;
  }
  .hero-card-side {
    width: 185px;
  }
  .step-connector {
    display: none;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero-visual {
    height: 300px;
  }
  .hero-card-side {
    display: none;
  }
  .hero-card-main {
    width: 240px;
  }
  .cta-section {
    padding: 5rem 0;
  }
  .quote-card {
    padding: 2rem 1.5rem;
  }
  .how-section,
  .features-section {
    padding: 5rem 0;
  }
}
