:root {
  --bg: #050713;
  --panel: rgba(13, 18, 38, .72);
  --panel-2: rgba(20, 27, 54, .62);
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(114, 234, 255, .28);
  --text: #f4f7ff;
  --muted: #a7b0c7;
  --soft: #6f7894;
  --cyan: #49e6ff;
  --blue: #5577ff;
  --violet: #9b6bff;
  --green: #39f6b2;
  --pink: #ff6fae;
  --shadow: 0 30px 80px rgba(0,0,0,.38);
  --font: 'Inter','Noto Sans SC',system-ui,sans-serif;
  --display: 'Space Grotesk','Inter','Noto Sans SC',sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.site-bg {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at 15% 10%, rgba(73,230,255,.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(155,107,255,.16), transparent 28%),
    radial-gradient(circle at 55% 65%, rgba(57,246,178,.08), transparent 35%),
    linear-gradient(180deg, #050713 0%, #080b19 48%, #04050d 100%);
}
.site-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%);
}
.grain { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: 74px; padding: 0 clamp(22px, 5vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(5,7,19,.88), rgba(5,7,19,.48));
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; letter-spacing: .14em; font-size: .88rem; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #03111b; background: linear-gradient(135deg, var(--cyan), var(--green)); box-shadow: 0 0 24px rgba(73,230,255,.35); }
.nav-links { display: flex; align-items: center; gap: 28px; color: rgba(244,247,255,.72); font-size: .88rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--cyan); }

