/* =============================================
   GOALS by Splurjj — V4 LOCKED CSS
   Cross-browser hardened. No stretch. No shift.
   ============================================= */

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

/* ── Design Tokens ── */
:root {
  --black:     #000000;
  --dark:      #0a0a0a;
  --dark-2:    #111111;
  --dark-3:    #1a1a1a;
  --gray-1:    #222222;
  --gray-2:    #333333;
  --gray-3:    #555555;
  --gray-4:    #888888;
  --gray-5:    #aaaaaa;
  --white:     #ffffff;
  --green:     #22c55e;
  --green-lt:  #86efac;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-disp: 'Space Grotesk', 'Inter', sans-serif;

  --container: 1200px;
  --radius:    16px;
  --radius-sm:  8px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --py: 120px;
  --py-sm: 80px;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Images — NEVER stretch ── */
img {
  display: block;
  max-width: 100%;
  height: auto;
  /* prevent browser default alt-text layout shifts */
  min-height: 0;
}

/* ── Video ── */
video {
  display: block;
  max-width: 100%;
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-disp);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 5rem);   font-weight: 800; }
h2 { font-size: clamp(2rem,   4vw,   3.5rem);  font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw,   1.4rem);  font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.body-large {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray-5);
  margin-bottom: 1rem;
}
.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-4);
}
.light-text { color: rgba(255,255,255,0.75); }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-4);
  max-width: 600px;
  margin: 1.5rem auto 3rem;
  text-align: center;
  line-height: 1.75;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 20px 24px;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(10,10,10,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links .nav-cta {
  background: var(--green);
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--green-lt);
  transform: translateY(-1px);
}
.nav-links .nav-signin-link {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 16px;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-links .nav-signin-link:hover {
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--black);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--green-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,197,94,0.32);
}
.btn-primary.btn-large { padding: 18px 40px; font-size: 1rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}

/* =============================================
   PHONE MOCKUP — Base Rules (NEVER STRETCH)
   ============================================= */
.phone {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  /* Lock aspect ratio so images never stretch */
  position: relative;
}
/* Every image inside a phone fills it perfectly */
.phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Helper: wraps phone to give it a real height */
.phone-frame {
  position: relative;
  /* aspect ratio set per usage below */
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Background fills container without stretch */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(0,0,0,0.93) 0%,
    rgba(0,0,0,0.76) 50%,
    rgba(0,0,0,0.42) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.hero-headline { color: var(--white); margin-bottom: 1.5rem; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.48);
}
.hero-proof .divider { opacity: 0.3; }

/* Hero phone stack — explicit dimensions, no stretch */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-stack {
  position: relative;
  width: 280px;
  height: 540px;
}
.phone-stack .phone-front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 230px;
  height: 476px;   /* 230 * 19/9 ≈ 486; round down so AR holds */
  z-index: 2;
}
.phone-stack .phone-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 434px;
  z-index: 1;
  opacity: 0.78;
  transform: rotate(4deg);
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.32), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  overflow: hidden;
  background: var(--dark-3);
  border-top: 1px solid var(--gray-1);
  border-bottom: 1px solid var(--gray-1);
  padding: 16px 0;
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-4);
  flex-shrink: 0;
}
.marquee-track .dot {
  font-size: 0.38rem;
  color: var(--green);
  vertical-align: middle;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   DETERMINATION
   ============================================= */
.determination {
  padding: var(--py) 0;
  background: var(--dark);
}
.determination-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.determination-text h2   { margin-bottom: 1.5rem; }
.determination-text .body-large { margin-bottom: 1rem; }
.determination-text .body-text  { margin-bottom: 2rem; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: rgba(34,197,94,0.14);
  color: var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
}

/* Lifestyle image — locked aspect ratio */
.determination-visual { position: relative; }

.lifestyle-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  /* 4:5 aspect ratio — locked */
  padding-bottom: 125%;
  background: var(--dark-3);
}
.lifestyle-img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.86) 0%, transparent 100%);
  font-size: 0.88rem;
  font-style: italic;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  z-index: 1;
}

