:root {
  --bg: #03100d;
  --bg-soft: #071a15;
  --panel: rgba(8, 29, 23, 0.84);
  --panel-2: rgba(12, 42, 34, 0.72);
  --text: #f3fff8;
  --muted: #abc5b8;
  --gold: #f2c86b;
  --gold-2: #a97d2d;
  --green: #19e68d;
  --emerald: #0f6b4e;
  --line: rgba(242, 200, 107, 0.28);
  --glow: 0 26px 80px rgba(0, 0, 0, 0.52);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 8% 10%, rgba(25, 230, 141, 0.16), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(242, 200, 107, 0.16), transparent 30%),
    linear-gradient(180deg, #010706 0%, #04130f 46%, #020907 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../images/hero-app-download.png");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

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

.container,
.nav-inner {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(1, 7, 6, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 230px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(25, 230, 141, 0.2);
}

.brand-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: -3px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--gold);
  background: rgba(242, 200, 107, 0.09);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #d8eee4;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #06120e;
  background: linear-gradient(135deg, var(--gold), #fff0aa);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  display: grid;
  align-items: end;
  padding: 48px 0 64px;
  background:
    linear-gradient(90deg, rgba(1, 7, 6, 0.88) 0%, rgba(1, 7, 6, 0.6) 44%, rgba(1, 7, 6, 0.2) 100%),
    url("../images/hero-app-download.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(3, 16, 13, 0.96));
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: end;
}

.hero-copy {
  max-width: 590px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(2, 12, 9, 0.8), rgba(5, 25, 19, 0.7));
  box-shadow: var(--glow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy p {
  color: #d7eee2;
  font-size: 18px;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(242, 200, 107, 0.45);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary {
  color: #07110d;
  background: linear-gradient(135deg, var(--gold), #fff3b8);
  box-shadow: 0 12px 34px rgba(242, 200, 107, 0.24);
}

.btn.ghost {
  color: #ecfff6;
  background: rgba(10, 38, 31, 0.72);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(25, 230, 141, 0.16);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.quick-stats div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(25, 230, 141, 0.24);
  border-radius: 8px;
  background: rgba(4, 20, 16, 0.78);
}

.quick-stats strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.hero-side {
  display: grid;
  align-items: end;
  gap: 16px;
}

.brand-banner {
  justify-self: end;
  width: min(510px, 100%);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(242, 200, 107, 0.38);
  background: #06120e;
  box-shadow: var(--glow);
}

.scan-card {
  justify-self: end;
  width: min(520px, 100%);
  padding: 18px;
  border: 1px solid rgba(25, 230, 141, 0.32);
  border-radius: 8px;
  background: rgba(1, 11, 9, 0.78);
}

.scan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scan-row:last-child { border-bottom: 0; }
.scan-row span { color: var(--muted); }
.scan-row strong { color: var(--gold); }

section {
  padding: 76px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  margin-bottom: 0;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 0;
}

.image-ledger {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.media-panel,
.content-panel,
.mini-panel,
.page-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(7, 30, 24, 0.86), rgba(4, 17, 14, 0.88));
  box-shadow: var(--glow);
  overflow: hidden;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.content-panel {
  padding: 26px;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #05100c;
  background: var(--gold);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(25, 230, 141, 0.2);
  border-radius: 8px;
  background: rgba(7, 26, 22, 0.78);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 200, 107, 0.55);
  background: rgba(13, 47, 38, 0.82);
}

.step-card span {
  display: inline-flex;
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
}

.step-card p,
.content-panel p,
.page-panel p,
.mini-panel p {
  color: var(--muted);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 22px;
  align-items: center;
}

.phone-frame {
  border: 1px solid rgba(25, 230, 141, 0.28);
  border-radius: 8px;
  background: rgba(3, 14, 12, 0.88);
  padding: 14px;
  box-shadow: var(--glow);
}

.phone-frame img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 8px;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-panel {
  padding: 22px;
  min-height: 174px;
}

.mini-panel strong {
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.wide-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(2, 10, 8, 0.78), rgba(2, 10, 8, 0.34)),
    url("../images/gold-fish-guide.png") center / cover no-repeat;
}

.wide-band .content-panel {
  max-width: 560px;
  background: rgba(2, 10, 8, 0.78);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(242, 200, 107, 0.24);
  border-radius: 8px;
  background: rgba(7, 26, 22, 0.72);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item button:hover { color: var(--gold); }
.faq-item p { display: none; padding: 0 20px 20px; margin: 0; color: var(--muted); }
.faq-item.open p { display: block; }

.page-hero {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(1, 7, 6, 0.9), rgba(1, 7, 6, 0.44)),
    url("../images/download-panel.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(36px, 5vw, 66px);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.page-panel {
  padding: 26px;
}

.page-panel h2 {
  font-size: 30px;
}

.side-visual {
  position: sticky;
  top: 104px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(6, 22, 18, 0.8);
}

.side-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  background: #020806;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #c8ded3;
}

.footer-links a:hover { color: var(--gold); }

.notice {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(1, 7, 6, 0.96);
  }
  .nav-links.open { display: flex; }
  .hero { min-height: auto; align-items: start; padding-top: 36px; }
  .hero-grid,
  .image-ledger,
  .split-feature,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand-banner,
  .scan-card { justify-self: stretch; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .side-visual { position: static; }
}

@media (max-width: 640px) {
  .container,
  .nav-inner {
    width: min(100% - 24px, 1200px);
  }
  .brand-title { font-size: 17px; }
  .brand-subtitle { font-size: 12px; }
  .hero-copy { padding: 20px; }
  h1 { font-size: clamp(34px, 12vw, 48px); }
  .quick-stats,
  .steps,
  .tile-grid {
    grid-template-columns: 1fr;
  }
  section { padding: 54px 0; }
  .media-panel img { min-height: 280px; }
}
