/* ═══ RESET & VARIABLES ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0f;
  --bg-light: #12121a;
  --bg-card: #151520;
  --text: #e4e4e8;
  --text-dim: #8a8a98;
  --accent-1: #00f0ff;
  --accent-2: #7000ff;
  --accent-3: #ff0080;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

#bgCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ═══ NAVBAR ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.logo-svg { width: 36px; height: 36px; animation: logoPulse 3s ease infinite; }
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.4)); }
  50% { filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.8)); }
}
.brand-text {
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-link {
  color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); transition: width 0.3s;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; text-decoration: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(112, 0, 255, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(112, 0, 255, 0.5); }
.nav-demo-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 240, 255, 0.22);
  opacity: 0;
  transform: translateY(-8px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
}
.nav-demo-btn svg {
  width: 20px;
  height: 20px;
}
body.demo-nav-visible .nav-demo-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav-demo-btn:hover {
  transform: translateY(-2px) scale(1);
  box-shadow: 0 12px 36px rgba(112, 0, 255, 0.34);
}

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between;
  padding: 120px 48px 60px; z-index: 1; gap: 48px;
}
.hero-content { flex: 1; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--glass);
  border: 1px solid var(--glass-border); border-radius: 100px;
  font-size: 13px; color: var(--text-dim); margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: var(--accent-1); border-radius: 50%; animation: blink 2s ease infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.title-line { display: block; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientShift 5s ease infinite; background-size: 200% 200%;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-desc { font-size: 16px; color: var(--text-dim); line-height: 1.7; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 60px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; text-decoration: none; border-radius: 12px;
  font-size: 16px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3), 0 0 40px rgba(112, 0, 255, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.4), 0 0 60px rgba(112, 0, 255, 0.3);
}
.btn-primary.big { padding: 18px 40px; font-size: 18px; }
.btn-secondary {
  display: inline-flex; align-items: center; padding: 14px 32px;
  background: var(--glass); color: var(--text); text-decoration: none;
  border-radius: 12px; font-size: 16px; font-weight: 600;
  border: 1px solid var(--glass-border); transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-secondary.big { padding: 18px 40px; font-size: 18px; }

/* DEMO REQUEST */
.demo-float {
  position: absolute;
  left: auto;
  right: 16px;
  top: calc(100vh - 132px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: min(410px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 16px;
  background: rgba(18, 18, 26, 0.78);
  border: 1px solid rgba(0, 240, 255, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 42px rgba(0, 240, 255, 0.08);
  cursor: grab;
  touch-action: none;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.demo-float.dragging {
  cursor: grabbing;
  border-color: rgba(0, 240, 255, 0.36);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46), 0 0 52px rgba(0, 240, 255, 0.14);
}
.demo-float::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(112, 0, 255, 0), rgba(255, 0, 128, 0.18));
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.demo-float-copy {
  min-width: 0;
  max-width: 280px;
}
.demo-float-copy strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.demo-float-copy span {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}
.demo-float-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.demo-icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.22);
  transition: transform 0.25s, box-shadow 0.25s;
}
.demo-icon-btn svg {
  width: 20px;
  height: 20px;
}
.demo-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(112, 0, 255, 0.34);
}
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}
.demo-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.74);
  backdrop-filter: blur(10px);
}
.demo-modal-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border-radius: 20px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.25s;
}
.demo-modal.active .demo-modal-card {
  transform: translateY(0) scale(1);
}
.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.demo-modal-kicker {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: #0a0a0f;
  background: linear-gradient(135deg, #ecb22e, var(--accent-1));
  font-size: 12px;
  font-weight: 800;
}
.demo-modal-card h2 {
  max-width: 420px;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.demo-modal-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.demo-form {
  display: grid;
  gap: 14px;
}
.demo-form label {
  display: grid;
  gap: 7px;
}
.demo-form label span {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.demo-form label span em {
  color: var(--text-dim);
  font-style: normal;
  font-weight: 500;
}
.demo-form input,
.demo-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(10, 10, 15, 0.74);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.demo-form textarea {
  resize: vertical;
  min-height: 104px;
}
.demo-form input:focus,
.demo-form textarea:focus {
  border-color: rgba(0, 240, 255, 0.52);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}
.demo-form .btn-primary {
  justify-content: center;
  margin-top: 6px;
}
.demo-form-note,
.demo-form-status {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.45;
}
.demo-form-status.success {
  color: #2eb67d;
}
.demo-form-status.error {
  color: #e01e5a;
}
body.demo-modal-open {
  overflow: hidden;
}

/* Hero Stats */
.hero-stats { display: flex; gap: 24px; }
.stat-card {
  padding: 20px 24px; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; min-width: 140px; transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(0, 240, 255, 0.3); transform: translateY(-2px); }
.stat-number {
  font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* Hero Visual - Interactive Diagram */
.hero-visual {
  flex: 1; display: flex; align-items: center; justify-content: center;
  perspective: 1200px; min-width: 0; position: relative;
}
.diagram-3d {
  position: relative; width: 480px; height: 420px;
  transform-style: preserve-3d;
  animation: float 6s ease infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
  50% { transform: translateY(-15px) rotateX(8deg) rotateY(-8deg); }
}
.layer {
  position: absolute; display: flex; flex-wrap: wrap;
  gap: 12px; left: 50%; justify-content: center;
  width: max-content; max-width: 440px;
}
.layer-1 { top: 10px; transform: translateX(-50%) translateZ(100px); }
.layer-2 { top: 120px; transform: translateX(-50%) translateZ(50px); }
.layer-3 { top: 230px; transform: translateX(-50%) translateZ(0); }
.layer-4 { top: 340px; transform: translateX(-50%) translateZ(-50px); }

.box {
  width: 100px; padding: 10px 8px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: 8px; text-align: center; transition: all 0.3s;
  cursor: grab; user-select: none; position: relative; z-index: 10;
}
.box:active { cursor: grabbing; z-index: 100; }
.box:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px) scale(1.05);
}
.system-box { border-color: rgba(0, 240, 255, 0.45); }
.container-box { border-color: rgba(112, 0, 255, 0.45); }
.component-box { border-color: rgba(255, 0, 128, 0.45); }
.code-box { border-color: rgba(46, 182, 125, 0.45); }
.box-icon { font-size: 16px; margin-bottom: 3px; }
.box-title { font-size: 9px; font-weight: 600; color: var(--text-dim); font-family: var(--font-mono); }

.connection-svg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 5;
}
.drag-hint {
  position: absolute; bottom: -26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-dim); opacity: 0.5;
  white-space: nowrap;
}

