/* ModoForge Labs — Flagship Studio & Dual-App Showcase
   Zero external fonts, zero trackers, 100% self-contained. */
:root {
  --bg: #07060e;
  --bg-2: #0f0c1d;
  --bg-3: #141126;
  --surface: #151226;
  --surface-2: #1d1934;
  --surface-3: #262044;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2effa;
  --muted: #a8a2c2;
  --subtle: #787296;

  /* ModoForge: Minimalist Launcher Palette (Sunrise, Twilight & Wellbeing) */
  --peach: #ffc9a8;
  --coral: #ff9e80;
  --gold: #ffe196;
  --lavender: #d0bcff;
  --mint: #b4f0d2;
  --sky: #a8d8ff;

  --grad-labs: linear-gradient(105deg, var(--peach) 0%, var(--lavender) 48%, var(--mint) 100%);
  --grad-launcher: linear-gradient(105deg, var(--peach) 0%, var(--lavender) 55%, var(--mint) 100%);
  --grad-vibe: var(--grad-launcher);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--peach); text-underline-offset: 3px; transition: color .18s ease; }
a:hover { color: var(--mint); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
[id] { scroll-margin-top: 86px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--surface-2); color: var(--text);
  padding: 10px 16px; border-radius: 10px; z-index: 100;
}
.skip:focus { left: 14px; top: 14px; }

/* ---------- Scroll Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ---------- Sticky Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 6, 14, 0.76);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px; height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); text-decoration: none;
  font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-badge {
  font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em;
  padding: 2px 8px; border-radius: 99px;
  background: rgba(208, 188, 255, 0.12); color: var(--lavender);
  border: 1px solid rgba(208, 188, 255, 0.24);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav .nav-pill {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text); font-weight: 600; font-size: .88rem;
}
.nav .nav-pill:hover {
  border-color: var(--peach);
  background: rgba(255, 201, 168, 0.1);
}
@media (max-width: 720px) {
  .nav .hide-sm { display: none; }
  .nav { gap: 14px; }
  .brand-badge { display: none; }
}

/* ---------- Buttons & Badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 650; font-size: .98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-launcher {
  background: var(--grad-launcher); color: #0c0914;
  box-shadow: 0 12px 32px rgba(255, 201, 168, 0.24);
}
.btn-launcher:hover {
  color: #0c0914; transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(208, 188, 255, 0.34);
}
.btn-vibe {
  background: var(--grad-vibe); color: #0c0914;
  box-shadow: 0 12px 32px rgba(255, 201, 168, 0.24);
}
.btn-vibe:hover {
  color: #0c0914; transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(208, 188, 255, 0.34);
}
.btn-ghost {
  border-color: var(--line-strong); color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}
.btn-ghost:hover {
  color: var(--text); border-color: var(--lavender);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}
.btn-sm { padding: 9px 16px; font-size: .88rem; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; margin-bottom: 14px;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--peach);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulseDot 2.4s infinite ease-in-out;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .65; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 65% at 76% 36%, rgba(255, 201, 168, 0.15), transparent 70%),
    radial-gradient(50% 60% at 62% 58%, rgba(208, 188, 255, 0.18), transparent 72%),
    radial-gradient(45% 50% at 15% 85%, rgba(180, 240, 210, 0.10), transparent 70%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center;
  pointer-events: none;
}
.hero .wrap a, .hero .wrap button, .hero .wrap .hero-stage { pointer-events: auto; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.04; letter-spacing: -.025em;
  margin: 0 0 20px;
}
.hero .lede {
  color: var(--muted); font-size: 1.14rem; line-height: 1.62;
  max-width: 36em; margin: 0 0 28px;
}
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--muted);
  background: rgba(21, 18, 38, 0.72);
  border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px;
}
.hero-pill strong { color: var(--text); font-weight: 600; }
.touch-hint {
  color: var(--subtle); font-size: .82rem; margin-top: 16px;
  display: flex; align-items: center; gap: 6px;
}

/* ---------- Dual-Phone Hero Stage ---------- */
.hero-stage {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 560px;
  perspective: 1200px;
}
.stage-tilt {
  position: relative;
  width: 390px; height: 550px;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}

