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

:root {
  --bg-0: #030507;
  --bg-1: #07111d;
  --bg-2: #0a1321;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(47, 115, 255, 0.2);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --gold: #8fb4ff;
  --gold-strong: #2f73ff;
  --red: #ff3c3c;
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 18px 36px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 115, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 60, 60, 0.1), transparent 24%),
    radial-gradient(circle at 55% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-2) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.05), transparent 18%),
    radial-gradient(circle at 82% 0%, rgba(47, 115, 255, 0.08), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.028) 0%, transparent 24%);
  opacity: 0.54;
}

html::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background:
    radial-gradient(circle at top left, rgba(47, 115, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 60, 60, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 40%, var(--bg-2) 100%);
  opacity: 0;
  transition: opacity 140ms ease;
}

html.is-ready::after,
html.is-leaving::after {
  opacity: 0;
}

html.is-leaving::after {
  opacity: 1;
}

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

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

.container {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-shell,
.page-shell,
.contact-shell,
.legal-shell {
  position: relative;
  z-index: 1;
  overflow: clip;
  padding-top: 18px;
}

html.is-leaving body {
  opacity: 0.9;
  transition: opacity 140ms ease;
}

html.is-ready .site-shell,
html.is-ready .page-shell,
html.is-ready .contact-shell,
html.is-ready .legal-shell {
  animation: pageSlideIn 220ms ease-out both;
}

html.is-leaving .site-shell,
html.is-leaving .page-shell,
html.is-leaving .contact-shell,
html.is-leaving .legal-shell {
  transform: translateX(-12px);
  opacity: 0.98;
  transition: transform 140ms ease, opacity 140ms ease;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 8, 13, 0.84);
  border-bottom: 1px solid rgba(79, 130, 255, 0.08);
}

.topbar__inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

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

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  background: #05070b;
  border: 1px solid rgba(47, 115, 255, 0.24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.brand__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: #e8f0ff;
  text-transform: uppercase;
}

.brand__name span {
  color: rgba(244, 239, 229, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  flex-wrap: nowrap;
  white-space: nowrap;
  position: relative;
  overflow-x: auto;
  padding-bottom: 2px;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav a {
  color: rgba(244, 239, 229, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  flex: 0 0 auto;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a.is-active {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 115, 255, 0.1);
  border: 1px solid rgba(47, 115, 255, 0.22);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.topbar__portal,
.topbar__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.topbar__cta,
.button--primary {
  color: #f7fbff;
  background: linear-gradient(135deg, #2b67e7 0%, #0f55d0 58%, #0a3f9b 100%);
  box-shadow: 0 16px 34px rgba(15, 85, 208, 0.3);
}

.button {
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.shell-hero,
.page-hero,
.contact-hero,
.legal-hero {
  padding: 44px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(47, 115, 255, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(10, 18, 28, 0.96), rgba(6, 9, 14, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.eyebrow,
.page-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 115, 255, 0.18);
  color: #9dbdff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell-hero h1,
.page-hero h1,
.contact-hero h1,
.legal-hero h1 {
  margin: 18px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4.7vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 900px;
}

.shell-hero p,
.page-hero p,
.contact-hero p,
.legal-hero p {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-card--showcase {
  padding: 0;
  overflow: hidden;
}

.showcase {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  perspective: 1400px;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 1;
  pointer-events: none;
}

.showcase::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 17, 29, 0.58), rgba(7, 17, 29, 0));
}

.showcase::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 17, 29, 0.58), rgba(7, 17, 29, 0));
}

.showcase__track {
  position: relative;
  min-height: 320px;
  padding: 18px;
  transition: transform 280ms ease;
  will-change: transform;
}

.showcase-slide {
  position: absolute;
  inset: 18px;
  width: auto;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 60, 60, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(47, 115, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(79, 130, 255, 0.16);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  transform-origin: center center;
  transition: transform 320ms ease, opacity 320ms ease, filter 320ms ease;
  opacity: 0;
  filter: brightness(0.8) saturate(0.92) blur(0.2px);
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: brightness(1) saturate(1) blur(0);
  z-index: 3;
  pointer-events: auto;
}

.showcase-slide.is-prev,
.showcase-slide.is-next {
  opacity: 0.34;
  filter: brightness(0.56) saturate(0.84) blur(0.6px);
  z-index: 2;
}

.showcase-slide.is-prev {
  transform: translateX(-20%) scale(0.86) rotateY(22deg);
}

.showcase-slide.is-next {
  transform: translateX(20%) scale(0.86) rotateY(-22deg);
}

.showcase-slide.is-hidden {
  opacity: 0;
  transform: translateX(0) scale(0.9);
  z-index: 1;
}

.showcase-slide__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(47, 115, 255, 0.42), rgba(15, 85, 208, 0.56));
  border: 1px solid rgba(173, 204, 255, 0.34);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(15, 85, 208, 0.24);
}

.showcase-slide .page-pill {
  background: rgba(47, 115, 255, 0.16);
  border-color: rgba(173, 204, 255, 0.32);
  color: #dfeaff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.showcase-slide h3 {
  margin-top: 16px;
  font-size: 1.9rem;
  line-height: 1.02;
  color: #f7f9fd;
}

.showcase-slide p {
  margin-top: 12px;
  color: rgba(245, 247, 251, 0.88);
}

.store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
  flex-wrap: wrap;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.store-link__asset {
  display: block;
  width: 176px;
  height: auto;
}

.store-link--google .store-link__asset {
  width: 188px;
}

.store-link__asset--apple {
  width: 150px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 18px;
}

.carousel-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(173, 204, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, #2b67e7 0%, #0f55d0 100%);
}

.showcase::before,
.showcase::after {
  z-index: 4;
}

.ticker {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 17, 29, 1), rgba(7, 17, 29, 0));
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 17, 29, 1), rgba(7, 17, 29, 0));
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 18px;
  animation: tickerMove 28s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__track span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(47, 115, 255, 0.16);
  color: #d8e5ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.home-grid .home-card {
  min-height: 100%;
}

