/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lime:        #D4FF00;
  --lime-soft:   rgba(212,255,0,0.10);
  --lime-line:   rgba(212,255,0,0.22);
  --ink:         #0A0A0A;
  --cream:       #EFEBE3;
  --ink-2:       #0E1014;
  --pink:        #FF3D8B;
  --blue:        #4D7CFF;
  --mint:        #6CFFB0;
  --text:        #0A0A0A;
  --text-mute:   rgba(10,10,10,0.62);
  --text-faint:  rgba(10,10,10,0.42);
  --line:        rgba(10,10,10,0.10);

  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: var(--cream);
  font-family: var(--body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   BACKGROUND  — atmospheric, never noisy
───────────────────────────────────────── */
.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    url('landing-assets/bg-collage.png') right center / cover no-repeat,
    var(--cream);
}

/* soft cream wash on the far left so feature copy stays sharp */
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(239,235,227,0.96) 0%, rgba(239,235,227,0.78) 18%, rgba(239,235,227,0.22) 34%, rgba(239,235,227,0) 44%);
  pointer-events: none;
}

/* very subtle top + bottom vignette to anchor chrome */
.bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(239,235,227,0.35) 0%, transparent 14%, transparent 86%, rgba(239,235,227,0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

/* orbs disabled (kept rules so JS / DOM still resolve harmlessly) */
.orb { display: none; }

@keyframes drift1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(70px, 60px) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-70px,-50px) scale(1.18); }
}
@keyframes drift3 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(60px, 90px) scale(0.88); }
}

/* ─────────────────────────────────────────
   FRAME (top + bottom chrome)
───────────────────────────────────────── */
.frame {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 36px;
}

.frame > * { pointer-events: auto; }

.top-bar, .bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-mark .dot-mark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10,10,10,0.14);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pill .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.7); }
}

.meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.meta .sep-dot { margin: 0 8px; opacity: 0.5; }

/* ─────────────────────────────────────────
   HERO GRID
───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  padding: 96px 72px 96px;
  gap: 0;
}

/* ─────────────────────────────────────────
   LEFT — FEATURE COPY
───────────────────────────────────────── */
.features-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 32px;
  max-width: 560px;
}

.feature-index {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.feature-index strong {
  color: var(--lime);
  font-weight: 500;
}
.feature-index .bar {
  width: 38px;
  height: 1px;
  background: var(--text-faint);
  opacity: 0.6;
}

.feature-slot {
  min-height: 280px;
  position: relative;
}

.feature-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feature-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  width: max-content;
  margin-bottom: 22px;
  box-shadow:
    0 0 0 1px rgba(212,255,0,0.20),
    0 8px 22px rgba(10,10,10,0.18);
}

.feature-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lime);
  flex-shrink: 0;
}

.feature-headline {
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--text);
  margin-bottom: 24px;
  white-space: pre-line;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
  text-wrap: balance;
}
.feature-headline em {
  font-style: normal;
  color: var(--lime);
}

.feature-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 420px;
}

/* progress dots + nav */
.feature-controls {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}
.feature-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: rgba(10,10,10,0.18);
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
  border: none;
  padding: 0;
}
.dot:hover { background: rgba(10,10,10,0.45); }
.dot.active {
  width: 28px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(212,255,0,0.45);
}

.nav-arrows {
  display: flex;
  gap: 6px;
}
.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(10,10,10,0.14);
  background: rgba(255,255,255,0.55);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.nav-btn:hover {
  border-color: rgba(10,10,10,0.6);
  color: var(--ink);
  background: rgba(212,255,0,0.55);
}
.nav-btn svg { width: 14px; height: 14px; }

/* ─────────────────────────────────────────
   CENTER — LOGO + QR
───────────────────────────────────────── */
.center-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 16px 0 16px;
  position: relative;
}

.logo-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 24px;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  border-radius: 999px;
  padding: 22px 38px;
  box-shadow:
    0 0 0 1px rgba(10,10,10,0.10),
    0 18px 40px rgba(212,255,0,0.35),
    0 8px 18px rgba(10,10,10,0.10);
}
.logo-img {
  width: 200px;
  max-width: 22vw;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-tagline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
}

