/* Delle Model landing page — design system aligned with the desktop app
   (DM Sans + liquid-glass + accent violet). Mirrors C:\Users\SK\Desktop\git\Delle\Delle-Model-LP\index.html
   so a user landing here recognizes the visual language they'll see in the app. */

:root {
  --c-glass: #26282c;
  --c-light: #fff;
  --c-dark: #000;
  --c-content: #F9FAFB;
  --c-action: #0052f5;
  --c-bg: #141317;
  --glass-reflex-dark: 0.8;
  --glass-reflex-light: 0.3;
  --saturation: 120%;
  --color-primary: #3B82F6;
  --color-secondary: #1E40AF;
  --color-accent: #8B5CF6;
  --color-pink: #EC4899;
  --color-orange: #F97316;
  --color-green: #10B981;
  --radius: 16px;
  --radius-sm: 10px;
}

html.light {
  --c-glass: #bbbbbc;
  --c-content: #1A1A2E;
  --c-bg: #E8E8E9;
  --glass-reflex-dark: 1;
  --glass-reflex-light: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--c-bg);
  color: var(--c-content);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Liquid Glass System (matches the desktop app) ── */
.liquid-glass {
  background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
  backdrop-filter: blur(8px) saturate(var(--saturation));
  -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent),
    inset 1.8px 3px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent),
    inset -2px -2px 0px -2px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent),
    inset -0.3px -1px 4px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent),
    0px 1px 5px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent),
    0px 6px 16px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
  transform: translateZ(0);
  will-change: transform, background-color;
  transition: background-color 400ms cubic-bezier(1, 0, 0.4, 1), transform 200ms cubic-bezier(0.5, 0, 0, 1);
  border-radius: var(--radius);
}
.liquid-glass:hover {
  background-color: color-mix(in srgb, var(--c-glass) 18%, transparent);
}

/* ── Buttons ── */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 99em;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  color: var(--c-content);
  background-color: color-mix(in srgb, var(--c-glass) 14%, transparent);
  backdrop-filter: blur(8px) saturate(var(--saturation));
  -webkit-backdrop-filter: blur(8px) saturate(var(--saturation));
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 12%), transparent),
    0px 2px 8px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 12%), transparent);
  transition: all 220ms cubic-bezier(0.5, 0, 0, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn-glass:hover {
  transform: translateY(-2px);
  background-color: color-mix(in srgb, var(--c-glass) 22%, transparent);
}
.btn-primary {
  background-color: color-mix(in srgb, var(--color-accent) 90%, transparent);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 25%, transparent),
    0px 4px 20px -4px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.btn-primary:hover {
  background-color: var(--color-accent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 30%, transparent),
    0px 6px 28px -4px color-mix(in srgb, var(--color-accent) 70%, transparent);
}
.btn-ghost { background-color: color-mix(in srgb, var(--c-glass) 8%, transparent); }
.btn-discord {
  background-color: #5865F2;
  color: #fff;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 22%, transparent),
    0 4px 20px -4px color-mix(in srgb, #5865F2 65%, transparent);
}
.btn-discord:hover {
  background-color: #4752c4;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 28%, transparent),
    0 6px 28px -4px color-mix(in srgb, #5865F2 78%, transparent);
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-pink) 60%, var(--color-orange) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* background-clip:text fills only the text box, so descenders (y, g, p) get
     clipped. Extend the paint area downward (cloned across line wraps) so the
     gradient covers them. */
  padding-bottom: 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── Fade-up animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }
.delay-5 { transition-delay: 400ms; }

/* ── Eyebrow tags ── */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99em;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 28%, transparent);
  margin-bottom: 18px;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 24px;
  margin: 12px auto 0;
  max-width: 1280px;
  transition: top 240ms ease;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 99em;
  background-color: color-mix(in srgb, var(--c-glass) 14%, transparent);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 10%, transparent),
    0 8px 32px -8px color-mix(in srgb, var(--c-dark) 30%, transparent);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.navbar-scrolled .navbar-inner {
  background-color: color-mix(in srgb, var(--c-glass) 24%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 14%, transparent),
    0 12px 40px -10px color-mix(in srgb, var(--c-dark) 45%, transparent);
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.navbar-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-pink));
  color: #fff;
  font-size: 13px;
}
.navbar-links { display: flex; gap: 24px; }
.navbar-links a { font-size: 14px; font-weight: 500; opacity: 0.75; transition: opacity 180ms; }
.navbar-links a:hover { opacity: 1; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-actions .btn-glass { padding: 8px 16px; font-size: 13px; }
.theme-toggle {
  background: none;
  border: none;
  color: var(--c-content);
  font-size: 16px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 99em;
  opacity: 0.7;
  transition: opacity 200ms, background-color 200ms;
}
.theme-toggle:hover { opacity: 1; background-color: color-mix(in srgb, var(--c-glass) 16%, transparent); }
.navbar-mobile-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--c-content);
  font-size: 20px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .navbar-links, .navbar-actions { display: none; }
  .navbar-mobile-btn { display: block; }
}

