/* ============ Aimo — design tokens ============ */
:root {
  --ink: #0C0D10;
  --panel: #16181D;
  --hairline: #2A2E37;
  --text: #E8EAEE;
  --muted: #9AA1AD;
  --faint: #6B7280;
  --laser: #FF1B2D;
  --ember: #FF4D5A;
  --gold: #FFD60A;

  --display: "Space Grotesk", sans-serif;
  --body: "Inter", system-ui, sans-serif;

  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.muted { color: var(--faint); font-size: 0.85em; }
code { font-size: 0.85em; color: var(--ember); }

/* ============ Laser cursor dot (the signature) ============ */
#laser-dot {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE9E9, var(--laser) 70%);
  box-shadow:
    0 0 18px 6px rgba(255, 27, 45, 0.55),
    0 0 46px 14px rgba(255, 27, 45, 0.22);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-100px, -100px);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#laser-dot.on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  #laser-dot { display: none; }
  #cursor-hint { display: none; }
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 13, 16, 0.72);
  border-bottom: 1px solid rgba(42, 46, 55, 0.6);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--display);
  font-weight: 700; font-size: 20px;
  display: flex; align-items: center; gap: 9px;
}
.brand-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFE9E9, var(--laser) 70%);
  box-shadow: 0 0 12px 3px rgba(255, 27, 45, 0.5);
  display: inline-block;
}
.brand-dot.small { width: 9px; height: 9px; }
.brand-dot.big {
  width: 40px; height: 40px;
  box-shadow: 0 0 30px 10px rgba(255, 27, 45, 0.45);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--hairline);
  padding: 7px 16px; border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}
.nav-cta:hover { border-color: var(--laser); background: rgba(255, 27, 45, 0.08); }

/* ============ Hero ============ */
.hero {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 150px 24px 40px;
  position: relative;
}
.hero-glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 27, 45, 0.16), transparent 65%);
  top: 320px; left: 50%;
  transform: translateX(-50%);
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  position: relative;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.accent { color: var(--laser); text-shadow: 0 0 34px rgba(255, 27, 45, 0.45); }
.hero-sub {
  max-width: 560px;
  color: var(--muted);
  margin-top: 26px;
  font-size: 18px;
  position: relative;
  animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-ctas {
  display: flex; gap: 14px; margin-top: 38px;
  position: relative;
  animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--faint);
  animation: rise 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-visual {
  margin-top: 44px;
  max-width: 860px;
  width: 100%;
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn {
  font-weight: 600; font-size: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, border-color 0.18s;
  display: inline-block;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--laser);
  color: #fff;
  box-shadow: 0 6px 30px rgba(255, 27, 45, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255, 27, 45, 0.5); }
.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--muted);
}
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }

/* ============ Sections ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px;
}
.eyebrow {
  color: var(--laser);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 44px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title, .hero-sub, .hero-ctas, .hero-note { animation: none; }
  .hero-glow, .brand-dot.big { animation: none; }
}

/* ============ Steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 0 0 28px;
  overflow: hidden;
}
.step-img {
  background: #000;
  margin-bottom: 22px;
}
.step-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.step-num {
  font-family: var(--display);
  font-size: 15px; font-weight: 700;
  color: var(--laser);
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 27, 45, 0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 26px 16px;
}
.step h3 { margin: 0 26px 10px; }
.step p { margin: 0 26px; }
.step h3, .feature h3 {
  font-family: var(--display);
  font-size: 19px; font-weight: 700;
}
.step p, .feature p { color: var(--muted); font-size: 15px; }

/* ============ Features ============ */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.feature:hover { border-color: rgba(255, 27, 45, 0.35); transform: translateY(-3px); }
.feature h3 { margin-bottom: 10px; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
}
.dot-icon { background: radial-gradient(circle at 45% 40%, #FFE9E9, var(--laser) 72%); border-radius: 50%; box-shadow: 0 0 22px rgba(255, 27, 45, 0.5); }
.highlight-icon { background: linear-gradient(135deg, rgba(255, 214, 10, 0.25), rgba(255, 214, 10, 0.08)); border: 1px solid rgba(255, 214, 10, 0.4); }
.highlight-icon::after { content: ""; position: absolute; inset: 12px 9px auto 9px; height: 7px; border-radius: 4px; background: rgba(255, 214, 10, 0.75); }
.watch-icon { background: var(--ink); border: 1px solid var(--hairline); border-radius: 12px; }
.watch-icon::after { content: ""; position: absolute; inset: 10px; border-radius: 8px; border: 2px solid var(--ember); }
.lock-icon { background: var(--ink); border: 1px solid var(--hairline); }
.lock-icon::after { content: ""; position: absolute; inset: 14px 12px 10px 12px; border: 2px solid var(--muted); border-radius: 5px; }
.lock-icon::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 12px; height: 10px; border: 2px solid var(--muted); border-bottom: none; border-radius: 7px 7px 0 0; }

/* ============ Video ============ */
.video-frame {
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--panel);
}
.video-frame iframe { width: 100%; height: 100%; display: block; }
.video-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--hairline);
  border-radius: 20px;
}
.video-play-hint { text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ============ Gallery ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mock {
  background: #000;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.mock:hover { border-color: rgba(255, 27, 45, 0.35); transform: translateY(-4px); }
.mock img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.mock figcaption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--hairline);
}

/* ============ Downloads ============ */
.dl-lede { color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 5px;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.dl-card:hover {
  border-color: var(--laser);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 27, 45, 0.12);
}
.dl-card.primary-os {
  border-color: rgba(255, 27, 45, 0.55);
  background: linear-gradient(180deg, rgba(255, 27, 45, 0.09), var(--panel) 55%);
}
.dl-os { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--laser); }
.dl-name { font-family: var(--display); font-weight: 700; font-size: 20px; }
.dl-hint { color: var(--faint); font-size: 14px; }
.dl-notes {
  margin-top: 36px;
  border-left: 3px solid var(--gold);
  background: var(--panel);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--muted);
}
.dl-notes a { color: var(--gold); }
.dl-notes p + p { margin-top: 10px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--hairline); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 14px;
}
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner a:hover { color: var(--text); }

/* ============ Responsive ============ */
@media (max-width: 820px) {
  .steps, .features, .dl-grid, .gallery { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 72px 20px; }
  .hero { padding-top: 120px; }
}
