/* ═══════════════════════════════════════════════════════════
   KKL TECHNOLOGY — About page
   ═══════════════════════════════════════════════════════════ */

.about-page .nav-links a.active { color: var(--ink); }
.about-page .nav-links a.active::after { transform: scaleX(1); }

/* ─── hero ───────────────────────────────────────────────── */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 92px;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% 10%, rgba(103, 232, 249, 0.16), transparent 62%),
    radial-gradient(900px 620px at 6% 100%, rgba(167, 139, 250, 0.26), transparent 62%),
    linear-gradient(135deg, #2e2a86 0%, #4338ca 48%, #6d28d9 100%);
}

.about-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.about-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 45% 40%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 45% 40%, #000 15%, transparent 78%);
}

.about-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
}
.ag-1 {
  width: 480px; height: 480px;
  right: -120px; top: -120px;
  background: rgba(34, 211, 238, 0.24);
  animation: aboutDrift 18s ease-in-out infinite alternate;
}
.ag-2 {
  width: 520px; height: 520px;
  left: -160px; bottom: -260px;
  background: rgba(167, 139, 250, 0.4);
  animation: aboutDrift 22s ease-in-out infinite alternate-reverse;
}
@keyframes aboutDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, 24px, 0) scale(1.08); }
}

.about-hero-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.ar-1 { width: 720px; height: 720px; right: -180px; top: -160px; }
.ar-2 { width: 980px; height: 980px; right: -310px; top: -290px; border-color: rgba(255, 255, 255, 0.045); }

.about-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.about-hero-copy { max-width: 610px; }
.about-hero .eyebrow { margin-bottom: 22px; }
.about-hero .eyebrow-light { color: rgba(255, 255, 255, 0.62); }
.about-hero .eyebrow-light .eyebrow-dot { background: var(--cyan); }

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 61px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
.about-grad {
  background: linear-gradient(100deg, #ffffff 0%, #c4b5fd 36%, #a5f3fc 74%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aboutGrad 8s ease-in-out infinite;
}
@keyframes aboutGrad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.about-intro {
  margin-top: 26px;
  max-width: 566px;
  font-size: 16px;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.79);
}

.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ─── network card ───────────────────────────────────────── */
.about-visual { position: relative; }
.network-card {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(8, 12, 28, 0.5);
  backdrop-filter: blur(16px);
  box-shadow: 0 50px 110px -32px rgba(2, 6, 23, 0.7);
  overflow: hidden;
}
.network-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.52);
}
.network-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6ee7b7;
  font-size: 7.5px;
}
.network-live i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
  animation: netPulse 2.2s infinite;
}
@keyframes netPulse { 50% { opacity: 0.35; } }

.network-map {
  background:
    radial-gradient(ellipse at 50% 66%, rgba(79, 70, 229, 0.22), transparent 62%),
    rgba(7, 11, 24, 0.35);
}
.network-map svg { display: block; width: 100%; height: auto; }

.network-arcs .arc {
  stroke-dasharray: 4 7;
  animation: arcFlow 5.6s linear infinite;
}
.network-arcs .arc:nth-child(2) { animation-delay: -1.4s; }
.network-arcs .arc:nth-child(3) { animation-delay: -2.8s; }
.network-arcs .arc:nth-child(4) { animation-delay: -4.2s; }
.network-arcs .arc:nth-child(5) { animation-delay: -5.2s; }
@keyframes arcFlow { to { stroke-dashoffset: -110; } }

.hub-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: hubPulse 4.4s ease-out infinite;
}
@keyframes hubPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.network-labels text {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}
.network-labels .hub-label { fill: #a5f3fc; font-size: 8px; letter-spacing: 0.13em; }
.network-labels .hub-sub { fill: rgba(255, 255, 255, 0.36); font-size: 6.5px; }

.network-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}
.network-foot span { display: inline-flex; align-items: center; gap: 5px; }
.network-foot i { width: 4px; height: 4px; border-radius: 50%; background: #67e8f9; }
.network-card-glow {
  position: absolute;
  inset: 12% -8% -10% 8%;
  background: radial-gradient(ellipse at 55% 50%, rgba(99, 102, 241, 0.45), transparent 66%);
  filter: blur(55px);
  z-index: 1;
}

/* ─── snapshot strip ─────────────────────────────────────── */
.about-strip {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0 38px;
}
.about-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.about-metric {
  padding-left: 30px;
  border-left: 1px solid #e8edf5;
}
.about-metric:first-child { padding-left: 0; border-left: 0; }
.about-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--ink);
}
.about-metric > span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.about-metric strong span { display: inline; margin: 0; font-size: inherit; color: inherit; letter-spacing: inherit; }

/* ─── responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-hero { padding: 130px 0 78px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .about-hero-copy { max-width: 700px; }
  .about-intro { max-width: 640px; }
  .about-visual { max-width: 560px; }
}

@media (max-width: 720px) {
  .about-hero { padding: 112px 0 62px; }
  .about-hero h1 { font-size: clamp(36px, 9.6vw, 44px); }
  .about-intro { font-size: 14.5px; line-height: 1.8; margin-top: 20px; }
  .about-actions { flex-direction: column; align-items: stretch; margin-top: 26px; }
  .about-actions .btn { width: 100%; }
  .network-head, .network-foot { padding-left: 14px; padding-right: 14px; }
  .about-strip { padding: 26px 0 30px; }
  .about-strip-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .about-metric { padding-left: 20px; }
  .about-metric:nth-child(odd) { padding-left: 0; border-left: 0; }
  .about-metric:nth-child(even) { border-left: 1px solid #e8edf5; }
  .about-metric strong { font-size: 30px; }
  .network-labels text { font-size: 9px; }
  .network-labels .hub-label { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-glow, .about-grad, .network-arcs .arc, .hub-ring, .network-live i { animation: none; }
}