/* ── Mobile menu ── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--c-dark) 50%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 98;
}
.mobile-overlay.open { display: block; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  z-index: 99;
}
.mobile-menu.open { display: block; animation: menu-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu-inner { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: background-color 180ms;
}
.mobile-menu-inner a i { width: 20px; text-align: center; opacity: 0.7; }
.mobile-menu-inner a:hover { background-color: color-mix(in srgb, var(--c-glass) 20%, transparent); }
.mobile-menu-cta {
  margin-top: 6px;
  justify-content: center;
  color: #fff;
  background-color: color-mix(in srgb, var(--color-accent) 90%, transparent);
}
.mobile-menu-cta i { opacity: 1 !important; }
.mobile-menu-cta:hover { background-color: var(--color-accent) !important; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 70px 24px 90px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-glow-1 {
  top: 5%;
  left: -2%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  animation: glow-drift-1 14s ease-in-out infinite alternate;
}
.hero-bg-glow-2 {
  bottom: 6%;
  right: -2%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-pink), transparent 70%);
  opacity: 0.4;
  animation: glow-drift-2 18s ease-in-out infinite alternate;
}
/* Light mode: the saturated blobs read as harsh stains over the pale bg —
   soften them into a gentle wash. The repositioning above keeps each glow's
   colored core inside .hero so overflow:hidden only clips the transparent tail. */
html.light .hero-bg-glow-1 { opacity: 0.32; }
html.light .hero-bg-glow-2 { opacity: 0.26; }
@keyframes glow-drift-1 { from { transform: translate(0, 0); } to { transform: translate(40px, 30px); } }
@keyframes glow-drift-2 { from { transform: translate(0, 0); } to { transform: translate(-40px, -20px); } }
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; gap: 50px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  border-radius: 99em;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 22px;
  background-color: color-mix(in srgb, var(--c-glass) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) 10%, transparent);
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-green) 60%, transparent);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-green) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-text h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.62;
  opacity: 0.78;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-description strong { color: var(--c-content); opacity: 1; }
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 26px;
  transition: opacity 180ms, gap 180ms;
}
.hero-text-link:hover { opacity: 1; gap: 11px; }
.hero-text-link i { color: var(--color-accent); font-size: 12px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
  font-size: 13px;
  opacity: 0.72;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { color: var(--color-green); }
.hero-meta {
  font-size: 13px;
  opacity: 0.55;
  display: flex;
  gap: 18px;
}
.hero-meta i { margin-right: 4px; }

/* Hero visual + floating chips */
.hero-visual-wrap { position: relative; }
.hero-visual {
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 400ms;
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 6px);
}
.hero-visual-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: calc(var(--radius) - 6px);
  background: color-mix(in srgb, var(--c-glass) 20%, transparent);
  color: var(--c-content);
  opacity: 0.5;
}
.hero-visual-placeholder i { font-size: 48px; }
.hero-visual-placeholder code { font-size: 12px; opacity: 0.7; }
.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 99em;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--c-content);
  background-color: color-mix(in srgb, var(--c-glass) 30%, transparent);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 16%, transparent),
    0 8px 24px -8px color-mix(in srgb, var(--c-dark) 50%, transparent);
  animation: chip-float 6s ease-in-out infinite;
}
.hero-chip i { color: var(--color-accent); }
.hero-chip-1 { top: 5%; left: -18px; animation-delay: 0s; }
.hero-chip-2 { top: 20%; right: -14px; animation-delay: 1.2s; }
.hero-chip-2 i { color: var(--color-pink); }
.hero-chip-3 { bottom: 7%; left: 2%; animation-delay: 2.4s; }
.hero-chip-3 i { color: var(--color-orange); }
.hero-chip-4 { bottom: 18%; right: -12px; animation-delay: 3s; }
.hero-chip-4 i { color: var(--color-green); }
.hero-chip-5 { top: 45%; left: -24px; animation-delay: 1.8s; }
.hero-chip-5 i { color: #06B6D4; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 600px) {
  /* Keep only 3 chips on small screens so the hero stays uncluttered */
  .hero-chip-2, .hero-chip-5 { display: none; }
  .hero-chip-1 { left: 0; top: 4%; }
  .hero-chip-3 { left: 0; }
  .hero-chip-4 { right: 0; }
}

