:root {
  --bg: #ffffff; --surface: #f3f5fb; --text: #12162a; --muted: #565d78; --line: #dfe3f0; --accent: #1646f0;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1020; --surface: #171b31; --text: #eef0fa; --muted: #a2a9c4; --line: #2a3050; --accent: #7fa8ff; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
header, footer, main { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; text-decoration: none; }
.brand img { border-radius: 22%; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }
.hero { text-align: center; padding: 56px 0 48px; }
.hero img { border-radius: 22%; }
.hero h1 { font-size: clamp(36px, 7vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 28px 0 14px; }
.hero p { max-width: 560px; margin: 0 auto; font-size: 20px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; padding-bottom: 48px; }
.features div { background: var(--surface); border-radius: 16px; padding: 22px 24px; }
.features h2 { font-size: 19px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }
article { max-width: 680px; margin: 0 auto; padding: 24px 0 48px; }
article h1 { font-size: 38px; letter-spacing: -0.01em; margin: 0 0 8px; }
article h2 { font-size: 22px; margin: 36px 0 8px; }
article h3 { font-size: 17px; margin: 24px 0 4px; }
.meta { color: var(--muted); margin-top: 0; }
li { margin: 4px 0; }
footer { display: flex; gap: 20px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 15px; }
footer a { color: var(--muted); }

/* Home page */
.home { --bg: #070a1c; --surface: #12162e; --text: #f2f4ff; --muted: #a7aecb; --line: #262c4d; --accent: #7fa8ff; overflow-x: hidden; }
.home header, .home main > section, .home footer, .home .ticker { position: relative; z-index: 1; }
.home main { max-width: none; padding: 0; }
.aurora { position: absolute; inset: 0 0 auto; height: 1100px; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 620px; height: 620px; left: -160px; top: -180px; background: #0a9bff; }
.aurora i:nth-child(2) { width: 560px; height: 560px; right: -140px; top: 60px; background: #5a2bff; animation-delay: -5s; }
.aurora i:nth-child(3) { width: 520px; height: 520px; left: 32%; top: 460px; background: #1646f0; animation-delay: -10s; }
@keyframes drift { to { transform: translate(70px, 60px) scale(1.15); } }
.home .hero { max-width: 860px; margin: 0 auto; padding: 72px 20px 44px; }
.eyebrow { display: inline-block; margin: 0 0 22px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: #d8e4ff; }
.home .hero .eyebrow { margin-bottom: 32px; }
.home .hero h1 { margin: 0 0 20px; font-size: clamp(46px, 10vw, 88px); line-height: 1.02; letter-spacing: -0.035em; }
.home .hero em { font-style: normal; background: linear-gradient(100deg, #8fd8ff, #7fa8ff 45%, #b48cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home .hero .lead { max-width: 600px; margin: 0 auto 30px; font-size: clamp(18px, 3vw, 21px); color: #c3cae4; }
.cta { display: inline-block; padding: 13px 26px; border-radius: 999px; background: #fff; color: #10183f; font-weight: 650; text-decoration: none; box-shadow: 0 10px 40px rgba(90, 130, 255, 0.5); transition: transform 0.2s; }
.cta:hover { transform: translateY(-2px); }
.stage { padding: 12px 20px 64px; perspective: 1600px; }
.device { max-width: 820px; margin: 0 auto; padding: 12px; border-radius: 42px; background: linear-gradient(145deg, #3b4266, #14182f 40%, #2a2f52); box-shadow: 0 50px 120px rgba(20, 40, 200, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14); transform: rotateX(5deg); }
.screen { position: relative; aspect-ratio: 1500 / 1056; overflow: hidden; border-radius: 31px; background: radial-gradient(circle at 18% 12%, #38c5ff, transparent 50%), radial-gradient(circle at 85% 80%, #7a2cff, transparent 55%), linear-gradient(135deg, #1457f5, #2b1bb8); }
.menubar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 2.2%; height: 4.5%; padding: 0 3%; background: rgba(8, 12, 40, 0.4); }
.menubar b { width: 1.4%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.menubar u { width: 5%; height: 26%; border-radius: 9px; background: rgba(255, 255, 255, 0.65); }
.menubar s { width: 7%; height: 26%; margin-left: auto; border-radius: 9px; background: rgba(255, 255, 255, 0.65); }
.window { position: absolute; border-radius: 12px; background: rgba(246, 248, 255, 0.95); box-shadow: 0 18px 50px rgba(6, 10, 50, 0.45); overflow: hidden; }
.window.one { left: 7%; top: 12%; width: 43%; height: 56%; padding: 9% 3% 0; }
.window.two { right: 6%; top: 24%; width: 46%; height: 50%; }
.lights { position: absolute; left: 12px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #ff6058; box-shadow: 14px 0 #ffbd2e, 28px 0 #29c940; }
.window p { height: 7%; margin: 0 0 6%; border-radius: 9px; background: linear-gradient(90deg, #cdd6f3, #e4e9fa); }
.window p:nth-child(3) { width: 82%; }
.window p:nth-child(4) { width: 92%; }
.window p:nth-child(5) { width: 60%; }
.art { position: absolute; inset: 15% 5% 7%; border-radius: 8px; background: linear-gradient(120deg, #ff5f8f, #ffb347 35%, #5ef2c0 65%, #4a8dff); background-size: 300% 300%; animation: art 6s linear infinite alternate; }
@keyframes art { to { background-position: 100% 100%; } }
.status { position: absolute; left: 2.5%; top: 7%; display: flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(20, 26, 66, 0.55); backdrop-filter: blur(14px); color: #fff; font-size: clamp(9px, 1.6vw, 13px); font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #4de38a; box-shadow: 0 0 10px #4de38a; }
.dock { position: absolute; left: 50%; bottom: 4%; display: flex; gap: clamp(8px, 2.4vw, 22px); padding: 1.2% 3%; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(18px) saturate(1.5); color: #fff; font-size: clamp(10px, 1.9vw, 16px); font-weight: 600; transform: translateX(-50%); white-space: nowrap; }
.pointer { position: absolute; left: 30%; top: 40%; width: clamp(11px, 2.3vw, 20px); aspect-ratio: 24 / 34; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 34'%3E%3Cpath d='M2 2 L2 26 L8 20.5 L12.2 31 L17 29 L12.8 18.8 L21 18.5 Z' fill='%23111' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); animation: pointer 9s ease-in-out infinite; }
@keyframes pointer { 0%, 100% { left: 30%; top: 40%; } 30% { left: 68%; top: 46%; } 55% { left: 72%; top: 62%; } 80% { left: 22%; top: 56%; } }
.ripple { position: absolute; left: 72%; top: 62%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 3px solid #7fd4ff; border-radius: 50%; opacity: 0; animation: ripple 9s ease-out infinite; }
@keyframes ripple { 0%, 56% { opacity: 0; transform: scale(0.3); } 58% { opacity: 1; } 68%, 100% { opacity: 0; transform: scale(1.5); } }
.ticker { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.ticker div { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker span { padding: 0 26px; color: #c3cae4; font-weight: 600; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
.home .features { max-width: 900px; margin: 0 auto; padding: 64px 20px; }
.home .features div { border: 1px solid rgba(255, 255, 255, 0.11); background: linear-gradient(160deg, rgba(90, 120, 255, 0.16), rgba(255, 255, 255, 0.03)); transition: transform 0.25s, border-color 0.25s; }
.home .features div:hover { transform: translateY(-4px); border-color: rgba(127, 168, 255, 0.6); }
.home .features p { color: #c3cae4; }
.home footer { justify-content: center; }
@media (max-width: 600px) {
  .device { padding: 7px; border-radius: 24px; }
  .screen { border-radius: 18px; }
  .lights { left: 7px; top: 6px; width: 6px; height: 6px; box-shadow: 9px 0 #ffbd2e, 18px 0 #29c940; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home * { animation: none !important; transition: none !important; }
}