/* Phone Mockup Base */
.phone {
  position: relative;
  width: 276px; aspect-ratio: 9 / 19;
  border-radius: 40px; padding: 9px;
  background: linear-gradient(155deg, #342d4d 0%, #141022 55%, #231d38 100%);
  box-shadow:
    0 36px 76px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  user-select: none;
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 31px; overflow: hidden; background: #080710;
}
.phone .screen > img,
.phone .screen .wp-layer img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.phone .notch {
  position: absolute; top: 17px; left: 50%; width: 22%; height: 15px;
  transform: translateX(-50%); background: #05040a; border-radius: 99px; z-index: 6;
}
.phone .label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 6;
  background: rgba(8, 6, 16, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text); font-size: .75rem; font-weight: 600;
  padding: 5px 12px; border-radius: 99px; white-space: nowrap;
}

/* Rear Phone (VibeFluid Live Wallpaper) */
.phone-back {
  position: absolute; right: 0; top: 14px;
  width: 248px;
  transform: translate3d(18px, -8px, -40px) rotateY(-12deg) rotateZ(4deg);
  opacity: .92;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
}
.hero-stage:hover .phone-back {
  transform: translate3d(28px, -14px, -20px) rotateY(-8deg) rotateZ(5deg);
  opacity: 1;
}

/* Front Phone (ModoForge Minimalist Launcher Live UI) */
.phone-front {
  position: relative; z-index: 3;
  margin-right: 70px; margin-top: 24px;
  transform: translate3d(0, 0, 20px) rotateY(6deg) rotateZ(-2deg);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.hero-stage:hover .phone-front {
  transform: translate3d(-8px, -4px, 36px) rotateY(3deg) rotateZ(-1deg);
}

/* Time of Day cross-fade wallpaper layer */
.cycle img { opacity: 0; animation: cycle 16s infinite; }
.cycle img:nth-child(1) { animation-delay: -2s; }
.cycle img:nth-child(2) { animation-delay: 2s; }
.cycle img:nth-child(3) { animation-delay: 6s; }
.cycle img:nth-child(4) { animation-delay: 10s; }
@keyframes cycle {
  0% { opacity: 0; }
  6% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; }
  100% { opacity: 0; }
}

