/* ============================================
   Get Rich -- App Store Landing Page
   Design system: dark felt, gold, money-green
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --bg: #0D2B1E;
  --surface: #132E20;
  --text: #F0EDD8;
  --text-muted: #a8b5a0;
  --primary: #1A7A3C;
  --secondary: #4ADE6A;
  --accent: #D4A017;
  --accent-hover: #B8860B;
  --border: #1F4D30;
  --ring: #D4A017;

  /* Corporation palette -- used contextually for game-piece accents */
  --corp-red: #D94F4F;
  --corp-yellow: #E8C840;
  --corp-green: #3EAF5C;
  --corp-blue: #4A8FD9;
  --corp-teal: #3DB8A0;
  --corp-orange: #E08A3E;
  --corp-purple: #9B6EC5;

  --heading-font: 'Space Grotesk', sans-serif;
  --body-font: 'Manrope', sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --max-width: 1200px;
  --section-pad: 96px 24px;
  --section-pad-sm: 64px 20px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  max-width: 640px;
}

.section-label {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-dark {
  background: var(--bg);
  padding: var(--section-pad);
}

.section-surface {
  background: var(--surface);
  padding: var(--section-pad);
}

.section-accent-band {
  background: linear-gradient(135deg, #0a2318 0%, #0D2B1E 50%, #0a2318 100%);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--secondary);
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--text);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 43, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--heading-font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero --- */
.hero {
  padding: 80px 24px 96px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(26, 122, 60, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(212, 160, 23, 0.06) 0%, transparent 50%),
    var(--bg);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  text-align: center;
  margin-bottom: 48px;
}

.hero-logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: contain;
  margin: 0 auto 24px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(212, 160, 23, 0.15);
}

.hero-tagline {
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Hero app-logo showcase */
.hero-logo-showcase {
  width: min(240px, 54vw);
  aspect-ratio: 1;
  margin: 52px auto 0;
  border-radius: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 160, 23, 0.18), transparent 58%),
    linear-gradient(145deg, rgba(18, 55, 32, 0.9), rgba(8, 15, 11, 0.95));
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.42),
    0 0 110px rgba(212, 160, 23, 0.09);
  animation: heroFadeIn 0.8s ease-out both;
}

.hero-logo-showcase img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  border-radius: 34px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Product Promise --- */
.promise-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.promise-badge {
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 34%, rgba(212, 160, 23, 0.13), transparent 60%),
    linear-gradient(145deg, rgba(26, 122, 60, 0.18), rgba(8, 15, 11, 0.95));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
}

.promise-badge-mark {
  width: 116px;
  height: 116px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(8, 15, 11, 0.74);
  border: 1px solid rgba(212, 160, 23, 0.28);
}

.promise-badge-copy {
  max-width: 180px;
  color: var(--text-muted);
  font-family: var(--heading-font);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promise-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.promise-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.promise-points .point-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(74, 222, 106, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.promise-points .point-icon svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}

/* --- Device Roles --- */
.device-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.device-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px 28px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.device-role-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(212, 160, 23, 0.09);
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.device-role-icon svg {
  width: 32px;
  height: 32px;
}

.device-card h3 {
  margin-bottom: 6px;
  color: var(--text);
}

.device-card .device-label {
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.device-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 auto;
}

/* --- How It Works (Workflow Rail) --- */
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 56px;
  position: relative;
}

.workflow-rail::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 48px;
  right: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--accent), var(--primary), var(--border));
  z-index: 0;
}

.workflow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.workflow-step:hover .step-number {
  border-color: var(--accent);
  background: rgba(212, 160, 23, 0.08);
}

.workflow-step h4 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.95rem;
}

.workflow-step p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 140px;
}

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.2s ease;
}

.feature-item:hover {
  border-color: var(--primary);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(26, 122, 60, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* --- Mid CTA Band (Merger Section) --- */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 160, 23, 0.06) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band p {
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

/* Corporation color chips */
.corp-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.corp-chip {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid rgba(240, 237, 216, 0.1);
  transition: transform 0.2s ease;
}

.corp-chip:hover {
  transform: scale(1.15);
}

/* --- Gallery --- */

/* Apple TV Showcase */
.tv-showcase {
  margin-top: 48px;
  text-align: center;
}

.tv-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #1a3a28;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 160, 23, 0.08);
  background: #080f0b;
}

.tv-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.showcase-caption {
  margin-top: 16px;
  font-family: var(--heading-font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* iPhone Gallery */
.phone-gallery {
  margin-top: 56px;
  overflow: hidden;
}

.phone-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.phone-gallery-track::-webkit-scrollbar {
  height: 6px;
}

.phone-gallery-track::-webkit-scrollbar-track {
  background: transparent;
}

.phone-gallery-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.phone-frame {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid #1a3a28;
  background: #080f0b;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}



/* --- Autosave & History --- */
.persistence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.persist-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
}

.persist-card .persist-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(74, 222, 106, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.persist-card .persist-icon svg {
  width: 22px;
  height: 22px;
  color: var(--secondary);
}

.persist-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.persist-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 auto;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Footer --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Privacy Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 35, 24, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: flex-start;
  padding: 48px 24px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  padding: 48px 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(240, 237, 216, 0.08);
  color: var(--text);
}

.modal-content h2 {
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-content h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
  }

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

  .device-roles-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .workflow-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .workflow-rail::before {
    display: none;
  }

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

  .persistence-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 43, 30, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 48px 20px 64px;
  }

  .hero-logo-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .workflow-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-frame {
    width: 180px;
    border-radius: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .cta-band {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .workflow-rail {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .hero-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .phone-frame {
    width: 160px;
    border-radius: 18px;
  }
}


/* Targeted ChatSite update: hero logo placement, upgrade screenshot, App Store CTAs */
.hero .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
}

.hero-content {
  max-width: 640px;
  text-align: left;
  margin-bottom: 0;
}

.hero-sub {
  max-width: 560px;
  margin-left: 0;
  margin-right: 0;
}

.hero-cta-group {
  justify-content: flex-start;
}

.hero-logo-large {
  width: min(360px, 32vw);
  aspect-ratio: 1;
  justify-self: end;
  border-radius: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 160, 23, 0.2), transparent 58%),
    linear-gradient(145deg, rgba(18, 55, 32, 0.92), rgba(8, 15, 11, 0.96));
  border: 1px solid rgba(212, 160, 23, 0.24);
  box-shadow:
    0 36px 78px rgba(0, 0, 0, 0.44),
    0 0 120px rgba(212, 160, 23, 0.1);
}

.hero-logo-large img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 58px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
}

.upgrade-shot {
  width: min(100%, 340px);
  justify-self: center;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(8, 15, 11, 0.94), rgba(0, 0, 0, 0.98));
  border: 1px solid rgba(212, 160, 23, 0.24);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.32);
}

.upgrade-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

@media (max-width: 960px) {
  .hero .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    text-align: center;
    justify-self: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-logo-large {
    justify-self: center;
    width: min(260px, 62vw);
    border-radius: 50px;
  }

  .hero-logo-large img {
    border-radius: 42px;
  }

  .upgrade-shot {
    width: min(100%, 320px);
  }
}

@media (max-width: 480px) {
  .hero-logo-large {
    width: min(210px, 58vw);
    border-radius: 42px;
  }

  .hero-logo-large img {
    border-radius: 34px;
  }

  .upgrade-shot {
    width: min(100%, 280px);
    border-radius: 32px;
    padding: 8px;
  }

  .upgrade-shot img {
    border-radius: 25px;
  }
}
