:root{
  --bg:#f5f7fa;
  --panel:#ffffff;
  --panel-2:#f8fbff;
  --line:rgba(88,101,133,.12);
  --line-strong:rgba(5,128,255,.26);
  --accent:#0580ff;
  --accent-2:#053ae0;
  --accent-soft:#eaf4ff;
  --txt:#1f2937;
  --txt-dim:#5f6b7a;
  --txt-faint:#98a5b3;
  --shadow-soft:0 8px 24px rgba(15,23,42,.06);
  --shadow-lift:0 20px 42px rgba(15,23,42,.12);
}

html,body{
  background-color:var(--bg)!important;
  background-image:linear-gradient(180deg,#ffffff 0%,#f5f8ff 320px,#f5f7fa 100%)!important;
  color:var(--txt);
}

body{
  color:var(--txt);
  font-size:17px;
  letter-spacing:0;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(5,128,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(5,128,255,.03) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(180deg,#000 0%,transparent 62%);
}

main,footer{position:relative;z-index:1}

.glow,.orb{display:none!important}

.bg-grid{
  background-image:
    linear-gradient(rgba(5,128,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(5,128,255,.035) 1px,transparent 1px)!important;
  background-size:72px 72px!important;
}

header.fixed,
.site-header{
  background:rgba(255,255,255,.9)!important;
  border-color:var(--line)!important;
  box-shadow:0 6px 22px rgba(15,23,42,.06)!important;
}

.nav-link::after{
  background:var(--accent)!important;
}

.lang-btn{
  border-radius:6px!important;
  border-color:var(--line-strong)!important;
  background:#fff;
  color:var(--txt-dim)!important;
}

.lang-btn:hover{
  background:var(--accent-soft)!important;
  color:var(--accent)!important;
}

.panel,
.card,
.sys-card,
.featured-card,
.saas-panel{
  background:var(--panel)!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  box-shadow:var(--shadow-soft)!important;
}

.panel:hover,
.card:hover,
.sys-card:hover,
.featured-card:hover{
  border-color:var(--line-strong)!important;
  box-shadow:var(--shadow-lift)!important;
}

.card,
.sys-card,
.featured-card{
  transition:transform .22s cubic-bezier(.2,.7,.3,1),border-color .22s,box-shadow .22s;
}

.card:hover,
.sys-card:hover,
.featured-card:hover{
  transform:translateY(-4px);
}

.hero-section{
  background:
    radial-gradient(circle at 82% 20%,rgba(5,128,255,.13),transparent 27%),
    radial-gradient(circle at 12% 76%,rgba(14,165,233,.12),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f2f7ff 100%)!important;
  border-bottom:1px solid rgba(5,128,255,.12);
  min-height:660px;
}

.hero-section::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(rgba(5,128,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(5,128,255,.045) 1px,transparent 1px)!important;
  background-size:58px 58px!important;
  mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 92%,transparent 100%);
}

.hero-section::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  background:rgba(5,128,255,.14);
}

.hero-section h1{
  color:#07142f!important;
}

.hero-section #heroTitleAccent{
  color:var(--accent)!important;
}

.hero-section #heroSub{
  color:#40516c!important;
}

.hero-section .hero-badge{
  background:#fff!important;
  border-color:rgba(5,128,255,.18)!important;
  color:#0759d6!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.hero-primary{
  background:#075bed!important;
  color:#fff!important;
  box-shadow:0 14px 28px rgba(5,91,237,.22)!important;
}

.hero-primary:hover{
  background:#064ec9!important;
}

.hero-secondary{
  background:#fff!important;
  color:#075bed!important;
  border-color:rgba(5,91,237,.35)!important;
}

.hero-secondary:hover{
  background:#eef6ff!important;
}

.hero-badge,
.section-badge{
  border-radius:999px!important;
  letter-spacing:0!important;
}

.hero-art{
  position:relative;
  margin:0;
  transform:translateX(4px);
  filter:drop-shadow(0 34px 70px rgba(15,42,95,.16));
}

.hero-art::before{
  content:"";
  position:absolute;
  inset:8% 2% 4% 12%;
  z-index:-1;
  border-radius:34px;
  background:linear-gradient(135deg,rgba(5,128,255,.18),rgba(14,165,233,.08));
  filter:blur(26px);
}

.hero-art img{
  display:block;
  width:112%;
  max-width:none;
  margin-left:-4%;
  max-height:560px;
  object-fit:contain;
  border-radius:24px;
}

.hero-console{
  position:relative;
  border:1px solid rgba(5,91,237,.16);
  border-radius:22px;
  background:#fff;
  box-shadow:0 34px 90px rgba(15,42,95,.13);
  padding:0;
  overflow:hidden;
}

.hero-console::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(5,128,255,.08),transparent 42%);
}

.hero-console > *{
  position:relative;
}

.console-layout{
  display:grid;
  grid-template-columns:156px minmax(0,1fr);
  min-height:344px;
}

.console-sidebar{
  background:linear-gradient(180deg,#053ae0 0%,#0646b7 100%);
  color:#fff;
  padding:22px 16px;
}

.console-brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:800;
  margin-bottom:24px;
}

.console-logo{
  width:26px;
  height:26px;
  border-radius:7px;
  background:rgba(255,255,255,.16);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.console-nav{
  display:grid;
  gap:10px;
}

.console-nav span{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 9px;
  border-radius:8px;
  color:rgba(255,255,255,.76);
  font-size:12px;
}

.console-nav span:first-child{
  background:rgba(255,255,255,.14);
  color:#fff;
  font-weight:800;
}

.console-dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background:currentColor;
}

