:root {
  --bg: #15110E;
  --text: #FBF7F2;
  --muted: rgba(251, 247, 242, 0.62);
  --faint: rgba(251, 247, 242, 0.40);
  --card: rgba(255, 255, 255, 0.045);
  --card-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.10);
  --wynkr: #FF5A6B;
  --wynkr-deep: #E03E5B;
  --amber: #FFB23E;
  --mint: #3FD8A0;
  --glacier: #5BC8E0;
  --banana: #FFE066;
  --blush: #FF9AA2;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.72);
  --glow: 0 0 60px -8px rgba(255, 90, 107, 0.42);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(40% 40% at 18% 14%, rgba(255, 90, 107, 0.36), transparent 70%),
    radial-gradient(34% 34% at 84% 12%, rgba(255, 178, 62, 0.30), transparent 70%),
    radial-gradient(40% 40% at 86% 86%, rgba(63, 216, 160, 0.22), transparent 70%),
    radial-gradient(36% 36% at 14% 88%, rgba(91, 200, 224, 0.20), transparent 70%);
  filter: saturate(1.1);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

.container { width: min(1140px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); position: relative; z-index: 1; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--wynkr), var(--amber));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 22px -8px rgba(255, 90, 107, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; padding: 14px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav--scrolled {
  background: rgba(21, 17, 14, 0.72);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.85);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  padding: 9px 14px; border-radius: 10px; transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover { color: var(--text); background: var(--card); }
.nav__links a.nav__cta {
  color: #fff; font-weight: 600; margin-left: 6px;
  background: linear-gradient(135deg, var(--wynkr), var(--amber));
  box-shadow: 0 12px 26px -12px rgba(255, 90, 107, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.nav__links a.nav__cta:hover { filter: brightness(1.06); color: #fff; }
.nav__menu {
  display: none; background: var(--card); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 8px; cursor: pointer;
}
.nav__menu svg { width: 22px; height: 22px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--wynkr), var(--amber));
  padding: 14px 22px; border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 16px 36px -14px rgba(255, 90, 107, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: filter 0.2s ease, transform 0.12s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn--ghost:hover { background: var(--card-hover); filter: none; }
.btn--lg { padding: 16px 28px; font-size: 16.5px; border-radius: 16px; }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: 11px; margin-top: 14px; }

/* Type primitives */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wynkr); box-shadow: 0 0 0 4px rgba(255, 90, 107, 0.2); }
.eyebrow--center { justify-content: center; }
.h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; max-width: 14ch; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; max-width: 20ch; }
.accent { background: linear-gradient(120deg, var(--wynkr), var(--amber) 60%, var(--banana)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 50ch; }
.sub { margin-top: 14px; font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.sub--center { margin-left: auto; margin-right: auto; text-align: center; }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 16px; font-size: 13px; color: var(--faint); }

/* Section */
.section { padding: clamp(60px, 11vh, 120px) 0; }
.head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }

/* HERO */
.hero { padding: clamp(56px, 9vh, 100px) 0 clamp(40px, 7vh, 80px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero__copy { max-width: 600px; }
.hero__visual { position: relative; min-height: 600px; display: grid; place-items: center; }

/* Phone mockup */
.phone {
  width: 320px; height: 620px; border-radius: 46px;
  background: linear-gradient(180deg, #1c1814, #0c0907);
  border: 1px solid var(--border);
  padding: 12px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow), var(--glow);
  transform: rotate(-2deg);
}
.phone__notch {
  width: 108px; height: 28px; background: #000; border-radius: 0 0 18px 18px;
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 34px;
  background: linear-gradient(180deg, #14110f, #0a0807);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; flex-direction: column;
  padding: 42px 12px 12px;
  overflow: hidden;
}

/* Chat above keyboard */
.chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 4px 12px; min-height: 0; justify-content: flex-end; }
.bubble { display: flex; gap: 8px; max-width: 84%; }
.bubble p {
  background: var(--card); color: var(--text); padding: 10px 14px; border-radius: 16px;
  font-size: 13.5px; line-height: 1.45; border: 1px solid var(--border);
}
.bubble--them { align-self: flex-start; align-items: flex-end; }
.bubble--them p { border-bottom-left-radius: 6px; }
.bubble--them .avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--glacier), var(--mint));
  box-shadow: 0 4px 10px -3px rgba(91, 200, 224, 0.6);
}
.bubble--you { align-self: flex-end; }
.bubble--you p {
  background: linear-gradient(135deg, var(--wynkr), var(--wynkr-deep)); color: #fff;
  border-color: transparent; border-bottom-right-radius: 6px;
  box-shadow: 0 6px 14px -5px rgba(255, 90, 107, 0.7);
}

