/* =============================================================
   SoforTech — NEXUS theme (deep-space + neon network)
   Loaded AFTER styles.css (the dark obsidian base).

   A new direction: futuristic, luminous, alive. The hero is a
   live Three.js network sphere; the rest of the page picks up
   its palette — deep purples, neon cyan, hot magenta, electric
   blue — as accents, glows and gradients over near-black.
   ============================================================= */

:root {
  /* ── deepen the canvas to interstellar near-black with a blue-violet cast ── */
  --obsidian:   #05060a;
  --obsidian-2: #080a12;
  --slate-900:  #0b0e18;
  --slate-800:  #11152370;

  /* ── neon accent system ── */
  --cyan:     #00f5ff;
  --cyan-2:   #22d3ee;
  --magenta:  #ff1f8f;
  --magenta-2:#f72585;
  --purple:   #7b2ff7;
  --violet:   #9d4edd;
  --blue:     #3a86ff;

  /* retune ice accent (used by base for links/glow) → electric cyan */
  --ice:        #67e8f9;
  --ice-strong: #00f5ff;

  /* glassy surfaces gain a faint violet tint */
  --glass:       rgba(123, 47, 247, 0.05);
  --glass-2:     rgba(123, 47, 247, 0.09);
  --hair:        rgba(124, 196, 255, 0.10);
  --hair-strong: rgba(124, 196, 255, 0.20);

  /* neon-aware elevation: tight black + a whisper of cyan rim-light */
  --shadow-card:
      0 1px 0 rgba(124,196,255,0.06) inset,
      0 30px 60px -28px rgba(0,0,0,0.92),
      0 8px 24px -16px rgba(0,0,0,0.95);
  --shadow-float:
      0 1px 0 rgba(124,196,255,0.08) inset,
      0 0 0 1px rgba(0,245,255,0.06),
      0 50px 90px -40px rgba(0,0,0,0.95),
      0 0 60px -20px rgba(123,47,247,0.35);
}

/* deep nebula wash behind the whole page */
body {
  background-image:
    radial-gradient(1000px 700px at 82% -10%, rgba(123,47,247,0.16), transparent 60%),
    radial-gradient(820px 620px at -8% 8%, rgba(0,245,255,0.10), transparent 58%),
    radial-gradient(900px 700px at 50% 120%, rgba(255,31,143,0.10), transparent 60%);
}

/* ===================== TYPOGRAPHY ===================== */
.hero__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; }
.section__title, .cta__title { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; }

/* animated neon gradient on emphasis words */
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 30%, var(--purple) 55%, var(--magenta) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: nexusFlow 9s ease-in-out infinite;
}
@keyframes nexusFlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.eyebrow, .section__label, .trusted__label {
  letter-spacing: 0.34em; font-weight: 500; color: var(--cyan-2);
}

/* ===================== HERO (two-column: copy left · sphere right) ===================== */
.hero { background: #05060a; border-bottom: 1px solid var(--hair); }

/* mirror the .split grid used by the sections below, so the hero copy
   lines up on the exact same left edge as "Salon management…" etc. */
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw);
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero__text { max-width: 38rem; }

/* size the headline to sit comfortably inside the left column */
.hero .hero__title { font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1.03; }

/* RIGHT column — the live sphere lives here (no longer a full-bleed bg) */
.hero__stage {
  position: relative; align-self: stretch;
  min-height: clamp(420px, 54vh, 640px);
}
.hero__canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 1; pointer-events: none;   /* ambient only — not interactive */
  -webkit-mask-image: radial-gradient(84% 84% at 50% 50%, #000 70%, transparent 100%);
          mask-image: radial-gradient(84% 84% at 50% 50%, #000 70%, transparent 100%);
}
/* offline / no-WebGL fallback: hide the dead canvas, lean on the aurora */
.hero__canvas.is-fallback { display: none; }

/* stack on narrower screens: copy on top, sphere below it */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 8px; }
  .hero__text { max-width: 100%; }
  .hero__stage { order: 2; min-height: clamp(320px, 44vh, 460px); }
}

