/* =========================================================
   CoverageInfo — Global Stylesheet
   Coverage Intelligence / Risk Visualization identity
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --canvas: #0F172A;
    --hero: #1E1B4B;
    --card: #1E293B;
    --chrome: #020617;
    --cta: #6366F1;
    --highlight: #A855F7;
    --accent: #38BDF8;
    --text-primary: #F8FAFC;
    --text-secondary: #E2E8F0;
    --border: #475569;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.font-mono,
.metric,
.data-value {
    font-family: 'JetBrains Mono', monospace;
}

::selection {
    background: var(--highlight);
    color: var(--chrome);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--chrome);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cta);
}

/* =========================================================
      Layered background — scanline grid + radial glow
      ========================================================= */
.bg-grid {
    background-image:
        linear-gradient(to right, rgba(71, 85, 105, 0.14) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(71, 85, 105, 0.14) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-glow-violet {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px circle at 15% 10%, rgba(99, 102, 241, 0.22), transparent 60%),
        radial-gradient(500px circle at 85% 30%, rgba(168, 85, 247, 0.18), transparent 60%);
}

.bg-glow-blue {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(550px circle at 80% 20%, rgba(56, 189, 248, 0.16), transparent 60%),
        radial-gradient(500px circle at 10% 80%, rgba(99, 102, 241, 0.16), transparent 60%);
}

.hero-surface {
    background: linear-gradient(180deg, var(--hero) 0%, var(--canvas) 100%);
    position: relative;
    overflow: hidden;
}

/* =========================================================
      Header / Footer chrome
      ========================================================= */
.site-header {
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.site-footer {
    background: var(--chrome);
    border-top: 1px solid var(--border);
}

/* =========================================================
      Logo mark — realistic coverage/shield icon built in CSS
      ========================================================= */
.logo-mark {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, var(--cta), var(--highlight));
    clip-path: polygon(50% 0%, 100% 20%, 100% 60%, 50% 100%, 0% 60%, 0% 20%);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.55);
}

.logo-mark i {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
    font-size: 16px;
}

/* =========================================================
      Cards
      ========================================================= */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    border-color: var(--cta);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.25), 0 12px 30px -12px rgba(99, 102, 241, 0.35);
}

.card-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--accent);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* =========================================================
      Signature element — Coverage Ring gauge (SVG stroke)
      ========================================================= */
.ring-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ring-track {
    stroke: var(--border);
    fill: none;
}

.ring-progress {
    fill: none;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1s cubic-bezier(.4, 0, .2, 1), stroke .4s ease;
}

.ring-value {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

/* Buttons */
.btn-cta {
    background: var(--cta);
    color: var(--text-primary);
    border: 1px solid var(--cta);
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.btn-cta:hover {
    background: #4f46e5;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(56, 189, 248, 0.06);
}

/* Progress / meter bars */
.meter-track {
    background: rgba(71, 85, 105, 0.35);
    border-radius: 999px;
    overflow: hidden;
}

.meter-fill {
    background: linear-gradient(90deg, var(--cta), var(--highlight));
    height: 100%;
    border-radius: 999px;
    transition: width .6s ease;
}

/* Timeline (Claim Vibe) */
.timeline-line {
    background: linear-gradient(180deg, var(--cta), var(--highlight), var(--accent));
    width: 2px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--canvas);
    border: 2px solid var(--cta);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
}

/* Checklist */
.check-item {
    border: 1px solid var(--border);
    background: rgba(30, 41, 59, 0.6);
    transition: border-color .2s ease, background .2s ease;
}

.check-item.checked {
    border-color: var(--highlight);
    background: rgba(168, 85, 247, 0.08);
}

.check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    flex-shrink: 0;
}

.check-item.checked .check-box {
    background: var(--highlight);
    border-color: var(--highlight);
}

/* Tag / pill */
.pill {
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

/* Table */
.data-table th {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    border-bottom: 1px solid rgba(71, 85, 105, 0.4);
}

/* Utility animations */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float {
    animation: floatY 5s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.pulse-glow {
    animation: pulseGlow 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Nav link underline */
.nav-link {
    position: relative;
    color: var(--text-secondary);
    transition: color .2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    width: 100%;
    background: var(--highlight);
}


html,
body {
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--canvas);
  color: var(--ink);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}