:root {
  --bg: #0a0b12;
  --bg-soft: #121523;
  --panel: rgba(22, 26, 42, 0.72);
  --panel-strong: rgba(18, 21, 36, 0.94);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f7f3eb;
  --muted: #c9c0b1;
  --gold: #f7c96b;
  --gold-2: #ffdf9f;
  --green: #67d18f;
  --purple: #af8cff;
  --red: #ff8b7e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 204, 115, 0.16), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(175, 140, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #0c101a 0%, #08090f 100%);
  line-height: 1.5;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 14, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(247, 201, 107, 0.3);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand-text em {
  font-size: 0.76rem;
  color: var(--muted);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: #e8dfd0;
  font-size: 0.96rem;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-2);
  opacity: 1;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 6.5rem 0 4rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  filter: blur(24px);
  opacity: 0.8;
}

.hero-orb-a {
  width: 26rem;
  height: 26rem;
  left: -6rem;
  top: 1rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 201, 107, 0.18) 0%, transparent 68%);
  animation: driftA 8s ease-in-out infinite;
}

.hero-orb-b {
  width: 30rem;
  height: 30rem;
  right: -7rem;
  top: 4rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(175, 140, 255, 0.16) 0%, transparent 64%);
  animation: driftB 10s ease-in-out infinite;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent 80%);
  opacity: 0.25;
}

.hero-noise {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 60%, rgba(255,255,255,0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0 1px, transparent 2px);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: #ded5c7;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.store-button:hover,
.feature-card:hover,
.step-card:hover,
.shot-card:hover,
.stat-card:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #261604;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow:
    0 16px 32px rgba(247, 201, 107, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.65);
}

.button-primary:hover {
  box-shadow:
    0 20px 40px rgba(247, 201, 107, 0.32),
    0 0 0 10px rgba(247, 201, 107, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.button-secondary {
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.button-secondary:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.075);
}

.hero-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.feature-card,
.step-card,
.shot-card,
.cta-panel,
.site-footer,
.trust-item {
  background: linear-gradient(180deg, rgba(33, 38, 60, 0.74), rgba(17, 20, 34, 0.9));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.stat-card {
  border-radius: 18px;
  padding: 1rem;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.stat-card:hover,
.feature-card:hover,
.step-card:hover,
.shot-card:hover {
  border-color: rgba(247, 201, 107, 0.26);
}

.stat-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold-2);
}

.stat-label {
  display: block;
  margin-top: 0.3rem;
  color: #cec4b5;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
}

.device-frame {
  position: relative;
  width: min(100%, 430px);
  border-radius: 38px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(29,34,54,0.95), rgba(9,12,22,0.98));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 34px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 120px rgba(175, 140, 255, 0.14);
}