.console-main{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  padding:24px;
}

.console-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#07142f;
  margin-bottom:20px;
}

.console-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  background:#ecfdf5;
  border:1px solid rgba(16,185,129,.22);
  padding:6px 10px;
  color:#047857;
  font-size:12px;
  font-weight:700;
}

.console-card,
.console-flow,
.console-system{
  background:#fff;
  border:1px solid rgba(226,232,240,.82);
  border-radius:10px;
  box-shadow:0 12px 28px rgba(15,23,42,.08);
}

.console-card{
  padding:16px;
}

.console-card strong{
  display:block;
  margin-top:8px;
  color:#111827;
  font-size:28px;
  line-height:1;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}

.console-card span,
.console-flow span,
.console-system span{
  color:var(--txt-dim);
  font-size:12px;
}

.console-flow{
  display:none;
}

.console-flow-line{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  gap:8px;
  margin-top:12px;
}

.console-flow-line b{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  border-radius:9px;
  background:#eef6ff;
  color:#0759d6;
  font-size:12px;
  font-weight:800;
}

.console-insights{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:12px;
  margin-top:16px;
}

.console-chart{
  min-height:112px;
  padding:16px;
  background:#fff;
  border:1px solid rgba(226,232,240,.82);
  border-radius:10px;
}

.chart-line{
  height:42px;
  margin-top:14px;
  background:
    linear-gradient(145deg,transparent 0 14%,#75a7ff 15% 18%,transparent 19% 34%,#075bed 35% 38%,transparent 39% 54%,#75a7ff 55% 58%,transparent 59% 72%,#075bed 73% 76%,transparent 77%),
    linear-gradient(180deg,transparent 0 49%,rgba(5,128,255,.12) 50%,transparent 51%);
  background-size:100% 100%,100% 14px;
}

.console-donut{
  min-height:112px;
  padding:16px;
  background:#fff;
  border:1px solid rgba(226,232,240,.82);
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:12px;
}

.donut{
  width:48px;
  height:48px;
  border-radius:999px;
  background:conic-gradient(#075bed 0 48%,#30d5a2 48% 72%,#7dd3fc 72% 100%);
  position:relative;
}

.donut::after{
  content:"";
  position:absolute;
  inset:13px;
  border-radius:999px;
  background:#fff;
}

.console-systems{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.console-system{
  padding:12px;
}

.console-system strong{
  display:block;
  color:#111827;
  font-size:13px;
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(5,128,255,.14);
  border-radius:10px;
  background:#fff;
  color:#0759d6;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  padding:10px 12px;
  font-size:13px;
  font-weight:700;
}

#key-systems{
  background:#fff;
  box-shadow:0 0 0 100vmax #fff;
  clip-path:inset(0 -100vmax);
}

#key-systems .featured-card{
  min-height:254px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border-color:rgba(5,128,255,.18)!important;
  padding:28px!important;
}

.featured-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:12px;
  background:#eef6ff;
  color:#0580ff;
  font-size:18px;
  font-weight:900;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}

.section-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:var(--accent-soft);
  border:1px solid rgba(5,128,255,.18);
  color:var(--accent);
  padding:.42rem .9rem;
  font-size:.82rem;
  font-weight:700;
}

.page-hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(5,128,255,.08),rgba(255,255,255,0) 44%),
    linear-gradient(180deg,#ffffff 0%,#f4f8ff 100%);
  border-bottom:1px solid var(--line);
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(5,128,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(5,128,255,.045) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(180deg,#000 0%,transparent 78%);
}

.page-hero > div{
  position:relative;
}

.hero-metrics,
dl[class*="rounded-2xl"]{
  border-radius:10px!important;
  box-shadow:var(--shadow-soft);
}

[style*="fdf3e7"],
[style*="fbeede"]{
  background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%)!important;
}

.cta-panel{
  background:linear-gradient(135deg,#ffffff 0%,#eef6ff 100%)!important;
}

a[class*="bg-[var(--accent)]"],
button[class*="bg-[var(--accent)]"]{
  background:var(--accent)!important;
}

a[class*="hover:bg-[#a9542f]"]:hover,
button[class*="hover:bg-[#a9542f]"]:hover{
  background:#006fe6!important;
}

.border-\[var\(--line\)\]{
  border-color:var(--line)!important;
}

.bg-\[var\(--panel-2\)\]{
  background-color:var(--panel-2)!important;
}

.reveal{
  will-change:opacity,transform;
}

h1,h2,h3{
  letter-spacing:0!important;
}

p{
  text-wrap:pretty;
}

::selection{
  background:rgba(5,128,255,.18);
}

@media (max-width:640px){
  body{font-size:16px}
  .panel,.card,.sys-card,.featured-card{border-radius:8px!important}
  .hero-art{transform:none;margin-top:8px}
  .hero-art img{max-height:none;border-radius:14px}
  .hero-console{padding:14px;border-radius:14px}
  .console-layout{display:block;min-height:0}
  .console-sidebar{display:none}
  .console-main{padding:0;background:transparent}
  .console-flow-line{grid-template-columns:1fr;gap:6px}
  .console-insights{grid-template-columns:1fr}
  .console-systems{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}
