:root {
  --bg: #0F1114;
  --bg-soft: #1A1D21;
  --card: #1A1D21;
  --line: #3C4043;
  --text: #E8EAED;
  --text-dim: #9AA0A6;
  --accent: #42A5F5;
  --accent-strong: #1565C0;
  --chip: #23272E;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1160px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(72rem 42rem at 92% -2%, rgba(25, 118, 210, 0.2), transparent 56%),
    radial-gradient(48rem 30rem at 12% 110%, rgba(13, 71, 161, 0.16), transparent 60%),
    linear-gradient(170deg, #0d1520 0%, var(--bg) 48%, #08090c 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 46%, transparent 95%);
}

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

.header {
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(66, 165, 245, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.42);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.play-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(205, 219, 255, 0.2);
  box-shadow: 0 10px 24px rgba(5, 11, 22, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.play-cta:focus-visible {
  outline: 2px solid #d8e4ff;
  outline-offset: 2px;
}

.play-cta-header {
  font-size: 0.9rem;
  padding: 0.68rem 1.1rem;
  color: #f4f7ff;
  border-color: rgba(205, 219, 255, 0.22);
  background: linear-gradient(180deg, rgba(20, 32, 57, 0.92), rgba(15, 24, 42, 0.9));
}

.play-cta-main {
  margin-top: 1.3rem;
  padding: 0.95rem 1.5rem;
  color: #ffffff;
  background: linear-gradient(120deg, #42A5F5 0%, #1565C0 100%);
  border-color: rgba(167, 210, 255, 0.34);
  box-shadow: 0 16px 36px rgba(13, 71, 161, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.play-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(5, 11, 22, 0.28);
}

.gp-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.play-cta-header .gp-icon {
  opacity: 0.8;
}

.hero {
  display: flex;
  align-items: center;
  padding: clamp(0.8rem, 2vw, 1.4rem) 0 0.45rem;
}

.hero-grid {
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
}

.hero-copy {
  max-width: 620px;
  animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #90CAF9;
  font-weight: 700;
}

h1 {
  margin: 0.72rem 0 0;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.subtitle {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: var(--text-dim);
  line-height: 1.5;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.trust-line {
  margin: 0.72rem 0 0;
  color: #93a6da;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.feature-row {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-row li {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 28, 48, 0.58);
  border: 1px solid rgba(149, 174, 235, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #c8d8ff;
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 452px);
  animation: rise 0.8s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.device-wrap {
  position: relative;
}

.visual-glow {
  position: absolute;
  inset: 10% -10% -14% -10%;
  border-radius: 42px;
  background: radial-gradient(circle at 50% 38%, rgba(66, 165, 245, 0.44), rgba(21, 101, 192, 0.14) 48%, transparent 74%);
  filter: blur(30px);
  z-index: -1;
}

.device-shell {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.78rem;
  background: linear-gradient(160deg, rgba(245, 249, 255, 0.16), rgba(133, 154, 204, 0.06));
  border: 1px solid rgba(230, 238, 255, 0.2);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-notch {
  width: 32%;
  height: 1rem;
  border-radius: 0 0 0.9rem 0.9rem;
  background: rgba(0, 0, 0, 0.58);
  position: absolute;
  left: 50%;
  top: 0.7rem;
  transform: translateX(-50%);
}

.device-screen {
  border-radius: calc(var(--radius-xl) - 8px);
  min-height: clamp(485px, 62vh, 590px);
  padding: 2.2rem 1.15rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background:
    radial-gradient(28rem 16rem at 105% -5%, rgba(25, 118, 210, 0.32), transparent 58%),
    radial-gradient(16rem 10rem at -10% 108%, rgba(76, 105, 255, 0.1), transparent 72%),
    linear-gradient(165deg, #0d1928 0%, #0b1322 55%, #0a1020 100%);
  border: 1px solid rgba(166, 188, 242, 0.18);
  overflow: hidden;
}

/* ── Mock Screen components ─────────────────────────── */

.ms-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-brand {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.ms-shield-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.ms-brand-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #E8EAED;
  letter-spacing: 0.01em;
}

.ms-notif {
  position: relative;
  display: flex;
  align-items: center;
}

.ms-notif-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #EF5350;
  font-size: 0.5rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ms-section-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #95acd6;
}

.ms-incident-card {
  position: relative;
  background: linear-gradient(180deg, rgba(13, 22, 43, 0.92), rgba(10, 17, 34, 0.82));
  border: 1px solid rgba(92, 154, 255, 0.24);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: 0 16px 30px rgba(3, 8, 18, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ms-incident-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #42A5F5, rgba(21, 101, 192, 0.12));
}

.ms-incident-top {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.ms-avatar {
  width: 54px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 71, 161, 0.18), rgba(12, 20, 35, 0.72));
  border: 1px solid rgba(66, 165, 245, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ms-incident-meta {
  flex: 1;
  min-width: 0;
  padding-top: 0.1rem;
}

.ms-badge-unlock {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 167, 38, 0.18), rgba(255, 152, 0, 0.1));
  border: 1px solid rgba(255, 183, 77, 0.34);
  color: #FFD180;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms-incident-title {
  margin: 0.46rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #F5F8FF;
  letter-spacing: -0.01em;
}

.ms-time {
  margin: 0.22rem 0 0;
  font-size: 0.7rem;
  color: #8ea0c9;
}

.ms-attempts {
  margin: 0.62rem 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.36rem;
}

.ms-attempts-count {
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 800;
  color: #F5F8FF;
}

.ms-attempts-copy {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c8d6f7;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ms-captured-confirm {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-top: 0.78rem;
  padding-top: 0.68rem;
  border-top: 1px solid rgba(66, 165, 245, 0.12);
  font-size: 0.74rem;
  font-weight: 700;
  color: #8ad88f;
}

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

.ms-ev-item {
  background: linear-gradient(180deg, rgba(11, 20, 39, 0.8), rgba(9, 16, 32, 0.72));
  border: 1px solid rgba(66, 165, 245, 0.14);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  display: flex;
  align-items: center;
  gap: 0.46rem;
  min-height: 54px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ms-ev-item span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #d2ddfb;
  text-align: left;
}

.ms-location-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  background: linear-gradient(180deg, rgba(11, 20, 39, 0.84), rgba(9, 16, 32, 0.72));
  border: 1px solid rgba(66, 165, 245, 0.16);
  border-radius: 14px;
  padding: 0.72rem 0.78rem;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ms-map-area {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-image:
    linear-gradient(rgba(66, 165, 245, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 165, 245, 0.09) 1px, transparent 1px);
  background-size: 8px 8px;
  background-color: rgba(8, 14, 30, 0.86);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(66, 165, 245, 0.12);
}

.ms-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #42A5F5;
  box-shadow: 0 0 10px rgba(66, 165, 245, 0.95);
  position: relative;
  z-index: 1;
}

.ms-pin-ring {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.2px solid rgba(66, 165, 245, 0.55);
  animation: ping 2.4s ease-out infinite;
}

.ms-location-text {
  flex: 1;
  min-width: 0;
}

.ms-location-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #E8EAED;
}

.ms-location-sub {
  margin: 0.12rem 0 0;
  font-size: 0.66rem;
  color: #a7b4d2;
}

.ms-location-pill {
  flex-shrink: 0;
  align-self: flex-start;
  font-size: 0.56rem;
  font-weight: 700;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  color: #cfe0ff;
  background: rgba(66, 165, 245, 0.12);
  border: 1px solid rgba(66, 165, 245, 0.2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ms-protection-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(28, 56, 33, 0.58), rgba(18, 37, 21, 0.5));
  border: 1px solid rgba(102, 187, 106, 0.26);
  border-radius: 12px;
  padding: 0.6rem 0.72rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ms-protection-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  flex: 1;
}

.ms-prot-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #E8EAED;
}

.ms-prot-sub {
  font-size: 0.62rem;
  color: #b3c8b3;
}

.ms-active-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  background: rgba(76, 175, 80, 0.18);
  border: 1px solid rgba(102, 187, 106, 0.38);
  color: #81C784;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0;   }
}

.footer {
  padding: 0.65rem 0 1rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #90a4d7;
  font-size: 0.79rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #c8d8ff;
  text-decoration: none;
}

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

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

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

@media (min-width: 981px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .site-shell {
    min-height: 100dvh;
    height: 100dvh;
  }

  .hero {
    padding: clamp(0.45rem, 1.1vh, 0.95rem) 0 0.2rem;
  }

  .device-screen {
    min-height: 420px;
    height: min(540px, calc(100dvh - 250px));
  }

  .footer {
    padding: 0.45rem 0 0.8rem;
  }
}

@media (max-width: 980px) {
  .site-shell {
    grid-template-rows: auto auto auto;
  }

  .hero {
    padding: 0.8rem 0 1.2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .hero-visual {
    justify-self: stretch;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .device-screen {
    min-height: min(64vh, 560px);
  }
}

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

  .header {
    padding-top: 0.8rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .play-cta-header {
    font-size: 0.86rem;
    padding: 0.62rem 0.94rem;
  }

  h1 {
    max-width: 12.5ch;
  }

  .feature-row {
    gap: 0.5rem;
  }

  .feature-row li {
    font-size: 0.75rem;
    padding: 0.38rem 0.62rem;
  }

  .device-shell {
    padding: 0.58rem;
  }

  .device-screen {
    padding: 2rem 0.9rem 0.9rem;
    min-height: 500px;
  }

  .ms-incident-card {
    padding: 0.8rem;
  }

  .ms-avatar {
    width: 48px;
    height: 58px;
  }

  .ms-attempts-count {
    font-size: 1.18rem;
  }

  .ms-ev-item {
    padding: 0.58rem 0.64rem;
  }

  .ms-location-card {
    padding: 0.66rem 0.72rem;
  }

  .ms-map-area {
    width: 48px;
    height: 48px;
  }

  .ms-location-pill {
    display: none;
  }

  .footer {
    padding-top: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