/* ── Trust strip ── */
.trust-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 8px;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 99em;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
  background-color: color-mix(in srgb, var(--c-glass) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) 8%, transparent);
}
.trust-pill i { color: var(--color-accent); font-size: 13px; }

/* ── Sections ── */
.section {
  position: relative;
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-subtitle {
  text-align: center;
  font-size: 16px;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ── Showcase (the timeline) ── */
.showcase-section { padding-top: 80px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
}
.showcase-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.showcase-text > p {
  font-size: 16px;
  opacity: 0.75;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 480px;
}
.showcase-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.showcase-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; opacity: 0.88; }
.showcase-points i { color: var(--color-green); font-size: 15px; }
.showcase-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}
.showcase-note i { color: var(--color-orange); }

/* Chart demo */
.showcase-demo { padding: 24px; position: relative; }
.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.chart-creator { display: flex; align-items: center; gap: 12px; }
.chart-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-pink));
}
.chart-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.chart-sub { font-size: 12px; opacity: 0.6; }
.chart-stats { display: flex; gap: 22px; }
.chart-stat { text-align: right; }
.chart-stat-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--color-accent), var(--color-pink));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.chart-stat-label { font-size: 11px; opacity: 0.55; text-transform: uppercase; letter-spacing: 0.04em; }
.chart-years {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.chart-year {
  flex: 1;
  padding: 7px 0;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--c-content);
  opacity: 0.6;
  background-color: color-mix(in srgb, var(--c-glass) 14%, transparent);
  transition: opacity 180ms, background-color 180ms, transform 180ms;
}
.chart-year:hover { opacity: 0.9; transform: translateY(-1px); }
.chart-year.is-active {
  opacity: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-pink));
}
.chart-plot {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding: 0 2px;
}
.chart-bar {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  border-radius: 6px 6px 4px 4px;
  background-color: color-mix(in srgb, var(--c-glass) 12%, transparent);
  cursor: pointer;
  transition: background-color 180ms;
}
.chart-bar:hover { background-color: color-mix(in srgb, var(--c-glass) 22%, transparent); }
.chart-bar.is-empty { opacity: 0.35; }
.chart-bar-fill {
  width: 100%;
  height: 0;
  border-radius: 6px 6px 4px 4px;
  background: linear-gradient(to top, var(--color-accent), var(--color-pink));
  box-shadow: 0 0 16px -2px color-mix(in srgb, var(--color-accent) 50%, transparent);
  transition: height 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-bar:hover .chart-bar-fill { filter: brightness(1.15); }
.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  opacity: 0.5;
}
.chart-tooltip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -118%);
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
  color: var(--c-content);
  background-color: color-mix(in srgb, var(--c-glass) 38%, transparent);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) 16%, transparent),
    0 8px 24px -8px color-mix(in srgb, var(--c-dark) 60%, transparent);
  transition: opacity 160ms;
}
.chart-tooltip.show { opacity: 1; }
.chart-tooltip strong { display: block; font-weight: 700; margin-bottom: 1px; }

