/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg:            #0f0f1a;
  --bg-surface:    #1a1a2e;
  --bg-card:       #20203a;
  --bg-card-hover: #252548;
  --primary:       #FFD166;
  --primary-light: #FFE599;
  --primary-dark:  #E8A820;
  --gold:          #f0c040;
  --gold-light:    #f5d070;
  --text:          #e8e8f0;
  --text-muted:    #8888aa;
  --border:        rgba(255, 209, 102, 0.15);
  --border-strong: rgba(255, 209, 102, 0.35);
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:     0 8px 48px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-muted); }

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--primary); }

code {
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--primary-light);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* "Photonne" brand name – logo-style gradient (white → gold) */
.brand-text {
  background: linear-gradient(90deg, #ffffff 0%, #FFD166 55%, #E8A820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section        { padding: 6rem 0; }
.section--alt   { background: var(--bg-surface); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn--lg  { padding: 0.9rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn--sm  { padding: 0.45rem 1rem; font-size: 0.875rem; }

.btn--primary {
  background: var(--primary);
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(255, 209, 102, 0.4);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255, 209, 102, 0.5);
  color: #1a1a2e;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary-light); }

.btn--ghost {
  background: rgba(255, 209, 102, 0.1);
  color: var(--primary-light);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: rgba(255, 209, 102, 0.2);
  border-color: var(--border-strong);
  color: var(--text);
}

/* ─── Fade-in Animations ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in--delay { transition-delay: 0.18s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Section Header ─────────────────────────────────────────── */
.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__header h2 { margin: 0.6rem 0 1rem; }
.section__header p  { max-width: 560px; margin: 0 auto; }

.section__tag {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav__logo { width: 32px; height: 32px; border-radius: 8px; }
.nav__name {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff 0%, #FFD166 55%, #E8A820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover { color: #1a1a2e; }
.nav__links a.btn--outline { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 30%, rgba(255, 209, 102, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 5%  80%, rgba(240, 192, 64, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(240, 192, 64, 0.1);
  border: 1px solid rgba(240, 192, 64, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero__title   { margin-bottom: 1.25rem; }
.hero__subtitle { margin-bottom: 2rem; font-size: 1.05rem; max-width: 490px; }
.hero__actions  { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__value  { display: block; font-size: 1.05rem; font-weight: 700; color: var(--text); }
.stat__label  { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 1px; }
.stat__sep    { width: 1px; height: 30px; background: var(--border); flex-shrink: 0; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 44px; height: 44px;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card__icon svg { width: 22px; height: 22px; stroke: var(--primary-light); }
.feature-card h3 { color: var(--text); margin-bottom: 0.4rem; }
.feature-card p  { font-size: 0.875rem; }

/* ─── PRIVACY ────────────────────────────────────────────────── */
.section--privacy {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(26, 26, 46, 0.6) 100%);
}

.privacy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.privacy-block__content .section__tag { margin-bottom: 1rem; }
.privacy-block__content h2  { margin-bottom: 1rem; }
.privacy-block__content > p { margin-bottom: 2rem; }

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.privacy-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}
.privacy-list svg {
  width: 18px; height: 18px;
  stroke: var(--primary-light);
  flex-shrink: 0;
}

.privacy-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.privacy-vs__card {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
}
.privacy-vs__card--good { border-color: rgba(255, 209, 102, 0.45); }

.privacy-vs__card strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin: 0.5rem 0 0.8rem;
}
.privacy-vs__card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.privacy-vs__card ul li         { font-size: 0.855rem; color: var(--text-muted); }
.privacy-vs__card--good ul li   { color: var(--text); }

.privacy-vs__icon { font-size: 1.4rem; }
.privacy-vs__logo { width: 34px; height: 34px; border-radius: 8px; }

.privacy-vs__vs {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.22rem 0.8rem;
}

/* ─── INSTALL ────────────────────────────────────────────────── */
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.install-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.install-step__num {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--primary);
  color: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255, 209, 102, 0.45);
  margin-top: 2px;
}

.install-step__body { flex: 1; min-width: 0; }
.install-step__body h3 { color: var(--text); margin-bottom: 0.75rem; font-size: 1rem; }

.code-block {
  position: relative;
  background: #080812;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.code-block pre { padding: 1rem 1.25rem; overflow-x: auto; }
.code-block code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.845rem;
  color: #c8d3f5;
  display: block;
  line-height: 1.75;
}

.code-block__copy {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.code-block__copy:hover         { background: rgba(255, 209, 102, 0.3); color: var(--text); }
.code-block__copy.copied        { color: #4caf50; border-color: rgba(76, 175, 80, 0.4); background: rgba(76, 175, 80, 0.08); }

.install-note {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.install-note p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.install-note p:last-child { margin-bottom: 0; }

/* ─── TECH STACK ─────────────────────────────────────────────── */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.stack-card:hover { border-color: var(--border-strong); }

.stack-card__layer {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 209, 102, 0.1);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stack-card__items {
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.stack-item:hover { background: rgba(255,255,255,0.035); }
.stack-item__name { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.stack-item__desc { font-size: 0.75rem; color: var(--text-muted); }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.testimonial-card:hover { border-color: var(--border-strong); }

.testimonial-card__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}
.testimonial-card__placeholder svg {
  width: 36px; height: 36px;
  stroke: rgba(255, 209, 102, 0.25);
}
.testimonial-card__placeholder span { font-size: 0.85rem; }

/* ─── ROADMAP ────────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.roadmap-phase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.roadmap-phase:hover { border-color: var(--border-strong); }

.roadmap-phase__header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roadmap-phase__title {
  font-size: 1.1rem;
  color: var(--text);
}

.roadmap-phase__badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  align-self: flex-start;
}
.roadmap-phase__badge--done {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.35);
  color: #81c784;
}
.roadmap-phase__badge--active {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: var(--primary-light);
}
.roadmap-phase__badge--planned {
  background: rgba(136, 136, 170, 0.1);
  border: 1px solid rgba(136, 136, 170, 0.25);
  color: var(--text-muted);
}

.roadmap-items {
  list-style: none;
  padding: 0.75rem 0;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.5rem;
  transition: background 0.15s;
}
.roadmap-item:hover { background: rgba(255,255,255,0.025); }

.roadmap-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.roadmap-item--done   .roadmap-item__dot { background: #4caf50; }
.roadmap-item--active .roadmap-item__dot {
  background: var(--primary);
  box-shadow: 0 0 6px rgba(255, 209, 102, 0.6);
}
.roadmap-item--planned .roadmap-item__dot {
  background: transparent;
  border: 1.5px solid rgba(136, 136, 170, 0.4);
}

.roadmap-item__text { font-size: 0.875rem; color: var(--text); }
.roadmap-item--planned .roadmap-item__text { color: var(--text-muted); }

.roadmap-extra {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.roadmap-extra.open { max-height: 600px; }

.roadmap-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 1.5rem 1rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.15s;
}
.roadmap-toggle:hover { color: var(--primary-light); }
.roadmap-toggle__icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.roadmap-toggle[aria-expanded="true"] .roadmap-toggle__icon {
  transform: rotate(180deg);
}

.roadmap-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── LIVE DEMO ──────────────────────────────────────────────── */
.section--demo {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255, 209, 102, 0.10) 0%, transparent 65%),
    var(--bg);
  overflow: hidden;
}

.demo-block {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.demo-block h2 { margin: 0.6rem 0 1rem; }
.demo-block__lead {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.demo-block__url {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 24px rgba(255, 209, 102, 0.12);
}
.demo-block__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.demo-block__dot:nth-child(1) { background: #ff5f56; }
.demo-block__dot:nth-child(2) { background: #ffbd2e; }
.demo-block__dot:nth-child(3) { background: #27c93f; }
.demo-block__url-text {
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.95rem;
  color: var(--primary-light);
  padding-left: 0.55rem;
  border-left: 1px solid var(--border);
  margin-left: 0.25rem;
}

.demo-block__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.5rem;
  margin: 0 auto 2.25rem;
  padding: 0;
  max-width: 600px;
}
.demo-block__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}
.demo-block__points svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  flex-shrink: 0;
}

.demo-block__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.demo-block__actions .btn svg { margin-right: 0.15rem; }

.demo-block__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .demo-block__url-text { font-size: 0.8rem; }
  .demo-block__url { padding: 0.55rem 0.85rem; }
}

/* ─── FINAL CTA ──────────────────────────────────────────────── */
.section--cta {
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.07) 0%, rgba(240, 192, 64, 0.04) 100%);
}

.cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-block__logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.cta-block h2          { margin-bottom: 1rem; }
.cta-block > p         { margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-block__actions    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-block__license    { font-size: 0.8rem; color: var(--text-muted); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__brand { display: flex; align-items: center; gap: 0.65rem; }
.footer__logo  { width: 28px; height: 28px; border-radius: 7px; }
.footer__brand span {
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(90deg, #ffffff 0%, #FFD166 55%, #E8A820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: 0.875rem; color: var(--text-muted); }
.footer__links a:hover { color: var(--text); }

.footer__copy { font-size: 0.8rem; color: var(--text-muted); }
.footer__copy a { color: var(--text-muted); }
.footer__copy a:hover { color: var(--primary-light); }

/* ─── Support ────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.support-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.support-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,209,102,0.15), rgba(232,168,32,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary);
  fill: none;
}
.support-card__icon svg[fill="currentColor"] {
  fill: var(--primary);
  stroke: none;
}
.support-card h3 { font-size: 1.1rem; font-weight: 700; }
.support-card p  { font-size: 0.9rem; color: var(--text-muted); flex: 1; }

.support-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
}

/* ─── PHONE FRAME (capturas nativas) ─────────────────────────── */
.phone {
  position: relative;
  background: #07070d;
  border: 1px solid #34344a;
  border-radius: 34px;
  padding: 7px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 27px;
  background: #f4f4f8;
}
/* Isla dinámica (desactivada: las capturas de Android traen su propia cámara) */
.phone::before {
  display: none;
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 3%;
  background: #07070d;
  border-radius: 100px;
  z-index: 2;
}

/* ─── HERO: tiendas y móviles ────────────────────────────────── */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.1rem 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}
.store-btn__text small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.store-btn:hover { border-color: var(--primary); color: var(--text); transform: translateY(-1px); }
.store-btn--soon { opacity: 0.78; }
.store-btn--soon svg { color: var(--text-muted); }
.store-btn--live {
  background: var(--primary);
  border-color: var(--primary);
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(255, 209, 102, 0.35);
}
.store-btn--live .store-btn__text small { color: rgba(26, 26, 46, 0.7); }
.store-btn--live:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #1a1a2e; }

.hero-phones {
  position: relative;
  height: 600px;
  max-width: 520px;
  margin: 0 auto;
}
.hero-phones .phone { position: absolute; width: 260px; }
.phone--front { left: 6%; top: 30px; z-index: 2; }
.phone--back  {
  right: 4%;
  top: 0;
  transform: rotate(6deg);
  opacity: 0.92;
  filter: saturate(0.9);
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 100px;
  background: rgba(32, 32, 58, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hero-chip svg { width: 16px; height: 16px; color: var(--primary); }
.hero-chip--top    { top: 90px; right: -2%; }
.hero-chip--bottom { bottom: 70px; left: -4%; }

/* ─── SPOTLIGHTS ─────────────────────────────────────────────── */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.spotlight + .spotlight { margin-top: 6rem; }
.spotlight--reverse .spotlight__media { order: 2; }

.spotlight__media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(255, 209, 102, 0.10), transparent 70%);
}
.phone--md { width: 220px; flex-shrink: 0; }
.phone--offset { margin-top: 3rem; }

.spotlight__text h2 { margin: 0.8rem 0 1rem; }
.spotlight__text > p { margin-bottom: 1.5rem; font-size: 1.02rem; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.95rem;
}
.check-list svg { width: 18px; height: 18px; stroke: var(--primary-light); flex-shrink: 0; }

/* ─── GALLERY ────────────────────────────────────────────────── */
.gallery { position: relative; }

.gallery__track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  padding: 1rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)) 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  outline: none;
}
.gallery__track::-webkit-scrollbar { height: 6px; }
.gallery__track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 6px; }

.gallery__item {
  flex: 0 0 230px;
  align-self: flex-start;
  scroll-snap-align: start;
  margin: 0;
}
.gallery__item .phone { transition: transform 0.25s; }
.gallery__item:hover .phone { transform: translateY(-4px); }
.gallery__item figcaption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.gallery__nav {
  position: absolute;
  top: calc(50% - 1.5rem);
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(32, 32, 58, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav:hover { border-color: var(--primary); color: var(--primary-light); }
.gallery__nav[disabled] { opacity: 0; pointer-events: none; }
.gallery__nav--prev { left: max(0.75rem, calc((100vw - 1200px) / 2 - 1rem)); }
.gallery__nav--next { right: max(0.75rem, calc((100vw - 1200px) / 2 - 1rem)); }

/* ─── DOWNLOAD ───────────────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.platform-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.platform-card--live { border-color: rgba(255, 209, 102, 0.45); box-shadow: 0 8px 40px rgba(255, 209, 102, 0.08); }
.platform-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.platform-card__head .feature-card__icon { margin-bottom: 0; }
.platform-card h3 { font-size: 1.25rem; color: var(--text); }
.platform-card > p { font-size: 0.9rem; flex: 1; }
.platform-card__note { font-size: 0.78rem !important; flex: 0 !important; }

.pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.pill--soon {
  background: rgba(136, 136, 170, 0.1);
  border: 1px solid rgba(136, 136, 170, 0.3);
  color: var(--text-muted);
}
.pill--live {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.35);
  color: #81c784;
}

.btn--block { width: 100%; justify-content: center; margin-top: 0.5rem; }
.btn.is-disabled { opacity: 0.5; cursor: default; pointer-events: none; }

.admin-note {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 2.5rem auto 0;
  max-width: 820px;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
}
.admin-note__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-note__icon svg { width: 20px; height: 20px; stroke: var(--primary-light); }
.admin-note strong { color: var(--text); display: block; margin-bottom: 0.2rem; }
.admin-note p { font-size: 0.9rem; }

/* ─── DEMO STEPS ─────────────────────────────────────────────── */
.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 auto 2rem;
  text-align: left;
}
.demo-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 4px 24px rgba(255, 209, 102, 0.06);
}
.demo-step__num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}
.demo-step__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.demo-step__value { font-size: 0.92rem; color: var(--text); font-weight: 500; }
.demo-step__value code { white-space: nowrap; font-size: 0.8rem; }
.section--demo .demo-block { max-width: 820px; }

/* ─── INSTALL / STACK extras ─────────────────────────────────── */
.install-step__text { font-size: 0.95rem; }
.stack-card--featured { border-color: rgba(255, 209, 102, 0.45); }

/* ─── NAV: selector de idioma ────────────────────────────────── */
.nav__links a.nav__lang {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  line-height: 1;
}
.nav__links a.nav__lang:hover { color: var(--primary-light); border-color: var(--border-strong); }

/* ─── Escritorio: atajos ─────────────────────────────────────── */
.platform-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
kbd {
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.05rem 0.4rem;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.faq__item:hover,
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius); }
.faq__item p {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.93rem;
}

/* ─── Beta móvil ─────────────────────────────────────────────── */
.store-btn--beta svg { color: var(--primary-light); }
.pill--beta {
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: var(--primary-light);
}
.platform-card__steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
  flex: 1;
}
.platform-card__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 1.85rem;
}
.platform-card__steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.15);
  border: 1px solid var(--border-strong);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
}
.platform-card > p + .platform-card__steps { margin-top: -0.25rem; }
.platform-card:has(.platform-card__steps) > p:not(.platform-card__note) { flex: 0; }

/* ─── WEB ────────────────────────────────────────────────────── */
.section--web {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 209, 102, 0.08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.features-grid--3 { grid-template-columns: repeat(3, 1fr); }
.web-admin {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 209, 102, 0.45);
  border-radius: var(--radius-lg);
}
.web-admin h3 { color: var(--text); font-size: 1.15rem; margin-bottom: 0.9rem; }
.check-list--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 2rem;
}
.platform-grid { grid-template-columns: repeat(3, 1fr); }
.platform-card code { font-size: 0.8em; }

