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

:root {
  --navy:   #0B1220;
  --teal:   #00CEC4;
  --coral:  #FF6878;
  --purple: #A7BBFA;
  --peach:  #FFD6C7;
  --light:  #F7F8FA;
  --white:  #ffffff;
  --text-muted: #8892A4;
  --border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 4rem;
  height: 148px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo-img { height: 136px; width: auto; display: block; }
.logo-text { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.08em; color: var(--navy); }
.logo-o { color: var(--coral); }
.logo-sub { font-size: 0.52rem; font-weight: 600; letter-spacing: 0.22em; color: var(--text-muted); margin-top: 2px; }
.logo-next { color: var(--coral); }

.nav-links {
  list-style: none; display: flex; gap: 1.8rem; margin-left: auto;
}
.nav-links a {
  text-decoration: none; font-size: 0.88rem; font-weight: 500;
  color: var(--navy); opacity: 0.75;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.chevron { font-size: 0.7rem; }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-ghost {
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  background: none; border: none; cursor: pointer;
  color: var(--navy); text-decoration: none; padding: 0.4rem 0.6rem;
  opacity: 0.7; transition: opacity .2s;
}
.btn-ghost:hover { opacity: 1; }

.btn-dark {
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 999px; cursor: pointer;
  text-decoration: none; padding: 0.55rem 1.4rem;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: #1a2840; transform: translateY(-1px); }

.btn-teal {
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  background: var(--teal); color: var(--navy);
  border: none; border-radius: 999px; cursor: pointer;
  text-decoration: none; padding: 0.75rem 2rem;
  letter-spacing: 0.04em;
  transition: filter .2s, transform .15s;
  display: inline-block;
}
.btn-teal:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn-lg { font-size: 0.9rem; padding: 0.85rem 2.2rem; }

.nav-burger {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; color: var(--navy);
}

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 188px 4rem 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* subtle background blobs */
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,187,250,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,206,196,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { flex: 1; max-width: 560px; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,206,196,0.1);
  border: 1px solid rgba(0,206,196,0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero-heading em {
  font-style: normal;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.05rem; font-weight: 400;
  line-height: 1.7;
  color: #4A5568;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.btn-link {
  font-family: inherit; font-size: 0.88rem; font-weight: 600;
  color: var(--teal); text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity .2s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.btn-link:hover { opacity: 0.75; }

.hero-visual {
  flex: 1; max-width: 480px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

.hero-graphic-img {
  width: 100%; max-width: 700px;
  display: block;
  image-rendering: high-quality;
  -webkit-image-rendering: high-quality;
  /* Radial vignette — fades outer edges into white bg seamlessly */
  mask-image: radial-gradient(ellipse 80% 78% at 52% 50%, black 42%, rgba(0,0,0,0.6) 62%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 78% at 52% 50%, black 42%, rgba(0,0,0,0.6) 62%, transparent 82%);
  filter: drop-shadow(0 8px 40px rgba(0,206,196,0.15)) drop-shadow(0 4px 24px rgba(130,80,220,0.12));
  animation: float 6s ease-in-out infinite;
}

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

/* ─── FEATURES ─────────────────────────────────────────────── */
.features {
  background: var(--light);
  padding: 80px 4rem;
}

.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.feature-icon svg { width: 30px; height: 30px; }

.icon-teal   { background: rgba(0,206,196,0.12);  color: var(--teal); }
.icon-purple { background: rgba(167,187,250,0.18); color: var(--purple); }
.icon-coral  { background: rgba(255,104,120,0.12); color: var(--coral); }
.icon-peach  { background: rgba(255,214,199,0.4);  color: #c0735a; }

.feature-title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--navy); margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.88rem; font-weight: 400; line-height: 1.6;
  color: #4A5568;
}

/* ─── APP PREVIEW ──────────────────────────────────────────── */
.app-preview {
  background: var(--white);
  padding: 100px 4rem;
  overflow: hidden;
}

.app-preview-header {
  text-align: center;
  max-width: 600px; margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  color: var(--navy); margin-bottom: 1rem;
}

.grad-text {
  background: linear-gradient(90deg, var(--teal), var(--purple), var(--coral));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1rem; color: #4A5568; line-height: 1.7;
}

/* Phones */
.phones-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}

.phone {
  width: 220px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15), 0 0 0 8px #1a2035;
  background: #0f1625;
  border: 2px solid #2a3355;
  transition: transform .3s;
}

.phone-back {
  transform: scale(0.87) translateY(18px);
  opacity: 0.85;
}

.phone-center {
  transform: scale(1);
  z-index: 2;
  box-shadow: 0 32px 80px rgba(0,206,196,0.2), 0 0 0 8px #1a2035;
}

.phone:hover { transform: translateY(-8px) scale(1.02) !important; }

.phone-screen {
  background: #f8f9fc;
  min-height: 420px;
  padding: 0;
}

.phone-status {
  font-size: 0.75rem; font-weight: 700;
  color: var(--navy); padding: 10px 18px 0;
  text-align: right;
}

.phone-content { padding: 12px 16px 16px; }

.phone-greeting {
  font-size: 0.95rem; font-weight: 700;
  color: var(--navy); margin-bottom: 12px;
}

.phone-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 8px;
}

.score-ring {
  position: relative; width: 100px; height: 100px;
  margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
}
.score-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.score-num {
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  position: relative; z-index: 1;
}
.score-msg {
  font-size: 0.68rem; text-align: center; color: #4A5568; margin-bottom: 14px;
}

.phone-next {
  background: var(--white); border-radius: 12px;
  padding: 10px 12px; border: 1px solid rgba(0,0,0,0.07);
}
.next-label {
  font-size: 0.55rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 3px;
}
.next-title { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

.phone-btn {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; border-radius: 8px; font-family: inherit;
  font-size: 0.75rem; font-weight: 600; padding: 8px;
  cursor: pointer; transition: background .2s;
}
.phone-btn:hover { background: var(--teal); color: var(--navy); }

.phone-section-title {
  font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 2px;
}

/* Career list */
.career-list { list-style: none; margin: 10px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.career-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 10px; padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 0.75rem; font-weight: 600; color: var(--navy);
}
.career-item span.match { font-size: 0.65rem; font-weight: 500; color: var(--text-muted); }
.career-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.ci-teal   { background: rgba(0,206,196,0.12); }
.ci-purple { background: rgba(167,187,250,0.18); }
.ci-coral  { background: rgba(255,104,120,0.12); }
.ci-peach  { background: rgba(255,214,199,0.3); }

/* Roadmap list */
.roadmap-list { list-style: none; margin: 12px 0; display: flex; flex-direction: column; gap: 10px; }
.roadmap-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.75rem; font-weight: 600; color: var(--navy);
}
.roadmap-item span { font-size: 0.65rem; font-weight: 400; }

.step-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: #ddd; border: 2px solid #ccc;
}
.done-dot   { background: var(--teal); border-color: var(--teal); }
.active-dot { background: var(--purple); border-color: var(--purple); }

.tag-done   { color: var(--teal); font-weight: 600; font-size: 0.6rem; }
.tag-active { color: var(--purple); font-weight: 600; font-size: 0.6rem; }
.tag-up     { color: var(--text-muted); font-size: 0.6rem; }

/* ─── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 90px 4rem;
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,206,196,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 5rem; flex-wrap: wrap;
}

.cta-heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.05;
  color: var(--white);
  flex: 1; min-width: 280px;
}
.cta-teal   { color: var(--teal); }
.cta-purple { color: var(--purple); }
.cta-coral  { color: var(--coral); }

.cta-right { flex: 1; min-width: 280px; }

.cta-nav {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--text-muted); margin-bottom: 1.25rem;
}

.cta-body {
  font-size: 0.98rem; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
}

.cta-pills {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem;
}
.pill {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 0.3rem 0.9rem;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #06090f;
  padding: 60px 4rem 40px;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 4rem; flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.footer-logo-img { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-logo-text { font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; color: var(--white); }
.footer-sub { font-size: 0.48rem; font-weight: 600; letter-spacing: 0.22em; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-copy { font-size: 0.78rem; margin-top: auto; }

.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }

.footer-col {
  display: flex; flex-direction: column; gap: 0.65rem; min-width: 110px;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 0.3rem;
}
.footer-col a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: block; }

  .hero {
    flex-direction: column; padding: 100px 1.5rem 60px;
    text-align: center;
  }
  .hero-ctas { justify-content: center; }
  .hero-visual { max-width: 340px; }

  .features { padding: 60px 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .app-preview { padding: 70px 1.5rem; }
  .phones-row { gap: 0.75rem; }
  .phone { width: 170px; }
  .phone-back { transform: scale(0.82) translateY(14px); }

  .cta-banner { padding: 70px 1.5rem; }
  .cta-inner { gap: 2.5rem; }

  .footer { padding: 50px 1.5rem 30px; }
  .footer-inner { gap: 2.5rem; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .phones-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 1rem; }
  .phone { flex-shrink: 0; width: 180px; }
  .phone-back { transform: scale(0.88) translateY(10px); }
}