.sep {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,0.18), transparent);
}

/* QR codes */
.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qr-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.qr-pair {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.qr-frame {
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 0 0 1px rgba(10,10,10,0.06),
    0 14px 28px rgba(10,10,10,0.18);
  transition: transform 0.3s ease;
}
.qr-frame:hover { transform: translateY(-2px); }

.qr-frame canvas,
.qr-frame img { width: 100% !important; height: 100% !important; }

.qr-store {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.qr-store svg {
  width: 11px;
  height: 11px;
  opacity: 0.75;
}

/* ─────────────────────────────────────────
   RIGHT — PHONE MOCKUP
───────────────────────────────────────── */
.phone-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 32px;
}

.phone-scene {
  position: relative;
  perspective: 1400px;
}

.phone-aura {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse, rgba(212,255,0,0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 252px;
  height: 520px;
  background: #050608;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.9),
    0 60px 130px rgba(0,0,0,0.7),
    0 20px 50px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  animation: phoneFloat 8s ease-in-out infinite;
  padding: 6px;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0)    rotateY(-6deg) rotateX(2deg); }
  50%       { transform: translateY(-14px) rotateY(-6deg) rotateX(2deg); }
}

/* dynamic island */
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* power/volume buttons */
.phone-button {
  position: absolute;
  width: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  z-index: -1;
}
.phone-button.right { right: -3px; top: 110px; height: 60px; }
.phone-button.left-1 { left: -3px; top: 90px; height: 30px; }
.phone-button.left-2 { left: -3px; top: 130px; height: 50px; }
.phone-button.left-3 { left: -3px; top: 190px; height: 50px; }

.phone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 44px;
  overflow: hidden;
  background: #fff;
}

.screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1),
              transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.screen-slide.on {
  opacity: 1;
  transform: scale(1);
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}

/* phone status bar overlay — hidden so the iOS chrome inside each
   screenshot shows through cleanly without duplicate notch/status */
.phone-status { display: none !important; }

/* phone shadow */
.phone-shadow {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 16px;
  background: var(--lime);
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.22;
  z-index: 0;
}

/* floating accent badges around phone */
.accent-badge {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: badgeFloat 6s ease-in-out infinite;
}
.accent-badge.tl {
  top: 6%;
  left: -34%;
  background: var(--lime);
  border: 1px solid rgba(10,10,10,0.18);
  color: var(--ink);
  animation-delay: 0s;
  box-shadow: 0 8px 22px rgba(212,255,0,0.45);
}
.accent-badge.bl {
  bottom: 14%;
  left: -28%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(10,10,10,0.10);
  color: var(--text);
  animation-delay: -2s;
  box-shadow: 0 8px 22px rgba(10,10,10,0.10);
}
.accent-badge .glyph {
  display: inline-block;
  margin-right: 7px;
  color: var(--lime);
}
.accent-badge .num {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 11px;
  margin-right: 4px;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ─────────────────────────────────────────
   RESPONSIVE GUARD
───────────────────────────────────────── */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 220px 1fr;
    padding: 96px 48px;
  }
  .feature-headline { font-size: clamp(36px, 4vw, 56px); }
  .accent-badge.tl { left: -10%; }
  .accent-badge.bl { left: -6%; }
}
@media (max-width: 720px) {
  body { overflow: auto; }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    padding: 110px 32px 60px;
    gap: 56px;
  }
  .features-panel { padding-right: 0; max-width: 100%; }
  .center-panel { height: auto; padding: 0; }
  .phone-panel { justify-content: center; padding-left: 0; }
  .accent-badge { display: none; }
}

/* ─────────────────────────────────────────
   INITIAL ENTRY
───────────────────────────────────────── */
.features-panel,
.center-panel,
.phone-panel,
.frame {
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.center-panel { animation-delay: 0.1s; }
.phone-panel  { animation-delay: 0.2s; }
.frame        { animation-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
