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

:root {
  --bg:          #000000;
  --bg-2:        #0a0a0a;
  --bg-3:        #111111;
  --bg-4:        #161617;
  --surface:     #1c1c1e;
  --surface-2:   #2c2c2e;
  --line:        rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --ink:         #f5f5f7;
  --ink-2:       #a1a1a6;
  --ink-3:       #6e6e73;

  --blue:        #0a84ff;
  --green:       #30d158;
  --purple:      #bf5af2;
  --orange:      #ff9f0a;
  --red:         #ff375f;
  --yellow:      #ffd60a;
  --teal:        #64d2ff;

  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  36px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
  --shadow-xl:   0 32px 80px rgba(0,0,0,0.6);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
}

p { line-height: 1.7; }

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

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

/* ─── LAYOUT ───────────────────────────────────────────────────── */
.container {
  width: min(1080px, calc(100% - 3rem));
  margin-inline: auto;
}

/* ─── ANIMATIONS ───────────────────────────────────────────────── */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: none;
}

.fade-up-delay {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-out) 0.35s, transform 1s var(--ease-out) 0.35s;
}
.fade-up-delay.visible {
  opacity: 1;
  transform: none;
}

/* ─── TYPOGRAPHY HELPERS ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow-blue   { color: var(--blue); }
.eyebrow-green  { color: var(--green); }
.eyebrow-purple { color: var(--purple); }
.eyebrow-orange { color: var(--orange); }
.eyebrow-red    { color: var(--red); }
.eyebrow-yellow { color: var(--yellow); }

.gradient-text {
  background: linear-gradient(135deg, #0a84ff 0%, #bf5af2 50%, #ff375f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.4rem;
  border-radius: 980px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.98); }

.btn-large { padding: 0.9rem 2rem; font-size: 1.05rem; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(10,132,255,0);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(10,132,255,0.4);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { background: #3a3a3c; }

.btn-purple {
  background: var(--purple);
  color: #fff;
}
.btn-purple:hover { box-shadow: 0 8px 28px rgba(191,90,242,0.4); filter: brightness(1.1); }

.btn-green {
  background: var(--green);
  color: #000;
}
.btn-green:hover { box-shadow: 0 8px 28px rgba(48,209,88,0.4); filter: brightness(1.08); }

.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover { box-shadow: 0 8px 28px rgba(255,55,95,0.4); filter: brightness(1.1); }

.btn-orange {
  background: var(--orange);
  color: #000;
}
.btn-orange:hover { box-shadow: 0 8px 28px rgba(255,159,10,0.4); filter: brightness(1.08); }

.btn-yellow {
  background: var(--yellow);
  color: #000;
}
.btn-yellow:hover { box-shadow: 0 8px 28px rgba(255,214,10,0.4); filter: brightness(1.08); }

/* ─── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.7rem 1.5rem;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo svg { display: block; }

.nav-links {
  display: flex;
  gap: 0.2rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.42rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.nav-cta {
  padding: 0.44rem 1.1rem;
  border-radius: 980px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  transition: filter 0.2s, transform 0.2s var(--ease-spring);
}
.nav-cta:hover { filter: brightness(1.15); transform: scale(1.04); }

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(10,132,255,0.18) 0%, transparent 70%);
}
.glow-2 {
  width: 500px; height: 500px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(191,90,242,0.15) 0%, transparent 70%);
}
.glow-3 {
  width: 400px; height: 400px;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(10,132,255,0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
}

.hero-content .eyebrow {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-screenshot {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  margin-top: 4rem;
}

.screenshot-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--line);
  background: var(--bg-4);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}

.frame-bar-light {
  background: #e8e8ed;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.frame-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.frame-url {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  color: var(--ink-3);
  font-family: 'SF Mono', 'Menlo', monospace;
}

.screenshot-frame img {
  width: 100%;
   /* height: clamp(300px, 50vw, 560px); */
  object-fit: cover;
  object-position: top center;
  display: block;
}

