/* ============================================================
   LaunchingPad — landing page
   Design language: deep-space dark, vivid blue→cyan gradients,
   frosted glass, spatial grids. Mirrors the app's own identity.
   ============================================================ */

:root {
  --bg: #05070f;
  --bg-2: #080b18;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-bright: rgba(255, 255, 255, 0.18);

  --brand: #0a88ff;
  --brand-bright: #2aa4ff;
  --brand-deep: #0044cc;
  --cyan: #7ff0ff;
  --cyan-soft: #5fe0ff;

  --text: #eef3ff;
  --muted: #aab4cf;
  --faint: #6b7494;

  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brand); color: #fff; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

kbd {
  font-family: var(--font-mono);
  font-size: 0.8em;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--text);
  white-space: nowrap;
}

/* ============ AMBIENT BACKGROUND ============ */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; background:
    radial-gradient(1200px 700px at 80% -10%, rgba(10,136,255,0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 5%, rgba(0,68,204,0.16), transparent 55%),
    var(--bg);
}
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; mix-blend-mode: screen; }
.a1 { width: 620px; height: 620px; left: -120px; top: -80px; background: radial-gradient(circle, #0a88ff, transparent 70%); animation: drift1 22s ease-in-out infinite; }
.a2 { width: 520px; height: 520px; right: -100px; top: 8%; background: radial-gradient(circle, #7ff0ff, transparent 70%); opacity: 0.32; animation: drift2 26s ease-in-out infinite; }
.a3 { width: 700px; height: 700px; left: 30%; top: 50%; background: radial-gradient(circle, #2f4bff, transparent 70%); opacity: 0.28; animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px, 80px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-100px, 120px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-140px, -90px) scale(1.15); } }

.grid-overlay { position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
}
.noise { position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ============ NAV ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.4s var(--ease); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nav.scrolled { backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); background: rgba(8,11,24,0.72); border-bottom: 1px solid var(--border); }
.nav.scrolled .nav-inner { padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 14px rgba(10,136,255,0.5)); }
.mark-glow { animation: tileGlow 3s ease-in-out infinite; transform-origin: center; }
@keyframes tileGlow { 0%,100% { opacity: 0.7; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #7ff0ff); } }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); color: #fff !important; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(10,136,255,0.35); }
.nav-cta:hover { box-shadow: 0 8px 28px rgba(10,136,255,0.55); transform: translateY(-1px); }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; padding: 14px 24px; border-radius: 999px; cursor: pointer; transition: all 0.25s var(--ease); border: 1px solid transparent; }
.btn-primary { background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); color: #fff; box-shadow: 0 10px 34px rgba(10,136,255,0.4), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(10,136,255,0.55), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: var(--surface); border-color: var(--border-bright); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); border-color: var(--border-bright); }

/* ============ HERO ============ */
.hero { max-width: 1240px; margin: 0 auto; padding: 158px 28px 70px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { max-width: 840px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--cyan-soft); background: rgba(127,240,255,0.08); border: 1px solid rgba(127,240,255,0.22); padding: 7px 14px; border-radius: 999px; margin-bottom: 26px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 700; margin-bottom: 22px; }
.grad-text { background: linear-gradient(120deg, var(--cyan) 0%, var(--brand-bright) 55%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.lede { font-size: 1.18rem; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.lede strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }

.hero-meta { list-style: none; display: flex; justify-content: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; font-size: 0.9rem; color: var(--faint); }
.hero-meta li { position: relative; padding-left: 18px; }
.hero-meta li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.hero-meta b { color: var(--text); font-weight: 600; }

/* ---- Hero stage / product shot ---- */
.hero-stage { position: relative; width: 100%; max-width: 1140px; margin-top: 60px; }
.stage-glow { position: absolute; inset: -16% -10% -22%; background: radial-gradient(60% 55% at 50% 40%, rgba(10,136,255,0.5), transparent 70%); filter: blur(60px); z-index: -1; }

/* Real screen-capture frame — flat, front-on, the hero's centerpiece */
.shot {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 70px 150px rgba(0,0,0,0.72), 0 0 0 1px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.16);
  animation: floatStraight 8s ease-in-out infinite;
  will-change: transform;
}
.shot img { display: block; width: 100%; height: auto; }
/* moving sheen across the glass capture */
.shot-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.12) 49%, transparent 60%); background-size: 250% 100%; mix-blend-mode: screen; animation: shine 8s ease-in-out infinite; }
@keyframes shine { 0%, 65% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@keyframes floatStraight { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.launcher {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background:
    linear-gradient(180deg, rgba(8,12,28,0.35), rgba(4,6,15,0.55)),
    radial-gradient(120% 130% at 75% 0%, #1b3a8a 0%, #0a1e52 38%, #060d2c 72%, #04081c 100%);
  box-shadow: 0 50px 110px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  aspect-ratio: 16 / 11;
  display: flex; flex-direction: column;
  transform: rotateY(-9deg) rotateX(5deg);
  transition: transform 0.5s var(--ease);
  animation: floaty 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty { 0%,100% { transform: rotateY(-9deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-9deg) rotateX(5deg) translateY(-14px); } }

.menubar { display: flex; align-items: center; gap: 8px; padding: 7px 14px; font-size: 0.62rem; color: rgba(255,255,255,0.82); background: rgba(0,0,0,0.18); backdrop-filter: blur(8px); }
.mb-logo { display: grid; place-items: center; }
.mb-spacer { flex: 1; }
.mb-item { font-variant-numeric: tabular-nums; }

.search { margin: clamp(16px, 4%, 30px) auto 0; display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.7); backdrop-filter: blur(14px); min-width: 210px; }
.search-placeholder, .typed { font-size: 0.84rem; }
.caret { width: 1.5px; height: 15px; background: var(--cyan); animation: caretBlink 1.1s step-end infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

.grid-pages { flex: 1; overflow: hidden; padding: clamp(14px, 3.5%, 28px) clamp(18px, 5%, 38px); display: flex; }
.grid-page { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: clamp(8px, 2%, 18px); width: 100%; align-content: center; }

.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; transform: translateY(14px) scale(0.9); }
.launcher.lit .tile { animation: tileIn 0.5s var(--ease) forwards; }
@keyframes tileIn { to { opacity: 1; transform: none; } }

.tile .icon { width: clamp(34px, 6.4vw, 56px); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; font-size: clamp(17px, 3.2vw, 28px);
  background: linear-gradient(145deg, var(--g1, #3a7bff), var(--g2, #1f4fcc));
  box-shadow: 0 6px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tile span { font-size: clamp(0.5rem, 1.3vw, 0.66rem); color: rgba(255,255,255,0.9); text-shadow: 0 1px 3px rgba(0,0,0,0.6); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tile .icon.folder { background: rgba(255,255,255,0.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding: 16%; }
.tile .icon.folder span { width: 100%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; font-size: clamp(7px, 1.4vw, 12px); background: linear-gradient(145deg, var(--mg1,#5ac8fa), var(--mg2,#0a84ff)); }

.dots { display: flex; justify-content: center; gap: 7px; padding-bottom: clamp(12px, 3.5%, 26px); }
.dot-pip { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all 0.3s; }
.dot-pip.active { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.7); width: 18px; border-radius: 99px; }

/* ============ STRIP ============ */
.strip { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; margin: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip-track { display: flex; align-items: center; gap: 22px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--font-display); font-weight: 500; color: var(--muted); white-space: nowrap; }
.strip-track i { color: var(--brand); font-style: normal; }
.strip-track span { font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 28px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 16px; }
.section-head h2, .feature-text h3 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ============ FEATURE ROWS ============ */
.feature { max-width: var(--maxw); margin: 0 auto; padding: 70px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.alt .feature-text { order: 2; }
.feature.alt .feature-visual { order: 1; }
.feature-text, .feature-visual { min-width: 0; }

.feature-text h3 { margin-bottom: 18px; }
.feature-text > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 26px; }
.feature-text em { color: var(--cyan-soft); font-style: normal; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { position: relative; padding-left: 32px; color: var(--muted); font-size: 1.0rem; }
.checklist li b { color: var(--text); font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-bright), var(--brand-deep)); box-shadow: 0 0 12px rgba(10,136,255,0.5); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

.badge, .ai-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; font-weight: 600; color: var(--cyan-soft); background: rgba(127,240,255,0.1); border: 1px solid rgba(127,240,255,0.25); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* ---- Generic glass card ---- */
.glass { background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)); border: 1px solid var(--border-bright); border-radius: var(--radius); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 30px 70px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12); }
.card { padding: 26px; position: relative; }
.card-cap { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); margin-bottom: 20px; letter-spacing: 0.03em; }
.feature-visual { position: relative; }

/* ---- Window screenshot (Summon) ---- */
.window-shot { position: relative; margin: 0; }
.window-shot::before { content: ""; position: absolute; inset: 4% 2% 0; background: radial-gradient(58% 55% at 50% 42%, rgba(10,136,255,0.4), transparent 72%); filter: blur(56px); z-index: -1; }
.window-shot img { display: block; width: 100%; height: auto; border-radius: 12px; filter: drop-shadow(0 34px 60px rgba(0,0,0,0.55)); animation: floatStraight 8s ease-in-out infinite; }

/* ---- Folder panel ---- */
.folder-panel { padding: 28px; }
.folder-title { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 22px; }
.folder-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.folder-edit { color: var(--faint); }
.folder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 6px; }
.folder-grid .icon { width: 100%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: 0 8px 18px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform 0.3s; }
.folder-grid .slot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.folder-grid .slot span.lbl { font-size: 0.66rem; color: var(--muted); }

.floating-tile { position: absolute; right: 6%; bottom: -6%; width: 78px; display: flex; flex-direction: column; align-items: center; animation: floatTile 4s ease-in-out infinite; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); }
.floating-tile .icon { width: 64px; height: 64px; border-radius: 24%; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); transform: rotate(-8deg); }
.grab-cursor { position: absolute; right: -6px; bottom: -6px; font-size: 0.8rem; color: var(--cyan); }
@keyframes floatTile { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-10px,-16px); } }

/* ---- Appearance card ---- */
.swatches { display: flex; gap: 10px; margin-bottom: 18px; }
.swatch { flex: 1; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; transition: all 0.25s var(--ease); display: flex; flex-direction: column; gap: 8px; align-items: center; }
.swatch .sw-fill { width: 100%; height: 44px; border-radius: 9px; }
.swatch.material .sw-fill { background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); border: 1px solid var(--border); }
.swatch.wallpaper .sw-fill { background: linear-gradient(135deg, #1b3a8a, #6a2fd4 60%, #d44fa0); }
.swatch.image .sw-fill { background: linear-gradient(135deg, #ff9f0a, #ff375f 55%, #af52de); }
.swatch small { font-size: 0.74rem; color: var(--muted); }
.swatch.active { border-color: var(--brand); box-shadow: 0 0 20px rgba(10,136,255,0.3); }
.swatch.active small { color: var(--text); }

.bg-preview { height: 150px; border-radius: var(--radius-sm); overflow: hidden; position: relative; margin-bottom: 18px; border: 1px solid var(--border); }
.bg-layer { position: absolute; inset: 0; transition: all 0.5s var(--ease); }
.bg-preview[data-bg="material"] .bg-layer { background: rgba(40,48,80,0.5); backdrop-filter: blur(20px); }
.bg-preview[data-bg="wallpaper"] .bg-layer { background: linear-gradient(135deg, #1b3a8a, #6a2fd4 55%, #d44fa0); }
.bg-preview[data-bg="image"] .bg-layer { background: linear-gradient(135deg, #ff9f0a, #ff375f 50%, #af52de); }
.mini-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); place-items: center; padding: 0 26px; }
.mini-grid span { width: 42px; height: 42px; border-radius: 24%; display: grid; place-items: center; font-size: 1.25rem; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: 0 6px 14px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.3); }

.slider-row { display: flex; align-items: center; gap: 14px; }
.slider-label { font-size: 0.86rem; color: var(--muted); white-space: nowrap; }
.slider-val { font-family: var(--font-mono); font-size: 0.82rem; color: var(--cyan-soft); min-width: 48px; text-align: right; }
.blur-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) 50%, var(--surface-2) 50%); outline: none; }
.blur-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.4); border: 2px solid var(--brand); }
.blur-slider::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; cursor: pointer; border: 2px solid var(--brand); }

/* ---- Search demo ---- */
.search-demo { padding: 22px; }
.search.live { margin: 0 0 18px; min-width: unset; width: 100%; }
.results { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.result { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; transition: all 0.25s; }
.result.top { background: rgba(10,136,255,0.14); border-color: var(--brand); }
.result .icon { width: 34px; height: 34px; border-radius: 24%; display: grid; place-items: center; font-size: 1.1rem; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.result span:nth-child(2) { flex: 1; font-size: 0.92rem; }
.result .hit { font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan-soft); }

.section-row { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.section-tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.row-icons { display: flex; gap: 10px; }
.row-icons span { width: 34px; height: 34px; border-radius: 24%; display: grid; place-items: center; font-size: 1.05rem; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }

/* ---- Layout card ---- */
.stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.stepper-row span { font-size: 0.94rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border-bright); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: all 0.2s; display: grid; place-items: center; }
.stepper button:hover { background: var(--brand); border-color: var(--brand); }
.stepper b { font-family: var(--font-mono); min-width: 18px; text-align: center; }
.layout-preview { display: grid; gap: 5px; margin: 20px 0; padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); aspect-ratio: 16/9; }
.layout-preview .cell { background: linear-gradient(145deg, var(--brand-bright), var(--brand-deep)); border-radius: 4px; opacity: 0.85; animation: cellPop 0.3s var(--ease) backwards; }
@keyframes cellPop { from { opacity: 0; transform: scale(0.4); } }
.arrangements { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.arr-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--surface); }
.arr-row span { font-size: 0.9rem; }
.arr-row small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); }