/* Keyboard */
.kb {
  margin-top: 10px; background: rgba(255, 255, 255, 0.04);
  border-radius: 18px; padding: 10px 8px 8px; border: 1px solid var(--border);
}
.kb__bar { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; }
.brand__mini { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); }
.mark--sm { width: 18px; height: 18px; border-radius: 6px; font-size: 11px; }
.persona {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amber); background: rgba(255, 178, 62, 0.14); border: 1px solid rgba(255, 178, 62, 0.3);
  padding: 4px 9px; border-radius: 999px;
}
.kb__chips { display: flex; flex-direction: column; gap: 6px; padding: 0 2px; }
.chip {
  text-align: left; font: inherit; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.chip--active {
  background: linear-gradient(135deg, rgba(255, 90, 107, 0.18), rgba(255, 178, 62, 0.14));
  border-color: rgba(255, 90, 107, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 90, 107, 0.2) inset;
}
.kb__rows { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.kb__row { display: flex; gap: 4px; justify-content: center; }
.kb__row span { flex: 1; height: 24px; max-width: 28px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; }
.kb__row .kb__key--wide { max-width: 38px; }
.kb__row .kb__key--med { max-width: 56px; }
.kb__row .kb__key--space { flex: 4; max-width: 160px; }

/* Floating badge */
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(21, 17, 14, 0.85); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow);
}
.float svg { width: 16px; height: 16px; color: var(--amber); }
.float--badge { top: 50px; right: -10px; animation: bob 5s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .float--badge { animation: none; } }

/* Feature grid + cards */
.grid { display: grid; gap: clamp(16px, 2vw, 22px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: clamp(22px, 2.4vw, 28px); box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; opacity: 0.85; }
.card.is-coral::before { background: var(--wynkr); box-shadow: 0 0 20px 1px rgba(255, 90, 107, 0.6); }
.card.is-amber::before { background: var(--amber); box-shadow: 0 0 20px 1px rgba(255, 178, 62, 0.6); }
.card.is-mint::before  { background: var(--mint);  box-shadow: 0 0 20px 1px rgba(63, 216, 160, 0.6); }
.card.is-glacier::before { background: var(--glacier); box-shadow: 0 0 20px 1px rgba(91, 200, 224, 0.6); }
.card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(255, 255, 255, 0.18); }
.card__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; }
.card__ic svg { width: 22px; height: 22px; }
.card.is-coral .card__ic { background: rgba(255, 90, 107, 0.16); color: var(--wynkr); }
.card.is-amber .card__ic { background: rgba(255, 178, 62, 0.16); color: var(--amber); }
.card.is-mint .card__ic { background: rgba(63, 216, 160, 0.16); color: var(--mint); }
.card.is-glacier .card__ic { background: rgba(91, 200, 224, 0.16); color: var(--glacier); }
.card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); list-style: none; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--shadow); }
.step__n { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--amber); }
.step h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Pro plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 22px); }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 3vw, 38px); box-shadow: var(--shadow); }
.plan--pro {
  background: radial-gradient(80% 100% at 0% 0%, rgba(255, 90, 107, 0.14), transparent 70%), var(--card);
  border-color: rgba(255, 90, 107, 0.3);
}
.plan__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.plan h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.plan__price { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan--pro .plan__price { background: linear-gradient(120deg, var(--wynkr), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.plan__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.plan__list li { position: relative; padding-left: 28px; color: var(--text); font-size: 14.5px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(63, 216, 160, 0.16); border: 1px solid rgba(63, 216, 160, 0.45);
}
.plan__list li::after {
  content: ""; position: absolute; left: 5px; top: 8px;
  width: 8px; height: 4px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  transform: rotate(-45deg);
}

/* Privacy */
.privacy__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.privacy__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.privacy__list li {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.55;
}
.privacy__list b { color: var(--text); font-weight: 700; }

/* Get / final CTA */
.get__card {
  text-align: center; border-radius: 28px; padding: clamp(40px, 7vw, 76px) clamp(24px, 5vw, 56px);
  background: radial-gradient(60% 120% at 50% 0%, rgba(255, 90, 107, 0.18), transparent 70%), var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.get__h { margin-top: 6px; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.get__meta { margin-top: 14px; font-size: 13px; color: var(--faint); }
.get .btn { margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: clamp(36px, 5vw, 56px) 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand .brand { margin-bottom: 8px; }
.footer__note { color: var(--faint); font-size: 13px; }
.footer__note a { color: var(--muted); text-decoration: none; }
.footer__note a:hover { color: var(--text); }
.footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--faint); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 540px; }
  .privacy__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__menu { display: grid; place-items: center; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 12px;
    background: rgba(21, 17, 14, 0.96); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__links a.nav__cta { margin: 4px 0 0; text-align: center; justify-content: center; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