/* aurora becomes a slow nebula bloom that backs the sphere */
.hero__aurora {
  position: absolute; inset: -25%; z-index: -3; opacity: 0.9;
  filter: blur(80px) saturate(135%);
  background:
    radial-gradient(42% 42% at 70% 38%, rgba(123,47,247,0.55), transparent 70%),
    radial-gradient(40% 40% at 30% 62%, rgba(0,245,255,0.34), transparent 72%),
    radial-gradient(46% 40% at 52% 84%, rgba(255,31,143,0.30), transparent 74%);
  animation: nebula 24s ease-in-out infinite alternate;
}
@keyframes nebula {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,-3%,0) scale(1.08) rotate(3deg); }
}

.hero__grid { opacity: 0.25; }
.hero__glow {
  opacity: 0.7;
  background:
    radial-gradient(700px 420px at 60% 12%, rgba(0,245,255,0.10), transparent 60%),
    radial-gradient(560px 520px at 30% 86%, rgba(123,47,247,0.12), transparent 62%);
}

/* interaction hint under the CTA */
.hero__hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--titanium-mut);
}
.hero__hint svg { color: var(--cyan); flex: none; }
.hero__hint svg circle, .hero__hint svg path { animation: hintPulse 2.6s var(--ease) infinite; }
@keyframes hintPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* ===================== PILL BADGE ===================== */
.pill-badge {
  border: 1px solid var(--hair-strong);
  background: linear-gradient(90deg, rgba(0,245,255,0.06), rgba(123,47,247,0.06));
  box-shadow: 0 0 0 1px rgba(0,245,255,0.04), 0 8px 30px -14px rgba(0,245,255,0.4);
}
.pill-badge__tag {
  background: linear-gradient(90deg, var(--cyan), var(--blue)); color: #04121a;
  font-weight: 700;
}
.pill-badge:hover { border-color: var(--cyan); box-shadow: 0 0 24px -6px rgba(0,245,255,0.5); }

/* ===================== BUTTONS ===================== */
.btn--pill, .btn--invert, .btn--mini {
  position: relative; border: none; color: #03121a; font-weight: 700;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 55%, var(--purple) 120%);
  background-size: 160% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 24px -8px rgba(0,245,255,0.55),
    0 10px 40px -14px rgba(123,47,247,0.6);
  transition: background-position .5s var(--ease), transform .35s var(--ease), box-shadow .4s var(--ease);
}
.btn--pill:hover, .btn--invert:hover, .btn--mini:hover {
  color: #03121a; background-position: 100% 50%; transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 10px 30px -8px rgba(0,245,255,0.7),
    0 16px 50px -16px rgba(255,31,143,0.55);
}

.btn--ghost {
  border: 1px solid var(--hair-strong); color: var(--titanium);
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease, background .3s ease;
}
.btn--ghost:hover {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(0,245,255,0.05);
  box-shadow: 0 0 26px -10px rgba(0,245,255,0.6);
}

/* ===================== LINKS / ICONS ===================== */
.nav__links a:hover, .nav__signin:hover, .footer__col a:hover, .footer__legal a:hover { color: var(--cyan); }
.link-arrow { color: var(--cyan-2); }
.link-arrow:hover { color: var(--cyan); }
.feature-list__ico {
  color: var(--cyan);
  background: rgba(0,245,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(0,245,255,0.18), 0 0 24px -10px rgba(0,245,255,0.5);
}
.nav__mark { color: var(--cyan); }

/* ===================== SURFACES / GLASS ===================== */
.tile, .customizer, .dash__card, .id-card {
  background: linear-gradient(180deg, rgba(124,196,255,0.045), rgba(124,196,255,0.015));
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.tile:hover, .id-card:hover { border-color: rgba(0,245,255,0.4); box-shadow: var(--shadow-float); }

/* cursor-tracking specular glare, tinted cyan */
.tile::after {
  mix-blend-mode: screen;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, -30%),
              rgba(0,245,255,0.22), rgba(123,47,247,0.10) 45%, transparent 60%);
}

