/* ═══════════════════════════════════════════════════════
   Aquarius Dawning — Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ── */
:root {
  --bg:            #030c1b;
  --bg2:           #040f22;
  --bg3:           #020810;
  --surface:       rgba(0, 200, 255, 0.04);
  --surface-h:     rgba(0, 200, 255, 0.09);
  --border:        rgba(0, 200, 255, 0.12);
  --border-h:      rgba(0, 200, 255, 0.38);
  --primary:       #00c8ff;
  --primary-dark:  #0095cc;
  --secondary:     #7c6ef7;
  --gold:          #fbbf24;
  --green:         #34d399;
  --red:           #f87171;
  --text:          #f0f6ff;
  --muted:         rgba(240, 246, 255, 0.55);
  --faint:         rgba(240, 246, 255, 0.28);
  --r:             16px;
  --r-lg:          24px;
  --r-xl:          32px;
  --nav-h:         72px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --font:          'Inter', system-ui, sans-serif;
  --font-d:        'Space Grotesk', system-ui, sans-serif;
}

/* ── Base ── */
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
strong { color: var(--text); }

/* ── Utility helpers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.gradient-text {
  background: linear-gradient(130deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  background: rgba(0, 200, 255, 0.07);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible            { opacity: 1; transform: none; }
.reveal[data-delay="100"]  { transition-delay: 0.10s; }
.reveal[data-delay="200"]  { transition-delay: 0.20s; }
.reveal[data-delay="300"]  { transition-delay: 0.30s; }
.reveal[data-delay="400"]  { transition-delay: 0.40s; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #020e1a;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 200, 255, 0.38);
}
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid var(--border-h);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  background: rgba(0, 200, 255, 0.06);
  transition: background 0.2s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(0, 200, 255, 0.13);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.28); }

/* ═══════════════════════════════════ NAVBAR ═══════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
#navbar.scrolled {
  background: rgba(3, 12, 27, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo strong { color: var(--primary); font-weight: 800; }
.logo-aquarius { font-size: 1.5rem; color: var(--primary); line-height: 1; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #020e1a;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 200, 255, 0.32);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(3, 12, 27, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  padding: 12px 28px 20px;
}
.nav-mobile.open { display: flex; }
.mobile-link {
  padding: 13px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--text); }

/* ═══════════════════════════════════ HERO ═══════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  padding: 120px 28px 80px;
  /* Start visible — JS will animate from bottom on load */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.hero-content.loaded { opacity: 1; transform: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  background: rgba(0, 200, 255, 0.07);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 34px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.35); }
}

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: chevron-bounce 2s ease-in-out infinite;
}
@keyframes chevron-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.35; }
  50%       { transform: rotate(45deg) translateY(7px); opacity: 1; }
}

/* ═══════════════════════════════════ ABOUT ═══════════════════════════════════ */
#about {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.img-glow-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0, 200, 255, 0.08),
    inset 0 0 0 1px var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.img-glow-wrap:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 36px 90px rgba(0,0,0,0.7),
    0 0 80px rgba(0, 200, 255, 0.14),
    inset 0 0 0 1px var(--border-h);
}

.sherlock-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--r-xl);
  display: block;
}

.img-caption {
  text-align: center;
}

.app-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 18px;
  border-radius: 100px;
}

.caption-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-block;
}

.about-text .chip { margin-bottom: 20px; }

.about-text h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.pill {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--border);
  background: rgba(0, 200, 255, 0.06);
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}
.pill:hover {
  background: rgba(0, 200, 255, 0.12);
  border-color: var(--border-h);
}

/* ═══════════════════════════════════ FEATURES ═══════════════════════════════════ */
#features {
  padding: 130px 0;
  position: relative;
}
#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--border));
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* 6-column grid: first 3 cards = 2 cols each, last 2 = 3 cols each */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.feat-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.feat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: inherit;
}
.feat-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-5px);
}
.feat-card:hover::after { opacity: 1; }