/* ============ BENTO ============ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card { background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: all 0.35s var(--ease); position: relative; overflow: hidden; }
.bento-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(180px 120px at 50% -20%, rgba(10,136,255,0.18), transparent 70%); opacity: 0; transition: opacity 0.35s; }
.bento-card:hover { transform: translateY(-5px); border-color: var(--border-bright); box-shadow: 0 24px 50px rgba(0,0,0,0.4); }
.bento-card:hover::before { opacity: 1; }
.bc-ico { font-size: 1.9rem; margin-bottom: 14px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.bento-card h4 { font-size: 1.12rem; margin-bottom: 9px; }
.bento-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ============ KEYS ============ */
.keys-section { padding-bottom: 40px; }
.keys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 920px; margin: 0 auto; }
.key-row { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.key-row .keys { display: flex; gap: 5px; align-items: center; min-width: 130px; flex-wrap: wrap; }
.key-row p { color: var(--muted); font-size: 0.92rem; }

/* ============ CTA ============ */
.cta-section { max-width: var(--maxw); margin: 60px auto 90px; padding: 0 28px; }
.cta { text-align: center; padding: 64px 32px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(10,136,255,0.25), transparent 60%); }
.cta > * { position: relative; }
.cta-mark { display: inline-grid; place-items: center; margin-bottom: 22px; filter: drop-shadow(0 12px 30px rgba(10,136,255,0.5)); }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }
.req-list { list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 30px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); }
.req-list li { position: relative; }
.req-list li:not(:last-child)::after { content: "·"; position: absolute; right: -14px; color: var(--brand); }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border); padding: 50px 28px 30px; max-width: var(--maxw); margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.05rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.footer-links { display: flex; gap: 26px; font-size: 0.92rem; }
.footer-links a { color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--faint); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .hero { padding-top: 124px; }
  .hero-stage { margin-top: 40px; }
  .launcher { animation: none; transform: rotateY(-4deg) rotateX(3deg); }
  .shot { animation: none; }
  .shot-shine { display: none; }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature.alt .feature-text { order: 1; }
  .feature.alt .feature-visual { order: 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .keys-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .bento { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.6rem; }
  .footer-base { flex-direction: column; }
  .grid-page { grid-template-columns: repeat(5, 1fr); }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
  .reveal { opacity: 1; transform: none; }
  .launcher { animation: none; }
}
