/* ============================================================
   AKKO — Landing Page Styles
   Dark, modern, dynamic. Inspiration: databricks / starburst /
   dremio / snowflake — but sovereign.
   ============================================================ */

:root {
  --bg: #09090b;
  --bg-elevated: #111113;
  --bg-card: #18181b;
  --bg-card-hover: #1c1c20;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.16);
  --accent: #6c63ff;
  --accent-light: #8b7dff;
  --accent-glow: rgba(108, 99, 255, 0.18);
  --text: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --code-font: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- LANG TOGGLE (data-lang) ---- */
/* `!important` is mandatory: per-element display rules below have the same
   specificity as `[data-lang]` and would otherwise show both languages.
   Grid containers must override `display: revert` (which falls back to
   `block` and breaks the layout) — explicit overrides below. */
[data-lang] { display: none !important; }
[data-lang].active { display: revert !important; }
.layers-grid[data-lang].active,
.why-grid[data-lang].active,
.use-grid[data-lang].active { display: grid !important; }
.hero-actions[data-lang].active,
.cta-actions[data-lang].active { display: flex !important; }

/* ---- ANIMATED BACKGROUND ---- */
.bg-effects {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.bg-effects::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 700px 450px at 15% 15%, rgba(108, 99, 255, 0.13), transparent),
    radial-gradient(ellipse 600px 400px at 85% 75%, rgba(59, 130, 246, 0.08), transparent),
    radial-gradient(ellipse 500px 380px at 50% 50%, rgba(139, 92, 246, 0.06), transparent);
  animation: glow-drift 30s ease-in-out infinite alternate;
}
.bg-effects::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 25%, rgba(0, 0, 0, 0.55), transparent);
          mask-image: radial-gradient(ellipse 80% 50% at 50% 25%, rgba(0, 0, 0, 0.55), transparent);
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(20px, -15px) scale(1.04); }
  100% { transform: translate(-15px, 10px) scale(0.98); }
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  padding: 0.5rem 1rem; background: var(--accent); color: #fff;
  border-radius: 6px; font-size: 0.85rem; font-weight: 600;
}
.skip-link:focus { top: 0.5rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(9, 9, 11, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0.85rem 1.5rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
}
.nav-logo span { color: var(--text); }
.nav-brand-stack { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; }
.nav-brand-full {
  font-size: 0.62rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 1px;
}
@media (max-width: 768px) { .nav-brand-full { display: none; } }

.nav-links {
  display: flex; align-items: center; gap: 1.4rem;
}
.nav-links a {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-doc { color: var(--text-secondary) !important; }

.nav-cta {
  padding: 0.5rem 0.95rem; background: var(--accent);
  color: #fff !important; border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

.lang-switch {
  display: inline-flex; border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.lang-btn {
  background: transparent; border: 0; color: var(--text-muted);
  padding: 0.35rem 0.6rem; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-btn.active { background: var(--accent); color: #fff; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: transparent; border: 0; padding: 0.4rem; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- SECTION GENERICS ---- */
section { padding: 5.5rem 0; position: relative; }
.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent-light); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 760px; margin-bottom: 2.5rem; line-height: 1.65;
}
.section-sub a { color: var(--accent-light); border-bottom: 1px dashed rgba(139,125,255,0.45); }
.section-sub a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- HERO ---- */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  text-align: center;
}
.hero-content {
  max-width: 920px; display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border: 1px solid var(--border);
  border-radius: 999px; font-size: 0.78rem; font-weight: 500;
  color: var(--text-secondary); background: rgba(255, 255, 255, 0.02);
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05); }
}

/* Hero H1 wrapped in a link, smooth scroll to showcase. Subtle lift on hover. */
.hero-h1-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.hero-h1-link:hover { transform: translateY(-2px); filter: brightness(1.08); }

.hero-eyebrow {
  display: block;
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  opacity: 0; transform: translateY(8px);
  animation: hero-eyebrow-in 0.7s 0.15s ease-out forwards;
}
@keyframes hero-eyebrow-in {
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; margin-bottom: 1.4rem;
}
.hero h1 .gradient-text { display: inline-block; }
.hero-sub strong { color: var(--text); font-weight: 700; }
.hero-badge strong { color: var(--text); font-weight: 700; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 50%, #3b82f6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.18rem; color: var(--text-secondary);
  max-width: 660px; line-height: 1.65; margin-bottom: 2rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  justify-content: center; margin-bottom: 3rem;
}

/* Hero stat strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; width: 100%; max-width: 800px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-feature-settings: 'tnum' 1;
}
.stat-num .infin { font-family: var(--code-font); }
.stat-num .static-eu { font-family: var(--code-font); letter-spacing: 0.02em; }
.stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 0.3rem; letter-spacing: 0.02em;
}

/* ---- BUTTONS ---- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light); border-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
  background: var(--bg-card); border-color: rgba(255, 255, 255, 0.22);
}
.btn-large { padding: 1rem 1.7rem; font-size: 1rem; }

/* ============================================================
   SOVEREIGNTY — 4 pillars
   ============================================================ */
.sovereignty {
  background:
    radial-gradient(ellipse 600px 280px at 50% 0%, rgba(108, 99, 255, 0.06), transparent),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent);
}
.pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; margin-top: 2rem; margin-bottom: 2rem;
}
.pillar {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pillar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 200px 120px at 0% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent);
  opacity: 0.5; pointer-events: none;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c) 35%, var(--border));
  box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--c) 35%, transparent);
}
.pillar-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c); margin-bottom: 1rem;
}
.pillar h3 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.pillar p {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55;
}
.sov-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.55rem; margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.012);
}
.sov-strip > span:first-child,
.sov-strip > span[data-lang] {
  font-size: 0.82rem; color: var(--text-muted);
  font-weight: 500; margin-right: 0.4rem;
}
.sov-tag {
  font-family: var(--code-font);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-light);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