.section-shell { width: min(1180px, calc(100vw - 44px)); margin: 0 auto; }
.hero { min-height: 790px; padding-top: 108px; padding-bottom: 58px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; line-height: 1.45; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--display); font-size: clamp(3.25rem, 6.25vw, 6.25rem); line-height: .98; letter-spacing: -.055em; margin-bottom: 26px; max-width: 780px; overflow-wrap: break-word; }
h2 { font-family: var(--display); font-size: clamp(2.25rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 18px; }
h3 { font-size: 1.05rem; }
.hero-sub { color: #c3cce2; font-size: 1.08rem; line-height: 1.9; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: .92rem; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #03111b; border: 0; box-shadow: 0 14px 42px rgba(73,230,255,.26); }
.btn.ghost { background: rgba(255,255,255,.045); color: var(--text); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; color: rgba(244,247,255,.68); }
.trust-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); font-size: .78rem; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; min-width: 0; }
.orb { position: absolute; border-radius: 999px; filter: blur(50px); opacity: .65; }
.orb-a { width: 310px; height: 310px; background: rgba(73,230,255,.24); top: 48px; right: 20px; }
.orb-b { width: 260px; height: 260px; background: rgba(155,107,255,.22); bottom: 40px; left: 10px; }
.product-window { position: relative; z-index: 2; width: min(560px, 100%); border: 1px solid rgba(255,255,255,.14); background: linear-gradient(145deg, rgba(16,24,54,.88), rgba(8,12,28,.78)); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.main-window { transform: perspective(1100px) rotateY(-7deg) rotateX(4deg); }
.window-top { height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: .76rem; }
.window-top span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.24); }
.window-top span:nth-child(1) { background: var(--pink); } .window-top span:nth-child(2) { background: #ffd166; } .window-top span:nth-child(3) { background: var(--green); }
.window-top em { margin-left: auto; font-style: normal; color: rgba(244,247,255,.52); }
.console-grid { padding: 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.console-card, .metric-card, .creator-list { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.045); }
.console-card { padding: 20px; }
.console-card small, .product-kicker { color: var(--cyan); letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; font-weight: 900; }
.console-card strong { display: block; margin: 12px 0 8px; font-size: 1.2rem; }
.console-card p { color: var(--muted); line-height: 1.65; margin: 0; }
.wide { grid-column: 1 / -1; }
.metric-card { padding: 18px; }
.metric-card b { display: block; font-family: var(--display); font-size: 2.5rem; color: #fff; }
.metric-card span { color: var(--soft); font-size: .82rem; }
.creator-list { grid-column: 1 / -1; padding: 10px; display: grid; gap: 8px; }
.creator-list div { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(5,7,19,.36); color: var(--muted); }
.creator-list i { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 16px var(--green); }
.creator-list b { color: var(--cyan); font-size: .75rem; }
.floating-card { position: absolute; z-index: 3; padding: 12px 15px; border-radius: 16px; background: rgba(5,7,19,.8); border: 1px solid var(--line-strong); color: rgba(244,247,255,.86); box-shadow: var(--shadow); font-size: .82rem; }
.card-one { left: 0; top: 112px; } .card-two { right: 10px; bottom: 95px; }

.intro, .products, .demo, .usecases, .principles, .cta { padding: 96px 0; }
.section-heading { text-align: center; max-width: 780px; margin: 0 auto 42px; }
.section-heading.left { text-align: left; margin-left: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.workflow article, .product-card, .usecase-grid article, .principle-grid article, .demo-panel { border: 1px solid var(--line); background: var(--panel); border-radius: 28px; box-shadow: var(--shadow); }
.workflow article { padding: 24px; min-height: 230px; }
.workflow span { color: var(--cyan); font-family: var(--display); font-weight: 800; }
.workflow p, .product-card p, .usecase-grid p, .principle-grid p { color: var(--muted); line-height: 1.7; }

.product-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.product-card { padding: 24px; overflow: hidden; }
.product-card.tall { grid-row: span 2; }
.product-card h3 { font-size: 1.45rem; margin: 10px 0; }
.product-card img, .product-card video { margin-top: 22px; width: 100%; border-radius: 20px; border: 1px solid var(--line); background: #03050d; }
.product-card.tall img { min-height: 460px; object-fit: cover; object-position: left top; }
.phone-shot { max-height: 330px; object-fit: contain; }

.demo { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: center; }
.demo-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.demo-panel { padding: 20px; }
.prompt-line { padding: 18px 20px; margin-bottom: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(73,230,255,.12), rgba(155,107,255,.08)); border: 1px solid var(--line-strong); color: #fff; font-weight: 700; }
.result-row { display: grid; grid-template-columns: 44px 1fr 46px; gap: 14px; align-items: center; padding: 15px; border-radius: 18px; color: var(--muted); }
.result-row.active { background: rgba(255,255,255,.055); }
.result-row span { color: var(--cyan); font-family: var(--display); font-weight: 800; }
.result-row b { color: #fff; }
.result-row p { margin: 4px 0 0; line-height: 1.5; }
.result-row em { font-style: normal; color: var(--green); font-weight: 900; font-family: var(--display); }

.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.usecase-grid article { padding: 24px; min-height: 150px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle-grid article { padding: 26px; }
.principle-grid span { display: block; width: 34px; height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--violet)); margin-bottom: 20px; }

.cta { text-align: center; padding-bottom: 120px; }
.cta p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.footer { width: min(1180px, calc(100vw - 44px)); margin: 0 auto; padding: 28px 0 42px; display: flex; justify-content: space-between; color: var(--soft); border-top: 1px solid var(--line); font-size: .86rem; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .demo { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 110px; padding-bottom: 62px; gap: 28px; }
  .hero-copy, .hero-visual { min-width: 0; width: 100%; }
  .hero-visual { min-height: 460px; }
  .workflow, .usecase-grid, .principle-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .product-card.tall { grid-row: auto; }
}
@media (max-width: 640px) {
  body { width: 100%; overflow-x: hidden; }
  .section-shell { width: calc(100% - 28px); max-width: 1180px; }
  .hero { display: block; padding-top: 110px; overflow: hidden; }
  .hero-copy { width: 100%; max-width: 330px; margin: 0 auto; overflow-wrap: break-word; }
  .hero-copy * { max-width: 100%; }
  .eyebrow { font-size: .66rem; letter-spacing: .11em; }
  h1 { font-size: clamp(2.34rem, 11.5vw, 3.05rem); line-height: 1.04; letter-spacing: -.04em; }
  h2 { font-size: 2.25rem; }
  .hero-sub { font-size: .98rem; line-height: 1.82; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; width: 100%; }
  .workflow, .usecase-grid, .principle-grid { grid-template-columns: 1fr; }
  .hero-visual { overflow: hidden; margin: 34px auto 0; width: 100%; max-width: 330px; min-height: 420px; }
  .console-grid { grid-template-columns: 1fr; padding: 12px; gap: 10px; }
  .product-window { width: 330px; max-width: 330px; border-radius: 22px; }
  .main-window { transform: none; }
  .window-top em { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .console-card strong, .console-card p, .creator-list span { overflow-wrap: anywhere; }
  .floating-card { display: none; }
  .footer { flex-direction: column; gap: 10px; }
}