.frame-dark  { background: var(--bg-4); }
.frame-light { background: #f5f5f7; }
.frame-light img { filter: none; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ─── STATS STRIP ──────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.2rem 1.5rem;
  background: var(--bg-2);
}

.stats-inner {
  width: min(860px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 0 2rem;
}

.stat-num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.stat-plus {
  font-size: 0.65em;
  font-weight: 700;
  color: var(--blue);
  vertical-align: super;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--line-strong);
  flex-shrink: 0;
}

/* ─── SECTION HEADER ───────────────────────────────────────────── */
.section-header {
  text-align: center;
  padding: 5.5rem 1.5rem 3.5rem;
  max-width: 720px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-2);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.65;
}

/* ─── FEATURES GRID ────────────────────────────────────────────── */
.features-grid {
  padding: 0 1.5rem 5rem;
}

.cards-grid {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

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

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

.card-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.card-img {
  width: calc(100% + 2rem);
  margin: 1.4rem -1rem -1rem;
  border-radius: var(--radius-md) var(--radius-md) var(--radius-xl) var(--radius-xl);
  border-top: 1px solid var(--line);
  display: block;
  object-fit: cover;
  height: 200px;
}

.card-tall .card-img {
  height: 260px;
  margin-top: 1.6rem;
}

.card-img-right {
  object-position: right top;
}

/* ─── SPOTLIGHT SECTIONS ───────────────────────────────────────── */
.spotlight {
  padding: 6rem 1.5rem;
}

.spotlight-dark  { background: var(--bg-2); }
.spotlight-light {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spotlight-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.spotlight-reverse {
  direction: ltr;
}

.spotlight-text {
  direction: ltr;
}

.spotlight-text .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.spotlight-text h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.spotlight-text p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: var(--ink-2);
}

.feature-list svg { flex-shrink: 0; }

.spotlight-media .screenshot-frame {
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--line);
}

.spotlight-media .screenshot-frame img {
 /* height: clamp(240px, 30vw, 420px);*/
}

/* ─── FULL-WIDTH SCREENSHOT ────────────────────────────────────── */
.full-screenshot {
  padding: 6rem 1.5rem;
  background: var(--bg);
}

.full-screenshot-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
}

.full-screenshot-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}

.screenshot-panorama {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--line);
  margin-bottom: 3.5rem;
}

.screenshot-panorama img {
  width: 100%;
  height: clamp(320px, 45vw, 600px);
  object-fit: cover;
  object-position: top;
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.workflow-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(10,132,255,0.12);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 0.6rem;
}

.workflow-step h4 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.workflow-step p {
  font-size: 0.88rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.workflow-arrow {
  color: var(--ink-3);
  font-size: 1.4rem;
  padding-top: 0.8rem;
  flex-shrink: 0;
}

/* ─── PATTERNS SECTION ─────────────────────────────────────────── */
.patterns-section {
  padding: 0 1.5rem 6rem;
  background: var(--bg);
}

.patterns-grid {
  width: min(900px, 100%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.pattern-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s, color 0.2s;
}

.pattern-pill:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--line-strong);
  color: var(--ink);
}

/* ─── TECHNICAL SECTION ────────────────────────────────────────── */
.technical-section {
  padding: 0 1.5rem 5rem;
  background: var(--bg-2);
}

.tech-grid {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.tech-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.tech-icon-blue   { background: rgba(10,132,255,0.12); }
.tech-icon-green  { background: rgba(48,209,88,0.12); }
.tech-icon-purple { background: rgba(191,90,242,0.12); }
.tech-icon-orange { background: rgba(255,159,10,0.12); }
.tech-icon-red    { background: rgba(255,55,95,0.12); }
.tech-icon-yellow { background: rgba(255,214,10,0.12); }

.tech-card h4 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.tech-card p {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.6;
}

.tech-screenshot-row {
  width: min(1080px, 100%);
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.tech-screenshot-row img {
  width: 100%;
  height: clamp(220px, 35vw, 480px);
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ─── DAILY ROUTINE ────────────────────────────────────────────── */
.routine-section {
  padding: 6rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.routine-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.routine-text .eyebrow { display: block; margin-bottom: 1rem; }

.routine-text h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.routine-text p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.7;
}

.routine-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.routine-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s;
}
.routine-card:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--ink); }

