:root {
  --ab-ink: #0c1526;
  --ab-ink-2: #17223a;
  --ab-blue: #3157ff;
  --ab-blue-dark: #2445df;
  --ab-cyan: #48d7ff;
  --ab-green: #16a36b;
  --ab-red: #ea4d5a;
  --ab-yellow: #eaa526;
  --ab-soft: #f6f8fc;
  --ab-border: #e6eaf2;
  --ab-muted: #667085;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ab-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #d9e2ff; color: var(--ab-ink); }

.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .75rem 1rem; border-radius: .75rem; box-shadow: 0 10px 30px rgba(12,21,38,.15); }

.app-navbar { min-height: 74px; backdrop-filter: blur(12px); background: rgba(255,255,255,.93) !important; }
.navbar .nav-link { color: #3c465a; font-weight: 600; font-size: .95rem; }
.navbar .nav-link:hover { color: var(--ab-blue); }

.brand-word { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; color: var(--ab-ink); }
.brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; position: relative; }
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 10px;
  border: 3px solid var(--ab-blue);
}
.brand-mark::before { left: 1px; border-right: 0; border-radius: 7px 0 0 7px; }
.brand-mark::after { right: 1px; border-left: 0; border-radius: 0 7px 7px 0; }
.brand-mark span { width: 8px; height: 8px; background: var(--ab-blue); border-radius: 50%; box-shadow: 0 0 0 5px rgba(49,87,255,.12); }

.app-btn-primary { background: var(--ab-blue); border-color: var(--ab-blue); box-shadow: 0 9px 24px rgba(49,87,255,.2); }
.app-btn-primary:hover, .app-btn-primary:focus { background: var(--ab-blue-dark); border-color: var(--ab-blue-dark); transform: translateY(-1px); }
.btn { font-weight: 700; transition: all .18s ease; }