/* Floating phone — locked size */
.phone-float {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-58%);
  width: 160px;
  height: 320px;   /* 160 * 2 = 320; ≈9:18 AR */
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
  z-index: 2;
}
.phone-float img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* =============================================
   VIDEO REEL
   ============================================= */
.video-reel {
  padding: var(--py) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.video-reel-bg {
  position: absolute;
  inset: 0;
}
.video-reel-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.video-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.76) 50%,
    rgba(0,0,0,0.88) 100%);
}
.video-reel-content { position: relative; z-index: 2; }

.video-reel-headline {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3rem;
}

/* Video player — locked 16:9, no stretch */
.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  /* 16:9 intrinsic */
  aspect-ratio: 16 / 9;
}
.goals-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.28);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, opacity 0.25s;
  z-index: 10;
  background-color: rgba(255,255,255,0.14);
}
.video-play-btn:hover {
  background-color: var(--green);
  border-color: var(--green);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-play-btn.playing {
  opacity: 0;
  pointer-events: none;
}
.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  color: var(--white);
}
.video-caption {
  margin-top: 2rem;
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features {
  padding: var(--py) 0;
  background: var(--dark);
}
.features > .container > h2,
.features > .container > .section-label { text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34,197,94,0.22);
}

/* Card image — locked 9:14 to match phone screens */
.feature-card-img {
  position: relative;
  padding-bottom: 155.6%;   /* 9:14 ≈ 155.6% */
  background: #0d0d0d;
  overflow: hidden;
  flex-shrink: 0;
}
.feature-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  display: block;
}
.feature-card:hover .feature-card-img img { transform: scale(1.04); }

/* Large card hero style — 9:16 */
.feature-large .feature-card-img {
  padding-bottom: 177.7%;  /* 9:16 */
}

.feature-card-body {
  padding: 20px;
  flex: 1;
}
.feature-card-body h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.feature-card-body p  { font-size: 0.86rem; color: var(--gray-4); line-height: 1.65; }

/* =============================================
   MEANING INTO ACTION
   ============================================= */
.meaning {
  padding: var(--py) 0;
  background: var(--dark-2);
}
.meaning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Duo phones — locked heights, no stretch */
.phone-duo {
  position: relative;
  height: 520px;
}
.phone-duo-a {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 440px;
  z-index: 2;
}
.phone-duo-b {
  position: absolute;
  right: 0;
  top: 0;
  width: 210px;
  height: 420px;
  z-index: 1;
  opacity: 0.82;
  transform: rotate(-3deg);
}

.meaning-text h2 { margin-bottom: 1.5rem; }
.meaning-text .body-large { margin-bottom: 1rem; }
.meaning-text .body-text  { margin-bottom: 2.5rem; }

.meaning-stats {
  display: flex;
  gap: 40px;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-1);
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-disp);
  color: var(--green);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-4);
  margin-top: 6px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  padding: var(--py) 0;
  background: var(--dark);
  text-align: center;
}
.how-it-works > .container > h2,
.how-it-works > .container > .section-label { text-align: center; }

.steps-row {
  display: flex;
  align-items: flex-start;
  margin-top: 4rem;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.step-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 20px;
}

/* Step phone image — locked 9:19 */
.step-img {
  width: 180px;
  /* padding-bottom trick gives exact height */
  position: relative;
  margin: 0 auto 24px;
  border-radius: 26px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  /* explicit height instead of padding to stay predictable */
  height: 340px;
}
.step-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p  { font-size: 0.86rem; color: var(--gray-4); line-height: 1.65; }

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 160px;
  flex: 0 0 40px;
}
.connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--green), rgba(34,197,94,0.15));
}

/* =============================================
   BOSS UP — full-bleed lifestyle
   ============================================= */
.boss-up {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.boss-up-bg {
  position: absolute;
  inset: 0;
}
.boss-up-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.boss-up-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.boss-up-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.boss-up-headline {
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}
.boss-up-headline em { font-style: normal; color: var(--green); }
.boss-up-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 3rem;
  font-style: italic;
}

/* =============================================
   COMMUNITY / PRIVACY
   ============================================= */
