:root {
  --bg: #09090f;
  --panel: #0f172a;
  --panel-soft: rgba(255, 255, 255, 0.03);
  --primary: #7e00d2;
  --secondary: #3b82f6;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --glow: 0 25px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(126, 0, 210, 0.15), transparent 25%),
              radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.14), transparent 25%),
              var(--bg);
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: clamp(320px, 94vw, 1280px);
  margin: 0 auto;
  position: relative;
  padding-top: 120px;
  padding-left: clamp(16px, 4vw, 26px);
  padding-right: clamp(16px, 4vw, 26px);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(126, 0, 210, 0.24), rgba(10, 10, 18, 0.82));
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.35);
  z-index: 999;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: #f9fafb;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover { border-color: rgba(93, 200, 255, 0.35); transform: translateY(-1px); }

.head-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.head-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.head-nav a:hover {
  color: #f9fafb;
  background: linear-gradient(135deg, rgba(126, 0, 210, 0.18), rgba(59, 130, 246, 0.22));
  border-color: rgba(93, 200, 255, 0.35);
}

.head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.head-left img { height: 42px; }

.head-left h1 {
  font-size: 22px;
  letter-spacing: 1px;
  color: #f5f5f5;
  margin: 0;
}

.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 15px 40px rgba(126, 0, 210, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-button.large { padding: 14px 26px; font-size: 15px; }
.cta-button.full { display: block; text-align: center; width: 100%; }

.cta-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 50px rgba(126, 0, 210, 0.45);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.ghost-button.slim { padding: 10px 14px; }
.ghost-button.full { display: block; text-align: center; width: 100%; }

.ghost-button:hover {
  border-color: rgba(93, 200, 255, 0.45);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(93, 200, 255, 0.12));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

main { display: flex; flex-direction: column; gap: clamp(54px, 8vw, 86px); }

.section { scroll-margin-top: 120px; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  padding: clamp(110px, 14vw, 150px) clamp(12px, 4vw, 28px) clamp(86px, 10vw, 110px);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.02), rgba(126, 0, 210, 0.08));
  border: 1px solid var(--border);
  box-shadow: var(--glow);
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(126, 0, 210, 0.25), transparent 30%),
              radial-gradient(circle at 80% 10%, rgba(0, 188, 255, 0.25), transparent 32%),
              radial-gradient(circle at 60% 70%, rgba(59, 130, 246, 0.2), transparent 35%);
  filter: blur(10px);
  opacity: 0.9;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateZ(0);
  filter: saturate(1.1) contrast(1.05);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(126, 0, 210, 0.16);
  color: #e9d8ff;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.1;
  margin: 0;
  color: #f9fafb;
}

.lede { margin: 0; color: #cfd2dc; font-size: 17px; }

.action-row { display: flex; gap: 14px; flex-wrap: wrap; }

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

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #dfe2eb;
  font-weight: 600;
  font-size: 14px;
  transition: 0.25s ease;
}

.pill:hover { border-color: rgba(93, 200, 255, 0.35); box-shadow: 0 12px 32px rgba(93, 200, 255, 0.22); transform: translateY(-2px); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: -20% 40% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(93, 200, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.metric-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35); border-color: rgba(93, 200, 255, 0.28); }
.metric-card:hover::after { opacity: 1; transform: translateY(0); }

.metric-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.metric-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(126, 0, 210, 0.2), rgba(93, 200, 255, 0.22));
  color: #eaf2ff;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.metric-label { text-transform: uppercase; color: #9fa4b8; font-size: 12px; letter-spacing: 0.5px; }
.metric-value { font-size: 22px; font-weight: 800; color: #f7f7ff; }
.metric-hint { margin-top: 4px; color: #b6bbcc; font-size: 13px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #dfe2eb;
  font-weight: 600;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.hero-image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
  min-height: 420px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--glow);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.hero-image-box:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(93, 200, 255, 0.25); box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55); }

.robot-box { position: relative; width: 100%; height: 100%; max-height: 520px; animation: float 6s ease-in-out infinite; }

.animated-stroke { width: 100%; height: 100%; mix-blend-mode: lighten; opacity: 0.7; }

.animated-stroke path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  opacity: 0.55;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  animation: draw 8s ease-in-out infinite alternate, glow 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 7px rgba(126, 0, 210, 0.5));
}

.visual-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