/* ============================================================
   LAYERS — unified 3×3 grid, always-expanded cards
   ============================================================ */
.layers {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}
.layers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;            /* uniform card height across the grid */
  gap: 0.75rem;
}
.layer-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.05rem;
  text-align: left;
  color: var(--text); font-family: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 158px;
}
.layer-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--c, var(--accent)), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.layer-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover); background: var(--bg-card-hover);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.7);
}
.layer-card:hover::before { opacity: 0.6; }
.layer-card.layer-highlight {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.07), var(--bg-card));
  border-color: rgba(139, 92, 246, 0.30);
}
.layer-card.layer-highlight::after {
  content: 'AI'; position: absolute; top: 0.85rem; right: 0.85rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 0.18rem 0.45rem; border-radius: 999px;
  background: rgba(139, 92, 246, 0.20); color: #c4b5fd;
}
.layer-step {
  position: absolute; top: 0.7rem; right: 0.85rem;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--text-muted);
  font-family: var(--code-font);
  opacity: 0.6;
}
.layer-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  margin-bottom: 0.6rem;
}
.layer-card h3 {
  font-size: 0.97rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}
.layer-tag {
  font-size: 0.72rem; color: var(--text-muted);
  margin-bottom: 0.45rem; font-weight: 500;
  letter-spacing: 0.01em;
}
.layer-detail {
  font-size: 0.82rem; color: var(--text-secondary); line-height: 1.45;
  margin-top: auto;
}

/* ---- WHY (3 cards) ---- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem; margin-top: 1.5rem;
}
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.6rem;
  position: relative; overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.why-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.why-card::before {
  content: ''; position: absolute; inset: -1px -1px auto auto;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45;
}
.why-num {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--accent-light);
  margin-bottom: 1rem; font-family: var(--code-font);
}
.why-card h3 {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
.why-card p { color: var(--text-secondary); line-height: 1.65; font-size: 0.97rem; }

/* ============================================================
   ADEN — Agentic AI showcase
   ============================================================ */
.aden { padding-top: 5rem; padding-bottom: 5rem; }
.aden-head { max-width: 760px; margin-bottom: 2.5rem; }

.aden-demo {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.5rem;
  align-items: stretch;
}

