:root {
  --night: #08111f;
  --night-soft: #0c1f37;
  --blue: #1269ff;
  --blue-strong: #0b4ec2;
  --mint: #6ee7c4;
  --green: #00a878;
  --paper: #ffffff;
  --soft: #eef3f8;
  --ink: #0c1624;
  --muted: #657386;
  --line: rgba(127, 146, 172, 0.22);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--night);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 72px;
  padding: 0 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: width .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.site-header.scrolled {
  width: min(1060px, calc(100% - 32px));
  background: rgba(8, 17, 31, .74);
  border-color: rgba(110, 231, 196, .16);
  box-shadow: 0 18px 50px rgba(8, 17, 31, .24);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px;
  color: white; font-size: 14px; font-weight: 950;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 14px 30px rgba(18, 105, 255, 0.25);
}
.brand-mark.small { width: 34px; height: 34px; font-size: 11px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(18, 105, 255, .2)); }
.brand-logo.small { width: 34px; height: 34px; }
.header-download { position: relative; text-decoration: none; font-size: 14px; font-weight: 800; padding: 10px 2px; }
.header-download::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 6px; height: 1px; background: var(--mint); transition: right .25s ease; }
.header-download:hover::after { right: 0; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 730px;
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 96px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, #08111f, #0c1f37 58%, #091827);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.62), transparent 88%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255,255,255,.09) .7px, transparent 1px, transparent 5px);
  mix-blend-mode: soft-light;
}

.aurora { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; display: block; border-radius: 50%; filter: blur(28px); opacity: .58; will-change: transform; }
.aurora-blue { width: 680px; height: 680px; left: -230px; top: -280px; background: radial-gradient(circle, rgba(18,105,255,.88), transparent 68%); animation: drift-blue 15s ease-in-out infinite alternate; }
.aurora-mint { width: 600px; height: 600px; right: -190px; bottom: -300px; background: radial-gradient(circle, rgba(0,168,120,.66), transparent 67%); animation: drift-mint 18s ease-in-out infinite alternate; }
.aurora-cyan { width: 440px; height: 440px; left: 48%; top: 12%; background: radial-gradient(circle, rgba(54,190,255,.28), transparent 68%); animation: drift-cyan 20s ease-in-out infinite alternate; }

@keyframes drift-blue { to { transform: translate(110px, 90px) scale(1.16); } }
@keyframes drift-mint { to { transform: translate(-130px, -80px) scale(1.12); } }
@keyframes drift-cyan { to { transform: translate(-80px, 130px) scale(.9); } }

