:root {
  --navy: #0a1628;
  --dark-blue: #0f2744;
  --electric: #00d4ff;
  --cyan: #22d3ee;
  --white: #f8fafc;
  --silver: #94a3b8;
  --card: rgba(15, 39, 68, 0.72);
  --border: rgba(0, 212, 255, 0.18);
  --glow: rgba(0, 212, 255, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--electric); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.bg-glow {
  position: fixed; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none;
}
.bg-glow-1 { width: 420px; height: 420px; background: rgba(0,212,255,.12); top: -80px; right: -60px; }
.bg-glow-2 { width: 360px; height: 360px; background: rgba(34,211,238,.08); bottom: 10%; left: -80px; }

.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 22, 40, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--electric), #0284c7);
  color: var(--navy); font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 24px var(--glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; letter-spacing: .04em; }
.brand-text small { color: var(--silver); font-size: .72rem; }

.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--silver); font-size: .92rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--electric); }

.hero { padding: 5rem 0 4rem; }
.hero-inner { max-width: 780px; }
.hero-badge {
  display: inline-block; padding: .35rem .85rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(0,212,255,.08);
  color: var(--cyan); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-lead { margin-top: 1.25rem; color: var(--silver); font-size: 1.08rem; max-width: 620px; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.35rem; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--electric), #0284c7);
  color: var(--navy); box-shadow: 0 8px 28px rgba(0,212,255,.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,212,255,.35); text-decoration: none; }
.btn-ghost { border-color: var(--border); color: var(--white); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--electric); color: var(--electric); text-decoration: none; }
.btn-block { width: 100%; margin-top: 1.25rem; }

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--electric); }
.stat-label { font-size: .82rem; color: var(--silver); }

.section { padding: 4rem 0; }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: 1.85rem; font-weight: 700; }
.section-head p { color: var(--silver); margin-top: .5rem; }

.demo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem;
}

.demo-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 1.5rem; backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.demo-card:hover { border-color: rgba(0,212,255,.45); transform: translateY(-2px); }
.demo-card-featured { border-color: rgba(0,212,255,.35); box-shadow: 0 0 40px rgba(0,212,255,.08); }
.demo-card-top { display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.demo-tag {
  font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--silver);
}
.demo-tag-live { background: rgba(34,197,94,.15); color: #4ade80; }
.demo-tag-soon { background: rgba(251,191,36,.12); color: #fbbf24; }
.demo-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.demo-card p { color: var(--silver); font-size: .92rem; }
.demo-features { list-style: none; margin: 1rem 0 0; }
.demo-features li {
  padding: .35rem 0 .35rem 1.2rem; position: relative; color: var(--silver); font-size: .88rem;
}
.demo-features li::before {
  content: ''; position: absolute; left: 0; top: .72rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--electric);
}
.soon-placeholder {
  margin-top: 1.25rem; padding: 2rem 1rem; text-align: center;
  border: 1px dashed var(--border); border-radius: 12px; color: var(--silver);
}
.soon-placeholder span { font-size: 2rem; display: block; margin-bottom: .5rem; }

.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem;
}
.about-grid p { color: var(--silver); margin-top: .75rem; }
.about-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem;
}
.about-box h3 { margin-bottom: 1rem; font-size: 1rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-tags span {
  font-size: .78rem; padding: .35rem .7rem; border-radius: 8px;
  background: rgba(0,212,255,.08); border: 1px solid var(--border); color: var(--cyan);
}

.footer {
  border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 2rem;
  background: rgba(10,22,40,.6);
}
.footer-inner { text-align: center; }
.footer-sub { color: var(--silver); font-size: .82rem; margin-top: .35rem; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .nav { width: 100%; justify-content: flex-start; }
}