/* Live Simulated Launcher Overlay inside Front Phone */
.launcher-sim {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(180deg, rgba(6, 7, 15, 0.38) 0%, rgba(6, 7, 15, 0.68) 65%, rgba(6, 7, 15, 0.84) 100%);
  padding: 42px 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  transition: filter .35s ease, background .35s ease;
}
.launcher-sim.is-focus {
  filter: saturate(0.15);
  background: rgba(5, 6, 10, 0.82);
}
.sim-top { display: flex; flex-direction: column; gap: 2px; }
.sim-mode-bar {
  display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap;
}
.sim-mode-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: .64rem; font-weight: 600;
  padding: 3px 8px; border-radius: 99px; cursor: pointer;
  transition: all .18s ease;
}
.sim-mode-btn[aria-pressed="true"] {
  background: rgba(255, 201, 168, 0.24);
  border-color: var(--peach);
  color: #fff;
}
.sim-clock {
  font-size: 3.1rem; font-weight: 200; line-height: 1; letter-spacing: -.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.sim-date {
  font-size: .74rem; color: rgba(255, 255, 255, 0.84); font-weight: 500; margin-top: 4px;
}
.sim-widgets {
  display: flex; flex-direction: column; gap: 2px; margin-top: 4px;
  font-size: .68rem; color: rgba(255, 255, 255, 0.72);
}
.sim-goal { color: var(--peach); }

.sim-apps {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
  margin-top: auto; margin-bottom: 14px;
}
.sim-app {
  display: flex; flex-direction: column; gap: 4px;
  animation: appSlideIn .28s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes appSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.sim-app-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 1.05rem; font-weight: 350; letter-spacing: -.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.sim-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .66rem; font-weight: 650;
  padding: 1px 6px; border-radius: 99px; margin-left: 6px;
  background: rgba(208, 188, 255, 0.24); color: var(--lavender);
}
.sim-usage {
  font-size: .66rem; color: rgba(255, 255, 255, 0.56); font-variant-numeric: tabular-nums;
}
.sim-reply-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px; padding: 5px 9px;
  font-size: .66rem; color: rgba(255, 255, 255, 0.9);
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.sim-reply-pill:hover {
  background: rgba(255, 201, 168, 0.2); border-color: var(--peach);
}
.sim-reply-pill .reply-action {
  color: var(--peach); font-weight: 650; white-space: nowrap;
}
.sim-bottom-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .65rem; color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

@media (max-width: 920px) {
  .hero { padding: 44px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 42px; }
  .hero-stage { min-height: 510px; }
  .stage-tilt { width: 340px; height: 500px; }
  .phone { width: 248px; }
  .phone-back { width: 222px; }
}

/* ---------- Sections ---------- */
section { padding: 92px 0; position: relative; }
.alt {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 720px; margin: 0 0 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }

/* ---------- Studio Suite Cards (Two Apps Overview) ---------- */
.suite-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.app-card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.app-card:hover {
  transform: translateY(-4px);
}
.app-card.launcher-card {
  background:
    radial-gradient(80% 70% at 95% 0%, rgba(255, 201, 168, 0.13), transparent 65%),
    radial-gradient(60% 60% at 10% 100%, rgba(180, 240, 210, 0.08), transparent 65%),
    var(--surface);
}
.app-card.launcher-card:hover {
  border-color: rgba(255, 201, 168, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 201, 168, 0.08);
}
.app-card.vibe-card {
  background:
    radial-gradient(80% 70% at 95% 0%, rgba(180, 240, 210, 0.13), transparent 65%),
    radial-gradient(60% 60% at 10% 100%, rgba(208, 188, 255, 0.12), transparent 65%),
    var(--surface);
}
.app-card.vibe-card:hover {
  border-color: rgba(180, 240, 210, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(180, 240, 210, 0.08);
}

.app-card-head {
  display: flex; align-items: center; gap: 18px; margin-bottom: 20px;
}
.app-icon-lg {
  width: 72px; height: 72px; border-radius: 20px; flex: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.app-meta-tag {
  display: inline-block; font-size: .75rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--peach); margin-bottom: 4px;
}
.vibe-card .app-meta-tag { color: var(--mint); }
.app-card-head h3 { margin: 0; font-size: 1.5rem; letter-spacing: -.015em; }
.app-card > div > p { color: var(--muted); margin: 0 0 20px; font-size: 1.02rem; }

.app-highlights {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
}
.app-highlights li {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; color: #dedaf0;
}
.app-highlights .check {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: rgba(180, 240, 210, 0.15); color: var(--mint);
  font-size: .72rem; font-weight: 800;
}
.vibe-card .app-highlights .check {
  background: rgba(180, 240, 210, 0.15); color: var(--mint);
}
.app-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Synergy Bridge Banner */
.synergy-banner {
  margin-top: 26px;
  background: linear-gradient(100deg, rgba(255, 201, 168, 0.08), rgba(208, 188, 255, 0.11), rgba(180, 240, 210, 0.08));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.synergy-banner .synergy-text { max-width: 720px; }
.synergy-banner h4 {
  margin: 0 0 4px; font-size: 1.08rem;
  display: flex; align-items: center; gap: 10px;
}
.synergy-banner p { margin: 0; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .suite-grid { grid-template-columns: 1fr; }
  .app-highlights { grid-template-columns: 1fr; }
}

/* ---------- Interactive Launcher Playground ---------- */
.playground {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 56px;
}
.pg-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.pg-tab {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 15px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.pg-tab:hover { color: var(--text); border-color: var(--line-strong); }
.pg-tab[aria-selected="true"] {
  background: linear-gradient(105deg, rgba(255, 201, 168, 0.2), rgba(208, 188, 255, 0.2));
  border-color: var(--peach);
  color: var(--text);
}

.pg-panel { display: none; animation: fadePanel .28s ease; }
.pg-panel.active { display: block; }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.pg-panel h3 { font-size: 1.45rem; margin: 0 0 10px; }
.pg-panel p { color: var(--muted); margin: 0 0 18px; }

.control-group { margin: 16px 0; }
.control-label {
  display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); margin-bottom: 8px; font-weight: 650;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); padding: 7px 13px; border-radius: 10px;
  font-size: .85rem; cursor: pointer; transition: all .15s ease;
}
.chip-btn[aria-pressed="true"] {
  border-color: var(--mint); background: rgba(180, 240, 210, 0.14); color: var(--mint); font-weight: 600;
}
.color-dots { display: flex; gap: 10px; align-items: center; }
.color-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.color-dot[aria-pressed="true"] {
  border-color: #fff; transform: scale(1.15);
}

/* Interactive Phone Preview inside Playground */
.pg-stage {
  display: flex; justify-content: center; align-items: center;
}
.pg-phone {
  width: 286px; aspect-ratio: 9 / 18.5;
  border-radius: 38px; padding: 9px;
  background: linear-gradient(160deg, #322b4a, #120e1e);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.pg-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 30px; overflow: hidden;
  background: radial-gradient(circle at 50% 25%, #1d2238, #090b12 75%);
  padding: 36px 20px 20px;
  display: flex; flex-direction: column;
}

/* Playground Screen States */
.pg-view { display: none; height: 100%; flex-direction: column; justify-content: space-between; }
.pg-view.active { display: flex; animation: fadePanel .25s ease; }

/* Mindful Breathing Animation */
.breath-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; height: 100%; gap: 12px;
}
.breath-orb {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle, var(--peach) 0%, rgba(180, 240, 210, 0.35) 60%, transparent 75%);
  box-shadow: 0 0 40px rgba(180, 240, 210, 0.35);
  display: grid; place-items: center;
  animation: breatheCircle 6s infinite ease-in-out;
  position: relative;
}
.breath-orb::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px solid rgba(180, 240, 210, 0.4);
  animation: breatheRing 6s infinite ease-in-out;
}
@keyframes breatheCircle {
  0%, 100% { transform: scale(0.78); }
  50% { transform: scale(1.18); }
}
@keyframes breatheRing {
  0%, 100% { transform: scale(0.85); opacity: .3; }
  50% { transform: scale(1.25); opacity: .85; }
}

/* Search Omnibox Simulation */
.omnibox-bar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 216, 255, 0.35);
  border-radius: 99px; padding: 8px 14px;
  font-size: .82rem; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.omnibox-results {
  display: flex; flex-direction: column; gap: 8px;
}
.omni-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px; padding: 9px 12px;
  font-size: .76rem;
}
.omni-card strong { display: block; color: var(--mint); font-size: .84rem; }