/* SECTIONS */
section { position: relative; z-index: 1; padding: 100px 48px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-title { font-size: 38px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 17px; color: var(--text-dim); line-height: 1.6; }

/* FEATURES */
.features { background: linear-gradient(180deg, transparent, rgba(112, 0, 255, 0.03), transparent); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.feature-card { position: relative; padding: 28px; border-radius: 16px; transition: all 0.4s; cursor: pointer; min-height: 260px; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-8px); border-color: rgba(0, 240, 255, 0.2); }
.feature-card:hover .feature-glow { opacity: 1; }
.glass { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); }
.feature-icon { width: 44px; height: 44px; margin-bottom: 18px; color: var(--accent-1); }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.feature-glow { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.1), transparent 70%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }

/* COMPARISON */
.comparison { background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.02), transparent); }
.comp-table { max-width: 1100px; margin: 0 auto; border-radius: 16px; overflow: hidden; }
.comp-inner { display: table; width: 100%; border-collapse: collapse; }
.comp-header, .comp-row { display: table-row; }
.comp-cell {
  display: table-cell; padding: 12px 14px; text-align: center;
  border-top: 1px solid var(--glass-border); vertical-align: middle;
  font-size: 12px; white-space: nowrap;
}
.comp-header { font-weight: 700; font-size: 12px; background: rgba(0, 240, 255, 0.05); }
.comp-cell:first-child { text-align: left; font-weight: 600; white-space: normal; min-width: 200px; padding-left: 16px; }
.comp-cell.highlight {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(112, 0, 255, 0.08));
  color: var(--accent-1); font-weight: 700;
}
.comp-cell .check { color: #2eb67d; font-size: 15px; }
.comp-cell .cross { color: #e01e5a; font-size: 15px; }
.comp-cell .warn { color: #ecb22e; font-size: 15px; }
.comp-cell .work { color: #00f0ff; font-size: 15px; }

/* ROADMAP */
.roadmap { background: linear-gradient(180deg, transparent, rgba(46, 182, 125, 0.035), transparent); }
.roadmap-board {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.roadmap-column {
  padding: 24px;
  border-radius: 16px;
  min-height: 100%;
}
.roadmap-column h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin-bottom: 18px;
}
.roadmap-stage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.18);
  font-size: 14px;
}
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.roadmap-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--glass-border);
}
.roadmap-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
}
.roadmap-item p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}
.roadmap-note {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* Tooltip support for comparison cells */
.tt-wrap { position: relative; cursor: help; display: inline-block; }
.tt-wrap .tooltip {
  visibility: hidden; opacity: 0;
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(15, 15, 25, 0.96);
  backdrop-filter: blur(16px);
  color: #e2e8f0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem; line-height: 1.4;
  width: 260px; text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 100; pointer-events: none; white-space: normal;
}
.tt-wrap .tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(15, 15, 25, 0.96);
}
.tt-wrap:hover .tooltip { visibility: visible; opacity: 1; transform: translateX(-50%) scale(1); }