/* ─── HERO: fila de plataformas ──────────────────────────────── */
.hero__stats { gap: 1.1rem; flex-wrap: nowrap; justify-content: space-between; }
.hero__stats .stat { flex: 0 1 auto; min-width: 0; }
.hero__stats .stat__label { white-space: nowrap; }

/* ─── HERO: CTA demo + descarga ──────────────────────────────── */
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.hero__cta-note { font-size: 0.85rem; margin-bottom: 2.25rem; max-width: 520px; }
.hero__cta-note code { font-size: 0.8em; }

/* ─── Marco de navegador ─────────────────────────────────────── */
.browser {
  background: #0b0b14;
  border: 1px solid #34344a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 4px 14px rgba(0, 0, 0, 0.45);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.75rem;
  background: #191926;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex-shrink: 0; }
.browser__bar > span:nth-child(2) { background: #febc2e; }
.browser__bar > span:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.18rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser img { display: block; width: 100%; height: auto; }

/* ─── HERO: navegador + móvil ────────────────────────────────── */
.hero-devices { position: relative; padding: 1.5rem 0 3.5rem 3rem; }
.browser--hero { width: calc(100% + 3rem); }
.phone.phone--hero {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26%;
  border-radius: 24px;
  padding: 5px;
  z-index: 2;
}
.phone.phone--hero img { border-radius: 19px; }
.phone.phone--hero::before { top: 10px; }
.hero-devices .hero-chip--top { top: 0; right: -1.5rem; }
.hero-devices .hero-chip--bottom { bottom: 1.25rem; left: 30%; }

/* ─── Galería web ────────────────────────────────────────────── */
.gallery--web { margin-bottom: 2.5rem; }
.gallery__item--web { flex: 0 0 min(760px, 82vw); }
.gallery__item--web .browser { transition: transform 0.25s; }
.gallery__item--web:hover .browser { transform: translateY(-4px); }

/* ─── Botón "Ver todas" (solo móvil) ─────────────────────────── */
.features-more { display: none; }

/* ─── Responsive (nuevas secciones) ──────────────────────────── */
@media (max-width: 960px) {
  .hero__visual { margin-top: 1rem; }
  .hero-phones { height: 520px; max-width: 440px; }
  .hero-phones .phone { width: 220px; }
  .store-row { justify-content: center; }

  .spotlight,
  .spotlight--reverse { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .spotlight--reverse .spotlight__media { order: 0; }
  .spotlight + .spotlight { margin-top: 4.5rem; }
  .check-list { align-items: center; }

  .platform-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .hero__cta-note { margin-left: auto; margin-right: auto; }
  .hero-devices { max-width: 640px; margin: 0 auto; }
  .features-grid--3 { grid-template-columns: 1fr 1fr; }
  .web-admin { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .hero-phones { height: 440px; max-width: 340px; }
  .hero-phones .phone { width: 180px; border-radius: 26px; padding: 5px; }
  .hero-phones .phone img { border-radius: 21px; }
  .hero-chip { font-size: 0.74rem; padding: 0.45rem 0.8rem; }
  .hero-chip--top { right: 0; top: 60px; }
  .hero-chip--bottom { left: 0; bottom: 40px; }

  .store-btn { flex: 1 1 100%; justify-content: center; }
  /* Tarjetas compactas y plegables */
  .features-grid { gap: 0.75rem; }
  .feature-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 0.9rem;
    align-items: start;
    padding: 1rem 1.1rem;
  }
  .feature-card .feature-card__icon { width: 40px; height: 40px; margin-bottom: 0; grid-row: span 2; }
  .feature-card h3 { margin: 0.1rem 0 0.25rem; font-size: 0.98rem; }
  .feature-card p { font-size: 0.84rem; line-height: 1.5; }
  .features-grid--collapsible:not(.is-expanded) > .feature-card:nth-child(n+7) { display: none; }
  .features-grid--show3:not(.is-expanded) > .feature-card:nth-child(n+4) { display: none; }
  .features-more {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: rgba(255, 209, 102, 0.08);
    color: var(--primary-light);
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
  }
  .features-more::after {
    content: '';
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
  }
  .features-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-devices { padding: 1rem 0 2.5rem 1.5rem; }
  .browser--hero { width: calc(100% + 0.5rem); }
  .phone.phone--hero { width: 30%; border-radius: 16px; padding: 3px; }
  .phone.phone--hero img { border-radius: 13px; }
  .phone.phone--hero::before { top: 6px; }
  .hero-devices .hero-chip--top { right: 0; top: -0.5rem; }
  .hero-devices .hero-chip--bottom { left: 32%; bottom: 0.5rem; }
  .gallery__item.gallery__item--web { flex-basis: 86vw; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.5rem;
  }
  .hero__stats .stat__sep { display: none; }

  .phone--md { width: 150px; border-radius: 24px; padding: 5px; }
  .phone--md img { border-radius: 19px; }
  .spotlight__media { gap: 1rem; }
  .phone--offset { margin-top: 2rem; }
  .check-list { align-items: flex-start; text-align: left; }

  .gallery__item { flex-basis: 64vw; }
  .gallery__nav { display: none; }

  .demo-steps { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; max-width: 520px; }
  .features-grid--3 { grid-template-columns: 1fr; }
  .check-list--2col { grid-template-columns: 1fr; }
  .web-admin { padding: 1.5rem; }
  .admin-note { flex-direction: column; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner       { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle    { max-width: 100%; }
  .hero__actions     { justify-content: center; }
  .hero__stats       { justify-content: center; }

  .privacy-block     { grid-template-columns: 1fr; }
  .roadmap-grid      { grid-template-columns: 1fr; }
  .support-grid      { grid-template-columns: 1fr 1fr; }

}

@media (max-width: 1100px) {
  .nav__links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    z-index: 99;
    background: rgba(15, 15, 26, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    pointer-events: none;
  }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
  }
  .nav__hamburger { display: flex; }
}

@media (max-width: 680px) {
  .section { padding: 4rem 0; }


  .testimonials-grid { grid-template-columns: 1fr; }
  .stack-grid        { grid-template-columns: 1fr; }
  .roadmap-grid      { grid-template-columns: 1fr; }
  .support-grid      { grid-template-columns: 1fr; }

  .install-step      { flex-direction: column; gap: 0.75rem; }
  .install-step__body { width: 100%; }
  .code-block pre    { padding-top: 2.4rem; }

  .footer__links     { gap: 1rem; }
}

/* ─── CONSTELACIÓN ───────────────────────────────────────────── */
/* Reproduce Personas › Constelación de la web: el cielo a lo ancho y los
   controles como cápsulas de cristal flotando encima, como en la app. */
.section--constellation {
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(111, 195, 255, 0.07), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.constellation {
  --c-ink: #1e1e2e;
  --c-muted: #5b6577;
  --c-glass: rgba(248, 249, 250, 0.82);
  --c-edge: rgba(255, 255, 255, 0.55);
  --c-fill: #c8960a;
  position: relative;
  height: clamp(480px, 68vh, 640px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(160, 175, 230, 0.16);
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, #0d1430, #070b1a 70%);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--c-ink);
}
.constellation canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
.constellation__glass {
  position: absolute;
  display: flex;
  align-items: center;
  background: var(--c-glass);
  border: 1px solid var(--c-edge);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}
.constellation__title { left: 12px; top: 12px; gap: 12px; padding: 8px 16px; align-items: baseline; }
.constellation__title strong { font-size: 16px; font-weight: 650; }
.constellation__title span { font-variant-numeric: tabular-nums; white-space: nowrap; }
.constellation__title [data-c="year"] { font-size: 16px; font-weight: 650; }
.constellation__title [data-c="count"] { color: var(--c-muted); font-size: 13px; }
.constellation__legend { right: 12px; top: 12px; gap: 2px; padding: 4px; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.constellation__legend button {
  display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 0;
  background: transparent; color: var(--c-ink); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer;
}
.constellation__legend button[aria-pressed="false"] { opacity: 0.45; text-decoration: line-through; }
.constellation__legend em { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.35); }
.constellation__bar { left: 12px; right: 12px; bottom: 12px; margin: 0 auto; max-width: 760px; height: 52px; gap: 12px; padding: 0 8px; }
.constellation__bar button,
.constellation__bar select { font: inherit; color: var(--c-ink); border: 0; background: transparent; cursor: pointer; border-radius: 999px; }
.constellation__bar [data-c="play"] { width: 38px; height: 38px; background: var(--c-fill); color: #fff; font-size: 14px; flex: none; }
.constellation__bar input[type="range"] { flex: 1; min-width: 60px; accent-color: var(--c-fill); }
.constellation__bar select { padding: 6px 8px; }
.constellation__seg { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); flex: none; }
.constellation__seg button { padding: 6px 12px; color: var(--c-muted); white-space: nowrap; }
.constellation__seg button[aria-pressed="true"] { background: #fff; color: var(--c-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
.constellation__tip {
  position: absolute; pointer-events: none; max-width: 220px; padding: 8px 12px;
  background: rgba(18, 26, 56, 0.9); border: 1px solid rgba(160, 175, 230, 0.16); border-radius: 10px;
  color: #8d96b8; font-size: 13px; line-height: 1.45;
}
.constellation__tip b { display: block; color: #e8ebf7; font-size: 14px; }
.constellation button:focus-visible,
.constellation select:focus-visible,
.constellation input:focus-visible { outline: 2px solid var(--c-fill); outline-offset: 2px; }
.constellation .c-short { display: none; }
.constellation__note { margin-top: 0.9rem; text-align: center; font-size: 0.85rem; }

.constellation-points {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.constellation-points h3 { color: var(--text); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.constellation-points h3 i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.constellation-points p { font-size: 0.95rem; }

@media (max-width: 860px) {
  .constellation__legend { top: 60px; left: 12px; right: 12px; }
  .constellation-points { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 560px) {
  .constellation__bar select { display: none; }
  .constellation__seg button { padding: 6px 9px; font-size: 12px; }
  .constellation__title [data-c="count"] { display: none; }
  .constellation .c-long { display: none; }
  .constellation .c-short { display: inline; }
}