@media (max-width: 920px) {
  .playground { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Feature Grid (8 Launcher Capabilities) ---------- */
.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.bento-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  margin-bottom: 14px;
  color: var(--peach);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.bento-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.52; }
.bento-tag {
  display: inline-block; margin-top: 12px;
  font-size: .73rem; font-weight: 650; color: var(--lavender);
  background: rgba(208, 188, 255, 0.1);
  padding: 3px 9px; border-radius: 99px;
}

@media (max-width: 1020px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .bento-grid { grid-template-columns: 1fr; } }

/* ---------- Screenshot Carousel Strip ---------- */
.shots-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(245px, 68vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}
.shots-strip figure {
  margin: 0; scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px;
  transition: transform .2s ease, border-color .2s ease;
}
.shots-strip figure:hover {
  transform: translateY(-4px);
  border-color: var(--peach);
}
.shots-strip img {
  width: 100%; height: auto; aspect-ratio: 9 / 16;
  object-fit: cover; border-radius: 14px;
}
.shots-strip figcaption {
  text-align: center; font-size: .84rem; font-weight: 600;
  color: var(--muted); margin-top: 8px; padding-bottom: 2px;
}

/* ---------- VibeFluid Gallery & Wallpaper Grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gallery .phone { width: 100%; border-radius: 30px; padding: 7px; transition: transform .25s ease; }
.gallery figure:hover .phone { transform: translateY(-6px); }
.gallery .phone .screen { border-radius: 24px; }
.gallery .phone .notch { top: 14px; height: 12px; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; margin-top: 12px; font-weight: 600; }
.gallery figcaption span { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }
@media (max-width: 960px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: min(46vw, 220px); overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 12px;
  }
  .gallery figure { scroll-snap-align: start; }
}

.list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; position: relative;
  transition: transform .18s ease, border-color .18s ease;
}
.item:hover { transform: translateY(-2px); border-color: rgba(208, 188, 255, 0.4); }
.item h3 { margin: 0 0 6px; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.item p { margin: 0; color: var(--muted); font-size: .95rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; flex: none; }
@media (max-width: 900px) { .list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .list { grid-template-columns: 1fr; } }

/* Scenes Grid */
.scenes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.scenes figure { margin: 0; transition: transform .2s ease; }
.scenes figure:hover { transform: translateY(-4px); }
.scenes img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16;
  object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
}
.scenes figcaption { margin-top: 8px; font-size: .88rem; font-weight: 600; text-align: center; color: #dedaf0; }
@media (max-width: 960px) { .scenes { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .scenes { grid-template-columns: repeat(3, 1fr); gap: 10px; } .scenes figcaption { font-size: .78rem; } }

/* ---------- Studio Pillars & Pricing ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--surface-2); margin-bottom: 16px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); }
.feature ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.feature li { margin: 5px 0; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan {
  border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line-strong); background: var(--surface);
  display: flex; flex-direction: column;
}
.plan.launcher-plan {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-launcher) border-box;
  border: 1px solid transparent;
}
.plan.vibe-plan {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-vibe) border-box;
  border: 1px solid transparent;
}
.plan-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.plan-header img { width: 48px; height: 48px; border-radius: 12px; }
.plan h3 { margin: 0; font-size: 1.3rem; }
.plan .sub { color: var(--muted); margin: 2px 0 0; font-size: .9rem; }
.plan-tiers {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px;
}
.tier-box {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px;
}
.tier-box .big { font-size: 1.55rem; font-weight: 800; line-height: 1.1; }
.tier-box span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.plan ul { margin: 0 0 24px; padding-left: 18px; color: #ddd9ec; }
.plan li { margin: 7px 0; font-size: .95rem; }
.plan .cta { margin-top: auto; }
@media (max-width: 820px) {
  .pricing { grid-template-columns: 1fr; }
  .plan-tiers { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; font-weight: 650; font-size: 1.06rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; color: var(--mint); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing .section-head { margin: 0 auto 30px; }
.closing .cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px; color: var(--muted); font-size: .92rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .credit { width: 100%; font-size: .84rem; opacity: .78; margin: 8px 0 0; }

.footer-tags { width: 100%; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.footer-title { margin: 0 0 14px; font-size: .95rem; font-weight: 600; color: var(--text); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a {
  display: inline-block; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: .83rem; line-height: 1.3;
  color: var(--muted); text-decoration: none;
  transition: color .15s, border-color .15s;
}
.tags a:hover, .tags a:focus-visible { color: var(--text); border-color: var(--peach); }

/* ---------- Document Pages (Privacy) ---------- */
.doc { max-width: 820px; padding: 48px 22px 84px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); line-height: 1.1; margin: 0 0 10px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { margin: 2.2em 0 .5em; font-size: 1.45rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.doc h3 { margin: 1.6em 0 .4em; font-size: 1.12rem; color: var(--peach); }
.doc p, .doc li { color: #d9d5e8; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { background: var(--surface-2); padding: .12em .45em; border-radius: 6px; font-size: .9em; }
.doc .summary {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 20px 24px; margin: 0 0 20px;
}
.doc .summary p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--surface); color: var(--text); }
.doc tr:last-child td { border-bottom: 0; }
