:root {
  --bg: #03050a;
  --surface: rgba(13, 18, 30, 0.72);
  --surface-2: rgba(18, 25, 42, 0.65);
  --border: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(148, 163, 184, 0.28);
  --text: #f8fafc;
  --muted: #94a3b8;
  --dim: #64748b;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --indigo: #818cf8;
  --violet: #a78bfa;
  --amber: #f59e0b;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Futuristic architectural dot-grid + ambient aurora mesh */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(650px circle at 18% 10%, rgba(34, 211, 238, 0.12), transparent 62%),
    radial-gradient(700px circle at 84% 16%, rgba(129, 140, 248, 0.14), transparent 60%),
    radial-gradient(600px circle at 50% 85%, rgba(16, 185, 129, 0.08), transparent 60%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 15%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 15%, #000 35%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating glassmorphic pill navbar */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding: 0 18px;
}

.nav {
  max-width: 1132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 18px;
  background: rgba(7, 11, 20, 0.74);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 14.5px;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brand span.tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}

.lang-pill:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}

/* Hero */
.hero {
  padding: 68px 0 42px;
  text-align: center;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  max-width: 920px;
  margin: 0 auto 18px;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 .accent {
  background: linear-gradient(110deg, #22d3ee 0%, #34d399 48%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(15.5px, 1.8vw, 18.5px);
  color: var(--muted);
  max-width: 670px;
  margin: 0 auto;
}

/* Section labels */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.2s;
}

.section-link:hover {
  transform: translateX(3px);
}

/* Spotlight Bento Card */
.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
  --mx: 50%;
  --my: 50%;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(34, 211, 238, 0.13), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  border-color: rgba(34, 211, 238, 0.38);
  transform: translateY(-2px);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.indigo-glow::before {
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(129, 140, 248, 0.16), transparent 55%);
}

.bento-card.indigo-glow:hover {
  border-color: rgba(129, 140, 248, 0.45);
}

/* Tier 1: Dual Flagship 50/50 Grid */
.flagship-section {
  padding: 18px 0 44px;
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.flagship-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 510px;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.div-num {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.status-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #34d399;
}

.status-chip.cyan {
  background: rgba(34, 211, 238, 0.11);
  border-color: rgba(34, 211, 238, 0.32);
  color: #67e8f9;
}

.status-chip.violet {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.32);
  color: #c4b5fd;
}

.flagship-card h2 {
  font-size: clamp(23px, 2.6vw, 29px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 10px;
}

.flagship-card p.desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 20px;
}

/* Visual Preview Frame inside Flagship 1 (Video) */
.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #060912;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.06);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.flagship-card:hover .visual-frame img {
  transform: scale(1.035);
}

.hud-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 5, 10, 0.08) 0%, rgba(3, 5, 10, 0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hud-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 9px;
  border-radius: 8px;
}

/* Live SMS Telemetry Preview inside Flagship 2 (AI Reception) */
.sms-stage {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(8, 13, 25, 0.92), rgba(5, 9, 18, 0.96));
  padding: 15px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 205px;
  justify-content: center;
}

.sms-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--dim);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.sms-bubble {
  font-size: 12.2px;
  line-height: 1.45;
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 90%;
}

.sms-bubble.ai {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  align-self: flex-start;
}

.sms-bubble.user {
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #ecfeff;
  align-self: flex-end;
}

.sms-bubble.ticket {
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
  align-self: stretch;
  max-width: 100%;
  font-size: 11.8px;
}

/* Spec chips + buttons */
.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.spec-chip {
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 8px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 12px;
  transition: transform 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #10b981);
  color: #03131a;
}

.btn-primary.indigo {
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  color: #040b18;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #e2e8f0;
}

.btn-ghost:hover {
  border-color: var(--border-bright);
  background: rgba(255, 255, 255, 0.08);
}

/* Tier 2: Secondary Software & Ecosystem Strip (intentionally sleeker & lower weight) */
.ecosystem-section {
  padding: 6px 0 54px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eco-card {
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: rgba(11, 16, 27, 0.6);
}

.eco-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.eco-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.eco-card h3 {
  font-size: 16.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.eco-card p {
  font-size: 13.2px;
  color: var(--muted);
  line-height: 1.55;
}

.eco-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cyan);
}

/* Studio Telemetry / Proof Strip */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 26, 0.62);
  border: 1px solid var(--border);
  margin-bottom: 56px;
}

.proof-item strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  margin-bottom: 3px;
}

.proof-item span {
  font-size: 12.8px;
  color: var(--muted);
}

/* Tools Page Product Cards */
.tools-section {
  padding: 22px 0 34px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.tool-card h3 {
  font-size: 17px;
  font-weight: 750;
  margin-bottom: 6px;
}

.tool-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.cta-banner {
  margin: 26px 0 56px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(129, 140, 248, 0.12));
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

@media (max-width: 900px) {
  .flagship-grid,
  .eco-grid,
  .proof-strip,
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .flagship-card {
    min-height: auto;
    padding: 22px;
  }
  .nav-links {
    display: none;
  }
  .hero {
    padding: 46px 0 28px;
  }
}