.aden-console {
  background: linear-gradient(180deg, #14141a, #0e0e12);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.console-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
  font-family: var(--code-font); font-size: 0.78rem; color: var(--text-muted);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #22c55e; }
.console-title { margin-left: 0.5rem; }
.console-body { padding: 1.2rem 1.3rem 1.5rem; }

.aden-step { margin-bottom: 1rem; }
.aden-step:last-child { margin-bottom: 0; }
.step-label {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.4rem;
  font-family: var(--code-font);
}
.step-bubble {
  display: inline-block; padding: 0.6rem 0.95rem;
  background: rgba(108, 99, 255, 0.10);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 12px; max-width: 100%;
  font-size: 0.97rem; color: var(--text);
  min-height: 2.4rem;
}
.aden-typed { white-space: pre-wrap; }
.aden-caret {
  display: inline-block; width: 1px; color: var(--accent-light);
  font-weight: 600; animation: caret-blink 1s steps(2) infinite;
  margin-left: 1px;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.step-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.aden-chip {
  font-size: 0.74rem; font-weight: 600;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  background: rgba(34, 197, 94, 0.10);
  color: #86efac; border: 1px solid rgba(34, 197, 94, 0.20);
  font-family: var(--code-font); letter-spacing: 0.02em;
}

.aden-code {
  font-family: var(--code-font); font-size: 0.86rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  line-height: 1.55; color: #cbd5e1;
  overflow-x: auto;
}
.aden-code .kw { color: #c4b5fd; font-weight: 600; }
.aden-code .fn { color: #86efac; }
.aden-code .str { color: #fca5a5; }

.aden-bars {
  display: flex; align-items: flex-end;
  gap: 0.35rem;
  height: 110px;
  padding: 0.4rem 0 0.2rem;
  border-bottom: 1px solid var(--border);
}
.aden-bar {
  flex: 1; min-width: 0;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: bar-grow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: var(--d, 0s);
  position: relative; opacity: 0.95;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.aden-bar:hover { opacity: 1; transform: scaleY(1.04); }
.aden-bar span {
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -2px);
  font-size: 0.62rem; font-family: var(--code-font);
  color: var(--text-muted); white-space: nowrap;
  opacity: 0; transition: opacity 0.15s ease;
}
.aden-bar:hover span { opacity: 1; }
@keyframes bar-grow {
  0% { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(1); opacity: 0.95; }
}
.aden-receipt {
  margin-top: 0.6rem; font-family: var(--code-font);
  font-size: 0.74rem; color: var(--text-muted);
}

.aden-side {
  display: flex; flex-direction: column; gap: 1rem;
}
.aden-feature {
  display: flex; gap: 0.85rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.1rem;
  transition: border-color 0.2s ease;
}
.aden-feature:hover { border-color: var(--border-hover); }
.ft-icon {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
}
.aden-feature h4 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.25rem; }
.aden-feature p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.55; }
.aden-cta {
  margin-top: auto;
}
.aden-cta .btn-primary { width: 100%; justify-content: center; }

/* ============================================================
   SHOWCASE — immersive carousel of the 9 layers
   ============================================================ */
.showcase {
  padding: 5.5rem 0 6rem;
  background:
    radial-gradient(ellipse 900px 400px at 50% 50%, rgba(108, 99, 255, 0.06), transparent),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
  overflow: hidden;
}
.showcase-head { margin-bottom: 2rem; }
.showcase-stage {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.showcase-glow {
  position: absolute; inset: -40px -10px auto -10px; height: 60%;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(108, 99, 255, 0.16), transparent);
  pointer-events: none;
  filter: blur(20px);
  z-index: 0;
}
.showcase-track {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-hover);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.4));
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.showcase-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
  pointer-events: none;
}
.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.showcase-slide.leaving {
  opacity: 0;
  transform: translateX(-48px) scale(0.985);
}
.slide-image {
  position: relative;
  background: #0d0d11;
  overflow: hidden;
  display: flex; align-items: stretch; justify-content: stretch;
}
.slide-image img {
  width: 100%; height: 100%;
  object-fit: contain;            /* show the WHOLE screenshot, no crop */
  object-position: center;
  display: block;
  background: #0d0d11;
  transform: translateX(0);
  transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.slide-image img.swapping {
  opacity: 0;
  transform: translateX(-12px);    /* slight slide-out cue */
}

/* slide-thumbs reborn as a thin Stories/Apple TV+ tracker bar at the
   bottom of the screenshot. Cliquable but discreet. */
.slide-thumbs {
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.65rem;
  z-index: 4;
  display: flex !important;
  gap: 4px;
  pointer-events: auto;
}
.thumb-mini {
  flex: 1 1 0;
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.16);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: height 0.18s ease, background 0.18s ease;
}
.thumb-mini::after {
  /* progress fill on the active segment */
  content: '';
  position: absolute; inset: 0;
  background: var(--c, var(--accent));
  width: 0%;
  border-radius: 3px;
  transition: width 0s linear;
}
.thumb-mini.active::after { width: 100%; transition: width var(--sub-period, 1800ms) linear; }
.thumb-mini.done::after   { width: 100%; transition: none; }
.thumb-mini:hover { height: 6px; background: rgba(255,255,255,0.28); }
.thumb-mini > img { display: none; }   /* the <img> inside is data-only */

/* Frame counter next to .slide-step  e.g.  "07 / 09 · vue 2 / 7" */
.slide-frames {
  display: inline-flex; align-items: center;
  margin-left: 0.55rem; padding-left: 0.55rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  font-family: var(--code-font);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c, var(--accent-light));
  vertical-align: middle;
  white-space: nowrap;
}
.slide-frames::before { content: 'vue '; opacity: 0.7; }
.slide-frames-sep { margin: 0 0.18em; opacity: 0.5; }
.showcase-slide.active .slide-image img {
  transform: scale(1.06);          /* Ken Burns slow zoom while slide is active */
}
.slide-glow {
  position: absolute; inset: auto -20px -20px -20px; height: 60%;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, color-mix(in srgb, var(--c) 25%, transparent), transparent);
  pointer-events: none;
}
.slide-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 70%, color-mix(in srgb, var(--c) 18%, transparent));
  pointer-events: none;
}
.slide-text {
  padding: 2.5rem 2.2rem 2.2rem;
  background: linear-gradient(180deg, rgba(20,20,28,0.4), rgba(15,15,20,0.7));
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.slide-text::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--c), transparent);
  opacity: 0.7;
}
.showcase-slide .slide-text > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.showcase-slide.active .slide-text > *:nth-child(1) { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(2) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(3) { transition-delay: 0.38s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(4) { transition-delay: 0.46s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(5) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(6) { transition-delay: 0.62s; opacity: 1; transform: translateY(0); }
.showcase-slide.active .slide-text > *:nth-child(7) { transition-delay: 0.70s; opacity: 1; transform: translateY(0); }

.slide-step {
  display: inline-block;
  font-family: var(--code-font); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.slide-tag {
  display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: color-mix(in srgb, var(--c) 90%, white);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  margin-bottom: 1.2rem;
  align-self: flex-start;
}
.slide-text h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.18;
  background: linear-gradient(135deg, var(--text) 0%, color-mix(in srgb, var(--c) 80%, white) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.85rem;
}
.slide-lead {
  font-size: 1.02rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 1.1rem;
}
.slide-bullets {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.slide-bullets li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5;
}
.slide-bullets li::before {
  content: ''; position: absolute; left: 0; top: 0.5rem;
  width: 14px; height: 2px; border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 60%, transparent);
}

/* slide-text data-lang handling — must override generic [data-lang] */
.slide-text [data-lang] { display: none !important; }
.slide-text [data-lang].active { display: revert !important; }
.slide-text ul[data-lang].active { display: flex !important; }

/* Controls */
.showcase-controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.ctrl-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-hover);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.ctrl-arrow:hover {
  background: var(--bg-card-hover); border-color: var(--accent);
  transform: scale(1.07);
}
.ctrl-arrow:active { transform: scale(0.95); }
.showcase-dots {
  display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center;
}
.dot {
  width: 36px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.04); color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--code-font); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.dot:hover {
  background: rgba(255,255,255,0.08); color: var(--text); transform: translateY(-1px);
}
.dot.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 6px 16px -6px var(--accent-glow);
}

