/* ─────────────────────────────────────────
   Imisi · Landing Page Styles
───────────────────────────────────────── */

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--green-700);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-logo-text span { color: var(--green-700); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--surface); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-mobile-toggle {
  display: none;
  padding: 0.4rem;
  border-radius: var(--r-md);
  color: var(--ink-2);
}

/* ── Hero ── */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 50%, #fff7ed 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  padding: 0.35rem 0.875rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-dot 2s infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--green-700); }
.hero-title .accent-ember { color: var(--ember-500); }

.hero-body {
  font-size: 1.0625rem;
  color: var(--ink-3);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-4);
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--green-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  margin-left: -8px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone {
  width: 260px;
  background: var(--night);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  z-index: 2;
}
.hero-phone-notch {
  width: 70px; height: 18px;
  background: #0a120d;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}
.hero-phone-screen {
  background: #0a120d;
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.hero-phone-header {
  background: var(--green-700);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-phone-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-300), var(--ember-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.hero-phone-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.hero-phone-status {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 4px;
}
.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #86efac;
  display: inline-block;
}

.hero-chat {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-msg {
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--white);
}
.chat-msg.ai {
  background: rgba(15,110,86,0.3);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: 4px 14px 14px 14px;
  align-self: flex-start;
  color: #d1fae5;
}
.chat-msg.user {
  background: var(--ember-500);
  border-radius: 14px 4px 14px 14px;
  align-self: flex-end;
}
.chat-msg.system {
  background: rgba(15,110,86,0.15);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: 10px;
  align-self: center;
  text-align: center;
  font-size: 0.66rem;
  color: var(--green-300);
  max-width: 96%;
}

.hero-phone-input {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  align-items: center;
  background: #0a120d;
}
.hero-phone-input input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 6px 12px;
  color: var(--white);
  font-size: 0.72rem;
}
.hero-phone-input input:focus { border-color: var(--green-500); }
.hero-send {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ember-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--white);
  transition: transform 0.15s;
}
.hero-send:hover { transform: scale(1.1); }

/* Floating cards */
.hero-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-1 {
  top: 10%; left: -60px;
  animation-delay: 0s;
}
.hero-float-2 {
  bottom: 15%; right: -50px;
  animation-delay: 2s;
}
.float-label { font-size: 0.65rem; color: var(--ink-4); margin-bottom: 2px; }
.float-value { font-weight: 700; color: var(--ink); }
.float-delta { font-size: 0.65rem; color: var(--green-500); }

/* ── Stats bar ── */
.stats-bar {
  background: var(--night);
  padding: 2.5rem 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-item-val span { color: var(--green-300); }
.stat-item-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.35rem;
}

/* ── How it works ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.875rem;
}
.section-body {
  font-size: 1rem;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
}
.step:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 0 auto 1.25rem;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step-body {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.65;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
}
.feature-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
}
.feature-card.featured {
  background: var(--night);
  border-color: transparent;
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-card.featured .feature-icon {
  background: rgba(93,202,165,0.15);
}
.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.feature-card.featured .feature-title { color: var(--white); }
.feature-body {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.65;
}
.feature-card.featured .feature-body { color: rgba(255,255,255,0.55); }

/* Language pills */
.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.lang-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(93,202,165,0.12);
  color: var(--green-300);
  border: 1px solid rgba(93,202,165,0.2);
}

/* ── Who it's for ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.audience-card {
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.audience-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.audience-card.girls { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-color: var(--green-100); }
.audience-card.academics { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: #fed7aa; }
.audience-card.admins { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-color: #bae6fd; }
.audience-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.audience-title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.audience-body { font-size: 0.875rem; color: var(--ink-3); line-height: 1.65; margin-bottom: 1.25rem; }
.audience-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.audience-link:hover { gap: 0.5rem; }

/* ── CTA ── */
.cta-section {
  background: var(--night);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(15,110,86,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-title span { color: var(--green-300); }
.cta-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ── */
.footer {
  background: var(--night-2);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-brand-name span { color: var(--green-300); }
.footer-brand-body {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.875rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: rgba(255,255,255,0.25);
}

/* ── Hero chat bounce animation ── */
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-body { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-float-1, .hero-float-2 { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-mobile-toggle { display: flex; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