/* Wide card (Gmail) spans last two columns of last row */
.feat-card--wide {
  grid-column: span 3;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.feat-card--wide .feat-wide-body { flex: 1; }

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  color: var(--c, var(--primary));
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s, border-color 0.3s;
}
.feat-card:hover .feat-icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.feat-icon svg { width: 26px; height: 26px; }
.feat-card--wide .feat-icon { margin-bottom: 0; }

.feat-card h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.feat-card--wide .feat-wide-body h3 { margin-bottom: 12px; }

.feat-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.feat-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.feat-bullets--row {
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 8px;
}
.feat-bullets li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.feat-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c, var(--primary));
  font-weight: 700;
  font-size: 0.78rem;
  top: 1px;
}

.feat-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 100px;
}
.feat-card--wide .feat-tag {
  position: absolute;
  bottom: 28px;
  right: 30px;
}

/* ═══════════════════════════════════ STATS ═══════════════════════════════════ */
#stats {
  padding: 90px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  text-align: center;
  padding: 44px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
}

.stat-emoji  { font-size: 2rem; margin-bottom: 14px; }
.stat-value  {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.stat-label  { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* ═══════════════════════════════════ APP MOCKUP ═══════════════════════════════════ */
#mockup {
  padding: 130px 0;
  overflow: hidden;
}

.mockup-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.app-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(0, 200, 255, 0.1),
    0 0 80px rgba(0, 200, 255, 0.04);
  font-family: 'Consolas', 'Cascadia Code', monospace;
  font-size: 0.84rem;
}