/* Info icon on feature cards */
.feature-card .info-icon {
  position: absolute; top: 12px; right: 12px;
  width: 20px; height: 20px;
  border-radius: 50%; background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-1); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: help; z-index: 5; transition: all .2s;
}
.feature-card:hover .info-icon { background: rgba(0, 240, 255, 0.2); transform: scale(1.1); }
.feature-card .info-icon .tooltip {
  visibility: hidden; opacity: 0;
  position: absolute; bottom: calc(100% + 8px); right: -12px;
  width: 340px; transform: scale(0.95);
  background: rgba(15, 15, 25, 0.96);
  backdrop-filter: blur(16px);
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 240, 255, 0.15);
  font-size: 0.8rem; line-height: 1.5;
  text-align: left;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: all .2s ease;
  pointer-events: none;
  z-index: 200;
}
.feature-card .info-icon .tooltip a {
  color: var(--accent-1);
  text-decoration: underline;
  pointer-events: auto;
  font-weight: 600;
}
.feature-card .info-icon .tooltip b {
  color: #fff;
  display: block;
  margin-top: 8px;
  margin-bottom: 4px;
  font-weight: 700;
}
.feature-card .info-icon .tooltip::after {
  content: ''; position: absolute; top: 100%; right: 18px;
  border: 6px solid transparent;
  border-top-color: rgba(15, 15, 25, 0.96);
}
.feature-card .info-icon:hover .tooltip {
  visibility: visible; opacity: 1; transform: scale(1); pointer-events: auto;
}

/* BLOG */
.blog { background: linear-gradient(180deg, transparent, rgba(255, 0, 128, 0.02), transparent); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.blog-card { border-radius: 16px; overflow: hidden; transition: all 0.4s; display: block; text-decoration: none; color: inherit; }
.blog-card:hover { transform: translateY(-8px); border-color: rgba(255, 0, 128, 0.3); }
.blog-image { width: 100%; height: 180px; overflow: hidden; }
.blog-svg { width: 100%; height: 100%; transition: transform 0.5s; }
.blog-card:hover .blog-svg { transform: scale(1.05); }
.blog-content { padding: 28px; }
.blog-date { font-size: 12px; color: var(--accent-1); font-weight: 600; margin-bottom: 10px; font-family: var(--font-mono); }
.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; color: var(--text); }
.blog-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 4px 12px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 100px; font-size: 12px; color: var(--text-dim); }

