/* ============================================================
   FrenZone — Coming Soon teaser
   Design tokens mirrored from the FrenZone app (Tailwind config)
   ============================================================ */

/* ---------- locally hosted fonts (Plus Jakarta Sans, variable) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:          #0F0D0C;
  --bg-800:      #15110F;
  --surface:     #1E1714;
  --surface-2:   #2A211C;
  --border:      rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.04);

  --coral: #FF6B5C;
  --pink:  #FF4D8D;
  --amber: #FFB037;

  --cream:        #F6EFEA;
  --cream-muted:  #B8AFA8;
  --cream-subtle: #8A7E74;

  --grad:       linear-gradient(135deg, #FF6B5C 0%, #FF4D8D 100%);
  --grad-amber: linear-gradient(135deg, #FFB037 0%, #FF6B5C 100%);

  --glow:      0 18px 48px -12px rgba(255, 107, 92, 0.45);
  --glow-pink: 0 18px 48px -12px rgba(255, 77, 141, 0.42);
  --card-sh:   0 24px 60px -22px rgba(0, 0, 0, 0.75);

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(255, 77, 141, 0.32); color: #fff; }

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hide-mobile { display: none; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 100;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(255, 77, 141, 0.6);
  transition: width 0.08s linear;
}

/* ---------- ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.bg__radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255, 107, 92, 0.20) 0%, rgba(255, 77, 141, 0.07) 32%, rgba(15, 13, 12, 0) 62%),
    radial-gradient(90% 70% at 50% 0%, rgba(74, 24, 37, 0.55) 0%, rgba(15, 13, 12, 0) 55%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.orb--pink  { top: -8%;  right: -6%;  width: 38vw; height: 38vw; background: rgba(255, 77, 141, 0.32); animation: float 14s var(--ease) infinite; }
.orb--coral { top: 28%;  left: -12%;  width: 34vw; height: 34vw; background: rgba(255, 107, 92, 0.26); animation: float 18s var(--ease) infinite reverse; }
.orb--amber { top: 64%;  right: 4%;   width: 30vw; height: 30vw; background: rgba(255, 176, 55, 0.16); animation: float 22s var(--ease) infinite; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(0, -28px, 0) scale(1.06); }
}

.bg__grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 40px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__logo {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.brand__logo svg { width: 20px; height: 20px; }
.brand__logo--sm { width: 30px; height: 30px; border-radius: 9px; }
.brand__logo--sm svg { width: 17px; height: 17px; }

.nav__right { display: inline-flex; align-items: center; gap: 10px; }

.nav__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  white-space: nowrap;
}
.nav__cta:hover { border-color: rgba(255, 77, 141, 0.5); background: rgba(255, 77, 141, 0.10); transform: translateY(-1px); }

/* language toggle */
.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-toggle__btn {
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
  background: transparent;
  padding: 6px 11px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lang-toggle__btn:hover { color: var(--cream); }
.lang-toggle__btn[aria-pressed="true"] {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 124px clamp(18px, 5vw, 40px) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream-muted);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 107, 92, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 92, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 107, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 92, 0); }
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(58px, 15vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero__title-line { display: block; }

.hero__lede {
  margin-top: 22px;
  max-width: 30ch;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--cream-muted);
  font-weight: 500;
}

/* ---------- phone ---------- */
.phone-stage {
  position: relative;
  margin-top: 52px;
  perspective: 1400px;
}
.phone-glow {
  position: absolute;
  left: 50%; top: 52%;
  width: 130%; height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 77, 141, 0.30) 0%, rgba(255, 107, 92, 0.14) 45%, transparent 72%);
  filter: blur(20px);
  z-index: -1;
}

.phone {
  position: relative;
  width: clamp(248px, 74vw, 312px);
  aspect-ratio: 312 / 640;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease-out;
}
.phone__frame {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 11px;
  background: linear-gradient(155deg, #2b2522 0%, #14110f 55%, #0c0a09 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.10),
    inset 0 0 0 7px #0a0807,
    var(--card-sh),
    var(--glow-pink);
}
.phone__island {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #050403;
  border-radius: 999px;
  z-index: 5;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 39px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.screen__radial {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 80% at 50% -8%, rgba(255, 107, 92, 0.26) 0%, rgba(255, 77, 141, 0.10) 34%, rgba(15, 13, 12, 0) 64%),
    radial-gradient(80% 60% at 50% 4%, rgba(74, 24, 37, 0.6) 0%, rgba(15, 13, 12, 0) 58%);
}
.phone__shine {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 28%);
  mix-blend-mode: screen;
}

.statusbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--cream);
}
.statusbar__right { display: inline-flex; align-items: center; gap: 6px; }

.app {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 26px;
  gap: 4px;
}
.app__logo {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 22px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  margin-bottom: 18px;
  animation: bob 6s ease-in-out infinite;
}
.app__logo svg { width: 38px; height: 38px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.app__name { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.app__tagline { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--cream-muted); }
.app__pill {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 77, 141, 0.14);
  border: 1px solid rgba(255, 77, 141, 0.32);
}
.app__pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: pulse 2s ease-out infinite; }
.app__hint {
  position: relative; z-index: 2;
  text-align: center;
  font-size: 11px;
  color: var(--cream-subtle);
  padding-bottom: 22px;
}

/* ---------- waitlist ---------- */
.waitlist { margin-top: 52px; width: 100%; max-width: 480px; }
.waitlist__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.waitlist__row:focus-within { border-color: rgba(255, 77, 141, 0.55); box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.12); }
.waitlist__icon { display: inline-flex; color: var(--cream-subtle); }
.waitlist__icon svg { width: 19px; height: 19px; }
.waitlist input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 10px 4px;
}
.waitlist input::placeholder { color: var(--cream-subtle); }
.waitlist button {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: var(--glow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}
.waitlist button:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 22px 50px -14px rgba(255, 77, 141, 0.6); }
.waitlist button:active { transform: translateY(0); }
.waitlist__note { margin-top: 13px; font-size: 13px; color: var(--cream-subtle); }
.waitlist.is-done .waitlist__row { border-color: rgba(255, 176, 55, 0.4); }
.waitlist.is-done .waitlist__note { color: var(--amber); font-weight: 600; }

/* ---------- scroll cue ---------- */
.scroll-cue {
  margin-top: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-subtle);
  transition: color 0.25s;
}
.scroll-cue:hover { color: var(--cream); }
.scroll-cue svg { width: 22px; height: 22px; animation: bounce 1.8s var(--ease) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- features ---------- */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) clamp(18px, 5vw, 40px);
  text-align: center;
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}
.section-title {
  margin-top: 14px;
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.cards {
  margin-top: clamp(44px, 7vh, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  text-align: left;
  padding: 30px 28px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(42, 33, 28, 0.55) 0%, rgba(30, 23, 20, 0.55) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--card-sh);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 141, 0.32);
  box-shadow: var(--card-sh), var(--glow-pink);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin-top: 9px; font-size: 15px; color: var(--cream-muted); }

/* ---------- cta ---------- */
.cta {
  padding: 0 clamp(18px, 5vw, 40px) clamp(80px, 12vh, 140px);
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) clamp(28px, 6vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(255, 77, 141, 0.16) 0%, rgba(255, 107, 92, 0.05) 40%, transparent 72%),
    linear-gradient(180deg, rgba(30, 23, 20, 0.7), rgba(21, 17, 15, 0.7));
  border: 1px solid var(--border);
  box-shadow: var(--card-sh);
  position: relative;
  overflow: hidden;
}
.cta__logo {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  margin-bottom: 22px;
}
.cta__logo svg { width: 30px; height: 30px; }
.cta__title { font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.cta__text { margin: 16px auto 0; max-width: 44ch; font-size: clamp(15px, 2vw, 17px); color: var(--cream-muted); }
.cta__button {
  display: inline-block;
  margin-top: 30px;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--grad);
  box-shadow: var(--glow);
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
}
.cta__button:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 24px 54px -14px rgba(255, 77, 141, 0.6); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 30px clamp(18px, 5vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.footer__copy { font-size: 13px; color: var(--cream-subtle); }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 559px) {
  .nav__cta { display: none; }
}

@media (min-width: 640px) {
  .hide-mobile { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .app__logo, .scroll-cue svg, .eyebrow__dot, .app__pill-dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { transition: none !important; }
}
