/* Tokens: mobile/src/theme/tokens.ts ile aynı değerler. */
:root {
  --ground: #070b0e;
  --ground-2: #0b1014;
  --card: #13171a;
  --card-border: #1f252a;
  --cell: #1a1f23;
  --cell-border: #242a2f;
  --highlight: #0f1713;
  --accent: #72d57c;
  --accent-soft: #8bde8c;
  --on-accent: #07130b;
  --accent-tint: #16231b;
  --accent-border: #2c4a33;
  --gold: #e8b858;
  --text: #ffffff;
  --text-soft: #c9cdd1;
  --text-2: #9aa0a6;
  --text-muted: #858c93;
  --radius: 22px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ground);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(30px, 4.2vw, 48px);
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 820px;
}

.accent {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(114, 213, 124, 0.18);
}

.sub {
  color: var(--text-2);
  font-size: 18px;
  margin-top: 16px;
  max-width: 600px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.check {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 14, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

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

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  opacity: 0.55;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ground) 0%, rgba(7, 11, 14, 0.92) 38%, rgba(7, 11, 14, 0.55) 70%, rgba(7, 11, 14, 0.75) 100%),
    linear-gradient(180deg, rgba(7, 11, 14, 0.2) 0%, rgba(7, 11, 14, 0) 50%, var(--ground) 100%);
}

.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--text-soft);
  max-width: 520px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  background: var(--text);
  color: var(--ground);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.05;
  transition: transform 0.15s ease;
}

.store:last-child {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store:hover {
  transform: translateY(-2px);
}

.store svg {
  width: 26px;
  height: 26px;
}

.store small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.65;
  margin-bottom: 2px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* PHONE */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 390 / 844;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3136, #12171a 40%, #1a1f23);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 120px -30px rgba(114, 213, 124, 0.35);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 38px;
  background: var(--ground);
}

.phone::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}

.hero-phone {
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* FLOAT CARDS */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(19, 23, 26, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  font-size: 13px;
}

.float-card small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.float-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.float-card span {
  color: var(--text-2);
}

.fc-score {
  left: -8px;
  top: 22%;
  animation: rise 0.9s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.fc-score strong {
  color: var(--accent);
}

.fc-meal {
  right: -12px;
  bottom: 14%;
  max-width: 260px;
  animation: rise 0.9s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.fc-meal img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.ring {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 4.5;
}

.ring-track {
  stroke: var(--cell-border);
}

.ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 113;
  stroke-dashoffset: 32;
}

.ring b {
  font-size: 16px;
  font-weight: 800;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* SECTIONS */
.section {
  padding: 112px 0;
}

.section-alt {
  background: var(--ground-2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
}

.tl-item {
  margin: 0;
}

.tl-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #8b8f92;
}

.tl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.tl-photo::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 14, 0.85));
}

.tl-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  font-weight: 800;
  font-size: 15px;
}

.is-last .tl-photo {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.is-last .tl-label {
  color: var(--accent);
}

.tl-item figcaption {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px 2px;
  font-size: 14px;
  color: var(--text-2);
}

.tl-item figcaption b {
  color: var(--text);
  font-size: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.step {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}

.step-n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

/* BENTO */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--card-border);
  isolation: isolate;
}

.tile-wide {
  grid-column: span 2;
}

.tile-tall {
  grid-row: span 2;
}

.tile-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.6s ease;
}

.tile-photo:hover > img {
  transform: scale(1.04);
}

.tile-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 11, 14, 0.05) 20%, rgba(7, 11, 14, 0.92) 100%);
}

.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px;
}

.tile-body p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
  max-width: 440px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(7, 11, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tile-stat {
  padding: 26px;
  background: var(--highlight);
  border: 1.5px solid var(--accent-border);
}

.tile-stat .tag {
  background: var(--accent-tint);
  border-color: var(--accent-border);
}

.stat-rows {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.stat-rows div {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
}

.stat-rows small {
  color: var(--text-muted);
  font-size: 13px;
}

.stat-rows em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.split-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}

.list li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-2);
  font-size: 15px;
}

.list li .check {
  margin-top: 3px;
}