.showcase-progress {
  margin-top: 1rem;
  height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  width: 0%;
  border-radius: 3px;
  transition: width 0.18s linear;
}
.showcase-stage.paused .progress-bar { transition: none; opacity: 0.4; }

/* Bonus thumbnails grid */
.bonus-head {
  margin-top: 3.5rem; margin-bottom: 1rem;
  font-size: 0.84rem; letter-spacing: 0.04em;
  color: var(--text-muted);
}
.bonus-head span {
  font-weight: 700; color: var(--text); letter-spacing: 0.02em;
  text-transform: uppercase; font-size: 0.78rem;
  margin-right: 0.4rem;
}
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}
.thumb {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.thumb:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.6);
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block;
}
.thumb figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  font-size: 0.74rem; color: var(--text-secondary); font-weight: 600;
  letter-spacing: 0.005em;
}

/* Legacy gallery styles kept for other ad-hoc figures (back-compat) */
.gallery { background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.03), transparent); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem; margin-top: 1rem;
}
.shot {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 16 / 10;
}
.shot:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.7);
}
.shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block;
}
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  font-size: 0.85rem; color: var(--text-secondary);
  letter-spacing: 0.005em;
}
.shot figcaption strong { color: var(--text); font-weight: 700; }

/* Fallback art when image is missing */
.shot-fallback-art {
  position: absolute; inset: 0; display: none;
  background: linear-gradient(135deg, #161620, #0e0e14);
  padding: 1.4rem;
}
.shot.shot-fallback img { display: none; }
.shot.shot-fallback { cursor: default; }
.shot.shot-fallback .shot-fallback-art { display: block; }
.shot-fallback-art .art-bar {
  height: 8px; width: 65%; background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 4px; margin-bottom: 1rem;
}
.shot-fallback-art .art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.shot-fallback-art .art-grid span {
  height: 50px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: 6px;
}
.shot-fallback-art .art-row {
  height: 14px; width: 100%; background: rgba(255,255,255,0.04);
  border-radius: 4px; margin-bottom: 0.5rem;
}
.shot-fallback-art .art-prompt {
  height: 22px; width: 80%; background: rgba(108,99,255,0.18);
  border-radius: 6px; margin-bottom: 1rem;
}
.shot-fallback-art .art-bars {
  display: flex; gap: 0.4rem; align-items: flex-end; height: 60px;
}
.shot-fallback-art .art-bars i {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-radius: 3px 3px 0 0;
}
.shot-fallback-art .art-stack {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.shot-fallback-art .art-stack b {
  display: block; height: 14px; border-radius: 3px;
  background: rgba(255,255,255,0.05);
}
.shot-fallback-art .art-stack b:nth-child(1) { background: rgba(59,130,246,0.4); }
.shot-fallback-art .art-stack b:nth-child(2) { background: rgba(34,197,94,0.4); }
.shot-fallback-art .art-stack b:nth-child(3) { background: rgba(245,158,11,0.4); }
.shot-fallback-art .art-stack b:nth-child(4) { background: rgba(139,92,246,0.4); }
.shot-fallback-art .art-stack b:nth-child(5) { background: rgba(236,72,153,0.4); }
.shot-fallback-art .art-chart {
  display: flex; gap: 0.4rem; align-items: flex-end; height: 70px;
}
.shot-fallback-art .art-chart i {
  flex: 1; background: linear-gradient(180deg, var(--accent-light), var(--accent));
  border-radius: 3px 3px 0 0;
}
.shot-fallback-art .art-chart i:nth-child(1) { height: 80%; }
.shot-fallback-art .art-chart i:nth-child(2) { height: 55%; }
.shot-fallback-art .art-chart i:nth-child(3) { height: 35%; }
.shot-fallback-art .art-spark {
  height: 50px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(34,197,94,0.5) 30%, transparent 60%, rgba(108,99,255,0.5) 95%);
  border-radius: 4px;
}
/* Fallback caption tag */
.shot.shot-fallback figcaption::after {
  content: 'preview';
  margin-left: 0.5rem; padding: 0.1rem 0.4rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06); color: var(--text-muted);
  border-radius: 4px;
}

