:root {
  color-scheme: dark;
  --bg: #060606;
  --bg-elevated: #0c0c0c;
  --surface: #121212;
  --surface-hover: #1a1a1a;
  --border: rgba(152, 12, 20, 0.12);
  --border-strong: rgba(196, 28, 36, 0.28);
  --text: #f5f0f0;
  --text-muted: #a89898;
  --text-dim: #6a5a5a;
  --accent: #980c14;
  --accent-bright: #c41c24;
  --accent-dim: rgba(152, 12, 20, 0.16);
  --accent-glow: rgba(196, 28, 36, 0.45);
  --brand-gradient: linear-gradient(135deg, #680008 0%, #980c14 40%, #c41c24 100%);
  --gradient-hero:
    radial-gradient(ellipse 85% 65% at 50% -10%, rgba(152, 12, 20, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 20%, rgba(124, 4, 12, 0.12), transparent 50%),
    radial-gradient(ellipse 45% 35% at 5% 70%, rgba(104, 0, 8, 0.1), transparent 45%);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max-w: 1140px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #fff; }

.container {
  width: min(var(--max-w), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-w), calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
  color: var(--accent-bright);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.nav-links li { position: relative; }

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
}

.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 28, 36, 0.2), transparent 68%);
  filter: blur(44px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow.g1 { top: -100px; left: 50%; transform: translateX(-50%); }
.hero-glow.g2 { bottom: -160px; right: -60px; background: radial-gradient(circle, rgba(104, 0, 8, 0.18), transparent 68%); }

.footer-tagline {
  font-size: 0.92rem;
  color: var(--accent-bright);
  font-weight: 500;
  margin: 0.5rem 0;
}

.logo-img-solo {
  filter: drop-shadow(0 0 16px var(--accent-glow));
  margin-bottom: 0.5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(196, 28, 36, 0.28);
  color: var(--accent-bright);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: min(100%, 380px);
}

.floating-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.floating-card.main { position: relative; z-index: 2; }
.floating-card.back {
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: 1;
  opacity: 0.5;
  transform: scale(0.96);
}

/* Sections */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.bg-elevated { background: var(--bg-elevated); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p { color: var(--text-muted); margin: 0 0 1rem; }

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}

.why-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* App cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.app-card:hover {
  border-color: rgba(196, 28, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.app-card-header {
  padding: 1.75rem 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}

.app-icon-fallback {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e53935, #b71c1c);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.app-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.app-card .tag { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

.app-card-body { padding: 1rem 1.75rem 1.75rem; }
.app-card-body p { margin: 0 0 1.25rem; color: var(--text-muted); font-size: 0.92rem; }

.app-preview {
  height: 160px;
  background: linear-gradient(180deg, rgba(229, 57, 53, 0.15), transparent),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

.mini-phone {
  width: 64px;
  height: 110px;
  border-radius: 10px;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  padding: 6px 4px;
}

.mini-screen {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mini-timer { font-size: 0.55rem; font-weight: 700; color: #e53935; }
.mini-bar { width: 70%; height: 3px; border-radius: 2px; background: var(--border); }

/* Tech */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s;
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-dim);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { margin: 0 0 0.2rem; font-size: 0.95rem; }
.contact-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
  line-height: 1.5;
}

.form-feedback--success {
  background: rgba(0, 200, 120, 0.12);
  border: 1px solid rgba(0, 200, 120, 0.35);
  color: #7dffc4;
}

.form-feedback--error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ffb4b4;
}

.form-feedback--sending {
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  color: var(--accent-bright);
}

.btn-submit {
  width: 100%;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-form {
  position: relative;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 20rem; }

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Privacy / Support layout */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background: var(--gradient-hero);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.page-hero p { color: var(--text-muted); margin: 0; max-width: 36rem; }

.privacy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

.privacy-nav {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.privacy-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 2px solid transparent;
}

.privacy-nav a:hover,
.privacy-nav a.active {
  color: var(--text);
  background: var(--surface);
  border-left-color: var(--accent);
}

.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.privacy-section:last-child { border-bottom: none; }

.privacy-section h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.privacy-section p,
.privacy-section li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.privacy-section ul { padding-left: 1.25rem; }
.privacy-section code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-bright);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text-muted); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 1.35rem 1.15rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .privacy-nav { position: static; flex-direction: row; flex-wrap: wrap; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.25rem;
    background: rgba(5, 5, 8, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }

  .nav-links.open { display: flex; }

  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 3rem; }
  section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* Calisthenics landing extras */
.logo-mark.app-red {
  width: 36px;
  height: 36px;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Device frames */
.device-frame {
  padding: 8px;
  background: linear-gradient(165deg, #3d3d3d 0%, #161616 55%, #0a0a0a 100%);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(196, 28, 36, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.device-frame::before {
  content: '';
  display: block;
  width: 28%;
  height: 4px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.device-frame:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.6),
    0 0 48px rgba(196, 28, 36, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Hero phone stack */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-phone-stack {
  position: relative;
  width: min(100%, 420px);
  height: 400px;
  margin-inline: auto;
}

.device-frame--hero {
  position: absolute;
  width: 168px;
  bottom: 0;
}

.device-frame--hero img {
  width: 100%;
}

.device-frame--back-left {
  left: 0;
  transform: rotate(-10deg) translateY(12px);
  opacity: 0.82;
  z-index: 1;
  filter: brightness(0.88);
}

.device-frame--center {
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 3;
  width: 196px;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.65),
    0 0 56px rgba(196, 28, 36, 0.32);
}

.device-frame--back-right {
  right: 0;
  transform: rotate(10deg) translateY(12px);
  opacity: 0.82;
  z-index: 1;
  filter: brightness(0.88);
}

.hero-phone-stack .device-frame--center:hover,
.hero-phone-stack .device-frame--back-left:hover,
.hero-phone-stack .device-frame--back-right:hover {
  transform: inherit;
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.65),
    0 0 56px rgba(196, 28, 36, 0.32);
}

.device-frame--center:hover {
  transform: translateX(-50%) translateY(-8px);
}

.device-frame--back-left:hover {
  transform: rotate(-10deg) translateY(12px);
}

.device-frame--back-right:hover {
  transform: rotate(10deg) translateY(12px);
}

/* Feature showcase rows */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 3rem 0;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-row--reverse .showcase-copy {
  order: 2;
}

.showcase-row--reverse .showcase-device {
  order: 1;
}

.showcase-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  margin: 0 0 0.65rem;
}

.showcase-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.showcase-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 28rem;
}

.showcase-device {
  display: flex;
  justify-content: center;
}

.device-frame--showcase {
  width: min(100%, 240px);
}

.features-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.feature-card--start {
  border-color: rgba(196, 28, 36, 0.25);
  background: linear-gradient(145deg, var(--surface), rgba(152, 12, 20, 0.08));
}

/* Gallery carousel */
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gallery-track {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  transform: scale(0.94) translateY(12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.gallery-slide figcaption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.device-frame--gallery {
  width: min(100%, 260px);
}

.gallery-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gallery-nav:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}

.gallery-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.gallery-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: rgba(196, 28, 36, 0.35);
  background: rgba(152, 12, 20, 0.08);
  color: var(--accent-bright);
}

.device-frame--thumb {
  width: 100%;
  max-width: 88px;
  padding: 4px;
  border-radius: 14px;
}

.device-frame--thumb::before {
  height: 3px;
  margin-bottom: 4px;
}

.device-frame--thumb img {
  border-radius: 10px;
}

.device-frame--thumb:hover {
  transform: none;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(196, 28, 36, 0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(229, 57, 53, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.feature-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: #fff;
  color: #111;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  color: #111;
}

.play-badge svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .showcase-row,
  .showcase-row--reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row--reverse .showcase-copy,
  .showcase-row--reverse .showcase-device {
    order: unset;
  }

  .showcase-device {
    order: -1;
  }

  .features-extra {
    grid-template-columns: 1fr;
  }

  .hero-phone-stack {
    height: 340px;
    width: min(100%, 320px);
  }

  .device-frame--hero {
    width: 130px;
  }

  .device-frame--center {
    width: 152px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-nav {
    display: none;
  }

  .gallery-track {
    min-height: 420px;
  }

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

@media (max-width: 480px) {
  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-phone-stack {
    height: 280px;
  }

  .device-frame--hero {
    width: 100px;
  }

  .device-frame--center {
    width: 118px;
  }
}