.hero-main-image {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.screen-glow {
  position: absolute;
  inset: -20px;
  border-radius: 48px;
  background: radial-gradient(circle, rgba(247, 201, 107, 0.16), transparent 60%);
  filter: blur(24px);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  z-index: 2;
}

.floating-badge span {
  display: inline-block;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: #f7efdf;
  font-weight: 800;
}

.badge-left {
  left: -0.7rem;
  top: 22%;
  animation: bob 4.2s ease-in-out infinite;
}

.badge-right {
  right: -0.9rem;
  bottom: 17%;
  animation: bob 4.8s ease-in-out infinite 0.7s;
}

.trust-strip {
  padding: 0 0 2.6rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  border-radius: 20px;
  text-align: center;
  padding: 1rem 1.1rem;
  color: #eadfcd;
}

.section {
  padding: 4.8rem 0;
}

.section-alt {
  background:
    radial-gradient(circle at left, rgba(247, 201, 107, 0.07), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.cta-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-heading p,
.cta-copy p,
.site-footer p {
  margin: 0.95rem 0 0;
  color: #d7ccbc;
  font-size: 1.02rem;
}

.feature-grid,
.steps-grid,
.showcase-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.step-card,
.shot-card {
  border-radius: 24px;
  padding: 1.35rem;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card h3,
.step-card h3 {
  margin: 0.9rem 0 0.55rem;
  font-size: 1.15rem;
}

.feature-card p,
.step-card p {
  margin: 0;
  color: #d5cab9;
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background:
    linear-gradient(180deg, rgba(247, 201, 107, 0.16), rgba(247, 201, 107, 0.06));
  border: 1px solid rgba(247, 201, 107, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 32px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--gold-2);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.showcase-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.shot-card {
  min-height: 280px;
  padding: 0;
  overflow: hidden;
}

.shot-large {
  min-height: 340px;
}

.shot-media {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
}

.shot-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.shot-ui {
  height: 100%;
  border-radius: 18px;
  padding: 1rem;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 25%),
    linear-gradient(180deg, rgba(30,36,58,0.96), rgba(14,17,28,0.96));
  border: 1px solid rgba(255,255,255,0.06);
}

.shot-label {
  display: inline-block;
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.56);
  backdrop-filter: blur(8px);
  color: #ecdfc7;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  font-weight: 700;
}

.shot-egg-cluster {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
  align-items: end;
  min-height: 170px;
}

.shot-egg {
  width: 78px;
  height: 104px;
  border-radius: 50% 50% 46% 46%;
  box-shadow: inset 0 8px 16px rgba(255,255,255,0.25), inset 0 -8px 16px rgba(0,0,0,0.15);
}

.shot-egg.gold { background: linear-gradient(180deg, #ffe09f, #f7c96b, #dfa23b); }
.shot-egg.green { background: linear-gradient(180deg, #a5f0bf, #67d18f, #2f8f57); }
.shot-egg.purple { background: linear-gradient(180deg, #ddd1ff, #af8cff, #7b56db); }

.shot-bars {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.shot-bars span,
.codex-grid span,
.fusion-node,
.fusion-result {
  display: block;
  border-radius: 14px;
}

.shot-bars span:nth-child(1) { height: 14px; width: 92%; background: rgba(255,255,255,0.12); }
.shot-bars span:nth-child(2) { height: 14px; width: 76%; background: rgba(247,201,107,0.25); }
.shot-bars span:nth-child(3) { height: 14px; width: 84%; background: rgba(175,140,255,0.2); }

.fusion-preview {
  height: calc(100% - 2rem);
  display: grid;
  place-items: center;
  grid-template-columns: 74px 74px 92px;
  gap: 1rem;
}

.fusion-node {
  width: 74px;
  height: 74px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(103,209,143,0.12));
  border: 1px solid rgba(255,255,255,0.08);
}

.fusion-result {
  width: 92px;
  height: 110px;
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(175,140,255,0.2));
  border: 1px solid rgba(255,255,255,0.08);
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.codex-grid span {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(247,201,107,0.07));
  border: 1px solid rgba(255,255,255,0.08);
}

.cta-section {
  padding-top: 2rem;
  padding-bottom: 5.4rem;
}

.cta-panel {
  border-radius: 30px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.4rem;
  overflow: hidden;
  position: relative;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -40% -10%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 201, 107, 0.18), transparent 65%);
  filter: blur(10px);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.store-button {
  min-width: 196px;
  min-height: 72px;
  padding: 0.95rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-button:hover {
  border-color: rgba(247, 201, 107, 0.26);
  box-shadow:
    var(--shadow),
    0 0 0 10px rgba(247, 201, 107, 0.05);
}

.store-button-muted {
  background:
    linear-gradient(180deg, rgba(103, 209, 143, 0.12), rgba(255, 255, 255, 0.03));
}

.store-small {
  display: block;
  color: #cbbfaa;
  font-size: 0.82rem;
}

.store-large {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.info-section {
  padding-top: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  border-radius: 28px;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(33, 38, 60, 0.74), rgba(17, 20, 34, 0.9));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.info-card p {
  margin: 1rem 0 0;
  color: #d7ccbc;
}

.info-link {
  margin-top: 1.4rem;
}

.site-footer {
  border-radius: 28px 28px 0 0;
  border-bottom: 0;
  padding: 1.5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(20,24,38,0.92), rgba(11,13,22,0.98));
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: start;
}

.footer-layout strong {
  font-size: 1.02rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: #decfb7;
  transition: color 0.2s ease;
}

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

@keyframes driftA {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(12px) translateX(8px); }
}

@keyframes driftB {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(-8px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .hero-layout,
  .cta-panel,
  .feature-grid,
  .showcase-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .store-buttons {
    justify-content: flex-start;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-stats,
  .trust-grid,
  .steps-grid,
  .showcase-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: none;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.1rem));
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .device-frame {
    padding: 12px;
    border-radius: 28px;
  }

  .device-screen {
    min-height: 560px;
  }

  .button,
  .store-button {
    width: 100%;
  }

  .store-button {
    min-width: 0;
  }
}