/* ─── FINAL CTA ────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 8rem 1.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 500px; height: 500px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(10,132,255,0.14) 0%, transparent 70%);
}
.cta-glow-2 {
  width: 400px; height: 400px;
  bottom: -150px; right: -80px;
  background: radial-gradient(circle, rgba(191,90,242,0.12) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin-top: 0.9rem;
  margin-bottom: 1.2rem;
}

.cta-lead {
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 2.2rem;
}

.cta-actions {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.86rem;
  color: var(--ink-3);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--ink); }

.footer-copy {
  text-align: right;
}

.footer-copy p {
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .spotlight-inner,
  .routine-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .spotlight-inner.spotlight-reverse .spotlight-media { order: -1; }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-tall { grid-row: span 1; }
  .card-wide { grid-column: span 2; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }

  .hero { padding-top: 7rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .stats-inner {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .stat-divider { display: none; }
  .stat { flex: 1 0 40%; }

  .cards-grid { grid-template-columns: 1fr; }
  .card-wide  { grid-column: span 1; }

  .workflow-steps { flex-direction: column; align-items: center; }
  .workflow-arrow { transform: rotate(90deg); padding: 0; }

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

  .routine-cards { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 500px) {
  .hero-actions, .cta-actions { flex-direction: column; align-items: center; }
}

/* ─── AI INTELLIGENCE SECTION ───────────────────────────────────── */
.ai-section {
  padding: 120px 24px;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ai-inner { max-width: 1120px; margin: 0 auto; }

.ai-screenshot {
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--line);
  background: var(--bg-4);
}
.ai-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.ai-card {
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s;
}
.ai-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.ai-card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ai-icon-purple { background: rgba(191,90,242,.12); }
.ai-icon-blue   { background: rgba(10,132,255,.12); }
.ai-icon-green  { background: rgba(48,209,88,.12); }

.ai-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ai-card p  { font-size: 13px; line-height: 1.65; color: var(--ink-2); }

.ai-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.ai-list li {
  font-size: 12px; color: var(--ink-2);
  display: flex; align-items: baseline; gap: 7px;
}
.ai-list li::before {
  content: '→';
  color: var(--purple);
  font-size: 11px;
  flex-shrink: 0;
}

