* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #e8e8e8;
    background: #0d0d0d;
    background-image: radial-gradient(ellipse at top, #1a1a2e 0%, #0d0d0d 70%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
}

.logo {
    height: 68px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.hero {
    min-height: 85vh;
    background: linear-gradient(180deg, #0d0d0d 0%, #12121f 50%, #0d0d0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(80, 100, 140, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: block;
    width: min(340px, 75vw);
    height: auto;
    margin: 0 auto 1.75rem;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,0.6));
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    background: linear-gradient(135deg, #fff 0%, #c0c0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
    color: #b0b0c0;
    font-weight: 400;
}

.subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
    color: #888;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #e0e0e8 100%);
    color: #111;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,255,255,0.15);
}

.section {
    padding: 5rem 0;
}

.section.dark {
    background: rgba(18, 18, 30, 0.6);
}

.section h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lead {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #ccc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(25, 25, 40, 0.7);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-card h3 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.2rem;
}

footer {
    background: #080808;
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    height: 110px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    color: #ccc;
}

/* insecurity.fyi intel section */
.eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8fa3c8;
    margin-bottom: 0.6rem;
}

.section.intel {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.section.intel h2 {
    margin-bottom: 1.2rem;
}

.inline-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.intel-grid {
    margin-top: 2.5rem;
}

.intel-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.intel-card p {
    flex: 1;
    color: #bbb;
}

.card-link {
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #8fa3c8;
    transition: color 0.3s ease;
}

.intel-card:hover .card-link {
    color: #fff;
}

.intel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.cta-button.secondary {
    background: transparent;
    color: #e8e8e8;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: none;
}

.cta-button.secondary:hover {
    border-color: #fff;
    color: #fff;
}

.intel-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(40, 50, 80, 0.55) 0%, rgba(25, 25, 40, 0.7) 100%);
    border: 1px solid rgba(143, 163, 200, 0.25);
}

.intel-banner .eyebrow {
    text-align: left;
}

.intel-banner h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

.intel-banner p {
    color: #ccc;
}

.intel-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 1.1rem;
}

.intel-quicklinks a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #ddd;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.intel-quicklinks a:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.intel-banner .cta-button {
    flex-shrink: 0;
}

.subhead {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-intel {
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

/* ---------- News Map card (live data from insecurity.fyi). Heat ramp = insecurity.fyi dark-theme --geo-* ---------- */
.nm {
  padding: 20px 22px 16px; margin: 2.5rem auto 0; max-width: 1100px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(18, 18, 28, 0.85); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; text-align: left;
  --bg: #12121c; --panel: rgba(25, 25, 40, 0.7); --ink: #e8e8e8; --muted: #9a9aae; --line: rgba(255,255,255,0.09);
  --accent: #8fa3c8;
  --geo-0: #23233a; --geo-1: #943031; --geo-2: #b13f40; --geo-3: #d75856; --geo-4: #e4857f; --geo-5: #f5c2bc; --geo-edge: #12121c;
}
.nm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.nm-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .72rem; font-weight: 600; color: var(--accent); }
.nm-title { font-size: 1.3rem; font-weight: 600; }
.nm-range { display: flex; gap: 4px; }
.nm-range button, .nm-reg {
  font: inherit; font-size: .8rem; color: var(--muted); background: transparent; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px; cursor: pointer; transition: all .2s;
}
.nm-range button[aria-pressed="true"] { color: #111; background: #e8e8ee; border-color: #e8e8ee; font-weight: 600; }
.nm-range button:hover, .nm-reg:hover, .nm-reg:focus-visible { border-color: rgba(255,255,255,.4); color: #fff; }

.nm-body { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; align-items: start; }
.nm-mapwrap { position: relative; display: block; border-radius: 10px; background: rgba(255,255,255,.02); }
.nm-map { display: block; width: 100%; height: auto; }
.nm .geo-c { fill: var(--geo-0); stroke: var(--geo-edge); stroke-width: .6; vector-effect: non-scaling-stroke; transition: fill .3s; }
.nm .geo-c:hover { stroke: #fff; stroke-width: 1.1; }
.nm .geo-dot { stroke: var(--muted); stroke-width: .8; }
.nm .geo-s1 { fill: var(--geo-1); } .nm .geo-s2 { fill: var(--geo-2); } .nm .geo-s3 { fill: var(--geo-3); }
.nm .geo-s4 { fill: var(--geo-4); } .nm .geo-s5 { fill: var(--geo-5); }
.nm-tip {
  position: absolute; pointer-events: none; background: rgba(10,10,15,.92); border: 1px solid var(--line);
  color: #fff; font-size: .78rem; padding: 3px 8px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -130%);
}

.nm-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nm-regions { display: flex; flex-wrap: wrap; gap: 6px; }
.nm-reg strong { color: #fff; font-variant-numeric: tabular-nums; margin-right: 3px; }
.nm-h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.nm-top { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.nm-top a { display: grid; grid-template-columns: minmax(0, 1fr) 70px 30px; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; font-size: .86rem; }
.nm-top a:hover .nm-name { color: #fff; text-decoration: underline; }
.nm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.nm-bar span { display: block; height: 100%; background: var(--geo-3); border-radius: 3px; }
.nm-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.nm-muted { color: var(--muted); font-size: .85rem; }

.nm-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.nm-legend { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: var(--muted); flex-wrap: wrap; }
.nm-sw { width: 14px; height: 9px; border-radius: 2px; display: inline-block; }
.nm-sw.geo-s0 { background: var(--geo-0); border: 1px solid var(--line); }
.nm-sw.geo-s1 { background: var(--geo-1); } .nm-sw.geo-s2 { background: var(--geo-2); } .nm-sw.geo-s3 { background: var(--geo-3); }
.nm-sw.geo-s4 { background: var(--geo-4); } .nm-sw.geo-s5 { background: var(--geo-5); }
.nm-lg-l { margin-right: 5px; }
.nm-open { color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.nm-open:hover { color: #fff; }
.nm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .nm { padding: 14px 12px; margin-top: 2rem; }
  .nm-body { grid-template-columns: 1fr; }
  .nm-top li:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nm * { transition: none !important; } }

@media (max-width: 768px) {
    .intel-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    nav {
        padding: 0.75rem 1rem;
    }
    .logo {
        height: 52px;
    }
    .hero {
        min-height: 70vh;
        padding-top: 90px;
    }
}