:root {
  --bg: #070b14;
  --card: rgba(10, 16, 30, 0.68);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted2: rgba(255, 255, 255, 0.56);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  overflow: visible; /* allow CTA badge outline/shadow to render */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 560px at 50% 35%, rgba(12, 18, 34, 0.25), rgba(7, 11, 20, 0.88)),
    linear-gradient(to bottom, rgba(7, 11, 20, 0.45), rgba(7, 11, 20, 0.8));
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.hero__layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
}

.hero__top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero__top .brand {
  margin-bottom: 0;
}

.hero__text {
  flex: 1;
  min-width: 0;
}

.hero__card {
  width: 100%;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  backdrop-filter: blur(12px);
  overflow: visible; /* prevent clipping of hovered CTA badges */
}

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

.brand__logoWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 108px; /* keep background size stable */
  padding: 0 16px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(124, 220, 255, 0.6) 0%,
    rgba(255, 242, 173, 0.48) 100%
  ),
  radial-gradient(
    500px 160px at 50% -20%,
    rgba(255, 255, 255, 0.34),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.brand__logo {
  display: block;
  height: 104px; /* +30% */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, rgba(70, 180, 255, 0.95), rgba(80, 115, 255, 0.85));
  box-shadow: 0 14px 32px rgba(35, 125, 255, 0.35);
}

.brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__title {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.hero__subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 8px;
  overflow: visible; /* keep hovered badges fully visible */
  justify-content: center;
  align-items: center;
}

.store {
  display: inline-flex;
  border-radius: 0; /* avoid any corner clipping */
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  overflow: visible; /* avoid cutting badge on hover */
  padding: 8px;
  align-items: center;
  line-height: 0;
  background: transparent;
  transform-origin: center;
}

.store__badge {
  display: block;
  height: 52px;
  width: auto;
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.store:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  filter: brightness(1.02);
}

.store:active {
  transform: none;
}

.preview {
  width: 100%;
  display: grid;
  place-items: center;
}

.preview__img {
  width: min(460px, 100%);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease,
    box-shadow 120ms ease;
}

.btn--primary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

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

.meta {
  margin-top: 10px;
}

.link {
  color: rgba(200, 230, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 230, 255, 0.28);
  transition: color 120ms ease, border-bottom-color 120ms ease, text-shadow 120ms ease;
}

.link:hover {
  border-bottom-color: rgba(200, 230, 255, 0.6);
  color: rgba(225, 245, 255, 0.98);
  text-shadow: 0 0 16px rgba(120, 200, 255, 0.28);
}

.link--muted {
  color: var(--muted2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.footer {
  width: min(900px, 100%);
  text-align: center;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 10px 0;
}

.footer__line {
  margin: 6px 0;
}

.footer__line--muted {
  color: rgba(255, 255, 255, 0.5);
}

.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.policy {
  margin: 16px 0 8px;
  text-align: left;
}

.policy__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 14px 0;
}

.policy__section + .policy__section {
  margin-top: 14px;
}

.policy__h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.policy__p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.policy__p strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.policy__ul {
  margin: 8px 0 12px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.policy__ul li {
  margin: 6px 0;
  line-height: 1.6;
}

/* Focus styles: show only for keyboard users */
:focus {
  outline: none;
}

.kbd :focus-visible {
  outline: 2px solid rgba(120, 200, 255, 0.85);
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .hero__card {
    padding: 22px 18px;
  }
  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .hero__top {
    flex-direction: column;
    gap: 10px;
  }
  .brand {
    margin-bottom: 0;
  }
  .brand__logoWrap {
    height: 84px; /* keep background size stable */
    padding: 0 14px;
    border-radius: 18px;
  }
  .brand__logo {
    height: 83px; /* +30% */
  }
  .store__badge {
    height: 48px;
  }
  .hero__subtitle {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
  .preview__img {
    width: min(520px, 100%);
  }
}