/* Provider callout */
.ai-providers {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--bg-4);
}
.ai-provider { display: flex; align-items: flex-start; gap: 16px; flex: 1; }
.ai-provider-divider {
  font-size: 13px; color: var(--ink-3); font-style: italic;
  padding: 0 8px; flex-shrink: 0;
}
.ai-provider-badge {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px;
  letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; margin-top: 2px;
}
.ai-badge-local { background: rgba(48,209,88,.15); color: #30d158; border: 1px solid rgba(48,209,88,.3); }
.ai-badge-cloud { background: rgba(10,132,255,.15); color: var(--blue); border: 1px solid rgba(10,132,255,.3); }
.ai-provider-info { display: flex; flex-direction: column; gap: 4px; }
.ai-provider-info strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.ai-provider-info span  { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.ai-provider-info code  {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; background: var(--surface); padding: 1px 5px;
  border-radius: 4px; color: var(--green);
}

@media (max-width: 900px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-providers { flex-direction: column; }
}

/* ─── CHART GAME SECTION ─────────────────────────────────────────── */
.game-section {
  padding: 120px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.game-inner { max-width: 1120px; margin: 0 auto; }

.game-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-text h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.game-text p  { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 24px; }

/* Game card mockup */
.game-visual { display: flex; justify-content: center; }

.game-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.game-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.game-label { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.game-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
  background: rgba(48,209,88,.15); color: var(--green);
  border: 1px solid rgba(48,209,88,.3);
  padding: 2px 8px; border-radius: 10px;
}

.game-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 0 4px;
  margin-bottom: 16px;
}
.g-bar {
  flex: 1;
  border-radius: 3px;
  border-width: 1.5px;
  border-style: solid;
}
.g-bar-up   { background: rgba(48,209,88,.25); border-color: var(--green); }
.g-bar-down { background: rgba(255,55,95,.25);  border-color: var(--red); }

.game-actions-preview {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.game-btn-preview {
  flex: 1; text-align: center; font-size: 11px; font-weight: 700;
  padding: 7px 4px; border-radius: 8px;
}
.game-btn-long  { background: rgba(48,209,88,.15);  color: var(--green);  border: 1px solid rgba(48,209,88,.3); }
.game-btn-short { background: rgba(255,55,95,.15);   color: var(--red);    border: 1px solid rgba(255,55,95,.3); }
.game-btn-next  { background: rgba(10,132,255,.15);  color: var(--blue);   border: 1px solid rgba(10,132,255,.3); }

.game-pnl {
  font-size: 12px; color: var(--ink-2); text-align: center;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.game-pnl-pos { color: var(--green); }

@media (max-width: 900px) {
  .game-content { grid-template-columns: 1fr; }
  .game-visual { order: -1; }
}

/* ─── DRAWING TOOLS SECTION ─────────────────────────────────────── */
.drawing-section {
  padding: 120px 24px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.drawing-inner { max-width: 1120px; margin: 0 auto; }

.drawing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.drawing-tool-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .25s, transform .25s;
}
.drawing-tool-card:hover {
  border-color: rgba(191,90,242,.35);
  transform: translateY(-3px);
}

.dt-icon {
  width: 44px;
  height: 44px;
  background: rgba(191,90,242,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawing-tool-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.drawing-tool-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  flex: 1;
}
.drawing-tool-card strong { color: var(--ink); }

/* Measure pill demo */
.measure-demo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.measure-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}
.measure-pos { background: rgba(22,163,74,.15); color: #4ade80; border: 1px solid rgba(22,163,74,.3); }
.measure-neg { background: rgba(220,38,38,.15); color: #f87171; border: 1px solid rgba(220,38,38,.3); }

/* Extras row */
.drawing-extras {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.drawing-extra {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
  border-right: 1px solid var(--line);
  background: var(--bg-3);
  transition: background .2s;
}
.drawing-extra:last-child { border-right: none; }
.drawing-extra:hover { background: var(--bg-4); }
.drawing-extra svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .drawing-grid { grid-template-columns: 1fr 1fr; }
  .drawing-extras { flex-wrap: wrap; }
  .drawing-extra { flex: 1 1 50%; border-right: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .drawing-grid { grid-template-columns: 1fr; }
  .drawing-extra { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--line); }
}

/* ─── OWL SECTION ───────────────────────────────────────────────── */
.owl-section {
  padding: 120px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.owl-inner { max-width: 1120px; margin: 0 auto; }

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

.owl-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .25s, transform .25s;
}
.owl-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.owl-letter {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.owl-letter-blue   { background: rgba(10,132,255,.12); color: var(--blue); }
.owl-letter-purple { background: rgba(191,90,242,.12); color: var(--purple); }
.owl-letter-green  { background: rgba(48,209,88,.12);  color: var(--green); }

.owl-meta { display: flex; flex-direction: column; gap: 4px; }
.owl-years { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.owl-meta h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.owl-tagline { font-size: 13px; color: var(--ink-2); font-style: italic; }

.owl-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.owl-influences {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.owl-influences li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.owl-influences svg { flex-shrink: 0; }

.owl-quote {
  margin-top: 64px;
  text-align: center;
}
.owl-quote blockquote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-2);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.owl-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: var(--ink-3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

/* ─── TRADING JOURNAL / NOTES SECTION ───────────────────────────── */
.notes-section {
  padding: 120px 24px;
  background: var(--bg-2);
}
.notes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.notes-text h2 { margin: 12px 0 20px; }
.notes-text > p { color: var(--ink-2); line-height: 1.7; margin-bottom: 28px; }
.notes-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.notes-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

/* Journal mockup */
.notes-mockup {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  font-size: 12px;
}
.nm-sidebar {
  width: 150px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 12px 0;
  background: var(--bg-3);
}
.nm-sidebar-title {
  padding: 0 12px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.nm-entry {
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
}
.nm-entry-active { background: var(--surface-2); }
.nm-entry-date { font-size: 10px; color: var(--ink-3); margin-bottom: 3px; }
.nm-entry-preview { color: var(--ink-2); font-size: 11px; line-height: 1.4; }
.nm-camera {
  position: absolute;
  top: 8px;
  right: 10px;
  opacity: 0.7;
}

.nm-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 10px;
}
.nm-editor-header { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.nm-editor-date { font-size: 11px; color: var(--ink-3); }

.nm-screenshot {
  background: var(--bg-4);
  border-radius: 8px;
  border: 1px solid var(--line);
  height: 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 6px;
}
.nm-chart-line {
  position: absolute;
  top: 20px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2c3e50 20%, #2c3e50 80%, transparent);
  opacity: 0.4;
}
.nm-chart-bar {
  width: 8px;
  height: 18px;
  background: #f39c12;
  border-radius: 1px;
  opacity: 0.8;
}
.nm-bar-up { background: #30d158; height: 22px; }
.nm-bar-down { background: #e74c3c; height: 14px; }
.nm-bar-tall { height: 34px !important; }
.nm-screenshot-label {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 9px;
  color: var(--ink-3);
}

.nm-textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.5;
  flex: 1;
  min-height: 60px;
}
.nm-cursor {
  display: inline-block;
  color: var(--purple);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.nm-save-btn {
  align-self: flex-end;
  background: var(--purple);
  color: #fff;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .notes-inner { grid-template-columns: 1fr; }
  .notes-mockup { flex-direction: column; }
  .nm-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--line); display: flex; gap: 8px; padding: 8px 12px; }
  .nm-sidebar-title { display: none; }
}

/* ─── DISTRIBUTION DAYS SECTION ─────────────────────────────────── */
.dist-section {
  padding: 120px 24px;
  background: var(--bg);
}
.dist-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}
.dist-text h2 { margin: 12px 0 20px; }
.dist-text > p { color: var(--ink-2); line-height: 1.7; }
.dist-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.dist-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 15px;
}
.eyebrow-red { color: #ff453a; }

/* Screenshot frame */
.dist-chart-wrap { position: relative; }
.dist-screenshot-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
  background: #fff;
}
.dist-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Tooltip callout overlay — mirrors the app tooltip */
.dist-tooltip-callout {
  position: absolute;
  bottom: 28%;
  right: 6%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #222;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  pointer-events: none;
  line-height: 1.7;
}
.dtc-date { font-weight: 700; border-bottom: 1px solid #eee; margin-bottom: 5px; padding-bottom: 4px; }
.dtc-row  { color: #333; }
.dtc-red  { color: #e74c3c; font-weight: 600; }
.dtc-danger { margin-top: 5px; font-size: 11px; color: #c0392b; border-top: 1px dashed #ffcccc; padding-top: 4px; }

@media (max-width: 1000px) {
  .dist-inner { grid-template-columns: 1fr; gap: 48px; }
  .dist-tooltip-callout { display: none; }
}

/* ─── STACKED MEDIA (two screenshots) ───────────────────────────── */
.spotlight-media-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spotlight-media-stack .screenshot-frame img {
  max-height: 320px;
  object-fit: cover;
  object-position: top;
}
