/* =========================================================
   Air Quality Index – website styles
   Theme taken from the app: deep navy/teal + mint→yellow
   ========================================================= */
:root {
  --bg: #060b14;
  --bg-2: #08151d;
  --bg-3: #0b2a2e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(30, 232, 160, 0.06);
  --line: rgba(120, 255, 220, 0.12);
  --line-strong: rgba(30, 232, 160, 0.35);
  --mint: #1ee8a0;
  --mint-2: #14c98a;
  --teal: #17c3b2;
  --gold: #f5d90a;
  --text: #eaf6f3;
  --muted: #9db4b5;
  --muted-2: #6f8a8c;
  --grad: linear-gradient(90deg, #1ee8a0 0%, #8fe36a 45%, #f5d90a 100%);
  --glow: 0 0 0 1px var(--line), 0 20px 60px -20px rgba(30, 232, 160, 0.35);

  --aqi-good: #00e400;
  --aqi-moderate: #ffd60a;
  --aqi-usg: #ff7e00;
  --aqi-unhealthy: #ff2d2d;
  --aqi-very: #a23ee8;
  --aqi-hazard: #8b2c1a;

  --radius: 20px;
  --radius-lg: 28px;
  --max: 1200px;
  --header-h: 72px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: #6ff5c4; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--mint); color: #04130d; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mint { color: var(--mint); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint); background: var(--surface-2); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body); padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--mint); color: #03140d; box-shadow: 0 10px 30px -10px rgba(30, 232, 160, .7); }
.btn--primary:hover { color: #03140d; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(30, 232, 160, .9); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges a { display: inline-block; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.badges a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(30, 232, 160, .6); }
.badges img { height: 54px; width: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.badges--sm img { height: 44px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(6, 11, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.logo:hover { color: var(--text); }
.logo img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px -6px rgba(30, 232, 160, .6); }
.logo small { display: block; font: 500 12px/1.2 var(--font-body); color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(23, 195, 178, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(30, 232, 160, .14), transparent 60%),
    linear-gradient(180deg, #060b14 0%, #071a20 60%, var(--bg) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -2px -10%; height: 220px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 100%, rgba(30, 232, 160, .18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 800; line-height: 1.04; margin-bottom: 22px; }
.hero h1 .grad-text { display: inline; }
.hero-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-direction: column; gap: 22px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stat {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.stat strong { font-family: var(--font-head); font-size: 22px; display: block; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.stat svg { flex: none; color: var(--mint); }
.stat .star { color: var(--gold); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-visual::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--aqi-good), var(--aqi-moderate), var(--aqi-usg), var(--aqi-unhealthy), var(--aqi-very), transparent 70%);
  filter: blur(70px); opacity: .35; animation: spin 22s linear infinite;
}
.shot {
  border-radius: 26px; overflow: hidden; background: #0a1418;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(30, 232, 160, .5);
}
.hero-shot { position: relative; width: min(300px, 62%); z-index: 2; animation: float 7s ease-in-out infinite; }
.hero-shot--back { position: absolute; top: 50%; width: min(240px, 44%); z-index: 1; opacity: .55; animation: none; filter: saturate(.85); }
.hero-shot--left { left: 2%; transform: translateY(-50%) rotate(-9deg); }
.hero-shot--right { right: 2%; transform: translateY(-50%) rotate(9deg); }
.aqi-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: 16px; background: rgba(8, 21, 29, .82); border: 1px solid var(--line); backdrop-filter: blur(10px);
  font-size: 13px; color: var(--muted); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite;
}
.aqi-chip b { font-family: var(--font-head); font-size: 20px; color: var(--text); }
.aqi-chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.aqi-chip--1 { top: 12%; left: 2%; animation-delay: -2s; }
.aqi-chip--2 { bottom: 14%; right: 0; animation-delay: -4s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pollutant strip ---------- */
.pollutants { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; position: relative; z-index: 1; }
.pollutants span {
  font: 600 14px/1 var(--font-head); padding: 10px 16px; border-radius: 999px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
}
.pollutants span em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 6px; font-family: var(--font-body); font-size: 12px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform .3s, border-color .3s, background .3s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at 0% 0%, rgba(30, 232, 160, .12), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(30, 232, 160, .35), rgba(23, 195, 178, .08) 70%);
  border: 1px solid var(--line-strong); color: var(--mint); box-shadow: inset 0 0 18px rgba(30, 232, 160, .25), 0 0 24px -6px rgba(30, 232, 160, .5);
}
.icon-bubble svg { width: 26px; height: 26px; }

/* ---------- Showcase (alternating rows) ---------- */
.showcase { display: flex; flex-direction: column; gap: 120px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.show-row:nth-child(even) .show-media { order: 2; }
.show-media { position: relative; display: flex; justify-content: center; }
.show-media::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(30, 232, 160, .28), transparent 65%); filter: blur(30px);
}
.show-media .shot { position: relative; width: min(320px, 80%); }
.show-text h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.show-text > p { color: var(--muted); font-size: 17px; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ee8a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
  border: 1px solid var(--line-strong);
}
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ---------- AQI scale ---------- */
.aqi-bar { display: grid; grid-template-columns: 50fr 50fr 50fr 50fr 100fr 100fr; height: 16px; border-radius: 999px; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 30px -6px rgba(255, 214, 10, .35); }
.aqi-bar span:nth-child(1) { background: var(--aqi-good); }
.aqi-bar span:nth-child(2) { background: var(--aqi-moderate); }
.aqi-bar span:nth-child(3) { background: var(--aqi-usg); }
.aqi-bar span:nth-child(4) { background: var(--aqi-unhealthy); }
.aqi-bar span:nth-child(5) { background: var(--aqi-very); }
.aqi-bar span:nth-child(6) { background: var(--aqi-hazard); }
.aqi-ticks { display: grid; grid-template-columns: 50fr 50fr 50fr 50fr 100fr 100fr; font-size: 12px; color: var(--muted-2); margin-bottom: 40px; }
.aqi-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.level {
  --c: var(--aqi-good);
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--c); position: relative; overflow: hidden; transition: transform .3s;
}
.level:hover { transform: translateY(-4px); }
.level::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 140px at 100% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 70%); pointer-events: none; }
.level-range { display: inline-block; font: 700 13px/1 var(--font-head); padding: 7px 12px; border-radius: 999px; background: var(--c); color: #0b0b0b; margin-bottom: 14px; }
.level--light-text .level-range { color: #fff; }
.level h3 { font-size: 20px; margin-bottom: 6px; }
.level p { color: var(--muted); margin: 0; font-size: 15px; }
.level--good { --c: var(--aqi-good); }
.level--moderate { --c: var(--aqi-moderate); }
.level--usg { --c: var(--aqi-usg); }
.level--unhealthy { --c: var(--aqi-unhealthy); }
.level--very { --c: var(--aqi-very); }
.level--hazard { --c: var(--aqi-hazard); }
.note { text-align: center; color: var(--muted-2); font-size: 14px; margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  padding: 48px; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(245, 217, 10, .14), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(30, 232, 160, .22), transparent 60%),
    linear-gradient(135deg, #0a2228, #071319);
  border: 1px solid var(--line-strong); box-shadow: var(--glow);
}
.cta-band img.cta-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -14px rgba(30, 232, 160, .7); }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--text); }
.cta-meta span::before { content: "✓"; color: var(--mint); margin-right: 6px; font-weight: 700; }
.cta-band .badges { flex-direction: column; align-items: stretch; }