.list b {
  color: var(--text);
}

.fc-suggest {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  right: -16px;
  bottom: 18%;
  max-width: 270px;
  border: 1.5px solid var(--accent-border);
  background: rgba(15, 23, 19, 0.92);
}

.fc-suggest .ai {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.fc-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  color: var(--accent) !important;
  font-weight: 800;
  font-size: 13px;
}

.pill-solid {
  background: var(--accent);
  color: var(--on-accent) !important;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.mini-stats div {
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
}

.mini-stats b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mini-stats small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.fine {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--accent-border);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 17px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 16px;
}

.plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cell);
}

.plus::before,
.plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  text-align: center;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(7, 11, 14, 0.55) 0%, rgba(7, 11, 14, 0.9) 75%),
    linear-gradient(180deg, var(--ground) 0%, transparent 25%, transparent 75%, var(--ground) 100%);
}

.cta-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta h2 {
  margin-top: 24px;
  font-size: clamp(38px, 5.5vw, 64px);
}

.cta .sub {
  color: var(--text-soft);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-in {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-in p {
  margin-top: 10px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-weight: 600;
  color: var(--text-soft);
}

.footer nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero-in,
  .split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .split-rev .split-copy {
    order: 0;
  }

  .hero-bg img {
    object-position: 60% 20%;
    opacity: 0.4;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(7, 11, 14, 0.75) 0%, rgba(7, 11, 14, 0.9) 55%, var(--ground) 100%);
  }

  .section {
    padding: 80px 0;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .tile-tall {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .nav-in {
    height: 60px;
  }

  .lead,
  .sub {
    font-size: 16px;
  }

  .store {
    flex: 1 1 150px;
    height: 54px;
    padding: 0 16px;
    font-size: 16px;
  }

  .phone {
    max-width: 270px;
    border-radius: 42px;
  }

  .phone img {
    border-radius: 33px;
  }

  .fc-score {
    left: 0;
    top: 12%;
  }

  .fc-meal,
  .fc-suggest {
    right: 0;
    max-width: 220px;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .tile-wide {
    grid-column: span 1;
  }

  .tile-stat {
    height: auto;
  }

  .bento .tile-stat {
    grid-row: auto;
  }

  .mini-stats b {
    font-size: 24px;
  }

  .mini-stats div {
    padding: 14px;
  }

  .cta {
    padding: 100px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Floating cards sit around the phone, not the column. */
.stage {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.stage .phone {
  max-width: none;
}

.stage .float-card {
  z-index: 3;
}

.stage .fc-score {
  left: -96px;
  top: 30%;
}

.stage .fc-meal {
  right: -110px;
  bottom: 16%;
}

.stage .fc-suggest {
  right: -120px;
}

@media (max-width: 640px) {
  .stage {
    max-width: 260px;
  }

  .stage .fc-score {
    left: -28px;
    top: 26%;
  }

  .stage .fc-meal,
  .stage .fc-suggest {
    right: -28px;
    max-width: 210px;
  }
}

.store span {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .stage .float-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 14px;
  }

  .stage .float-card strong {
    font-size: 13px;
  }

  .stage .float-card small,
  .stage .float-card span {
    font-size: 11px;
  }

  .stage .fc-score {
    top: 8%;
  }

  .stage .fc-meal {
    bottom: 4%;
    max-width: 200px;
  }

  .stage .fc-meal img {
    width: 38px;
    height: 38px;
  }

  .stage .fc-suggest {
    bottom: 6%;
  }

  .ring {
    width: 40px;
    height: 40px;
  }
}

/* Logo has a black ground; lighten blends it into the dark page. */
.logo-img {
  display: block;
  width: auto;
  mix-blend-mode: lighten;
}

.cta-logo {
  width: min(480px, 88vw);
  height: auto;
  margin-bottom: -12px;
}

/* CTA: logo on a plain dark ground, no photo behind it. */
.cta::after {
  background: radial-gradient(ellipse 50% 60% at 50% 35%, rgba(232, 184, 88, 0.08), transparent 70%);
}

.cta {
  background: var(--ground);
}
