:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #5f6c7b;
  --line: #e4e9f0;
  --blue: #2563eb;
  --green: #11a36a;
  --amber: #f59e0b;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 440px),
    radial-gradient(circle at 82% 12%, rgba(17, 163, 106, 0.18), transparent 260px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.ambient-grid {
  animation: gridDrift 18s linear infinite;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  inset: 0;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  background: var(--blue);
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 82px);
  padding: 34px 24px 72px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  animation: pulseGlow 4.8s ease-in-out infinite;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.phone-shell {
  animation: deviceLift 7s ease-in-out infinite;
  background: #0f172a;
  border: 10px solid #111827;
  border-radius: 36px;
  box-shadow: var(--shadow);
  color: #fff;
  margin-left: auto;
  max-width: 370px;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.phone-shell::before {
  animation: scanLine 5.8s ease-in-out infinite;
  background: linear-gradient(90deg, transparent, rgba(125, 223, 189, 0.16), transparent);
  content: "";
  height: 120px;
  left: -20%;
  pointer-events: none;
  position: absolute;
  right: -20%;
  top: -130px;
  transform: rotate(8deg);
}

.phone-top,
.phone-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.phone-top span,
.phone-footer span {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: block;
  height: 5px;
}

.phone-top span:first-child {
  width: 52px;
}

.phone-top span:last-child {
  width: 5px;
}

.app-title-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 34px 0 22px;
}

.app-title-row p {
  color: #93a4bd;
  font-size: 13px;
  margin-bottom: 6px;
}

.app-title-row strong {
  font-size: 22px;
}

.status-pill {
  background: rgba(17, 163, 106, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 999px;
  color: #7ddfbd;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.code-list {
  display: grid;
  gap: 12px;
}

.code-card {
  align-items: center;
  animation: cardBreathe 5.2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  padding: 17px;
}

.code-card span {
  color: #a8b5c9;
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}

.code-card strong {
  display: inline-block;
  font-size: 28px;
  letter-spacing: 0.08em;
}

.timer-ring {
  animation: spin 6s linear infinite;
  background: conic-gradient(var(--green), var(--blue), rgba(255, 255, 255, 0.16) 72%);
  border-radius: 50%;
  height: 46px;
  position: relative;
  width: 46px;
}

.timer-ring::after {
  background: #16213a;
  border-radius: 50%;
  content: "";
  inset: 6px;
  position: absolute;
}

.timer-ring.delayed {
  animation-delay: -2s;
}

.timer-ring.slow {
  animation-duration: 8s;
}

.phone-footer {
  padding: 28px 0 4px;
}

.phone-footer span {
  height: 7px;
  width: 7px;
}

.floating-note {
  animation: float 5s ease-in-out infinite;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.14);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
  position: absolute;
}

.note-one {
  left: 0;
  top: 18%;
}

.note-two {
  bottom: 20%;
  right: 6px;
  animation-delay: -2.4s;
}

.section,
.stats-section,
.values-section,
.contact-band,
.site-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-bottom: 78px;
}

.stats-section {
  padding-bottom: 86px;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 740px;
}

.product-card {
  align-items: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(16, 24, 40, 0.08);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  padding: 26px;
}

.product-icon {
  align-items: center;
  background: #eef4ff;
  border-radius: 8px;
  color: var(--blue);
  display: flex;
  gap: 7px;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.product-icon span {
  animation: tokenBlink 2.8s ease-in-out infinite;
  background: var(--blue);
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
}

.product-icon span:last-child {
  animation-delay: 420ms;
}

.product-card p,
.value-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  background: linear-gradient(150deg, #101828 0%, #13233c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stat-card::after {
  background: linear-gradient(135deg, rgba(125, 223, 189, 0.14), transparent 58%);
  content: "";
  height: 120px;
  position: absolute;
  right: -50px;
  top: -50px;
  transform: rotate(18deg);
  width: 120px;
}

.stat-card:hover,
.product-card:hover,
.value-card:hover {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 20px 54px rgba(16, 24, 40, 0.12);
  transform: translateY(-4px);
}

.stat-card strong {
  color: #7ddfbd;
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 18px;
}

.stat-card span {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stat-card p {
  color: #b8c2d4;
  line-height: 1.58;
  margin-bottom: 0;
}

.stat-global::before {
  animation: orbitPulse 3.8s ease-in-out infinite;
  border: 1px solid rgba(125, 223, 189, 0.28);
  border-radius: 50%;
  content: "";
  height: 86px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 86px;
}

.values-section {
  padding-bottom: 86px;
}

.value-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.value-card {
  background: rgba(255, 255, 255, 0.78);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.value-card span {
  color: var(--amber);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 34px;
}

.contact-band {
  align-items: center;
  background: #101828;
  border-radius: 8px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
  padding-bottom: 34px;
  padding-top: 34px;
}

.contact-band .eyebrow {
  color: #7ddfbd;
}

.contact-band h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding-bottom: 32px;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.policy-page {
  margin: 0 auto;
  max-width: 920px;
  padding: 44px 24px 72px;
}

.policy-hero {
  padding-bottom: 42px;
}

.policy-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin-bottom: 18px;
}

.policy-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 720px;
}

.policy-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.policy-section {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(16, 24, 40, 0.06);
  margin-bottom: 24px;
  padding: 34px;
  scroll-margin-top: 24px;
}

.policy-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}

.policy-section h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}

.policy-section p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0;
}

.policy-section a {
  color: var(--blue);
  font-weight: 800;
}

.policy-date {
  font-weight: 700;
  margin-bottom: 24px !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

.code-card strong.refreshing {
  animation: codeFlip 420ms ease;
}

@keyframes gridDrift {
  to {
    background-position: 42px 42px;
  }
}

@keyframes tokenBlink {
  50% {
    opacity: 0.35;
    transform: scale(0.72);
  }
}

@keyframes orbitPulse {
  50% {
    opacity: 0.42;
    transform: scale(1.12);
  }
}

@keyframes codeFlip {
  50% {
    opacity: 0.35;
    transform: rotateX(82deg);
  }
}

@keyframes pulseGlow {
  50% {
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.34);
  }
}

@keyframes deviceLift {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scanLine {
  45%, 100% {
    top: 105%;
  }
}

@keyframes cardBreathe {
  50% {
    background: rgba(255, 255, 255, 0.115);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    gap: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone-shell {
    margin: 0 auto;
  }

  .product-card,
  .stats-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    padding-top: 18px;
  }

  .phone-shell {
    border-width: 7px;
    border-radius: 28px;
    padding: 16px;
  }

  .code-card strong {
    font-size: 23px;
  }

  .floating-note {
    display: none;
  }

  .policy-page {
    padding: 24px 18px 54px;
  }

  .policy-hero {
    padding-bottom: 30px;
  }

  .policy-hero h1 {
    font-size: 42px;
  }

  .policy-hero p {
    font-size: 16px;
  }

  .policy-jump-links {
    flex-direction: column;
  }

  .policy-jump-links .button {
    width: 100%;
  }

  .policy-section {
    padding: 24px 20px;
  }

  .policy-section h2 {
    font-size: 30px;
  }

  .policy-section h3 {
    font-size: 18px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