.community {
  padding: var(--py) 0;
  background: var(--dark-2);
}
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Triple phones — locked sizes */
.phone-triple {
  position: relative;
  height: 490px;
}
.phone-t-a {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 200px;
  height: 400px;
  z-index: 3;
}
.phone-t-b {
  position: absolute;
  left: 0;
  top: 40px;
  width: 182px;
  height: 364px;
  z-index: 2;
  opacity: 0.78;
  transform: rotate(-5deg);
}
.phone-t-c {
  position: absolute;
  right: 0;
  top: 40px;
  width: 182px;
  height: 364px;
  z-index: 2;
  opacity: 0.78;
  transform: rotate(5deg);
}

/* =============================================
   ECOSYSTEM
   ============================================= */
.ecosystem {
  padding: var(--py) 0;
  background: var(--dark);
  text-align: center;
}
.ecosystem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 4rem;
  margin-bottom: 3rem;
}
.eco-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: transform 0.3s;
}
.eco-card:hover { transform: translateY(-4px); }
.eco-card-featured {
  border-color: rgba(34,197,94,0.32);
  background: rgba(34,197,94,0.05);
}
.eco-icon { font-size: 1.4rem; color: var(--green); margin-bottom: 1.5rem; }
.eco-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.eco-card p  { font-size: 0.88rem; color: var(--gray-4); }
.eco-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.ecosystem-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.52);
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   AI SECTION
   ============================================= */
.ai-section {
  padding: var(--py) 0;
  position: relative;
  overflow: hidden;
}
.ai-bg {
  position: absolute;
  inset: 0;
}
.ai-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.35) brightness(0.28);
}
.ai-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.76);
}
.ai-content { position: relative; z-index: 2; }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-text h2 { margin-bottom: 1.5rem; }
.ai-text .body-large { margin-bottom: 1rem; }
.ai-text .body-text  { margin-bottom: 2rem; }

.ai-quote {
  border-left: 3px solid var(--green);
  padding: 16px 0 16px 20px;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
  margin-top: 2rem;
}
.ai-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 10px;
}

/* AI phones — locked */
.ai-phones {
  position: relative;
  height: 480px;
}
.phone-ai {
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 216px;
  height: 432px;
  z-index: 2;
}
.phone-ai-2 {
  position: absolute;
  right: 0;
  top: 0;
  width: 206px;
  height: 412px;
  z-index: 1;
  opacity: 0.74;
  transform: rotate(4deg);
}

/* =============================================
   WHO IT'S FOR
   ============================================= */
.who-for {
  padding: var(--py) 0;
  background: var(--dark-2);
}
.who-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Lifestyle image — locked 3:4 */
.who-for-lifestyle {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  padding-bottom: 133.3%; /* 3:4 */
  background: var(--dark-3);
}
.who-for-lifestyle > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.who-for-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}
.who-for-overlay-text span {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.05em;
}

.who-for-text h2 { margin-bottom: 1.5rem; }
.who-for-text .body-large { margin-bottom: 2rem; }
.who-traits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}
.trait {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.84);
}
.trait-icon { color: var(--green); font-size: 0.58rem; }
.who-closing { font-size: 1rem; font-style: italic; color: var(--green); font-weight: 600; }

/* =============================================
   USER GUIDE
   ============================================= */
.guide {
  padding: var(--py) 0;
  background: var(--dark);
  text-align: center;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 4rem;
  text-align: left;
}
.guide-step {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, transform 0.3s;
}
.guide-step:hover {
  border-color: rgba(34,197,94,0.22);
  transform: translateY(-3px);
}
.guide-step-num {
  width: 40px;
  height: 40px;
  background: rgba(34,197,94,0.12);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.guide-step h4 { margin-bottom: 10px; }
.guide-step p  { font-size: 0.86rem; color: var(--gray-4); line-height: 1.68; }
.guide-cta { margin-top: 3rem; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: var(--py) 0;
  background: var(--dark-2);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 4rem;
  text-align: left;
}
.testimonial-card {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--black);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--gray-4);
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  padding: var(--py) 0;
  background: var(--dark);
}
.faq h2 { margin-bottom: 3rem; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--green); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-a p { font-size: 0.9rem; color: var(--gray-4); line-height: 1.78; }

/* =============================================
   DOWNLOAD CTA
   ============================================= */