/* ---------- Gallery ---------- */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 36px; }
.tab { font: 600 15px/1 var(--font-body); color: var(--muted); padding: 11px 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--mint); color: #03140d; }
.tab svg { width: 18px; height: 18px; }
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.gallery[hidden] { display: none; }
.gallery button {
  flex: 0 0 auto; width: 250px; scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 22px; transition: transform .3s;
}
.gallery button:hover { transform: translateY(-6px); }
.gallery--android button { width: 240px; }
.gallery img { width: 100%; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -24px rgba(0, 0, 0, .9); }
.gallery-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--mint); color: #03140d; }
.icon-btn svg { width: 20px; height: 20px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(3, 7, 12, .93); backdrop-filter: blur(6px); padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; max-width: min(92vw, 520px); border-radius: 24px; box-shadow: 0 0 80px -20px rgba(30, 232, 160, .5); }
.lightbox .icon-btn { position: absolute; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; }

/* ---------- What's new ---------- */
.new-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.new-item { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.new-item .ver { font: 700 12px/1 var(--font-head); letter-spacing: .06em; color: var(--gold); background: rgba(245, 217, 10, .1); border: 1px solid rgba(245, 217, 10, .3); padding: 6px 10px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.new-item h3 { font-size: 18px; margin-bottom: 6px; }
.new-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); color: var(--text); transition: transform .3s, border-color .3s;
}
.post-card:hover { color: var(--text); transform: translateY(-5px); border-color: var(--line-strong); }
.post-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; }
.post-thumb--1 { background: radial-gradient(circle at 30% 30%, rgba(30, 232, 160, .5), transparent 60%), linear-gradient(135deg, #0b2a2e, #060b14); }
.post-thumb--2 { background: radial-gradient(circle at 70% 30%, rgba(255, 126, 0, .45), transparent 60%), linear-gradient(135deg, #2a1a0b, #060b14); }
.post-thumb--3 { background: radial-gradient(circle at 30% 70%, rgba(162, 62, 232, .45), transparent 60%), linear-gradient(135deg, #1d0b2e, #060b14); }
.post-thumb--4 { background: radial-gradient(circle at 60% 40%, rgba(245, 217, 10, .4), transparent 60%), linear-gradient(135deg, #2a2a0b, #060b14); }
.post-thumb--img { background: #0b1a20; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-image { width: 100%; height: auto; border-radius: 16px; margin-bottom: 28px; }
.post-thumb span { font: 800 46px/1 var(--font-head); color: rgba(255, 255, 255, .92); letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.post-thumb small { position: absolute; left: 16px; bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); background: rgba(6, 11, 20, .6); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 13px; color: var(--muted-2); margin-bottom: 10px; }
.post-body h3 { font-size: 20px; margin-bottom: 10px; }
.post-body p { color: var(--muted); font-size: 15px; flex: 1; }
.read-more { color: var(--mint); font-weight: 600; font-size: 15px; }
.center { text-align: center; margin-top: 40px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font: 600 17px/1.4 var(--font-head);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--mint); font: 500 20px/1 var(--font-body); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: clamp(30px, 4vw, 44px); }
.contact-info > p { color: var(--muted); font-size: 17px; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.info-list .icon-bubble { width: 44px; height: 44px; margin: 0; flex: none; }
.info-list .icon-bubble svg { width: 20px; height: 20px; }
.info-list small { display: block; color: var(--muted-2); font-size: 13px; }
.info-list a, .info-list strong { color: var(--text); font-weight: 600; word-break: break-word; }
.form-card { padding: 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  font: 400 16px/1.4 var(--font-body); color: var(--text); background: rgba(6, 11, 20, .6);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db4b5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: #0b1a20; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(30, 232, 160, .15); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; display: none; }
.form-status.is-ok { display: block; background: rgba(30, 232, 160, .1); border: 1px solid var(--line-strong); color: #a7f7d8; }
.form-status.is-err { display: block; background: rgba(255, 45, 45, .1); border: 1px solid rgba(255, 45, 45, .35); color: #ffb3b3; }
.form-foot { font-size: 13px; color: var(--muted-2); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #040810); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 16px 0 0; max-width: 320px; }
.site-footer h4 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 15px; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 14px; }
.footer-bottom a { color: var(--muted); }

/* ---------- Blog pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 60px; text-align: center;
  background: radial-gradient(800px 400px at 50% 0%, rgba(30, 232, 160, .16), transparent 70%), var(--bg);
}
.page-hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 14px; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; padding-bottom: 100px; }
.article { font-size: 17.5px; line-height: 1.8; color: #d5e6e3; }
.article h2 { font-size: 30px; margin: 1.8em 0 .6em; color: var(--text); }
.article h3 { font-size: 22px; margin: 1.6em 0 .5em; color: var(--text); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article strong { color: var(--text); }
.article blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--mint); background: var(--surface-2); border-radius: 0 14px 14px 0; color: var(--text); }
.article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; }
@media (max-width: 600px) { .article table { display: block; overflow-x: auto; } }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { color: var(--text); font-family: var(--font-head); background: var(--surface); }
.article .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--muted-2); font-size: 14px; margin-top: 18px; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-card--app { text-align: center; border-color: var(--line-strong); box-shadow: var(--glow); background: linear-gradient(160deg, #0a2228, #071319); }
.side-card--app img.side-icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 14px; }
.side-card--app h3 { font-size: 20px; margin-bottom: 6px; }
.side-card--app p { color: var(--muted); font-size: 14px; }
.side-card--app .badges { flex-direction: column; align-items: center; }
.side-card h4 { font-size: 16px; margin-bottom: 14px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.side-card ul a { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }
.side-card ul a:hover { color: var(--mint); }
.article-cta { margin-top: 50px; padding: 30px; border-radius: var(--radius); background: linear-gradient(135deg, #0a2228, #071319); border: 1px solid var(--line-strong); text-align: center; }
.article-cta h3 { margin-top: 0; }
.article-cta .badges { justify-content: center; margin-top: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aqi-levels { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band .badges { flex-direction: row; justify-content: center; }
  .cta-meta { justify-content: center; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 16px 22px; background: rgba(6, 11, 20, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links a { display: block; padding: 13px 16px; font-size: 16px; }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: rgba(6, 11, 20, .97); }
  .hero-grid, .show-row, .contact-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: calc(var(--header-h) + 48px); }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero .badges, .hero-stats { justify-content: center; align-items: center; }
  .hero-visual { min-height: 480px; }
  .show-row { gap: 36px; text-align: center; }
  .show-row:nth-child(even) .show-media { order: 0; }
  .checklist { text-align: left; max-width: 440px; margin-left: auto; margin-right: auto; }
  .showcase { gap: 90px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-cta .btn { display: none; }
  .logo small { display: none; }
  .hero-shot--back { display: none; }
  .hero-visual { min-height: 0; padding: 20px 0; }
  .hero-shot { width: min(270px, 78%); }
  .aqi-chip--1 { left: 0; top: 34%; }
  .aqi-chip--2 { right: 0; bottom: 8%; }
  .badges img { height: 48px; }
  .aqi-levels, .form-row { grid-template-columns: 1fr; }
  .aqi-ticks { font-size: 10px; }
  .cta-band { padding: 32px 22px; }
  .form-card { padding: 24px 18px; }
  .gallery button { width: 210px; }
  .gallery--android button { width: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-head { margin-bottom: 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-count { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
