:root {
  --bg: #f8f8f8;
  --bg-2: #ececec;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --panel-border: rgba(25, 25, 25, 0.08);
  --text: #171717;
  --muted: #5d5d5d;
  --primary: #f4c400;
  --primary-dark: #d7a600;
  --red: #cf2f39;
  --red-soft: #ffe7e8;
  --grey: #efefef;
  --grey-2: #d7d7d7;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,0,0,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0));
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.orb-one {
  width: 300px;
  height: 300px;
  background: rgba(244, 196, 0, 0.28);
  top: -60px;
  left: -50px;
}

.orb-two {
  width: 360px;
  height: 360px;
  background: rgba(207, 47, 57, 0.12);
  top: 240px;
  right: -80px;
}

.orb-three {
  width: 280px;
  height: 280px;
  background: rgba(120, 120, 120, 0.12);
  bottom: 80px;
  left: 10%;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 0 calc(max(48px, env(safe-area-inset-bottom)) + 110px);
}

.topbar,
.section,
.hero,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  margin-bottom: 24px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
}

.brand-name,
.brand-tag {
  margin: 0;
}

.brand-name {
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.social-grid a,
.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.nav a:hover,
.social-grid a:hover,
.footer a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(245,245,245,0.96));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 34px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.section h2 {
  margin: 0 0 16px;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  max-width: 10ch;
}

.hero-text,
.section p,
.feature-card p,
.section-intro,
.screen-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.btn,
.store-btn,
.social-grid a,
.credit-card,
.mini-device,
.screen-card,
.floating-store-btn {
  transition: 180ms ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #111111;
  box-shadow: 0 14px 28px rgba(215, 166, 0, 0.2);
}

.btn-secondary {
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text);
  background: rgba(255,255,255,0.8);
}

.btn:hover,
.store-btn:hover,
.social-grid a:hover,
.credit-card:hover,
.mini-device:hover,
.screen-card:hover,
.floating-store-btn:hover {
  transform: translateY(-3px);
}

.link-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.link-chips span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  min-height: 100%;
}

.mini-device {
  width: min(210px, 42vw);
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.mini-device img {
  width: 100%;
  display: block;
  border-radius: 22px;
}

.tilt-left {
  transform: rotate(-7deg) translateY(24px);
}

.tilt-right {
  transform: rotate(7deg);
}

.focus-device {
  box-shadow: 0 24px 60px rgba(207, 47, 57, 0.14);
}

.section {
  margin-top: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  background: var(--panel-strong);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  backdrop-filter: blur(16px);
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.feature-grid,
.social-grid,
.screens-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.feature-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,245,245,0.95));
  border: 1px solid rgba(0,0,0,0.06);
}

.feature-card h3,
.screen-copy h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.accent-red {
  border-top: 4px solid var(--red);
}

.accent-gold {
  border-top: 4px solid var(--primary);
}

.accent-dark {
  border-top: 4px solid #555555;
}

.accent-red-soft {
  border-top: 4px solid #e8858c;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.section-intro {
  max-width: 420px;
}

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

.screen-card {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,242,242,0.98));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
}

.screen-frame {
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #ececec);
  border: 1px solid rgba(0,0,0,0.06);
}

.screen-frame img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.screen-copy {
  padding: 16px 6px 4px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,244,196,0.95));
}

.store-buttons {
  display: grid;
  gap: 14px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,242,242,0.98));
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.store-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 3px;
}

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

.social-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 14px 16px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,244,244,0.95));
  border: 1px solid rgba(0,0,0,0.06);
}

.social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244,196,0,0.22), rgba(207,47,57,0.1));
  color: var(--red);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.social-img-icon {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 999px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
}

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

.legal-badge {
  background: linear-gradient(135deg, rgba(207,47,57,0.16), rgba(244,196,0,0.22));
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  padding: 28px 8px 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.credit-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
}

.credit-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 4px;
}

.credit-card span {
  display: flex;
  flex-direction: column;
}

.credit-card strong {
  color: var(--text);
  font-size: 0.92rem;
}

.credit-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-store-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  width: min(940px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  backdrop-filter: blur(18px);
}

.floating-store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 18px;
  text-decoration: none;
}

.floating-store-btn span {
  display: flex;
  flex-direction: column;
}

.floating-store-btn small {
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-store-btn strong {
  color: var(--text);
  font-size: 1rem;
}

.floating-store-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.floating-store-btn.app-store {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242,242,242,0.98));
  border: 1px solid rgba(0,0,0,0.08);
}

.floating-store-btn.play-store {
  background: linear-gradient(135deg, rgba(244,196,0,0.98), rgba(215,166,0,0.95));
  border: 1px solid rgba(215,166,0,0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.reveal-left {
  transform: translateX(-28px);
}

.reveal.reveal-right {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 140ms; }
.delay-3 { transition-delay: 200ms; }
.delay-4 { transition-delay: 260ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .store-btn,
  .social-grid a,
  .credit-card,
  .mini-device,
  .screen-card,
  .floating-store-btn {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .two-col,
  .download-panel,
  .section-heading,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-intro {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 14px, 1160px);
    padding-bottom: calc(max(120px, env(safe-area-inset-bottom)) + 90px);
  }

  .hero,
  .section,
  .topbar {
    padding: 18px;
    border-radius: 22px;
  }

  .hero {
    gap: 20px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .nav {
    gap: 10px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-tag {
    font-size: 0.88rem;
  }

  .btn,
  .store-btn,
  .social-grid a {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-showcase {
    gap: 12px;
    align-items: center;
  }

  .mini-device {
    width: min(45vw, 180px);
    padding: 8px;
  }

  .tilt-left {
    transform: rotate(-5deg) translateY(10px);
  }

  .tilt-right {
    transform: rotate(5deg);
  }

  .feature-grid,
  .social-grid,
  .screens-grid,
  .floating-store-bar {
    grid-template-columns: 1fr;
  }

  .screen-card {
    padding: 14px;
  }

  .social-grid a {
    justify-content: flex-start;
    text-align: left;
  }

  .footer {
    padding: 24px 4px 0;
    align-items: flex-start;
  }

  .credit-card {
    width: 100%;
    justify-content: flex-start;
  }

  .floating-store-bar {
    width: calc(100% - 16px);
    left: 8px;
    right: 8px;
    transform: none;
    bottom: calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }

  .floating-store-btn {
    min-height: 56px;
    padding: 10px 12px;
  }

  .floating-store-icon {
    width: 32px;
    height: 32px;
  }
}