.hero-section { background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); position: relative; }
.py-lg-6 { padding-top: 6.5rem !important; padding-bottom: 6.5rem !important; }
.hero-title { letter-spacing: -.055em; line-height: .98; }
.hero-title span { color: var(--ab-blue); }
.hero-copy { max-width: 680px; line-height: 1.65; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #48546c; background: #fff; border: 1px solid var(--ab-border); padding: .55rem .8rem; border-radius: 999px; box-shadow: 0 6px 24px rgba(12,21,38,.06); }
.pulse-dot { width: 8px; height: 8px; background: #22b573; border-radius: 50%; box-shadow: 0 0 0 5px rgba(34,181,115,.12); display: inline-block; flex: 0 0 auto; }
.hero-proof span { display: inline-flex; align-items: center; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(5px); opacity: .55; pointer-events: none; }
.hero-glow-one { width: 480px; height: 480px; background: radial-gradient(circle, rgba(49,87,255,.16), rgba(49,87,255,0) 70%); right: -100px; top: -100px; }
.hero-glow-two { width: 350px; height: 350px; background: radial-gradient(circle, rgba(72,215,255,.14), rgba(72,215,255,0) 70%); left: 38%; bottom: -140px; }

.status-window { background: rgba(255,255,255,.94); border: 1px solid rgba(211,219,234,.9); border-radius: 24px; overflow: hidden; position: relative; transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); box-shadow: 0 28px 90px rgba(30,48,92,.15) !important; }
.status-window-top { padding: .85rem 1rem; border-bottom: 1px solid var(--ab-border); background: #fbfcff; }
.window-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff6b6b; }.dot-yellow { background: #ffd166; }.dot-green { background: #43c98e; }
.health-ring { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: conic-gradient(var(--ab-blue) 0 92%, #edf0f6 92% 100%); position: relative; }
.health-ring::after { content: ""; width: 61px; height: 61px; border-radius: 50%; background: white; position: absolute; }
.health-ring span { position: relative; z-index: 1; }
.status-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.status-card { border: 1px solid var(--ab-border); background: #fff; border-radius: 15px; padding: .9rem; display: flex; gap: .75rem; align-items: center; }
.status-card strong, .status-card span { display: block; }
.status-card strong { font-size: .86rem; }
.status-card span { color: var(--ab-muted); font-size: .75rem; margin-top: .1rem; }
.status-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; flex: 0 0 auto; }
.status-icon.success { background: #eaf8f2; color: #13835a; }
.status-icon.warning { background: #fff5dd; color: #b67808; }
.activity-panel { background: #f8faff; border: 1px solid var(--ab-border); border-radius: 16px; padding: 1rem; }
.activity-bars { height: 82px; display: flex; gap: 5px; align-items: end; }
.activity-bars span { flex: 1; min-width: 4px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #6883ff 0%, #3157ff 100%); opacity: .86; }
.alert-line { display: flex; align-items: center; gap: .55rem; font-size: .75rem; }

.platform-strip { background: #fff; }
.platform-label { letter-spacing: .12em; }
.platform-list span { font-size: 1.05rem; font-weight: 800; color: #647087; letter-spacing: -.02em; }
.platform-disclaimer { font-size: .72rem; }

.section-padding { padding: 6rem 0; }
.bg-soft { background: var(--ab-soft); }
.section-kicker { color: var(--ab-blue); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.section-heading { max-width: 760px; }
.section-heading h2, section h2 { letter-spacing: -.04em; }

.risk-card { background: white; border: 1px solid var(--ab-border); border-radius: 18px; padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease; }
.risk-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(22,34,61,.08); }
.risk-number { display: block; font-size: .78rem; color: #99a2b4; font-weight: 900; margin-bottom: 2.5rem; letter-spacing: .08em; }

.service-card { border: 1px solid var(--ab-border); border-radius: 22px; padding: 2rem; display: flex; gap: 1.4rem; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 55px rgba(22,34,61,.08); border-color: #d5dced; }
.service-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 1.45rem; font-weight: 900; flex: 0 0 auto; }
.icon-rescue { background: #fff0f2; color: #dd3545; }.icon-protect { background: #edf1ff; color: var(--ab-blue); }.icon-scale { background: #eaf8f2; color: #13835a; }.icon-maintain { background: #eef1f5; color: var(--ab-ink); }
.service-card h3 { letter-spacing: -.035em; }
.service-link { color: var(--ab-ink); font-weight: 800; text-decoration: none; }
.service-link:hover { color: var(--ab-blue); }

.health-section { background: radial-gradient(circle at 85% 20%, #223980 0, transparent 28%), linear-gradient(135deg, #0b1426 0%, #121e38 100%); position: relative; overflow: hidden; }
.health-section::after { content: ""; width: 420px; height: 420px; position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; right: -150px; bottom: -230px; box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015); }
.health-check-list span { color: rgba(255,255,255,.85); font-size: .94rem; }
.report-card { position: relative; z-index: 1; background: white; border-radius: 24px; padding: 2rem; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.report-score { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; color: #9b6200; background: conic-gradient(#f5b942 0 67%, #edf0f5 67% 100%); border: 7px solid #fff; box-shadow: 0 0 0 1px #e5e8ef; }
.report-row { display: grid; grid-template-columns: 12px 1fr auto; gap: .75rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #eff1f5; }
.report-row:last-of-type { border-bottom: 0; }
.report-row strong, .report-row small { display: block; }
.report-row small { color: var(--ab-muted); margin-top: .18rem; }
.report-row > span:last-child { font-size: .75rem; font-weight: 800; color: #667085; }
.report-dot { width: 9px; height: 9px; border-radius: 50%; }
.report-row.critical .report-dot { background: var(--ab-red); box-shadow: 0 0 0 5px rgba(234,77,90,.09); }
.report-row.warning .report-dot { background: var(--ab-yellow); box-shadow: 0 0 0 5px rgba(234,165,38,.10); }
.report-row.good .report-dot { background: var(--ab-green); box-shadow: 0 0 0 5px rgba(22,163,107,.10); }

.emergency-card { border: 1px solid #ffd2d7; background: linear-gradient(135deg,#fff7f8,#fff); border-radius: 24px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(193,49,65,.06); }
.emergency-pulse { width: 12px; height: 12px; border-radius: 50%; background: #e84855; box-shadow: 0 0 0 7px rgba(232,72,85,.12); }

.pricing-card { background: #fff; border: 1px solid var(--ab-border); border-radius: 22px; padding: 2rem; display: flex; flex-direction: column; position: relative; }
.pricing-card.featured { border: 2px solid var(--ab-blue); box-shadow: 0 22px 60px rgba(49,87,255,.12); }
.featured-badge { position: absolute; top: -14px; right: 22px; background: var(--ab-blue); color: #fff; font-size: .72rem; font-weight: 900; padding: .45rem .7rem; border-radius: 999px; }
.pricing-unit { font-size: .9rem; font-weight: 600; color: var(--ab-muted); }
.pricing-list { display: grid; gap: .7rem; margin: 1.2rem 0 2rem; color: #465167; font-size: .92rem; }

.human-support-visual { height: 390px; min-height: 340px; border-radius: 26px; background: linear-gradient(145deg,#0c1526,#142342); position: relative; overflow: hidden; box-shadow: 0 28px 70px rgba(16,27,54,.18); }
.support-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom,black,transparent); }
.support-terminal { position: absolute; left: 8%; right: 8%; top: 16%; bottom: 14%; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(5,11,23,.88); padding: 1.35rem; box-shadow: 0 22px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: .8rem; }
.support-terminal code { color: #d7ddea; font-size: .82rem; }
.terminal-top { display: flex; gap: .4rem; margin-bottom: .55rem; }
.terminal-top span { width: 9px; height: 9px; border-radius: 50%; background: #63708a; }
.terminal-cursor { animation: blink 1s steps(2,start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-quote { border-left: 4px solid var(--ab-blue); padding-left: 1.25rem; font-size: 1.2rem; font-weight: 700; line-height: 1.6; color: #303c52; }

.app-accordion .accordion-item { border-color: var(--ab-border); background: transparent; }
.app-accordion .accordion-button { background: transparent; font-weight: 800; padding: 1.35rem .25rem; color: var(--ab-ink); box-shadow: none; }
.app-accordion .accordion-button:not(.collapsed) { color: var(--ab-blue); }
.app-accordion .accordion-body { padding: 0 .25rem 1.5rem; line-height: 1.7; }

.contact-panel { border-radius: 28px; background: linear-gradient(140deg,#0c1526,#142344); box-shadow: 0 28px 80px rgba(15,27,56,.16); }
.contact-proof { display: flex; flex-direction: column; gap: .75rem; color: rgba(255,255,255,.82); font-weight: 600; }
.form-control, .form-select { border-color: #dfe4ed; border-radius: 12px; }
.form-control:focus, .form-select:focus { border-color: #8095ff; box-shadow: 0 0 0 .25rem rgba(49,87,255,.11); }
.form-label { font-weight: 700; font-size: .9rem; }

.footer { background: #fff; }
.footer a { display: block; color: #657086; text-decoration: none; margin-bottom: .55rem; font-size: .9rem; }
.footer a:hover { color: var(--ab-blue); }
.footer .navbar-brand { display: inline-flex !important; }
.footer-copy { max-width: 420px; }

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .navbar-nav .btn { width: 100%; margin-top: .35rem; }
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4.5rem !important; }
  .hero-title { font-size: clamp(3.2rem, 11vw, 5rem); }
  .status-window { transform: none; }
  .section-padding { padding: 4.5rem 0; }
}

@media (max-width: 575.98px) {
  .status-grid { grid-template-columns: 1fr; }
  .status-window-top > span:nth-child(2) { display: none; }
  .report-card, .pricing-card, .service-card { padding: 1.45rem; }
  .service-card { flex-direction: column; }
  .emergency-card { padding: 1.6rem; }
  .hero-proof { flex-direction: column; gap: .5rem !important; }
  .activity-bars { gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Added service variants and live form integration */
.icon-product { background: #edf1ff; color: #3157ff; }
.icon-project { background: #e8f9fd; color: #087c98; }
.turnstile-slot { min-height: 65px; display: flex; align-items: center; }
form [type="submit"]:disabled { cursor: wait; opacity: .75; }
