/* ==========================================================================
   FutureMind Apps — design tokens (bold dark sci-fi / HUD)
   ========================================================================== */
:root {
  --bg-0: #04050a;
  --bg-1: #090c14;
  --bg-2: #0c111c;
  --surface: rgba(0, 240, 255, 0.04);
  --surface-strong: rgba(0, 240, 255, 0.09);
  --border: rgba(0, 240, 255, 0.16);
  --border-strong: rgba(0, 240, 255, 0.36);

  --text-0: #eaf6ff;
  --text-1: #93a7c2;
  --text-2: #576179;

  --cyan: #00f0ff;
  --violet: #7c3cff;
  --magenta: #ff2e92;
  --amber: #ffc145;
  --green: #39ff88;

  --grad-brand: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --grad-radial: radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.22), transparent 60%);

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
  --font-mono: "Share Tech Mono", monospace;

  --cut: 14px;
  --shadow-glow: 0 0 0 1px rgba(0, 240, 255, 0.12), 0 0 44px -8px rgba(0, 240, 255, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: light) {
  :root { color-scheme: dark; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

p { margin: 0; color: var(--text-1); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cut-corner angular panel shape, used across buttons/cards/HUD panels */
.cut-panel {
  clip-path: polygon(
    var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)
  );
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Background layers: canvas grid/particles, scanlines, noise
   ========================================================================== */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--bg-0);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 240, 255, 0.035) 0px,
    rgba(0, 240, 255, 0.035) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.5;
  mix-blend-mode: screen;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Decorative HUD corner brackets */
.corner-frame { position: absolute; width: 26px; height: 26px; pointer-events: none; z-index: 2; opacity: 0.6; }
.corner-frame::before, .corner-frame::after { content: ""; position: absolute; background: var(--cyan); }
.corner-tl { top: 24px; left: 24px; }
.corner-tl::before { top: 0; left: 0; width: 2px; height: 100%; }
.corner-tl::after { top: 0; left: 0; width: 100%; height: 2px; }
.corner-tr { top: 24px; right: 24px; }
.corner-tr::before { top: 0; right: 0; width: 2px; height: 100%; }
.corner-tr::after { top: 0; right: 0; width: 100%; height: 2px; }
.corner-br { bottom: 24px; right: 24px; }
.corner-br::before { bottom: 0; right: 0; width: 2px; height: 100%; }
.corner-br::after { bottom: 0; right: 0; width: 100%; height: 2px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(4, 5, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.55)); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: 0.04em; }
.brand-accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-suffix { color: var(--text-2); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-1); position: relative; padding: 4px 0;
  display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.03em;
  transition: color .2s var(--ease);
}
.nav-idx { color: var(--cyan); opacity: 0.7; font-size: 11px; }
.main-nav a:hover { color: var(--text-0); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0%;
  background: var(--grad-brand); transition: width .25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--cyan); }

/* Buttons — angular cut-corner */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; font-size: 14px; font-weight: 700; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-brand); color: #04050a;
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.4), 0 8px 30px -8px rgba(0, 240, 255, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.6), 0 12px 34px -6px rgba(124, 60, 255, 0.8); }
.btn-outline { background: rgba(0, 240, 255, 0.03); border-color: var(--border-strong); color: var(--text-0); }
.btn-outline:hover { border-color: var(--cyan); background: rgba(0, 240, 255, 0.08); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text-0); display: inline-flex; align-items: center; gap: 4px; }
.btn-ghost:hover { background: var(--surface-strong); border-color: var(--border-strong); }
.btn-caret { color: var(--cyan); font-family: var(--font-mono); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2;
  padding: 176px 0 120px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: -10% -10% -30% -10%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, black 0%, transparent 75%);
  transform: perspective(560px) rotateX(52deg);
  transform-origin: top center;
  pointer-events: none;
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: 0.5; }
.hero-glow-1 { width: 540px; height: 540px; top: -180px; left: -140px; background: radial-gradient(circle, rgba(0, 240, 255, 0.5), transparent 70%); }
.hero-glow-2 { width: 480px; height: 480px; bottom: -200px; right: -110px; background: radial-gradient(circle, rgba(124, 60, 255, 0.45), transparent 70%); }

.hero-inner { position: relative; max-width: 800px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em;
  color: var(--cyan);
  padding: 8px 16px 8px 12px;
  background: rgba(0, 240, 255, 0.06); border: 1px solid rgba(0, 240, 255, 0.3);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  margin-bottom: 30px;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero-title {
  font-size: clamp(34px, 5.6vw, 62px);
  margin-bottom: 26px;
  text-transform: none;
}
.cursor-blink { color: var(--cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 18px;
  font-weight: 500;
  max-width: 580px;
  margin-bottom: 42px;
  color: var(--text-1);
}

.hero-cta { display: flex; gap: 16px; margin-bottom: 68px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); letter-spacing: 0.03em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--border-strong); border-radius: 2px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; background: var(--cyan); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   Sections shared
   ========================================================================== */
section { position: relative; z-index: 2; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--cyan);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.kicker-idx {
  font-size: 11px; color: var(--bg-0); background: var(--cyan); padding: 2px 6px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); max-width: 540px; }
.section-head.center .section-title { max-width: 660px; }
.section-desc { max-width: 380px; font-size: 15.5px; color: var(--text-1); }
.section-head.center .section-desc { max-width: 560px; margin-top: 10px; }

/* ==========================================================================
   Catalog / Filters
   ========================================================================== */