.download {
  padding: var(--py) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.download-bg {
  position: absolute;
  inset: 0;
}
.download-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.download-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}
.download-content { position: relative; z-index: 2; }
.download-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.download-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 3rem;
}

/* Download phones — locked */
.download-phones-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 3rem;
}
.phone-dl-a, .phone-dl-b, .phone-dl-c {
  position: relative;
  width: 175px;
  height: 350px;
}
.phone-dl-a { transform: rotate(-3deg); }
.phone-dl-b { transform: translateY(-20px); }
.phone-dl-c { transform: rotate(3deg); }

.download-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.store-btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--black);
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
  min-width: 180px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.16);
}
.store-label {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 2px;
}
.store-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.login-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 4px;
}
.login-link:hover { color: var(--white); }
.download-tagline {
  margin-top: 3rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.28);
  font-style: italic;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-disp);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1;
}
.footer-brand > p {
  font-size: 0.84rem;
  color: var(--gray-4);
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--gray-3);
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-1);
  color: var(--gray-4);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.footer-socials a:hover {
  background: var(--green);
  color: var(--black);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h5 {
  color: var(--gray-5);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.86rem;
  color: var(--gray-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-3);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--white);
  color: var(--black);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* =============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  :root { --py: 80px; }

  /* Hero — stack vertically, center text */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 100px;
  }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-phones { display: none; }

  /* 2-col → 1-col grids */
  .determination-grid,
  .meaning-grid,
  .community-grid,
  .ai-grid,
  .who-for-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Phone float sits below lifestyle image */
  .phone-float { display: none; }

  /* Features: 2 columns */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 2; }
  .feature-large .feature-card-img { padding-bottom: 56.25%; } /* 16:9 for wide span */

  /* Steps: column stack */
  .steps-row       { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector  { display: none; }
  .step            { max-width: 300px; }

  /* 3-col → 2-col */
  .ecosystem-cards,
  .guide-steps,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top   { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  /* Community phones — shrink */
  .phone-triple   { height: 400px; }
  .phone-t-a      { width: 160px; height: 320px; }
  .phone-t-b,
  .phone-t-c      { width: 145px; height: 290px; }

  /* Meaning phones */
  .phone-duo      { height: 400px; }
  .phone-duo-a    { width: 180px; height: 360px; }
  .phone-duo-b    { width: 170px; height: 340px; }

  /* AI phones */
  .ai-phones      { height: 400px; }
  .phone-ai       { width: 180px; height: 360px; }
  .phone-ai-2     { width: 170px; height: 340px; }

  /* Download phones — hide on tablet */
  .download-phones-row { display: none; }

  /* Video — portrait on tablet */
  .video-container { aspect-ratio: 9/16; max-width: 360px; }
}

/* =============================================
   RESPONSIVE — Mobile (max 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Mobile nav drawer */
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: 0;
    bottom: 0;
    width: 280px;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 32px;
    gap: 1.5rem;
    z-index: 999;
    border-left: 1px solid rgba(255,255,255,0.08);
    /* animate in */
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-links a { font-size: 1.1rem; }

  /* Features: 1 column */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-large { grid-column: span 1; }
  .feature-large .feature-card-img {
    padding-bottom: 155.6%; /* restore phone aspect ratio */
  }

  /* 3-col → 1-col */
  .ecosystem-cards,
  .guide-steps,
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-links  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Boss-up */
  .boss-up-headline { font-size: clamp(2.5rem, 11vw, 4rem); }

  /* Stats — wrap */
  .meaning-stats { flex-wrap: wrap; gap: 24px; }

  /* Meaning phones order on mobile */
  .meaning-grid { direction: ltr; }

  /* Video — portrait */
  .video-container { aspect-ratio: 9/16; max-width: 320px; }
}

/* =============================================
   RESPONSIVE — Small mobile (max 480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-ctas     { flex-direction: column; align-items: center; }
  .meaning-stats { flex-direction: column; }
  .store-btn-row { flex-direction: column; align-items: center; }
  .store-btn     { width: 100%; max-width: 280px; justify-content: center; }
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  .nav, .marquee-wrap, .hero-scroll, .video-reel,
  .boss-up, .footer-socials, .toast { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; padding: 0 16px; }
}