/* CTA */
.cta-section { padding: 80px 48px; }
.cta-content { position: relative; max-width: 800px; margin: 0 auto; padding: 60px; border-radius: 24px; text-align: center; overflow: hidden; }
.cta-content h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.cta-content p { font-size: 17px; color: var(--text-dim); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.cta-decoration { position: absolute; top: 50%; right: 60px; transform: translateY(-50%); opacity: 0.1; }
.orbit { position: relative; width: 120px; height: 120px; }
.orbit-ring { position: absolute; border: 1px solid; border-radius: 50%; top: 50%; left: 50%; }
.ring-1 { width: 120px; height: 120px; border-color: var(--accent-1); animation: spin 10s linear infinite; }
.ring-2 { width: 80px; height: 80px; border-color: var(--accent-2); animation: spin 7s linear infinite reverse; }
.ring-3 { width: 40px; height: 40px; border-color: var(--accent-3); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 20px; font-weight: 800; color: var(--accent-1); }

/* FOOTER */
.footer { padding: 40px 48px; border-top: 1px solid var(--glass-border); background: var(--bg-light); position: relative; z-index: 1; }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-1); }
.footer-copy { font-size: 13px; color: var(--text-dim); opacity: 0.6; width: 100%; text-align: center; margin-top: 20px; font-family: var(--font-mono); }
.footer-download { width: 100%; text-align: center; margin-top: 16px; }
.download-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 8px;
  color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: all 0.3s; font-family: var(--font);
}
.download-link:hover { background: rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.3); color: var(--accent-1); transform: translateY(-2px); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding: 100px 32px 40px; gap: 32px; }
  .hero-visual { order: -1; width: 100%; max-width: 480px; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-board { grid-template-columns: 1fr; }
  .demo-float:not(.dragged) {
    left: auto;
    right: 16px;
    top: calc(100vh - 116px);
    width: auto;
    max-width: min(410px, calc(100vw - 32px));
  }
  .demo-float.dragged {
    right: auto;
    transform: none;
  }
  .cta-decoration { display: none; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-right { gap: 10px; }
  .nav-demo-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .hero { padding: 90px 20px 40px; }
  .hero-title { font-size: 28px; line-height: 1.2; }
  .hero-desc { font-size: 14px; line-height: 1.6; color: #a0a0b0; word-wrap: break-word; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .demo-float:not(.dragged) {
    left: auto;
    right: 12px;
    top: calc(100vh - 106px);
    width: auto;
    max-width: calc(100vw - 24px);
    padding: 12px;
    gap: 10px;
  }
  .demo-float.dragged {
    top: calc(100vh - 106px);
    padding: 12px;
    gap: 10px;
  }
  .demo-float-copy { max-width: min(260px, calc(100vw - 104px)); }
  .demo-float-copy strong { font-size: 12px; }
  .demo-float-copy span { font-size: 11px; }
  .demo-icon-btn {
    width: 40px;
    height: 40px;
  }
  .demo-modal {
    padding: 16px;
  }
  .demo-modal-card {
    padding: 28px 20px 22px;
    max-height: calc(100vh - 32px);
  }
  .demo-modal-card h2 {
    font-size: 22px;
  }
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .stat-card { min-width: 100px; padding: 14px 18px; flex: 1; }
  .hero-visual { display: none; }
  section { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .cta-content { padding: 40px 24px; }
  .cta-content h2 { font-size: 26px; }
  .comp-table { font-size: 11px; overflow-x: auto; }
  .comp-cell { padding: 8px 6px; font-size: 11px; }
  .comp-cell:first-child { min-width: 160px; font-size: 11px; }
  .footer-content { flex-direction: column; text-align: center; }
}


/* ═══ MOBILE TOOLTIP CLICK SUPPORT ═══ */
.info-icon.clicked .tooltip,
.info-icon:active .tooltip {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateX(-50%) scale(1) !important;
}

/* ═══ HAMBURGER MENU ═══ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}
.nav-close {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1001;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: block !important;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 20px;
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.active {
    display: flex !important;
  }
  .nav-close.active {
    display: block !important;
  }
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .info-icon .tooltip {
    width: 220px;
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  .demo-float,
  .demo-float.dragged,
  .demo-float:not(.dragged) {
    position: fixed;
    left: auto !important;
    right: 18px !important;
    top: auto !important;
    bottom: 18px !important;
    width: 58px;
    height: 58px;
    max-width: none;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
    transform: none !important;
  }

  .demo-float-copy {
    display: none;
  }

  .demo-float-actions {
    width: 100%;
    height: 100%;
  }

  .demo-icon-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
  }

  .demo-icon-btn svg {
    width: 23px;
    height: 23px;
  }
}