.hero-watermark {
  position: absolute;
  z-index: -1;
  width: min(660px, 52vw);
  height: min(660px, 52vw);
  right: -6%;
  top: 50%;
  object-fit: contain;
  opacity: .075;
  filter: drop-shadow(0 0 65px rgba(110,231,196,.48));
  transform: translateY(-50%);
  animation: watermark-float 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes watermark-float { 50% { transform: translateY(calc(-50% - 16px)) rotate(1.5deg); } }

.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--blue-strong); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--mint); }
h1 { margin: 0; max-width: 700px; font-size: clamp(50px, 6vw, 82px); line-height: .98; letter-spacing: -.055em; }
h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 600px; margin: 30px 0 0; color: #c8d3e1; font-size: 19px; line-height: 1.65; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.button { position: relative; min-height: 56px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; border-radius: 8px; text-decoration: none; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .header-download:focus-visible, .brand:focus-visible { outline: 4px solid rgba(110, 231, 196, .45); outline-offset: 4px; }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--green)); box-shadow: 0 18px 40px rgba(18,105,255,.28); }
.button-primary::after, .button-light::after { content: ""; position: absolute; top: -70%; bottom: -70%; left: -45%; width: 28%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent); transition: left .65s ease; }
.button-primary:hover::after, .button-light:hover::after { left: 120%; }
.button-primary:hover { box-shadow: 0 23px 52px rgba(18,105,255,.4), 0 0 0 1px rgba(110,231,196,.28); }
.button > * { position: relative; z-index: 1; }
.download-arrow { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .22s ease; }
.download-arrow.dark { color: var(--blue-strong); background: #e8f0ff; }
.button:hover .download-arrow { transform: translateY(3px); }
.button.download-started .download-arrow { animation: download-bounce .55s ease; }
@keyframes download-bounce { 50% { transform: translateY(9px); opacity: .25; } }
.download-note { color: #95a6ba; font-size: 13px; }
.windows-icon { width: 18px; height: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transform: skewY(-5deg); }
.windows-icon i { display: block; background: white; }

.product-card { position: relative; z-index: 2; width: 100%; max-width: 455px; justify-self: end; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: var(--shadow); transform: rotate(1deg); animation: product-float 7s ease-in-out infinite; }
@keyframes product-float { 50% { transform: translateY(-10px) rotate(.3deg); box-shadow: 0 44px 100px rgba(0,0,0,.34); } }
.product-card::before { content: ""; position: absolute; inset: -25px -34px 35px 45px; z-index: -1; border-radius: 18px; border: 1px solid rgba(110,231,196,.18); background: rgba(18,105,255,.08); transform: rotate(-4deg); }
.product-topbar { display: flex; justify-content: space-between; align-items: center; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.mini-brand { display: flex; align-items: center; gap: 9px; font-weight: 850; }
.status { padding: 7px 9px; border-radius: 20px; color: #037453; background: #dcf8ed; font-size: 11px; font-weight: 800; }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--green); }
.product-body { padding: 22px; }
.metric { padding: 20px; margin-bottom: 18px; border-radius: 8px; background: linear-gradient(135deg, #edf4ff, #eafbf6); }
.metric span, .metric small { display: block; color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin: 6px 0; font-size: 30px; }
.metric small { color: #037453; font-weight: 800; }
.sale-row, .total { display: flex; justify-content: space-between; align-items: center; padding: 13px 3px; border-bottom: 1px solid var(--line); font-size: 14px; }
.sale-row small { display: block; margin-top: 3px; color: var(--muted); }
.total { padding-top: 19px; border: 0; font-size: 17px; }
.total strong { font-size: 23px; }
.pay-button { margin-top: 14px; padding: 15px; border-radius: 8px; color: white; text-align: center; font-weight: 850; background: linear-gradient(135deg, var(--blue), var(--green)); }

.benefits { position: relative; padding: 110px max(24px, calc((100vw - 1180px) / 2)); overflow: hidden; background: var(--paper); }
.benefits::after { content: ""; position: absolute; right: -190px; top: -190px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(18,105,255,.08), transparent 68%); pointer-events: none; }
.section-heading { max-width: 560px; margin-bottom: 52px; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit-grid article { position: relative; z-index: 1; min-height: 250px; padding: 34px; overflow: hidden; background: white; transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease; }
.benefit-grid article::before { content: ""; position: absolute; z-index: -1; width: 210px; height: 210px; right: -100px; top: -120px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(110,231,196,.32), transparent 68%); transform: scale(.55); transition: opacity .32s ease, transform .45s ease; }
.benefit-grid article::after { content: ""; position: absolute; left: 34px; right: calc(100% - 34px); bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--mint)); transition: right .4s ease; }
.benefit-grid article:hover { z-index: 2; transform: translateY(-9px); box-shadow: 0 24px 60px rgba(12,22,36,.13); }
.benefit-grid article:hover::before { opacity: 1; transform: scale(1); }
.benefit-grid article:hover::after { right: 34px; }
.benefit-number { color: var(--blue); font-size: 12px; font-weight: 900; }
.benefit-grid h3 { margin: 52px 0 12px; font-size: 22px; }
.benefit-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.final-cta { position: relative; isolation: isolate; margin: 0 max(24px, calc((100vw - 1180px) / 2)); padding: 62px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; color: white; background: linear-gradient(135deg, var(--blue), var(--green)); border-radius: 10px; box-shadow: 0 28px 70px rgba(18,105,255,.18); }
.final-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, #000); }
.final-cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -150px; top: -250px; border-radius: 50%; background: rgba(110,231,196,.25); filter: blur(4px); }
.final-cta .eyebrow { color: white; opacity: .85; }
.final-cta h2 { max-width: 700px; font-size: clamp(36px, 4vw, 52px); }
.button-light { flex: 0 0 auto; color: var(--night); background: white; box-shadow: 0 16px 35px rgba(8,17,31,.17); }
.button-light:hover { box-shadow: 0 22px 46px rgba(8,17,31,.26); }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

footer { max-width: 1180px; margin: 0 auto; padding: 55px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .product-card { justify-self: start; max-width: 520px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: auto; }
  .benefit-grid h3 { margin-top: 28px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 42px; }
  .hero-watermark { width: 620px; height: 620px; right: -300px; top: 60%; opacity: .055; }
  footer { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 520px) {
  .site-header { width: calc(100% - 32px); }
  .hero { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 49px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .product-card { transform: none; animation: none; }
  .product-card::before { display: none; }
  .benefits { padding: 80px 16px; }
  .final-cta { margin: 0 16px; padding: 34px 24px; }
  .button-light { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