.catalog-section { padding: 60px 0 100px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-chip {
  padding: 10px 18px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-1);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: all .2s var(--ease);
}
.filter-chip:hover { color: var(--text-0); border-color: var(--border-strong); }
.filter-chip.is-active {
  color: #04050a; background: var(--grad-brand); border-color: transparent; font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.app-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  clip-path: polygon(
    20px 0, 100% 0, 100% calc(100% - 20px),
    calc(100% - 20px) 100%, 0 100%, 0 20px
  );
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  opacity: 0; transform: translateY(18px);
  animation: cardIn .55s var(--ease) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.app-card:hover { transform: translateY(-5px); border-color: var(--card-accent, var(--cyan)); box-shadow: 0 0 32px -10px var(--card-accent, var(--cyan)); }

.app-card-inner {
  position: relative;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.app-card-inner::before {
  content: "";
  position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, var(--card-accent, var(--violet)) 0%, transparent 70%);
  opacity: 0.14; pointer-events: none; transition: opacity .3s var(--ease);
}
.app-card:hover .app-card-inner::before { opacity: 0.26; }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.card-icon {
  width: 56px; height: 56px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-icon.placeholder-icon { display: flex; align-items: center; justify-content: center; font-size: 24px; }

.badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  padding: 5px 10px; white-space: nowrap; text-transform: uppercase;
  border: 1px solid; display: inline-block;
}
.badge::before { content: "[ "; }
.badge::after { content: " ]"; }
.badge-soon { color: var(--amber); background: rgba(255, 193, 69, 0.1); border-color: rgba(255, 193, 69, 0.35); }
.badge-live { color: var(--green); background: rgba(57, 255, 136, 0.1); border-color: rgba(57, 255, 136, 0.35); }
.badge-planning { color: var(--text-1); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.badge-progress { color: var(--cyan); background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.35); }

.card-category { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; }

.card-name { font-size: 20px; margin-top: 6px; }
.card-tagline { font-size: 14.5px; color: var(--text-1); font-family: var(--font-body); margin-top: 6px; }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 4px 9px; }

.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.card-link { font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.03em; }
.card-link svg { transition: transform .2s var(--ease); }
.app-card:hover .card-link svg { transform: translateX(3px); }

/* Placeholder ("coming soon" category) card variant */
.app-card.is-placeholder .app-card-inner {
  align-items: center; text-align: center; justify-content: center;
  min-height: 260px;
}
.app-card.is-placeholder { border-style: dashed; }
.placeholder-icon-big { font-size: 32px; margin-bottom: 4px; opacity: 0.85; }

/* ==========================================================================
   Category bands
   ========================================================================== */
.category-band {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.045), transparent 60%);
}
.category-band.alt { background: linear-gradient(90deg, rgba(124, 60, 255, 0.06), transparent 60%); }

.band-inner { display: flex; align-items: center; gap: 22px; }
.band-idx { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); border: 1px solid var(--border); padding: 4px 8px; }
.band-icon {
  width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--cyan); border: 1px solid var(--border); background: var(--surface);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.band-copy { flex: 1; min-width: 200px; }
.band-copy h3 { font-size: 20px; margin-bottom: 6px; }
.band-copy p { font-size: 14.5px; max-width: 620px; font-family: var(--font-body); }
.band-count { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.band-count span { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--cyan); }
.band-count small { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); letter-spacing: 0.06em; }

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap-section { padding: 110px 0; }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.roadmap-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.roadmap-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.roadmap-icon { color: var(--cyan); }
.roadmap-card h4 { font-size: 16px; }
.roadmap-card p { font-size: 13.5px; font-family: var(--font-body); }

/* ==========================================================================
   About / Notify
   ========================================================================== */
.about-section { padding: 40px 0 130px; }
.about-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  align-items: start;
  padding: 56px;
  background: linear-gradient(160deg, var(--surface), transparent);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-inner::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-radial); opacity: 0.5; pointer-events: none;
}
.about-copy { position: relative; z-index: 1; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy p { font-size: 15.5px; max-width: 460px; font-family: var(--font-body); }

.notify-form {
  position: relative; z-index: 1;
  background: var(--bg-1);
  border: 1px solid var(--border);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  padding: 32px;
}
.notify-form h3 { font-size: 18px; margin-bottom: 8px; }
.notify-form p { font-size: 13.5px; margin-bottom: 20px; font-family: var(--font-body); }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-row input {
  flex: 1; min-width: 180px;
  padding: 12px 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text-0); font-family: var(--font-mono); font-size: 13.5px; outline: none;
  transition: border-color .2s var(--ease);
}
.notify-row input:focus { border-color: var(--cyan); }
.notify-status { margin-top: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--cyan); min-height: 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand p { margin-top: 8px; font-size: 13.5px; max-width: 260px; font-family: var(--font-body); }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin-bottom: 14px; }
.footer-col a { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text-1); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 3, 6, 0.78);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }

.modal-card {
  width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  padding: 40px;
  position: relative;
  transform: translateY(20px) scale(0.97); transition: transform .35s var(--ease);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}
.modal-backdrop.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-1);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--surface-strong); color: var(--cyan); }

.modal-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.modal-icon { width: 66px; height: 66px; overflow: hidden; border: 1px solid var(--border); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.modal-icon img { width: 100%; height: 100%; object-fit: cover; }
.modal-title { font-size: 22px; margin-bottom: 8px; }
.modal-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.modal-desc { font-size: 15px; color: var(--text-1); margin-bottom: 24px; font-family: var(--font-body); }
.modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; padding: 40px 28px; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 68px; left: 16px; right: 16px; flex-direction: column;
    background: rgba(9, 12, 20, 0.97); backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    padding: 20px; gap: 6px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .3s var(--ease);
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 8px; width: 100%; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }

  .hero { padding: 130px 0 90px; min-height: unset; }
  .hero-stats { gap: 28px; }

  .band-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .band-count { align-self: flex-start; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .app-card, .roadmap-card { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .pulse-dot, .scroll-cue span, .cursor-blink { animation: none !important; }
}
