/* ═══════════════════════════════════════════════════════════════
   Digital Cartel — style.css
   Dark premium aesthetic. Gradient color system. Glassmorphism.
   ═══════════════════════════════════════════════════════════════ */

/* ── Font Face ── */
@font-face {
  font-family: 'DCC Ash';
  src: url('../fonts/DCC-Ash.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Custom Properties ── */
:root {
  /* Surfaces */
  --bg-base: #0a0a0a;
  --bg-raised: #111111;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;

  /* Text */
  --text-primary: #e5e7eb;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.3);
  --text-faint: rgba(255,255,255,0.15);

  /* Borders */
  --border-subtle: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.1);
  --border-hover: rgba(255,255,255,0.2);

  /* Brand */
  --gradient-brand: linear-gradient(135deg, #14b8a6, #8b5cf6);
  --gradient-brand-wide: linear-gradient(135deg, #14b8a6 0%, #6366f1 50%, #8b5cf6 100%);

  /* App Colors */
  --app-css: #14b8a6;
  --app-css-dark: #0f766e;
  --app-age: #8b5cf6;
  --app-age-dark: #4c1d95;
  --app-trust: #2563eb;
  --app-trust-dark: #1d4ed8;
  --app-faq: #ea580c;
  --app-faq-dark: #c2410c;
  --app-social: #e11d48;
  --app-social-dark: #be123c;
  --app-announce: #ca8a04;
  --app-announce-dark: #a16207;
  --app-stock: #059669;
  --app-stock-dark: #047857;
  --app-bundle: #7c3aed;
  --app-bundle-dark: #6d28d9;

  /* Glass */
  --glass-bg: rgba(20,20,20,0.7);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: 20px;

  /* Layout */
  --container: 1200px;
  --section-gap: 140px;

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

/* ── Base Typography ── */
body {
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Ambient Background (global, all pages) ── */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.ambient-bg__blob--teal {
  width: 700px;
  height: 700px;
  background: rgba(20,184,166,0.12);
  top: -15%;
  left: -10%;
  animation: meshDrift1 25s ease-in-out infinite;
}

.ambient-bg__blob--purple {
  width: 600px;
  height: 600px;
  background: rgba(139,92,246,0.10);
  bottom: -10%;
  right: -5%;
  animation: meshDrift2 30s ease-in-out infinite;
}

.ambient-bg__blob--blue {
  width: 450px;
  height: 450px;
  background: rgba(37,99,235,0.07);
  top: 50%;
  left: 40%;
  animation: meshDrift3 20s ease-in-out infinite;
}

.ambient-bg__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 90%);
}

.ambient-bg__grain {
  position: absolute;
  inset: 0;
  background-image: var(--grain-texture);
  background-repeat: repeat;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

/* All page content sits above the ambient layer */
.nav, .hero, .stats, .section, .philosophy, .footer, .glow-divider, .page-header {
  position: relative;
  z-index: 1;
}

.brand-font {
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

/* ── Gradient Text Utility ── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  border-color: var(--border-medium);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 22px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav__link {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.25s var(--ease-out);
}

.nav__link:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}

.nav__link--cta {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.nav__link--cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle span {
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 25% 35%, rgba(20,184,166,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 70% 55% at 75% 65%, rgba(139,92,246,0.2) 0%, transparent 70%),
    linear-gradient(160deg, #071a18 0%, #0c1820 35%, #140c28 65%, #0a0a0a 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
}

.hero__mesh-blob--teal {
  width: 800px;
  height: 800px;
  background: rgba(20,184,166,0.4);
  top: -20%;
  left: -10%;
  filter: blur(100px);
  animation: meshDrift1 25s ease-in-out infinite;
}

.hero__mesh-blob--purple {
  width: 700px;
  height: 700px;
  background: rgba(139,92,246,0.35);
  bottom: -15%;
  right: -8%;
  filter: blur(100px);
  animation: meshDrift2 30s ease-in-out infinite;
}

.hero__mesh-blob--blue {
  width: 500px;
  height: 500px;
  background: rgba(37,99,235,0.2);
  top: 55%;
  left: 45%;
  filter: blur(100px);
  animation: meshDrift3 20s ease-in-out infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 40px;
}

.hero__brand {
  font-family: 'DCC Ash', 'JetBrains Mono', monospace;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: normal;
  letter-spacing: 6px;
  text-transform: uppercase;
  background: var(--gradient-brand-wide);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
  margin-bottom: 24px;
  line-height: 1;
}

.hero__tagline {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero__tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-medium);
  transition: all 0.3s var(--ease-out);
}

.hero__cta:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.hero__cta svg {
  transition: transform 0.3s var(--ease-out);
}

.hero__cta:hover svg {
  transform: translateY(3px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid var(--border-medium);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-dot {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Stats Bar ── */
.stats {
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(20,184,166,0.08) 0%, transparent 70%);
}

.stats__inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stats__item {
  text-align: center;
}

.stats__number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.stats__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ── Section Headers ── */
.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section__title {
  font-family: 'DCC Ash', 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── App Grid ── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  position: relative;
  background: linear-gradient(160deg, #161616 0%, #1a1a1a 40%, #141414 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-gradient);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.app-card:hover::before {
  opacity: 1;
}

/* Card color variants */
.app-card[data-app="css-editor"] { --card-gradient: linear-gradient(135deg, #14b8a6, #0f766e); --card-accent: #14b8a6; }
.app-card[data-app="age-verification"] { --card-gradient: linear-gradient(135deg, #8b5cf6, #4c1d95); --card-accent: #8b5cf6; }
.app-card[data-app="trust-badges"] { --card-gradient: linear-gradient(135deg, #2563eb, #1d4ed8); --card-accent: #2563eb; }
.app-card[data-app="faq-builder"] { --card-gradient: linear-gradient(135deg, #ea580c, #c2410c); --card-accent: #ea580c; }
.app-card[data-app="social-proof"] { --card-gradient: linear-gradient(135deg, #e11d48, #be123c); --card-accent: #e11d48; }
.app-card[data-app="announcement-bar"] { --card-gradient: linear-gradient(135deg, #ca8a04, #a16207); --card-accent: #ca8a04; }
.app-card[data-app="back-in-stock"] { --card-gradient: linear-gradient(135deg, #059669, #047857); --card-accent: #059669; }
.app-card[data-app="build-a-box"] { --card-gradient: linear-gradient(135deg, #7c3aed, #6d28d9); --card-accent: #7c3aed; }

.app-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.app-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.app-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.app-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.app-card__badge--live {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
}

.app-card__badge--live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.app-card__badge--soon {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
}

/* ── Philosophy Section ── */
.philosophy {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(139,92,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(20,184,166,0.06) 0%, transparent 70%);
}

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

.philosophy__content {
  max-width: 480px;
}

.philosophy__quote {
  font-family: 'DCC Ash', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 24px;
}

.philosophy__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.philosophy__comparison {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.comparison__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison__header span {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.comparison__header span:last-child {
  color: var(--app-css);
}

.comparison__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison__row:last-child {
  border-bottom: none;
}

.comparison__row span {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.comparison__row span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison__row span.them {
  color: rgba(239,68,68,0.7);
}

.comparison__row span.us {
  color: #4ade80;
  font-weight: 600;
}

/* ── About Section ── */
.about__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about__origin {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0;
  background:
    radial-gradient(ellipse 50% 80% at 30% 0%, rgba(20,184,166,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 70% at 80% 0%, rgba(139,92,246,0.04) 0%, transparent 70%);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__brand {
  font-family: 'DCC Ash', 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__section h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__section a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__section a:hover {
  color: var(--text-primary);
}

/* ── App Detail Pages ── */
.app-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
  pointer-events: none;
}

.app-hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.app-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.app-hero__tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
}

.app-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}

.btn--primary {
  color: #fff;
  border: 1px solid transparent;
}

.btn--secondary {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-medium);
}

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

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(20,184,166,0.06) 0%, transparent 70%),
    var(--bg-card);
}

.feature-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing banner */
.pricing-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}

.pricing-banner__free {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-banner__note {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ── Promo Hero Card (App Pages) ── */
.promo-hero {
  padding: 100px 0 0;
}

.promo-hero__card {
  max-width: var(--container);
  margin: 0 auto 0;
  border-radius: 20px;
  padding: 56px 60px 48px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.promo-hero__card--teal {
  background:
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(20,184,166,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(15,118,110,0.2) 0%, transparent 60%),
    linear-gradient(160deg, #0a1f1c 0%, #0d3530 30%, #0f4a42 55%, #0a1a17 100%);
}

.promo-hero__card--purple {
  background:
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(139,92,246,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(76,29,149,0.2) 0%, transparent 60%),
    linear-gradient(160deg, #100a22 0%, #1c1050 30%, #2a1870 55%, #0f0a1a 100%);
}

.promo-hero__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.promo-hero__app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.promo-hero__app-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

.promo-hero__free-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.promo-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-hero__title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
}

.promo-hero__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
}

.promo-hero__features {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.promo-hero__feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.promo-hero__feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  margin-top: 1px;
}

.promo-hero__feature-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fff;
}

.promo-hero__feature-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.promo-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-hero__icon-frame {
  width: 220px;
  height: 260px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.promo-hero__icon-frame svg {
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.promo-hero__brand {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.promo-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ── Privacy Pages ── */
.privacy {
  padding: 140px 0 80px;
}

.privacy__content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy__content h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.privacy__content .last-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.privacy__content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.privacy__content p,
.privacy__content ul {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.privacy__content ul {
  padding-left: 24px;
}

.privacy__content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.privacy__content a {
  color: var(--app-css);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy__content a:hover {
  color: var(--text-primary);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ── Keyframes ── */
@keyframes meshDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.08); }
  50% { transform: translate(20px, 40px) scale(0.95); }
  75% { transform: translate(-40px, 10px) scale(1.05); }
}

@keyframes meshDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 30px) scale(0.92); }
  50% { transform: translate(-20px, -50px) scale(1.1); }
  75% { transform: translate(40px, -20px) scale(0.97); }
}

@keyframes meshDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, -40px) scale(1.05); }
  66% { transform: translate(40px, 20px) scale(0.95); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(10px); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Hero Canvas ── */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ── Grain Overlay ── */
.grain {
  position: relative;
}

.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain-texture);
  background-repeat: repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ── Light Sections ── */
.section--light {
  background: #e8eaef;
  position: relative;
  overflow: hidden;
}

.section--light > * {
  position: relative;
  z-index: 1;
}

.section--light .section__label { color: #999; }
.section--light .section__title { color: #111; }
.section--light .section__subtitle { color: #555; }

.section--light .app-card {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.section--light .app-card:hover {
  background: #fff;
  box-shadow: 0 20px 50px var(--card-glow), 0 8px 16px rgba(0,0,0,0.05);
  border-color: var(--card-border-hover);
}

.section--light .app-card__name { color: #111; }
.section--light .app-card__desc { color: #666; }
.section--light .app-card::before { opacity: 1; }
.section--light .app-card__badge--soon {
  background: rgba(0,0,0,0.04);
  color: #999;
}

.section--light .feature-card {
  background: #fff;
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.section--light .feature-card:hover {
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  background: #fff;
}

.section--light .feature-card__title { color: #111; }
.section--light .feature-card__text { color: #555; }

.stats--light {
  background: #e8eaef;
  border-bottom-color: rgba(0,0,0,0.06);
}

.stats--light .stats__label { color: #999; }

/* ── Glow Dividers (dark-to-light transitions) ── */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(20,184,166,0.3) 30%, rgba(139,92,246,0.3) 70%, transparent 95%);
}

/* ── Shape Dividers ── */
.shape-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.shape-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Dark → Light (waves flowing into light section) */
.shape-divider--dark-to-light {
  margin-top: -1px;
  background: #e8eaef;
}

.shape-divider--dark-to-light svg {
  fill: var(--bg-base);
}

/* Light → Dark (waves flowing into dark section) */
.shape-divider--light-to-dark {
  margin-top: -1px;
  background: var(--bg-base);
}

.shape-divider--light-to-dark svg {
  fill: #e8eaef;
}

/* Tinted variants for colored dark sections */
.shape-divider--light-to-dark-philosophy {
  margin-top: -1px;
  background: var(--bg-base);
}

.shape-divider--light-to-dark-philosophy svg {
  fill: #e8eaef;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20,20,20,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(20,184,166,0.15);
  border-color: rgba(20,184,166,0.3);
  color: #14b8a6;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .container {
    padding: 0 20px;
  }

  .nav {
    padding: 0 20px;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px;
    gap: 4px;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__link {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__brand {
    letter-spacing: 2px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-card {
    padding: 24px 20px;
  }

  .stats__inner {
    gap: 32px;
  }

  .stats__number {
    font-size: 24px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .promo-hero {
    padding: 80px 0 0;
  }

  .promo-hero__card {
    grid-template-columns: 1fr;
    padding: 36px 24px 32px;
    margin: 0 12px;
    gap: 28px;
  }

  .promo-hero__badge-row {
    flex-direction: row;
  }

  .promo-hero__visual {
    order: -1;
    grid-column: 1;
  }

  .promo-hero__icon-frame {
    width: 160px;
    height: 190px;
  }

  .promo-hero__brand {
    text-align: center;
    grid-column: 1;
  }

  .promo-hero__content {
    text-align: center;
    align-items: center;
  }

  .promo-hero__features {
    text-align: left;
  }

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

  .comparison__header,
  .comparison__row {
    font-size: 13px;
  }

  .comparison__header span,
  .comparison__row span {
    padding: 12px 14px;
  }

  .pricing-banner {
    padding: 32px 24px;
  }

  .pricing-banner__free {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .hero__brand {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .section__title {
    font-size: 28px;
  }

  .philosophy__quote {
    font-size: 22px;
  }
}