.fact-card {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fact-card::after {
  content: "";
  position: absolute;
  inset: auto auto -40% 40%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(93, 200, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
}

.fact-card:hover { transform: translateY(-4px); border-color: rgba(93, 200, 255, 0.25); box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5); }
.fact-card:hover::after { opacity: 1; transform: translateY(0); }

.fact-label { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: linear-gradient(120deg, rgba(126, 0, 210, 0.2), rgba(93, 200, 255, 0.16)); color: #f4e7ff; font-weight: 700; font-size: 12px; letter-spacing: 0.3px; margin-bottom: 6px; }

.fact-card strong { display: block; color: #f7f7ff; font-size: 16px; margin-bottom: 6px; }
.fact-card p { margin: 0; color: #b6bbcc; font-size: 13px; }

.section { padding: 4px 0; }

.section-header { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }

.section h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); color: #f9fafb; }

.section-lede { margin: 0; color: #cfd2dc; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }

.why-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--glow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.why-card i { font-size: 22px; color: var(--secondary); }
.why-card h3 { margin: 6px 0 6px; }
.why-card p { margin: 0; color: var(--muted); }

.why-card:hover { transform: translateY(-4px); border-color: rgba(93, 200, 255, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

.feature-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--glow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(6px);
}

.icon-pill {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(126, 0, 210, 0.25), rgba(59, 130, 246, 0.25));
  color: #eaf2ff;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.feature-card h3 { margin: 10px 0 6px; }
.feature-card p { margin: 0; color: var(--muted); }

.feature-card:hover { transform: translateY(-4px); border-color: rgba(93, 200, 255, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }

.pricing { padding-bottom: 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--glow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-card.featured { border-color: rgba(126, 0, 210, 0.55); box-shadow: 0 25px 70px rgba(126, 0, 210, 0.25); }

.price-label { font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.price { font-size: 26px; font-weight: 800; color: #f9fafb; }

.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

.price-card:hover { transform: translateY(-4px); border-color: rgba(93, 200, 255, 0.35); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5); }

.trust .badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }

.logo-row { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.5px; }

.architecture {
  display: grid;
  gap: 22px;
}

.architecture-visual {
  background: linear-gradient(140deg, rgba(126, 0, 210, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(12px, 2vw, 18px);
  box-shadow: var(--glow);
}

.architecture-frame {
  margin: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.architecture-frame img {
  width: 100%;
  display: block;
  height: auto;
}

.developer .dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

.dev-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--glow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.dev-card pre {
  background: #0b1120;
  color: #e5e7eb;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow-x: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.dev-card ul { margin: 0; padding-left: 16px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

.dev-card p { margin: 0; color: var(--muted); }

.dev-card:hover { transform: translateY(-4px); border-color: rgba(93, 200, 255, 0.35); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }

footer {
  margin: 50px 0 30px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
}

.box-icons a {
  color: #9ca3af;
  margin: 0 8px;
  font-size: 22px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.box-icons a:hover { color: #f9fafb; transform: translateY(-2px); }

@keyframes draw { 0% { stroke-dashoffset: 2500; } 100% { stroke-dashoffset: 0; } }
@keyframes glow { 0% { stroke-opacity: 0.45; filter: drop-shadow(0 0 4px rgba(126, 0, 210, 0.3)); } 50% { stroke-opacity: 0.65; filter: drop-shadow(0 0 10px rgba(126, 0, 210, 0.6)); } 100% { stroke-opacity: 0.45; filter: drop-shadow(0 0 4px rgba(126, 0, 210, 0.3)); } }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-7px); } 100% { transform: translateY(0); } }

@media (max-width: 960px) {
  header { padding: 12px clamp(16px, 5vw, 22px); }
  .hero { padding: 100px clamp(14px, 5vw, 22px) 72px; }
  .hero-content { text-align: left; }
  .action-row { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .container { padding-top: 96px; }
  .head-left img { height: 36px; }
  header { align-items: flex-start; }
  .head-right { width: 100%; justify-content: flex-end; position: relative; }
  .menu-toggle { display: flex; }
  .nav-panel { display: none; position: absolute; top: 60px; right: 0; width: min(90vw, 340px); padding: 12px; flex-direction: column; gap: 10px; background: linear-gradient(135deg, rgba(9, 9, 15, 0.98), rgba(126, 0, 210, 0.22)); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
  body.menu-open .nav-panel { display: flex; }
  .head-nav { width: 100%; flex-direction: column; gap: 6px; padding: 0; background: transparent; border: none; box-shadow: none; }
  .head-nav a { width: 100%; text-align: left; padding: 10px 12px; }
  header .cta-button { display: none; width: 100%; justify-content: center; }
  body.menu-open header .cta-button { display: inline-flex; }
  body.menu-open { overflow: hidden; }
  .hero { padding: 92px 14px 66px; }
  .hero-content { align-items: flex-start; }
  .hero h1 { font-size: clamp(30px, 7vw, 44px); }
  .hero-image-box { min-height: 260px; padding: 12px; }
  .robot-box { max-height: 300px; }
  .metric-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