.home-grid .page-card p {
  max-width: 100%;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.legal-shell .section,
.site-shell .section {
  padding: 28px 0;
}

.section-grid,
.page-grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(47, 115, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-md);
}

.card h2,
.card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.02;
  color: #cfe0ff;
}

.card h2 {
  font-size: 2rem;
}

.card h3 {
  font-size: 1.4rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin: 14px 0 0;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.note {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.note strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #9dbdff;
  text-transform: uppercase;
}

.note span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.page-stack {
  display: grid;
  gap: 16px;
}

.site-footer {
  margin-top: 28px;
  padding: 34px 0 56px;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 115, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(4, 8, 13, 0.18), rgba(4, 8, 13, 0.88));
  border-top: 1px solid rgba(79, 130, 255, 0.08);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr 0.75fr;
  gap: 24px;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
}

.site-footer__brandline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer__brandline strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #cfe0ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__brandline span {
  display: block;
  color: rgba(244, 239, 229, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__copy {
  max-width: 440px;
  color: rgba(244, 239, 229, 0.66);
  font-size: 0.94rem;
}

.site-footer__title {
  color: #9dbdff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a,
.site-footer__links span {
  color: rgba(244, 239, 229, 0.7);
  font-size: 0.94rem;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(244, 239, 229, 0.5);
  font-size: 0.84rem;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(47, 115, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(47, 115, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(9, 14, 23, 0.98), rgba(4, 8, 13, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: translateY(0);
  transition: transform 180ms ease, opacity 180ms ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.cookie-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cookie-banner__eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: #9dbdff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  line-height: 1.08;
}

.cookie-banner p {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__link,
.cookie-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-banner__link {
  color: #dfeaff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.cookie-banner__button {
  border: 1px solid transparent;
  cursor: pointer;
  color: #f7fbff;
  background: linear-gradient(135deg, #2b67e7 0%, #0f55d0 58%, #0a3f9b 100%);
}

.cookie-banner__button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

@keyframes pageSlideIn {
  from {
    opacity: 0.98;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .page-grid,
  .page-grid--2,
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .topbar__inner {
    grid-template-columns: auto 1fr;
  }

  .topbar__actions {
    grid-column: 2;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .shell-hero--home {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 18px 0;
  }

  .topbar__actions {
    justify-self: start;
  }

  .page-grid,
  .page-grid--2,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .shell-hero--home,
  .hero-actions--stores {
    display: grid;
    grid-template-columns: 1fr;
  }

  .showcase__track {
    padding: 14px;
  }

  .carousel-controls {
    padding: 0 14px 14px;
  }

  .shell-hero,
  .page-hero,
  .contact-hero,
  .legal-hero {
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .topbar__actions {
    display: none;
  }

  .container {
    width: min(var(--content-width), calc(100% - 28px));
  }

  .showcase::before,
  .showcase::after {
    width: 56px;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .button,
  .topbar__portal,
  .topbar__cta {
    width: 100%;
  }

  .carousel-button {
    width: 44px;
    height: 44px;
  }

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

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }

  .cookie-banner__content {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__link,
  .cookie-banner__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.is-leaving body,
  .site-shell,
  .page-shell,
  .contact-shell,
  .legal-shell,
  .button,
  .topbar__ghost,
  .topbar__cta,
  .nav a {
    animation: none;
    transition: none;
  }

  html.is-leaving .site-shell,
  html.is-leaving .page-shell,
  html.is-leaving .contact-shell,
  html.is-leaving .legal-shell {
    transform: none;
  }

  .cookie-banner,
  .cookie-banner.is-hidden {
    transition: none;
  }
}