/* ── Title bar ── */
.win-titlebar {
  background: #1a1f2e;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  user-select: none;
}
.win-dots { display: flex; gap: 7px; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--red    { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green  { background: #28c840; }
.win-title {
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--muted);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ── Tabs ── */
.win-tabs {
  display: flex;
  background: #141927;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow-x: auto;
  scrollbar-width: none;
}
.win-tabs::-webkit-scrollbar { display: none; }
.win-tab {
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--faint);
  white-space: nowrap;
  background: none;
  border: none;
  border-right: 1px solid rgba(255,255,255,0.05);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.win-tab:hover { color: var(--muted); background: rgba(255,255,255,0.04); }
.win-tab--active {
  color: var(--primary);
  background: rgba(0, 200, 255, 0.07);
  border-bottom-color: var(--primary);
}

/* ── App body ── */
.win-body { background: #0c1220; }

.win-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tb-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.tb-input {
  background: #1c2438;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 7px 12px;
  color: var(--faint);
  font-family: var(--font);
  font-size: 0.82rem;
  flex-shrink: 0;
  min-width: 0;
}
.tb-input--wide { flex: 1 1 140px; }
.tb-btn {
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: default;
  white-space: nowrap;
  flex-shrink: 0;
  background: #1c2438;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}
.tb-btn--primary {
  background: rgba(0, 200, 255, 0.14);
  border-color: rgba(0, 200, 255, 0.3);
  color: var(--primary);
}

.win-results { }
.res-header {
  display: grid;
  grid-template-columns: 2.2fr 2fr 0.8fr 1fr;
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--faint);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.res-row {
  display: grid;
  grid-template-columns: 2.2fr 2fr 0.8fr 1fr;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.res-row:hover { background: rgba(255,255,255,0.025); }
.res-row--selected {
  background: rgba(0, 200, 255, 0.07);
  border-left: 2px solid var(--primary);
}
.res-row--dim { opacity: 0.42; }
.res-row span:first-child { color: var(--text); }
.res-row span:not(:first-child) { color: var(--muted); }

.win-statusbar {
  display: flex;
  gap: 28px;
  padding: 7px 16px;
  font-family: var(--font);
  font-size: 0.74rem;
  color: var(--faint);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #08101e;
}
.status-ok { color: var(--green); }

/* ═══════════════════════════════════ DOWNLOAD ═══════════════════════════════════ */
#download {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg3) 100%);
}

#dl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.dl-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 28px;
}

.dl-logo {
  width: 160px;
  border-radius: 22px;
  margin: 0 auto 38px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px var(--border);
}

.dl-content h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.dl-content p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.dl-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}
.dl-reqs span {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
}

.dl-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════ FOOTER ═══════════════════════════════════ */
footer {
  padding: 70px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 270px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: var(--faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════ RESPONSIVE ═══════════════════════════════════ */
@media (max-width: 960px) {
  .about-grid      { grid-template-columns: 1fr; gap: 52px; }
  .about-image     { order: -1; }
  .about-text h2   { font-size: 2.2rem; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .feat-card       { grid-column: span 1; }
  .feat-card--wide { grid-column: span 2; flex-direction: column; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .footer-brand    { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger            { display: flex; }
  .hero-h1              { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .features-grid        { grid-template-columns: 1fr; }
  .feat-card            { grid-column: span 1; }
  .feat-card--wide      { grid-column: span 1; }
  .stats-grid           { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr; }
  .res-header,
  .res-row              { grid-template-columns: 1.8fr 1fr; }
  .res-header span:nth-child(n+3),
  .res-row span:nth-child(n+3) { display: none; }
  .tb-btn:last-child    { display: none; }
  .win-title            { display: none; }
  .footer-bottom        { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════ HOME PAGE — HERO SYMBOL ═══════════════════════════════════ */
.home-aq-symbol {
  display: block;
  font-size: 5.5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 28px rgba(0, 200, 255, 0.45));
  animation: aq-float 6s ease-in-out infinite;
}
@keyframes aq-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ═══════════════════════════════════ HOME PAGE — APPS SECTION ═══════════════════════════════════ */
#apps {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.apps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Featured app card ── */
.app-card--featured {
  background: var(--surface);
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: 0 0 60px rgba(0, 200, 255, 0.05);
}
.app-card--featured:hover {
  border-color: var(--border-h);
  box-shadow: 0 16px 64px rgba(0,0,0,0.4), 0 0 80px rgba(0, 200, 255, 0.10);
  transform: translateY(-4px);
}

.app-card-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 400px;
}

.app-card-logo-wrap {
  overflow: hidden;
  border-right: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
}
.app-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease);
}
.app-card--featured:hover .app-logo-img {
  transform: scale(1.05);
}

.app-card-body {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
}

.app-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.app-platform-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 8px;
}

.app-name {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  color: var(--text);
}

.app-tagline {
  font-size: 0.95rem;
  color: var(--muted);
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 4px;
}
.app-status--live {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
}

.app-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.app-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 36px;
  flex: 1;
}
.app-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  top: 2px;
}

.app-card-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Coming soon row ── */
.app-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.app-card--soon {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.app-card--soon:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-4px);
}

.soon-icon { font-size: 3rem; line-height: 1; }

.soon-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid rgba(124, 110, 247, 0.3);
  background: rgba(124, 110, 247, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
}

.app-card--soon h3 {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.app-card--soon p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

/* ═══════════════════════════════════ HOME PAGE — VALUES SECTION ═══════════════════════════════════ */
#about {
  padding: 130px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 36px;
  text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.value-card:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.6rem;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.value-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ═══════════════════════════════════ MICROSOFT STORE BUTTON ═══════════════════════════════════ */
.ms-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ms-store-note {
  margin-top: 22px !important;
  font-size: 0.82rem !important;
  color: var(--faint) !important;
  font-style: italic;
}

/* ── Responsive additions for home page ── */
@media (max-width: 960px) {
  .app-card-inner {
    grid-template-columns: 1fr;
  }
  .app-card-logo-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border);
    height: 300px;
  }
  .app-card-body {
    padding: 36px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .app-cards-row {
    grid-template-columns: 1fr;
  }
  .app-card--soon {
    padding: 44px 28px;
  }
  .app-card-body {
    padding: 24px 22px;
  }
  .app-name {
    font-size: 1.8rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .home-aq-symbol { font-size: 4rem; }
}