.gallery-foot { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.92rem; }
.gallery-foot a { color: var(--accent-light); border-bottom: 1px dashed rgba(139,125,255,0.45); }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw; max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: transparent; color: #fff; border: 0;
  font-size: 2rem; cursor: pointer; line-height: 1;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.08); }

/* ---- USE CASES ---- */
.use-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem; margin-top: 1.5rem;
}
.use-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.use-card:hover {
  transform: translateY(-3px); border-color: var(--border-hover);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.7);
}
.use-tag {
  display: inline-block; padding: 0.25rem 0.65rem;
  background: rgba(108, 99, 255, 0.12); color: var(--accent-light);
  border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem;
}
.use-card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.use-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }

/* ---- FINAL CTA ---- */
.cta-final { padding: 6rem 0; text-align: center; }
.cta-inner {
  max-width: 760px; border: 1px solid var(--border); border-radius: 20px;
  padding: 3rem 2rem; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 600px 200px at 50% 0%, rgba(108, 99, 255, 0.18), transparent),
    var(--bg-card);
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.85rem;
}
.cta-sub {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.65;
  margin-bottom: 1.8rem; max-width: 540px;
  margin-left: auto; margin-right: auto;
}
.cta-actions {
  display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap;
}
.cta-contact {
  margin-top: 1.6rem; font-size: 0.92rem; color: var(--text-muted);
  letter-spacing: 0.01em;
}
.cta-contact a {
  color: var(--accent-light); font-weight: 600;
  border-bottom: 1px dashed rgba(139,125,255,0.45);
}
.cta-contact a:hover { color: var(--text); }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: rgba(255, 255, 255, 0.015);
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; margin-bottom: 0.7rem;
}
.footer-fullname {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 0.7rem;
}
.footer-tagline { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.55; }
.footer-col h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 0.85rem; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 0.92rem; color: var(--text-secondary);
  margin-bottom: 0.5rem; transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem; text-align: center;
}
.footer-copy { color: var(--text-muted); font-size: 0.82rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .layers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .aden-demo { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }

  /* Carousel : the active slide must dictate the track height on mobile.
     Leaving every slide in `position: absolute` collapses the container
     to zero and hides both the screenshot and the slide-text. */
  .showcase-track { min-height: auto; height: auto; display: block; }
  .showcase-slide {
    position: absolute; left: 0; right: 0; top: 0;
    grid-template-columns: 1fr;
    transform: translateX(24px);
  }
  .showcase-slide.active {
    position: relative;
    transform: translateX(0);
  }
  .slide-image { aspect-ratio: 16/10; }
  .slide-text { border-left: 0; border-top: 1px solid var(--border); padding: 1.6rem 1.4rem; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: saturate(180%) blur(14px);
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.5rem 1.5rem; gap: 0.9rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-cta { text-align: center; }
  .lang-switch { align-self: flex-start; }

  .container { padding: 0 1.1rem; }

  section { padding: 3.5rem 0; }
  .hero { padding-top: 6rem; padding-bottom: 2.5rem; }
  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .hero h1 br { display: none; }                /* let lines wrap naturally on mobile */
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.16em; }
  .hero-sub {
    font-size: 0.97rem;
    padding: 0 0.25rem;
  }
  .hero-actions { gap: 0.6rem; flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .section-title { font-size: clamp(1.45rem, 5.8vw, 2rem); }
  .section-sub { font-size: 0.95rem; }

  .why-grid, .use-grid, .layers-grid, .gallery-grid, .pillars, .bonus-grid {
    grid-template-columns: 1fr;
  }
  .layer-card { min-height: 0; }

  /* Showcase mobile : taller slide-image, full-width text */
  .showcase { padding: 3rem 0 3.5rem; }
  .showcase-stage { padding: 0 1.1rem; }
  .showcase-track { border-radius: 12px; }
  .slide-image { aspect-ratio: 4 / 3; }
  .slide-text { padding: 1.3rem 1.1rem 1.5rem; }
  .slide-text h3 { font-size: 1.25rem; line-height: 1.2; }
  .slide-tag { font-size: 0.66rem; }
  .slide-lead { font-size: 0.93rem; }
  .slide-bullets li { font-size: 0.86rem; }
  .showcase-controls { gap: 0.5rem; flex-wrap: wrap; }
  .showcase-dots { gap: 0.25rem; flex-wrap: wrap; max-width: 240px; justify-content: center; }
  .dot { width: 28px; height: 24px; font-size: 0.62rem; }
  .ctrl-arrow { width: 36px; height: 36px; }

  /* Sovereignty strip wraps cleanly */
  .sov-strip { padding: 0.85rem 0.85rem; gap: 0.4rem; }
  .sov-tag { font-size: 0.66rem; padding: 0.25rem 0.55rem; }
  .pillar { padding: 1.2rem 1.1rem; }
  .pillar h3 { font-size: 1rem; }
  .pillar p { font-size: 0.88rem; }

  /* ADEN console : prevent horizontal overflow on small screens */
  .aden-console { font-size: 0.92rem; }
  .console-body { padding: 0.95rem 1rem 1.15rem; }
  .aden-code { font-size: 0.74rem; padding: 0.7rem 0.8rem; overflow-x: auto; }
  .aden-bar span { font-size: 0.55rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-brand-block { text-align: center; }
  .footer-brand { justify-content: center; }
  .cta-inner { padding: 2rem 1.2rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem; padding: 1.2rem 0;
  }
  .stat-num { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .stat-label { font-size: 0.7rem; line-height: 1.3; }
}

@media (max-width: 420px) {
  /* Extra-tight phones (iPhone SE, small Android) */
  .container { padding: 0 0.9rem; }
  .hero { padding-top: 5.5rem; }
  .hero h1 { font-size: clamp(1.65rem, 9vw, 2.2rem); }
  .hero-sub { font-size: 0.92rem; }
  .nav-inner { padding: 0.7rem 1rem; }
  .nav-brand-name { font-size: 1rem; }
  .footer-col { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-effects::before { animation: none; }
  .badge-dot { animation: none; }
  .aden-bar { animation: none; transform: none; }
  .aden-caret { animation: none; }
}
