:root {
  --bg: #08111f;
  --bg-soft: #0f1b31;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --surface-3: rgba(255, 255, 255, 0.18);
  --text: #eaf2ff;
  --muted: #9eb0d1;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
  --primary: #6ea8fe;
  --accent: #8b5cf6;
  --hero-grad-1: #0f172a;
  --hero-grad-2: #1d4ed8;
  --hero-grad-3: #7c3aed;
  --hero-grad-4: #0ea5e9;
  --section-pad: 96px;
  --radius-xl: 28px;
  --nav-h: 76px;
}
html[data-theme="light"] {
  --bg: #eef4ff;
  --bg-soft: #dde8ff;
  --surface: rgba(255, 255, 255, 0.55);
  --surface-2: rgba(255, 255, 255, 0.72);
  --surface-3: rgba(255, 255, 255, 0.88);
  --text: #122033;
  --muted: #53637c;
  --border: rgba(18, 32, 51, 0.10);
  --shadow: 0 22px 70px rgba(31, 65, 114, 0.14);
  --primary: #2563eb;
  --accent: #7c3aed;
  --hero-grad-1: #e9f1ff;
  --hero-grad-2: #b8d2ff;
  --hero-grad-3: #ddd2ff;
  --hero-grad-4: #cceeff;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(79, 141, 253, 0.16), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.18), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 85%, black 15%));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before, body::after {
  content: "";
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.16;
  z-index: -2;
  pointer-events: none;
  animation: orbFloat 18s ease-in-out infinite;
}
body::before { left: -120px; top: 80px; background: linear-gradient(135deg, #2563eb, #7c3aed); }
body::after { right: -160px; top: 360px; background: linear-gradient(135deg, #06b6d4, #4f46e5); animation-delay: -8s; }
@keyframes orbFloat { 0%,100%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(20px,-30px,0) scale(1.05)} }
.container-xxl { max-width: 1320px; }
.glass { background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow); }
.glass-soft { background: var(--surface-2); border: 1px solid var(--border); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); }
.glass-panel { border-radius: var(--radius-xl); background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 78%, transparent), color-mix(in srgb, var(--surface) 90%, transparent)); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.text-muted-soft { color: var(--muted) !important; }
.section { position: relative; padding: var(--section-pad) 0; scroll-margin-top: calc(var(--nav-h) + 20px); }
.section-title { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.section-subtitle { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.topbar { position: sticky; top: 0; z-index: 1100; padding: 14px 0; transition: padding .25s ease; }
.topbar.scrolled { padding: 10px 0; }
.navbar-shell { border-radius: 999px; padding: 10px 14px; min-height: var(--nav-h); }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(79,141,253,.95), rgba(124,58,237,.95)); color: #fff; box-shadow: 0 10px 30px rgba(79,141,253,.35); }
.brand-name { font-weight: 800; letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.nav-links { gap: .35rem; flex-wrap: wrap; }
.nav-link-enterprise { color: var(--muted); text-decoration: none; padding: 11px 16px; border-radius: 999px; font-weight: 600; transition: all .2s ease; border: 1px solid transparent; }
.nav-link-enterprise:hover { color: var(--text); background: rgba(255,255,255,.06); border-color: var(--border); }
.nav-link-enterprise.active { color: var(--text); background: linear-gradient(135deg, rgba(79,141,253,.22), rgba(124,58,237,.16)); border-color: rgba(110,168,254,.26); }
.theme-btn, .hero-chip, .cta-btn, .ghost-btn { border-radius: 999px; }
.theme-btn { width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; }
.theme-btn:hover { transform: translateY(-1px); background: var(--surface-3); }
.hero { padding-top: 40px; padding-bottom: 60px; }
.hero-shell { position: relative; overflow: hidden; padding: 42px; border-radius: 36px; min-height: 700px; isolation: isolate; }
.hero-shell::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(110,168,254,.24), transparent 20%),
    radial-gradient(circle at 80% 22%, rgba(139,92,246,.22), transparent 18%),
    radial-gradient(circle at 70% 75%, rgba(14,165,233,.20), transparent 20%),
    linear-gradient(135deg, color-mix(in srgb, var(--hero-grad-1) 60%, transparent), color-mix(in srgb, var(--hero-grad-2) 40%, transparent), color-mix(in srgb, var(--hero-grad-3) 34%, transparent), color-mix(in srgb, var(--hero-grad-4) 28%, transparent));
  background-size: 160% 160%; animation: heroGradientMove 18s ease infinite; z-index: -2;
}
.hero-shell::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 80px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35)); z-index: -1; opacity: .45;
}
@keyframes heroGradientMove { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.hero-chip { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: var(--text); padding: 10px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hero-title { font-size: clamp(2.6rem, 1.8rem + 2.4vw, 5rem); line-height: 1.02; font-weight: 900; letter-spacing: -0.045em; margin-bottom: 1rem; max-width: 720px; }
.hero-title .accent { background: linear-gradient(135deg, #dbeafe, #93c5fd, #ddd6fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .hero-title .accent { background: linear-gradient(135deg, #1d4ed8, #6d28d9, #0f766e); -webkit-background-clip: text; background-clip: text; }
.hero-copy { font-size: 1.08rem; line-height: 1.9; color: color-mix(in srgb, var(--text) 78%, var(--muted) 22%); max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-btn { border: 0; padding: 13px 22px; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 18px 40px rgba(79,141,253,.22); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; display: inline-flex; align-items: center; gap: .65rem; }
.cta-btn:hover { transform: translateY(-2px); color: #fff; }
.ghost-btn { border: 1px solid var(--border); padding: 13px 22px; font-weight: 700; background: rgba(255,255,255,.06); color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .65rem; transition: all .2s ease; }
.ghost-btn:hover { color: var(--text); transform: translateY(-2px); background: rgba(255,255,255,.10); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; max-width: 620px; }
.stat-card { padding: 18px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.stat-value { font-weight: 900; font-size: 1.45rem; line-height: 1; margin-bottom: 8px; }
.stat-label { color: rgba(255,255,255,.74); font-size: .92rem; }
html[data-theme="light"] .stat-label { color: var(--muted); }
.hero-preview-wrap { position: relative; min-height: 100%; }
.floating-badge { position: absolute; padding: 10px 14px; border-radius: 16px; font-size: .88rem; font-weight: 700; z-index: 2; animation: floatSmall 6s ease-in-out infinite; }
.floating-badge.one { top: 18px; right: 18px; }
.floating-badge.two { left: -16px; top: 190px; animation-delay: -2s; }
.floating-badge.three { right: 30px; bottom: 24px; animation-delay: -4s; }
@keyframes floatSmall { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.product-shell { position: relative; padding: 16px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 80px rgba(0,0,0,.28); overflow: hidden; }
.product-window { border-radius: 22px; overflow: hidden; background: #0a1426; border: 1px solid rgba(255,255,255,.08); min-height: 540px; display: flex; flex-direction: column; }
html[data-theme="light"] .product-window { background: #f5f9ff; border-color: rgba(18,32,51,.08); }
.product-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.window-dots { display: inline-flex; gap: 7px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.window-dots span:nth-child(1) { background: #fb7185; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #34d399; }
.preview-toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.preview-tab { border: 1px solid transparent; color: var(--muted); background: rgba(255,255,255,.04); padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: all .2s ease; cursor: pointer; }
.preview-tab.active { color: var(--text); background: linear-gradient(135deg, rgba(79,141,253,.20), rgba(124,58,237,.16)); border-color: rgba(255,255,255,.12); }
.product-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); flex: 1 1 auto; }
.product-sidebar { padding: 18px; background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.06); }
.side-section + .side-section { margin-top: 18px; }
.side-title { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.side-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border-radius: 14px; color: var(--text); text-decoration: none; border: 1px solid transparent; background: transparent; margin-bottom: 6px; transition: all .18s ease; font-weight: 600; }
.side-link:hover, .side-link.active { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.08); color: var(--text); }
.side-link i { color: var(--primary); }
.product-content { padding: 18px; overflow: hidden; }
.preview-pane { display: none; height: 100%; animation: paneIn .25s ease; }
.preview-pane.active { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform: translateY(0);} }
.ui-grid { display: grid; gap: 16px; }
.ui-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-card { border-radius: 18px; padding: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); min-height: 120px; }
.metric { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.metric-sub { color: var(--muted); font-size: .92rem; }
.progress-shell { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; }
.progress-bar-lite { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .45s ease; }
.workflow-box { border-radius: 18px; padding: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.flow-step { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); min-height: 104px; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.flow-step.active { background: linear-gradient(135deg, rgba(79,141,253,.18), rgba(124,58,237,.14)); border-color: rgba(110,168,254,.24); transform: translateY(-2px); }
.flow-step.done { border-color: rgba(16,185,129,.30); background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.05)); }
.flow-step .step-head { font-size: .8rem; color: var(--muted); margin-bottom: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.flow-step .step-title { font-weight: 800; margin-bottom: 6px; }
.flow-step .step-text { color: var(--muted); font-size: .89rem; line-height: 1.55; }
.data-table-shell { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.data-table-shell table { margin: 0; color: var(--text); }
.data-table-shell th, .data-table-shell td { background: transparent !important; border-color: rgba(255,255,255,.06) !important; padding: 14px; vertical-align: middle; font-size: .94rem; }
.badge-soft { display: inline-flex; align-items: center; gap: .4rem; padding: 7px 11px; border-radius: 999px; font-weight: 700; font-size: .82rem; border: 1px solid transparent; }
.badge-soft.success { color: #a7f3d0; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.18); }
.badge-soft.warning { color: #fde68a; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.18); }
.badge-soft.primary { color: #bfdbfe; background: rgba(37,99,235,.14); border-color: rgba(37,99,235,.18); }
.feature-card, .module-card, .doc-card, .contact-card { height: 100%; border-radius: 22px; padding: 24px; }
.feature-icon, .module-icon, .doc-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 16px; background: linear-gradient(135deg, rgba(79,141,253,.18), rgba(124,58,237,.16)); color: var(--primary); border: 1px solid rgba(255,255,255,.08); }
.doc-icon-sm { width:44px; height:44px; border-radius:14px; font-size:1rem; }
.card-title-lg { font-size: 1.2rem; font-weight: 800; margin-bottom: .65rem; }
.card-copy { color: var(--muted); line-height: 1.8; margin-bottom: 0; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent); margin: 0 auto; max-width: 1040px; }
.docs-list { display: grid; gap: 14px; }
.doc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: all .18s ease; }
.doc-row:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); }
.doc-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.doc-name { font-weight: 800; margin-bottom: 3px; }
.doc-desc { color: var(--muted); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.contact-form .form-control, .contact-form .form-select { border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--text); padding: 14px 16px; min-height: 52px; box-shadow: none; }
.contact-form .form-control::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: rgba(110,168,254,.35); box-shadow: 0 0 0 4px rgba(79,141,253,.10); background: rgba(255,255,255,.08); color: var(--text); }
.contact-form textarea.form-control { min-height: 142px; resize: vertical; }
.footer { padding: 28px 0 50px; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .06s; } .delay-2 { transition-delay: .12s; } .delay-3 { transition-delay: .18s; } .delay-4 { transition-delay: .24s; }
.mobile-nav { display: none; }
.ai-console { white-space: pre-wrap; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.dropdown-menu.glass-soft { background: rgba(15, 23, 42, .92); }
@media (max-width: 1199.98px) {
  .hero-shell { padding: 28px; }
  .hero-stats { grid-template-columns: 1fr; max-width: 340px; }
  .product-body { grid-template-columns: 1fr; }
  .product-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}
@media (max-width: 991.98px) {
  .desktop-nav { display: none !important; }
  .mobile-nav { display: block; }
  .hero { padding-top: 20px; }
  .hero-shell { min-height: auto; }
  .flow-steps, .ui-grid.cols-2, .ui-grid.cols-3 { grid-template-columns: 1fr; }
  .hero-preview-wrap { margin-top: 26px; }
  .floating-badge { display: none; }
}
@media (max-width: 767.98px) {
  :root { --section-pad: 72px; }
  .navbar-shell { border-radius: 24px; }
  .hero-shell { padding: 20px; border-radius: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-btn, .ghost-btn { justify-content: center; }
  .product-content, .product-sidebar { padding: 14px; }
  .section-title { font-size: 1.8rem; }
  .doc-row { flex-direction: column; align-items: stretch; }
}