:root {
  color-scheme: dark;
  --bg: #050508;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.60);
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.5);
  --secondary: #3b82f6;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  --shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, .brand, .btn {
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 120px;
  position: relative;
  z-index: 1;
}

.wrap.wide { max-width: 1200px; }

/* Background & Atmosphere */
.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #1a1a2e 0%, var(--bg) 60%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.orb {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}

.orb-a {
  left: -10%;
  top: -10%;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  animation: float 20s ease-in-out infinite alternate;
}

.orb-b {
  right: -10%;
  top: 10%;
  background: radial-gradient(circle, #c026d3 0%, transparent 70%);
  animation: float 25s ease-in-out infinite alternate-reverse;
}

.orb-c {
  left: 30%;
  bottom: -20%;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  opacity: 0.2;
  animation: float 30s ease-in-out infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px;
  margin-bottom: 60px;
}

.brand {
  font-weight: 700;
  font-size: 20px;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

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

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 600px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.8);
}

.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

h1 {
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 700;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
  font-weight: 400;
}

.lead strong {
  color: #fff;
  font-weight: 500;
}

.cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn.primary {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn.secondary {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

.fine {
  margin-top: 48px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.fine a { color: rgba(255,255,255,0.5); text-decoration: underline; }

/* Phone Mockup */
.phone-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.phone {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 4px #2a2a2a,
    0 0 0 5px #111,
    0 30px 60px rgba(0,0,0,0.8),
    0 0 100px rgba(79, 70, 229, 0.15); /* Ambient glow */
  transform: rotateY(-12deg) rotateX(5deg);
  transition: transform 0.4s var(--ease);
  position: relative;
}

.phone:hover {
  transform: rotateY(-8deg) rotateX(2deg) translateY(-10px);
}

.phone-border {
  width: 100%;
  height: 100%;
  background: #111;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1b4b 0%, #000 100%);
  position: relative;
}

.phone-top {
  padding-top: 44px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  justify-content: space-between;
}

.chip {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}

.stack {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
}

.tile {
  height: 380px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

/* Abstract content in tile */
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(139, 92, 246, 0.4), transparent 50%);
  opacity: 0.6;
}

.hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mini {
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mini strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.mini .muted {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: block;
}

/* Sections */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 48px;
  max-width: 600px;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 12px;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section p {
  font-size: 18px;
  color: var(--muted);
}

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

.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature:hover {
  background: var(--panel-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}

.feature p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

.footer {
  text-align: center;
  padding: 60px 0;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
  }
  
  .hero h1 { font-size: 48px; }
  .lead { margin: 0 auto 32px; }
  .cta { justify-content: center; }
  .pill-row { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; gap: 16px; margin-bottom: 30px; }
}