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

:root {
  --cream:      #F0EBD8;
  --steel:      #748CAB;
  --mid-navy:   #3E5C76;
  --dark-navy:  #1D2D44;
  --deep-navy:  #0D1321;
  --green:      #5A9367;
  --light-green:#63B777;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--deep-navy);
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  background: rgba(13, 19, 33, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(116, 140, 171, 0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-logo span {
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(240,235,216,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

.btn-appstore-small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cream);
  color: var(--deep-navy) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-appstore-small:hover { opacity: 0.85; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--deep-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}

/* ── Warpt Animated Title ─────────────────────────────────────── */
.warpt-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 0;
  position: relative;
  margin-bottom: 8px;
}

.wt-letter {
  display: inline-block;
  font-family: "AvenirNext-Heavy", "Avenir Next", Avenir, system-ui, -apple-system, sans-serif;
  font-size: clamp(68px, 18vw, 108px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to right, #748CAB, #F0EBD8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: transform;
  letter-spacing: -0.01em;
}

.wt-inner {
  display: inline-block;
}

/* subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62,92,118,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin-bottom: 32px;
  position: relative;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(52px, 12vw, 96px);
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--steel);
  font-weight: 400;
  max-width: 460px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--deep-navy);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.hero-cta svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Word Demo ────────────────────────────────────────────────── */
.demo-strip {
  background: var(--dark-navy);
  padding: 48px 24px;
  display: flex;
  justify-content: center;
}

.demo-words {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-word {
  display: flex;
  gap: 6px;
}

.demo-tile {
  width: 52px;
  height: 60px;
  border-radius: 10px;
  background: var(--mid-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: 0;
  font-family: "AvenirNext-Heavy", -apple-system, BlinkMacSystemFont, "SF Mono", "Courier New", monospace;
}

.demo-tile.changed {
  background: var(--green);
  color: #fff;
  animation: pop 0.4s ease both;
}

@keyframes pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.demo-arrow {
  color: var(--steel);
  font-size: 20px;
  padding: 0 14px;
  align-self: center;
  line-height: 1;
}

.demo-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(116,140,171,0.6);
  text-align: center;
  margin-top: 12px;
}

.demo-word-wrap { display: flex; flex-direction: column; align-items: center; }

/* ── How it Works ─────────────────────────────────────────────── */
.section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-navy);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.7;
  max-width: 600px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.step {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  border: 1.5px solid rgba(62,92,118,0.12);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mid-navy);
  color: var(--cream);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #718096;
  line-height: 1.6;
}

/* ── Features ─────────────────────────────────────────────────── */
.features-section {
  background: var(--dark-navy);
  padding: 96px 24px;
}

.features-section .section-eyebrow { color: var(--steel); }
.features-section .section-title   { color: var(--cream); }
.features-section .section-body    { color: var(--steel); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(116,140,171,0.18);
  border-radius: 20px;
  padding: 28px 24px;
  transition: background 0.2s;
}

.feature-card:hover { background: rgba(255,255,255,0.08); }

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

/* ── Perfect Score Callout ────────────────────────────────────── */
.callout {
  background: var(--mid-navy);
  padding: 80px 24px;
  text-align: center;
}

.callout-inner {
  max-width: 640px;
  margin: 0 auto;
}

.callout-paths {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.path-col {
  background: rgba(0,0,0,0.25);
  border-radius: 16px;
  padding: 20px 28px;
  min-width: 130px;
}

.path-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,235,216,0.5);
  margin-bottom: 14px;
}

.path-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Mono", "Courier New", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
  padding: 4px 0;
}

.path-word.endpoint { color: var(--light-green); }

.path-arrow-down {
  font-size: 11px;
  color: rgba(240,235,216,0.3);
  text-align: center;
  padding: 2px 0;
}

.callout .section-title { color: var(--cream); margin-bottom: 14px; }
.callout .section-body  { color: rgba(240,235,216,0.7); margin: 0 auto 36px; }

.moves-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.moves-badge.ideal { background: rgba(99,183,119,0.25); color: var(--light-green); }

/* ── Pro Section ──────────────────────────────────────────────── */
.pro-section {
  padding: 96px 24px;
  background: var(--cream);
}

.pro-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--deep-navy);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 24px 72px rgba(13,19,33,0.2);
}

.pro-badge {
  display: inline-block;
  background: rgba(116,140,171,0.18);
  color: var(--steel);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.pro-card h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pro-card p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.65;
  margin-bottom: 32px;
}

.pro-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(240,235,216,0.85);
}

.pro-features li::before {
  content: '✓';
  color: var(--light-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Download CTA ─────────────────────────────────────────────── */
.download-section {
  background: var(--deep-navy);
  padding: 96px 24px;
  text-align: center;
}

.download-section .section-title { color: var(--cream); margin-bottom: 14px; }
.download-section .section-body  { color: var(--steel); margin: 0 auto 40px; }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(116,140,171,0.12);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 13px;
  color: rgba(116,140,171,0.6);
}

footer a {
  font-size: 13px;
  color: rgba(116,140,171,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--steel); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links a:not(.btn-appstore-small) { display: none; }
  .demo-words { flex-direction: column; align-items: center; gap: 0; }
  .demo-arrow { font-size: 0; padding: 6px 0; }
  .demo-arrow::after { content: '↓'; font-size: 20px; color: var(--steel); }
  .pro-card { padding: 36px 24px; }
  footer { flex-direction: column; text-align: center; }
}
