/* Landing page. Shared base (body, panels, menu, buttons) comes from site.css. */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.2); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.05); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

.h1-tactical {
    background: linear-gradient(to right, #ffffff, var(--accent-blue));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 800; text-transform: uppercase; font-style: italic; letter-spacing: -0.02em;
}
.h2-tactical { font-weight: 700; text-transform: uppercase; font-style: italic; letter-spacing: -0.01em; color: #f1f5f9; }

/* cards */
.bento-card { overflow: hidden; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.bento-card:hover { border-color: rgba(59, 130, 246, 0.6); box-shadow: 0 0 40px rgba(59, 130, 246, 0.12); }
.lift { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.lift:hover { transform: translateY(-4px); }
a.card-link { text-decoration: none; color: inherit; display: block; }

/* hero */
.hero { padding: 2.5rem; }
@media (min-width: 768px) { .hero { padding: 3.5rem; } }
.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 75%); }
.hero-mesh .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; animation: drift 16s ease-in-out infinite alternate; }
.hero-mesh .b1 { width: 420px; height: 420px; right: -80px; top: -120px; background: #2563eb; }
.hero-mesh .b2 { width: 320px; height: 320px; left: 30%; bottom: -140px; background: #06b6d4; animation-duration: 21s; opacity: 0.28; }
.hero-mesh .b3 { width: 260px; height: 260px; right: 18%; bottom: 10%; background: #7c3aed; animation-duration: 25s; opacity: 0.25; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }
.hero-dish { position: absolute; right: 1.5rem; top: 1rem; opacity: 0.07; font-size: 9rem; z-index: 0; pointer-events: none; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.02; margin-bottom: 1.5rem; }
.shimmer {
    /* One tile = blue, a cyan highlight, blue again, so the repeat is seamless. The animation moves exactly one tile. */
    background: linear-gradient(100deg, #3b82f6 0%, #3b82f6 38%, #67e8f9 50%, #3b82f6 62%, #3b82f6 100%);
    background-size: 200% 100%; background-repeat: repeat-x;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: 0% 0; } }

.scan-form { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 36rem; }
.scan-form .field { flex: 1 1 14rem; font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; padding: 1rem 1.1rem; }
.scan-form .btn-tactical { padding: 1rem 2rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; box-shadow: 0 0 30px rgba(59, 130, 246, 0.35); }

.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.5rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; overflow: hidden; }
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip > div { background: rgba(5, 7, 10, 0.6); padding: 1rem 1.25rem; }
.stat-num { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 700; color: #f1f5f9; line-height: 1; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: #94a3b8; margin-top: 0.5rem; }

/* sig-int */
.sig-progress-bar { height: 2px; background: var(--accent-blue); width: 0%; transition: width 10s linear; }

/* news ticker */
.ticker { display: flex; align-items: stretch; max-width: 80rem; margin: 0 auto 1.5rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; background: rgba(13, 17, 23, 0.6); }
.ticker-label { flex: none; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; background: #1d4ed8; color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; }
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.75rem; white-space: nowrap; font-size: 0.85rem; color: #cbd5e1; text-decoration: none; }
.ticker-item:hover { color: #fff; }
.ticker-item .tag { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* reveal on scroll (only hides content once the script has run) */
body.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
body.reveal-ready .reveal.in { opacity: 1; transform: none; }

.num-tag { font-family: 'JetBrains Mono', monospace; color: var(--accent-blue); font-weight: 700; letter-spacing: 0.25em; font-size: 0.75rem; text-transform: uppercase; }
.chip { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid currentColor; }
.tool-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 10px; background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); font-size: 1.1rem; margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .ticker-viewport { overflow-x: auto; }
    body.reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}
