/* babianwave.com — dark + orange, incident-management / status-dashboard style */
:root {
  --c-bg: #0d0d1a;
  --c-bg2: #111127;
  --c-bg3: #16162e;
  --c-border: rgba(255,255,255,0.08);
  --c-text: #e8e8f4;
  --c-muted: #8888aa;
  --c-orange: #ff9500;
  --c-orange2: #e65c00;
  --c-orange-dim: rgba(255,149,0,0.12);
  --radius: 12px;
  --max: 1200px;
  --font: 'Segoe UI', 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--c-orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,26,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.3px;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1; justify-content: center;
}
.nav-links a {
  color: var(--c-muted); font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange2));
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 9px 20px; border-radius: 8px; border: none; cursor: pointer;
  flex-shrink: 0; transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }

/* HERO */
.hero {
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at 60% 40%, rgba(255,149,0,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-orange-dim);
  border: 1px solid rgba(255,149,0,0.3);
  color: var(--c-orange); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--c-orange); border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.15; letter-spacing: -.04em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #ccd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: var(--c-muted);
  line-height: 1.7; margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange2));
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer;
  min-height: 48px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(255,149,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,149,0,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #fff; font-size: 16px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px;
  border: 1px solid var(--c-border);
  cursor: pointer; min-height: 48px; transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* HERO VISUAL — status dashboard panel */
.hero-visual {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 16px; overflow: hidden;
}
.panel-bar {
  background: var(--c-bg3);
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--c-border);
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.pd-red { background: #ef4444; }
.pd-yellow { background: #eab308; }
.pd-green { background: #22c55e; }
.panel-title { color: var(--c-muted); font-size: 13px; margin-left: 8px; font-weight: 500; }
.panel-body { padding: 24px 20px; }
.stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--c-border);
}
.stat-row:last-child { border-bottom: none; }
.stat-label { font-size: 13px; color: var(--c-muted); }
.stat-val { font-size: 15px; font-weight: 700; color: #fff; }
.stat-green { color: #22c55e; }
.stat-orange { color: var(--c-orange); }

/* TRUST STRIP */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-num { font-size: 1.8rem; font-weight: 900; color: var(--c-orange); }
.trust-desc { font-size: 12px; color: var(--c-muted); }

/* FEATURES */
.features { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--c-orange); margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.03em;
}
.section-head p { color: var(--c-muted); margin-top: 12px; max-width: 520px; margin-left: auto; margin-right: auto; }
.feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.feat-card {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: rgba(255,149,0,0.3); transform: translateY(-3px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--c-orange-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--c-muted); line-height: 1.65; }

/* STATUS SECTION */
.status-section { padding: 80px 0; background: var(--c-bg2); }
.status-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.status-board {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden;
}
.status-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.status-header h4 { font-size: 14px; font-weight: 700; }
.badge-ok {
  background: rgba(34,197,94,0.15); color: #22c55e;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
}
.status-item {
  display: flex; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--c-border); gap: 14px;
}
.status-item:last-child { border-bottom: none; }
.si-icon { font-size: 18px; flex-shrink: 0; }
.si-info { flex: 1; }
.si-name { font-size: 13px; font-weight: 600; }
.si-desc { font-size: 12px; color: var(--c-muted); }
.si-status { font-size: 12px; font-weight: 600; }
.si-ok { color: #22c55e; }
.si-warn { color: var(--c-orange); }

/* DOWNLOAD */
.download-section { padding: 80px 0; }
.dl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.dl-card {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  transition: border-color .2s;
}
.dl-card:hover { border-color: rgba(255,149,0,0.25); }
.dl-icon { font-size: 40px; margin-bottom: 16px; }
.dl-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.dl-card p { font-size: 13px; color: var(--c-muted); margin-bottom: 20px; }
.btn-dl {
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange2));
  color: #fff; font-size: 14px; font-weight: 700;
  padding: 11px 24px; border-radius: 8px; border: none;
  cursor: pointer; min-height: 44px; width: 100%;
  transition: opacity .2s;
}
.btn-dl:hover { opacity: .88; }

/* STEPS */
.steps-section { padding: 80px 0; background: var(--c-bg2); }
.steps-track {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; position: relative; margin-top: 48px;
}
.steps-track::before {
  content: '';
  position: absolute; top: 28px; left: calc(100%/6); right: calc(100%/6);
  height: 2px; background: linear-gradient(to right, var(--c-orange), var(--c-orange2));
}
.step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange), var(--c-orange2));
  color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px var(--c-bg2), 0 4px 20px rgba(255,149,0,0.4);
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--c-muted); }

/* CTA BAND */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255,149,0,0.1) 0%, rgba(230,92,0,0.05) 100%);
  border-top: 1px solid rgba(255,149,0,0.15);
  border-bottom: 1px solid rgba(255,149,0,0.15);
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; letter-spacing: -.03em; margin-bottom: 16px;
}
.cta-band p { color: var(--c-muted); font-size: 1rem; margin-bottom: 36px; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer;
  font-size: 15px; font-weight: 600; gap: 16px;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
details[open] .faq-q { color: var(--c-orange); }
.faq-icon { font-size: 18px; flex-shrink: 0; transition: transform .25s; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 18px;
  font-size: 14px; color: var(--c-muted); line-height: 1.7;
  border-top: 1px solid var(--c-border);
}

/* FOOTER */
.footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--c-muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--c-muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--c-muted); font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--c-border);
  font-size: 12px; color: var(--c-muted);
}
.risk-bar {
  background: var(--c-bg3);
  border-top: 1px solid var(--c-border);
  padding: 12px 24px;
  font-size: 11px; color: var(--c-muted); text-align: center; line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .steps-track { grid-template-columns: 1fr; gap: 24px; }
  .steps-track::before { display: none; }
  .status-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .feat-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-btns { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 9999; background: var(--c-orange); color: #fff; padding: 8px 16px; border-radius: 8px; }