/* bento media placeholders → faint neon fields instead of flat gray */
.tile__media--cake   { background: radial-gradient(120% 120% at 30% 20%, rgba(255,31,143,0.22), transparent 60%), #0a0c16; }
.tile__media--tiffin { background: radial-gradient(120% 120% at 70% 30%, rgba(0,245,255,0.18), transparent 60%), #0a0c16; }
.tile__media--sweet  { background: radial-gradient(120% 120% at 40% 70%, rgba(123,47,247,0.22), transparent 60%), #0a0c16; }

.tile__tag { color: var(--cyan-2); letter-spacing: 0.2em; }
.tile--stat b {
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* customizer chips */
.cz-select { background: rgba(124,196,255,0.05); box-shadow: inset 0 0 0 1px rgba(124,196,255,0.12); }
.cz-select--active, .cz-opt--sel { color: var(--cyan); }

/* dashboard live dot → neon */
.dash__live i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ===================== STAT STRIP ===================== */
.strip { background: var(--obsidian-2); border-color: var(--hair); }
.strip__item b {
  background: linear-gradient(100deg, var(--titanium), var(--cyan-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===================== TESTIMONIAL / CTA GLOWS ===================== */
.quote-sec__glow {
  background: radial-gradient(600px 400px at 50% 50%, rgba(123,47,247,0.18), transparent 65%);
}
.quote__avatar { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.cta__glow {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(0,245,255,0.16), transparent 60%),
    radial-gradient(620px 420px at 50% 110%, rgba(255,31,143,0.14), transparent 62%);
}

/* leadership — neon monogram avatars */
.team__row--3 { grid-template-columns: repeat(3, 1fr); }

/* A single card must not stretch across a quarter of the row, nor sit alone on
   the left. One centred column, capped so the portrait keeps its proportions. */
.team__row--solo { grid-template-columns: minmax(0, 340px); justify-content: center; }
.id-card__photo {
  background: linear-gradient(155deg, rgba(0,245,255,0.12), rgba(123,47,247,0.18));
  box-shadow: inset 0 0 0 1px rgba(124,196,255,0.16), 0 0 30px -12px rgba(123,47,247,0.6);
}
/* replace the silhouette with the person's initials */
.id-card__photo::before { display: none; }
.id-card__photo::after {
  content: attr(data-monogram);
  position: absolute; inset: 0; width: auto; height: auto;
  transform: none; border-radius: 0; background: none;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem); letter-spacing: 0.05em;
  color: rgba(238,241,244,0.92);
  text-shadow: 0 0 24px rgba(0,245,255,0.4);
}

/* ===================== INQUIRY FORM ===================== */
.inquiry { position: relative; overflow: hidden; }
.inquiry__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 28%, rgba(123,47,247,0.16), transparent 62%),
    radial-gradient(560px 400px at 10% 82%, rgba(0,245,255,0.10), transparent 60%);
}
.inquiry__inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.inquiry__points { margin-top: 26px; display: grid; gap: 12px; }
.inquiry__points li { display: flex; gap: 10px; align-items: center;
  color: var(--titanium-dim); font-size: 0.95rem; }
.inquiry__points span { color: var(--cyan); }

.inquiry__form {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--hair); border-radius: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.inquiry__form .field { display: flex; flex-direction: column; gap: 8px; }
.inquiry__form .field--full { grid-column: 1 / -1; }
.inquiry__form label {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--titanium-mut);
}
.inquiry__form input, .inquiry__form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(124,196,255,0.04); color: var(--titanium);
  border: 1px solid var(--hair-strong); font: inherit; font-size: 0.95rem;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.inquiry__form input::placeholder, .inquiry__form textarea::placeholder { color: var(--titanium-mut); }
.inquiry__form input:focus, .inquiry__form textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,245,255,0.12); background: rgba(0,245,255,0.05);
}
.inquiry__form textarea { resize: vertical; min-height: 112px; }
.inquiry__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.inquiry__actions .btn--pill { align-self: flex-start; }
.inquiry__status { font-size: 0.9rem; color: var(--cyan-2); margin: 0; }
.inquiry__status.is-error { color: var(--magenta); }

@media (max-width: 860px) {
  .inquiry__inner { grid-template-columns: 1fr; }
  .inquiry__form { grid-template-columns: 1fr; }
}

/* ===================== KINETIC ===================== */
:root {
  --spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal { transition: opacity .7s var(--spring-soft), transform .8s var(--spring); }
.bento { perspective: 1200px; }
.tile { transform-style: preserve-3d; will-change: transform;
  transition: transform .45s var(--spring), box-shadow .5s var(--spring-soft), border-color .3s ease; }
.split__visual { perspective: 1600px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- full-screen glass mobile overlay nav ---------- */
@media (max-width: 980px) {
  .nav__inner { position: relative; z-index: 2; }
  .nav:has(.nav__mobile.is-open) .nav__actions .btn--pill { display: none; }
  .nav__mobile {
    position: fixed; inset: 0; height: 100dvh; z-index: 1;
    display: none; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: clamp(6px, 1.5vw, 16px); padding: 0 clamp(28px, 8vw, 64px);
    background: rgba(5, 6, 10, 0.82);
    backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%);
    border: none;
  }
  .nav__mobile.is-open { display: flex; }
  .nav__mobile a {
    font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
    font-size: clamp(2.2rem, 11vw, 4rem); color: var(--titanium);
    border: none; padding: 6px 0;
    opacity: 0; transform: translateY(26px);
    animation: navItem .6s var(--spring) forwards;
  }
  .nav__mobile.is-open a:nth-child(1) { animation-delay: .06s; }
  .nav__mobile.is-open a:nth-child(2) { animation-delay: .12s; }
  .nav__mobile.is-open a:nth-child(3) { animation-delay: .18s; }
  .nav__mobile.is-open a:nth-child(4) { animation-delay: .24s; }
  .nav__mobile .btn--pill { margin-top: 28px; align-self: flex-start; font-size: 1rem;
    animation: navItem .6s var(--spring) .32s forwards; }
}
@keyframes navItem { to { opacity: 1; transform: none; } }

/* ===================== DEVICE MOCKUPS ===================== */
/* Yuma sits on the LEFT (mirror of Lineo); copy on the right.
   On mobile both stack with the copy first. */
.split--media-left .split__visual { order: 0; }
@media (max-width: 980px) {
  .split--media-left .split__visual { order: 2; }
}
.device { position: relative; width: 100%; margin-inline: auto; }
.device__screen { position: relative; }

/* ---- Tablet frame (Lineo dashboard) ---- */
.device--tablet {
  max-width: 580px; border-radius: 26px; padding: 16px;
  background: linear-gradient(155deg, #1b2233, #0a0c13);
  border: 1px solid var(--hair-strong);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 70px -26px rgba(0,245,255,0.35);
}
.device--tablet .device__cam {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(124,196,255,0.5); box-shadow: 0 0 8px rgba(0,245,255,0.7);
}
.device--tablet .device__screen {
  border-radius: 12px; overflow: hidden; background: #F7F7F8;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}

/* ===================== LINEO DAILY SCHEDULE (replica of the real web dashboard) ===================== */
.lineo-board {
  --lb-gutter: 46px;
  position: relative; width: 100%; display: flex; flex-direction: column;
  font-family: "Inter", var(--sans); color: #111827; background: #F7F7F8;
  text-align: left; letter-spacing: 0;
}
.lineo-board *, .lineo-board *::before, .lineo-board *::after { box-sizing: border-box; }

/* toolbar */
.lb-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; background: #fff; border-bottom: 1px solid #EAE6DF; }
.lb-top__l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lb-nav { display: flex; gap: 4px; }
.lb-nav button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  color: #6B7280; font-size: 15px; background: #F7F7F8; }
.lb-title { font-size: 16px; font-weight: 700; color: #09090b; letter-spacing: -0.01em; line-height: 1.2; }
.lb-date { font-size: 11px; font-weight: 600; color: #6B7280; margin-top: 1px; }
.lb-count { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: #6B7280; white-space: nowrap; }
.lb-new { flex: none; padding: 8px 14px; border-radius: 999px; background: #09090b; color: #fff;
  font-size: 12px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.18); }

/* scroll wrapper */
.lb-grid { flex: 1; overflow: auto; scrollbar-width: none; }
.lb-grid::-webkit-scrollbar { display: none; }

/* staff header */
.lb-head { display: flex; position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid #EAE6DF; }
.lb-head__gutter { width: var(--lb-gutter); flex: none; }
.lb-staff { flex: 1; min-width: 116px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 14px 8px 12px; border-left: 1px solid #F2EFE9; }
.lb-staff:first-of-type { border-left: none; }
.lb-staff__ava { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.10); }
.lb-staff__badge { position: absolute; bottom: -2px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px; background: #09090b; color: #fff;
  font-size: 10px; font-weight: 700; font-style: normal; border: 2px solid #fff; }
.lb-staff__name { max-width: 100%; font-size: 12.5px; font-weight: 600; color: #09090b;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-staff__role { font-size: 10px; font-weight: 600; color: #D4AF37; text-transform: uppercase; letter-spacing: 0.06em; }
.lb-staff__hours { font-size: 10px; font-weight: 500; color: #a1a1aa; }

/* timeline body */
.lb-body { display: flex; position: relative; height: 406px; }
.lb-gutter { width: var(--lb-gutter); flex: none; position: relative; }
.lb-gutter span { position: absolute; right: 8px; transform: translateY(-50%);
  font-size: 10px; font-weight: 500; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-cols { flex: 1; display: flex; position: relative; }
.lb-lines { position: absolute; inset: 0; pointer-events: none; }
.lb-lines i { position: absolute; left: 0; right: 0; height: 1px; background: #F2EFE9; }
.lb-now { position: absolute; left: 0; right: 0; height: 2px; background: #09090b; z-index: 8; }
.lb-now i { position: absolute; left: -2px; top: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: #09090b; box-shadow: 0 0 0 3px rgba(9,9,11,0.12); }
.lb-col { flex: 1; min-width: 116px; position: relative; border-left: 1px solid #F2EFE9; }
.lb-col:first-child { border-left: none; }

/* booking card — flat pastel block, dark text (mirrors the real dashboard) */
.lb-ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; overflow: hidden;
  padding: 7px 11px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.lb-ev--compact { justify-content: center; padding: 5px 11px; }
.lb-ev__row { display: flex; justify-content: space-between; align-items: center; }
.lb-ev__time { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(0,0,0,0.5); font-variant-numeric: tabular-nums; }
.lb-ev__dur { font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(0,0,0,0.42); font-variant-numeric: tabular-nums; }
.lb-ev__name { font-size: 13px; font-weight: 600; color: #111827; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-ev__svc { font-size: 11.5px; font-weight: 500; color: rgba(0,0,0,0.58); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-ev__pay { position: absolute; right: 7px; bottom: 6px; display: inline-flex; color: #B8860B; }
.lb-ev__pay svg { width: 11px; height: 11px; }

/* ---- Phone frame (Yuma app) ---- */
.device--phone {
  max-width: 348px; border-radius: 46px; padding: 13px;
  background: linear-gradient(155deg, #232c40, #090b12);
  border: 1px solid var(--hair-strong);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255,255,255,0.07), 0 0 70px -22px rgba(123,47,247,0.5);
}
/* single camera dot (no big black notch) */
.device--phone .device__cam {
  position: absolute; top: 25px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; z-index: 5;
  background: #0a0c14;
  box-shadow: inset 0 0 0 1.4px rgba(120,160,210,0.35), 0 0 0 2px rgba(255,255,255,0.5);
}
.device--phone .device__screen {
  border-radius: 34px; overflow: hidden; background: #fff;
  aspect-ratio: 9 / 19.2;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.2);
}
/* safe-area: keep app content clear of the camera (top) + home area (bottom) */
.device--phone .ya-head { padding-top: 22px; }
.device--phone .ya-tab { padding-bottom: 14px; }

/* ===================== YUMA APP (light UI inside the phone) ===================== */
.yuma-app {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  font-family: "Lexend", var(--sans); color: #111827; background: #fff;
  text-align: left; letter-spacing: 0;
}
.yuma-app *, .yuma-app *::before, .yuma-app *::after { box-sizing: border-box; }
.yuma-app .ya-ic { display: block; flex: none; }

/* header */
.ya-head { flex: none; padding: 14px 14px 0; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); z-index: 2; }
.ya-head__top { display: flex; justify-content: space-between; align-items: center; }
.ya-loc { display: flex; align-items: center; gap: 4px; font-family: inherit; font-weight: 700; font-size: 15px; color: #111827; }
.ya-loc .ya-ic { width: 18px; height: 18px; color: #4B5563; }
.ya-head__act { display: flex; align-items: center; gap: 14px; color: #1F2937; }
.ya-head__act .ya-ic { width: 21px; height: 21px; }
.ya-bell { position: relative; display: flex; }
.ya-bell i { position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%; background: #EF4444; border: 1.5px solid #fff; }
.ya-search { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 12px; border-radius: 12px; background: #F3F4F5; color: #6B7280; font-size: 13px; font-weight: 500; }
.ya-search .ya-ic { width: 18px; height: 18px; color: #9CA3AF; }
.ya-cats { display: flex; gap: 20px; margin-top: 12px; padding-bottom: 2px; overflow-x: auto; border-bottom: 1px solid #F3F4F6; scrollbar-width: none; }
.ya-cats::-webkit-scrollbar { display: none; }
.ya-cats button { padding: 0 0 9px; font-family: inherit; font-size: 14px; font-weight: 600; color: #6B7280; white-space: nowrap; border-bottom: 2px solid transparent; background: none; }
.ya-cats button.is-active { color: #111827; font-weight: 700; border-bottom-color: #111827; }

/* scrollable body */
.ya-main { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 18px 14px 16px;
  display: flex; flex-direction: column; gap: 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ya-main::-webkit-scrollbar { display: none; }
.ya-sec { display: flex; flex-direction: column; gap: 12px; }
.ya-sec__title { display: flex; align-items: center; gap: 10px; }
.ya-sec__title--row { justify-content: space-between; }
.ya-sec__ico { display: flex; padding: 7px; border-radius: 50%; border: 1px solid #F3F4F6; background: #F9FAFB; color: #1F2937; }
.ya-sec__ico .ya-ic { width: 18px; height: 18px; }
.ya-sec h3 { font-size: 17px; font-weight: 700; line-height: 1.2; color: #111827; }
.ya-sec p { font-size: 12.5px; font-weight: 500; color: #6B7280; margin-top: 2px; }
.ya-sec__solo { font-size: 18px; font-weight: 700; }
.ya-viewall { font-size: 13px; font-weight: 700; color: #111827; white-space: nowrap; cursor: pointer; }

/* horizontal rails */
.ya-rail { display: flex; gap: 14px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
.ya-rail::-webkit-scrollbar { display: none; }

/* weekly-plan cards */
.ya-plan { flex: 0 0 78%; max-width: 78%; display: flex; flex-direction: column; }
.ya-plan__media { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #E5E7EB; }
.ya-plan__media img { width: 100%; height: 100%; object-fit: cover; }
.ya-chip { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,0.95); font-size: 10.5px; font-weight: 700; color: #111827; }
.ya-plan__cta { position: absolute; right: 10px; bottom: 10px; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; color: #111827; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.ya-plan h4 { margin-top: 8px; font-size: 16px; font-weight: 700; }

/* dish / cake cards */
.ya-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ya-card { display: flex; flex-direction: column; }
.ya-card--rail { flex: 0 0 62%; max-width: 62%; }
.ya-card__media { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #F3F4F6; }
.ya-card--rail .ya-card__media { aspect-ratio: 3 / 2; }
.ya-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ya-fav { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #9CA3AF; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.ya-fav svg { width: 15px; height: 15px; }
.ya-fav--on { color: #EF4444; }
.ya-add { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #1A1F2C; color: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2); }
.ya-add svg { width: 15px; height: 15px; }
.ya-badge { position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 999px; background: #1A1F2C; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.ya-card__row { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font-size: 13px; font-weight: 700; color: #111827; }
.ya-card__row b:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ya-card__row b:last-child { white-space: nowrap; }

/* meta line */
.ya-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 11px; font-weight: 500; color: #6B7280; margin-top: 3px; }
.ya-meta i { color: #D1D5DB; font-style: normal; }
.ya-meta--strong { color: #111827; font-weight: 700; font-size: 13px; }
.ya-star { color: #111827; font-weight: 700; margin-left: auto; }
.ya-star .s { color: #FB923C; font-style: normal; margin-right: 3px; }

/* bottom tab bar */
.ya-tab { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; border-top: 1px solid #F3F4F6; background: #fff; z-index: 2; }
.ya-tab a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9CA3AF; font-size: 10px; font-weight: 600; cursor: pointer; }
.ya-tab a.is-active { color: #111827; font-weight: 700; }
.ya-tab .ya-ic { width: 22px; height: 22px; }
.ya-tab__badge { position: absolute; top: -4px; right: 4px; min-width: 15px; height: 15px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: #EF4444; border: 1px solid #fff; color: #fff; font-size: 9px; font-weight: 700; font-style: normal; }

@media (max-width: 480px) {
  .device--phone { max-width: 320px; }
  .device--tablet { padding: 11px; border-radius: 20px; }
}

/* reduced motion: strip the kinetic + ambient animation layer */
@media (prefers-reduced-motion: reduce) {
  .grad, .hero__aurora, .hero__hint svg circle, .hero__hint svg path { animation: none !important; }
  .nav__mobile a, .nav__mobile .btn--pill { animation: none !important; opacity: 1; transform: none; }
  .reveal { transition: none; }
}