/* ── Steps grid (How it works) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { padding: 26px; }
.step-number {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-pink));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step-card p {
  font-size: 14px;
  opacity: 0.72;
  line-height: 1.6;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card { padding: 28px; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background-color: color-mix(in srgb, var(--icon-color) 16%, transparent);
  color: var(--icon-color);
  margin-bottom: 18px;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-desc { font-size: 14px; opacity: 0.72; line-height: 1.6; }
.feature-desc em { font-style: normal; color: var(--color-accent); font-weight: 500; }

/* ── Download ── */
.download-section { text-align: center; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 700px) { .download-grid { grid-template-columns: 1fr; } }
.dl-card {
  padding: 28px 24px;
  transition: transform 200ms, box-shadow 200ms;
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--color-accent) 24%, transparent);
}
.dl-card-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.dl-card-disabled:hover { transform: none; box-shadow: none; }
/* OS auto-detected for this visitor */
.dl-badge {
  display: none;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 99em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-pink));
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--color-accent) 70%, transparent);
}
.dl-card-detected { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-accent) 60%, transparent); }
.dl-card-detected .dl-badge { display: block; }
.dl-action {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}
.dl-action-muted { color: inherit; opacity: 0.55; font-weight: 500; }
.download-meta a {
  color: var(--color-accent);
  text-decoration: none;
  margin-left: 6px;
}
.download-meta a:hover { text-decoration: underline; }
.dl-os-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.dl-os { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.dl-format { font-size: 13px; opacity: 0.65; }
.download-meta {
  margin-top: 28px;
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
}

/* Beta-key Discord callout */
.beta-callout {
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  border: 1.5px solid color-mix(in srgb, var(--color-accent) 45%, transparent);
}
.beta-callout-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, #5865F2, var(--color-accent));
  box-shadow: 0 6px 20px -6px color-mix(in srgb, #5865F2 70%, transparent);
}
.beta-callout-text { flex: 1; min-width: 0; }
.beta-callout-text h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.beta-callout-text p { font-size: 14px; opacity: 0.76; line-height: 1.55; }
.beta-callout-text strong { color: var(--color-accent); opacity: 1; font-weight: 600; }
.beta-callout-cta { flex-shrink: 0; }
@media (max-width: 720px) {
  .beta-callout { flex-direction: column; text-align: center; }
  .beta-callout-icon { margin: 0 auto; }
  .beta-callout-cta { width: 100%; justify-content: center; }
}

/* ── Support / final CTA ── */
.support-section { padding: 40px 24px 100px; max-width: 980px; margin: 0 auto; }
.support-content { padding: 56px 36px; text-align: center; position: relative; overflow: hidden; }
.support-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
  opacity: 0.22;
  filter: blur(80px);
  pointer-events: none;
}
.support-content h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.support-content p {
  position: relative;
  font-size: 16px;
  opacity: 0.72;
  margin-bottom: 30px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.support-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ── Footer ── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid color-mix(in srgb, var(--c-light) 8%, transparent);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-text { font-size: 13px; opacity: 0.5; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; opacity: 0.6; transition: opacity 180ms; }
.footer-links a:hover { opacity: 1; }

/* ── Lightbox (click-to-enlarge image viewer) ── */
.zoomable { cursor: zoom-in; }
.hero-visual-zoom {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  background-color: color-mix(in srgb, var(--c-dark) 45%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) 22%, transparent);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 220ms, transform 220ms;
  pointer-events: none;
}
.hero-visual:hover .hero-visual-zoom { opacity: 1; transform: scale(1); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: color-mix(in srgb, var(--c-dark) 82%, transparent);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.lightbox.open { display: flex; animation: lightbox-in 200ms ease; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 12px;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px -20px color-mix(in srgb, var(--c-dark) 80%, transparent);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-content);
  background-color: color-mix(in srgb, var(--c-glass) 26%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) 16%, transparent);
  transition: background-color 180ms, transform 180ms;
}
.lightbox-close:hover { background-color: color-mix(in srgb, var(--c-glass) 40%, transparent); transform: rotate(90deg); }
.lightbox-hint {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  opacity: 0.6;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 600px) {
  .lightbox-hint { content: ""; font-size: 11px; }
}

