/* ============================================================
   Internet Lease Line (ILL) — Styles
   ============================================================ */

:root {
  --bg:           #ffffff;
  --panel:        #f0f8ff;
  --panel-border: rgba(66, 180, 230, 0.22);
  --blue:         #42b4e6;   /* light blue — primary */
  --blue-bright:  #29a0d4;   /* slightly deeper light blue */
  --cyan:         #e63946;   /* red — accent */
  --text:         #0b1b2e;
  --text-muted:   #5b7088;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 48px 16px 40px;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(66, 180, 230, 0.18) 0%,
    rgba(66, 180, 230, 0.05) 45%,
    transparent 70%
  );
  filter: blur(10px);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1;   }
}

.eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0 0 18px;
}

h1 {
  position: relative;
  z-index: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.subhead {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ── Dedicated-line visualisation ─────────────────────────── */
.line-viz {
  position: relative;
  z-index: 1;
  margin: 48px auto 0;
  max-width: 880px;
}

.line-viz svg {
  width: 100%;
  height: auto;
  display: block;
}

.dedicated-line {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(66, 180, 230, 0.55));
}

.endpoint {
  fill: var(--bg);
  stroke: var(--blue);
  stroke-width: 2;
}

.pulse {
  fill: var(--cyan);
  filter: drop-shadow(0 0 5px rgba(230, 57, 70, 0.65));
}

.line-labels {
  display: flex;
  justify-content: space-between;
  max-width: 880px;
  margin: 10px auto 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.line-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.line-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 14px;
  height: 2px;
  display: inline-block;
  border-radius: 2px;
}

.swatch.dedicated {
  background: var(--blue);
  box-shadow: 0 0 5px rgba(66, 180, 230, 0.55);
}

/* ── Feature grid ─────────────────────────────────────────── */
main { margin-top: 80px; }

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Cards start hidden; JS adds .is-visible to trigger entrance */
.card {
  background: var(--panel);
  border: 1px solid rgba(230, 57, 70, 0.22);
  border-radius: 14px;
  padding: 26px 22px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s ease;
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  border-color: rgba(230, 57, 70, 0.55);
  transform: translateY(-2px);
}

/* Stagger delay driven by data-delay attribute set in HTML */
.card[data-delay="1"] { transition-delay: 0.1s; }
.card[data-delay="2"] { transition-delay: 0.2s; }
.card[data-delay="3"] { transition-delay: 0.3s; }
.card[data-delay="4"] { transition-delay: 0.4s; }
.card[data-delay="5"] { transition-delay: 0.5s; }
.card[data-delay="6"] { transition-delay: 0.6s; }

.icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(230, 57, 70, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
footer1 {
  margin-top: 72px;
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--panel-border);
}

footer p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin: 0;
}

footer span { color: var(--cyan); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 680px) {
  .grid  { grid-template-columns: 1fr; }
  .page  { padding: 48px 18px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .card { opacity: 1; transform: none; }
}