/* ── See it in action — alternating feature-screenshot rows ──
   Reuses .section, .section-title, .gradient-text, .fade-up, .liquid-glass,
   .hero-visual-zoom. Adding the Nth screenshot needs no CSS edits. */
.feature-rows-section .section-subtitle { margin-bottom: 72px; }

.feature-rows { display: flex; flex-direction: column; gap: 96px; }

.feature-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;   /* media gets the larger side */
  gap: 56px;
  align-items: center;
}
/* Sides flip automatically on every 2nd row — no markup edits */
.feature-row:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.feature-row:nth-child(even) .feature-row-media { order: 2; }
.feature-row.is-reversed .feature-row-media { order: 2; }

/* Media frame: glass mat + per-row accent glow; normalizes mixed themes/ratios */
.feature-row-media {
  position: relative;
  padding: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: color-mix(in srgb, var(--c-glass) 22%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 12%), transparent),
    0 24px 60px -28px color-mix(in srgb, var(--row-accent, var(--color-accent)) 55%, transparent);
}
.feature-row-media img {
  display: block;
  width: 100%;
  height: auto;                                 /* tolerates any aspect ratio */
  border-radius: calc(var(--radius) - 6px);
}
/* Light screenshot on the dark page: white plate so it reads as matted, not floating */
.feature-row-media.is-light img {
  background: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) 14%, transparent);
}
/* Cap very tall (portrait) shots so one row can't dominate the scroll */
.feature-row-media.is-tall img { max-height: 70vh; width: auto; margin: 0 auto; }

/* Hover magnifier badge — reuses .hero-visual-zoom, just the trigger + offset */
.feature-row-zoom { bottom: 18px; right: 18px; }
.feature-row-media:hover .feature-row-zoom { opacity: 1; transform: scale(1); }

/* Graceful failure — labeled 16/9 placeholder instead of a broken-image icon */
.feature-row-fallback {
  display: none;
  aspect-ratio: 16 / 9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: calc(var(--radius) - 6px);
  color: var(--c-content);
  opacity: 0.5;
}
.feature-row-fallback i { font-size: 42px; }
.feature-row-fallback code { font-size: 12px; opacity: 0.75; }
.feature-row-media.is-err img,
.feature-row-media.is-err .feature-row-zoom { display: none; }
.feature-row-media.is-err .feature-row-fallback { display: flex; }

/* Text column */
.feature-row-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 99em;
  color: var(--row-accent, var(--color-accent));
  background-color: color-mix(in srgb, var(--row-accent, var(--color-accent)) 16%, transparent);
}
.feature-row-text h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0;
}
.feature-row-text > p {
  font-size: 16px;
  opacity: 0.75;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 22px;
}
.feature-row-points { display: flex; flex-direction: column; gap: 11px; }
.feature-row-points li { display: flex; align-items: center; gap: 11px; font-size: 15px; opacity: 0.88; }
.feature-row-points i { color: var(--row-accent, var(--color-green)); font-size: 15px; }

/* Collapse to one column; force media above text on mobile regardless of alternation */
@media (max-width: 940px) {
  .feature-rows { gap: 64px; }
  .feature-row,
  .feature-row:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .feature-row .feature-row-media,
  .feature-row:nth-child(even) .feature-row-media,
  .feature-row.is-reversed .feature-row-media { order: -1; }
  .feature-rows-section .section-subtitle { margin-bottom: 56px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .hero-visual, .hero-chip, .hero-bg-glow-1, .hero-bg-glow-2, .hero-eyebrow-dot { animation: none; }
}
