/* =========================================================
   PingPong Global — LED Blue Premium Theme
   ========================================================= */

:root {
  --bg-0: #000510;
  --bg-1: #02091f;
  --bg-2: #050f30;
  --blue-50:  #e6f1ff;
  --blue-100: #b8d4ff;
  --blue-200: #7faaff;
  --blue-300: #4c7eff;
  --blue-400: #2e5cff;
  --blue-500: #0040ff;
  --blue-600: #0033cc;
  --cyan:     #4cc9ff;
  --cyan-deep:#19a7ff;
  --neon:     #6ad0ff;
  --ink:      #cfe1ff;
  --ink-dim:  #7d92be;
  --line:     rgba(76, 201, 255, 0.18);
  --line-soft:rgba(76, 201, 255, 0.08);

  --glow-cyan: 0 0 12px rgba(76, 201, 255, 0.55), 0 0 32px rgba(76, 201, 255, 0.25);
  --glow-blue: 0 0 18px rgba(46, 92, 255, 0.6), 0 0 60px rgba(46, 92, 255, 0.25);
  --glow-soft: 0 0 1px rgba(127, 170, 255, 0.7);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-w: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  cursor: default;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }

::selection { background: rgba(76, 201, 255, 0.35); color: #fff; }

/* ---------- Background layers ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(46, 92, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 88% 10%, rgba(76, 201, 255, 0.25), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(0, 64, 255, 0.4), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-0) 100%);
}

.led-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(76, 201, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  animation: gridPulse 10s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.scanline {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(76, 201, 255, 0.06) 50%, transparent 100%);
  background-size: 100% 8px;
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: scan 8s linear infinite;
}
@keyframes scan {
  0%   { background-position: 0 -200px; }
  100% { background-position: 0 100vh; }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 255, 0.18) 0%, rgba(46, 92, 255, 0.08) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-core {
  position: relative;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
}
.loader-pulse {
  position: absolute;
  inset: 0;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: loaderPulse 1.8s var(--ease-out) infinite;
  box-shadow: var(--glow-cyan);
}
.loader-pulse:nth-child(2) { animation-delay: 0.3s; }
.loader-pulse:nth-child(3) { animation-delay: 0.6s; }
@keyframes loaderPulse {
  0%   { transform: scale(0.4); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.loader-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6em;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(76, 201, 255, 0.7);
  position: relative;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

section { position: relative; padding: 140px 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: var(--max-w);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 9, 31, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 999px;
  z-index: 100;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(76, 201, 255, 0.18);
}
.nav.is-scrolled {
  top: 12px;
  background: rgba(2, 9, 31, 0.85);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(76, 201, 255, 0.3), var(--glow-blue);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.logo-ball {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon), var(--blue-400));
  box-shadow: 0 0 10px rgba(76, 201, 255, 0.9), 0 0 22px rgba(46, 92, 255, 0.6);
  animation: ballBounce 2.4s var(--ease-in-out) infinite;
}
.logo-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: inset 0 0 10px rgba(76, 201, 255, 0.4);
  animation: ringSpin 6s linear infinite;
}
@keyframes ballBounce {
  0%, 100% { transform: translateX(-3px); }
  50%      { transform: translateX(3px); }
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.logo-text em {
  font-style: normal;
  font-weight: 400;
  color: var(--cyan);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--ink-dim);
  transition: color 0.25s ease;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
  transform-origin: center;
  box-shadow: 0 0 8px var(--cyan);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 20px;
  height: 2px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
  transition: 0.3s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); top: 17px; }

/* ---------- Buttons ---------- */
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
  isolation: isolate;
}
.cta-button svg { width: 16px; height: 16px; }

.cta-button.primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: #fff;
  box-shadow: 0 8px 24px rgba(46, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.cta-button.primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(135deg, var(--neon), transparent 40%, var(--blue-300));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(46, 92, 255, 0.6), 0 0 0 4px rgba(76, 201, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta-shine {
  position: absolute;
  top: 0; left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s var(--ease-out);
}
.cta-button.primary:hover .cta-shine { left: 150%; }

.cta-button.ghost {
  background: rgba(76, 201, 255, 0.06);
  color: var(--ink);
  border: 1px solid var(--line);
}
.cta-button.ghost:hover {
  background: rgba(76, 201, 255, 0.14);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.nav-cta {
  padding: 10px 18px;
  font-size: 13px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 92, 255, 0.45);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46, 92, 255, 0.6); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.04);
  box-shadow: var(--glow-soft);
  margin-bottom: 24px;
}
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: #fff;
}
.section-desc {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(120deg, var(--neon), var(--blue-200), var(--neon));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradMove 6s linear infinite;
}
@keyframes gradMove {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.glow-text {
  color: #fff;
  text-shadow:
    0 0 8px rgba(76, 201, 255, 0.7),
    0 0 24px rgba(46, 92, 255, 0.6),
    0 0 48px rgba(46, 92, 255, 0.3);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  padding: 180px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
}
.orb-1 { width: 520px; height: 520px; top: -120px; left: -120px;  background: radial-gradient(circle, var(--blue-500), transparent 70%); animation: orbFloat 18s var(--ease-in-out) infinite; }
.orb-2 { width: 460px; height: 460px; top: 30%; right: -160px;   background: radial-gradient(circle, var(--cyan), transparent 70%);     animation: orbFloat 24s var(--ease-in-out) infinite reverse; }
.orb-3 { width: 380px; height: 380px; bottom: -120px; left: 40%; background: radial-gradient(circle, var(--blue-400), transparent 70%); animation: orbFloat 20s var(--ease-in-out) infinite; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.05); }
  66%      { transform: translate(-50px, 50px) scale(0.95); }
}

.hero-content {
  width: 100%;
  max-width: 1100px;
  padding: 0 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(76, 201, 255, 0.05);
  border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: var(--glow-soft);
  backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
}
.title-line {
  display: flex;
  justify-content: center;
  gap: 0.3em;
  flex-wrap: wrap;
}
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
}
.reveal-word.is-in {
  animation: wordIn 1s var(--ease-out) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-dim);
  margin: 0 0 38px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-marquee {
  margin-top: 80px;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 36px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--blue-200);
  animation: marquee 30s linear infinite;
}
.marquee-track span { display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--blue-200);
  z-index: 3;
}
.scroll-dot {
  width: 24px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  box-shadow: var(--glow-soft);
}
.scroll-dot::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 16px); opacity: 0; }
}

/* ---------- Vision ---------- */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-card {
  position: relative;
  padding: 38px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(76, 201, 255, 0.04), rgba(2, 9, 31, 0.4));
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.vision-card:hover {
  transform: translateY(-8px);
  border-color: rgba(76, 201, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}
.card-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 255, 0.35), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  top: -80px; right: -80px;
  transition: opacity 0.5s ease;
}
.vision-card:hover .card-glow { opacity: 1; }
.card-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-shadow: var(--glow-soft);
  margin-bottom: 22px;
}
.vision-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.vision-card p {
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(46, 92, 255, 0.06), rgba(2, 9, 31, 0.5));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(76, 201, 255, 0.6);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), var(--glow-blue);
}
.service-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.5), transparent 50%, rgba(46, 92, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover .service-glow { opacity: 1; }

.service-tag {
  align-self: flex-start;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(46, 92, 255, 0.4);
}
.service-tag.soft {
  background: rgba(76, 201, 255, 0.12);
  color: var(--cyan);
  border: 1px solid var(--line);
  box-shadow: none;
}

.service-visual {
  position: relative;
  height: 180px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 60%, rgba(76, 201, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(46, 92, 255, 0.18), rgba(2, 9, 31, 0.6));
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
}
.service-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 201, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}
.service-svg {
  width: 70%;
  height: 70%;
  position: relative;
  z-index: 2;
  transition: transform 0.6s var(--ease-out);
  filter: drop-shadow(0 0 12px rgba(76, 201, 255, 0.4));
}
.service-card:hover .service-svg { transform: scale(1.08) rotate(-3deg); }

.service-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.service-body p {
  font-size: 14px;
  color: var(--ink-dim);
  margin: 0 0 18px;
  min-height: 42px;
}
.service-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.service-meta li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.service-meta li span { color: var(--ink-dim); }
.service-meta li strong { color: var(--neon); font-weight: 600; }

/* ---------- How (Steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(76, 201, 255, 0.04), rgba(2, 9, 31, 0.4));
  transition: all 0.4s var(--ease-out);
}
.step:hover {
  border-color: rgba(76, 201, 255, 0.55);
  box-shadow: var(--glow-cyan);
  transform: translateY(-6px);
}
.step-num {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--neon);
  background: radial-gradient(circle, rgba(76, 201, 255, 0.15), transparent 70%);
  box-shadow: var(--glow-cyan), inset 0 0 12px rgba(76, 201, 255, 0.3);
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(76, 201, 255, 0.3);
  border-radius: 50%;
  animation: stepRing 3s ease-in-out infinite;
}
@keyframes stepRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 0; }
}
.step-line {
  position: absolute;
  top: 70px;
  right: -12px;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  display: none;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.step p {
  font-size: 15px;
  color: var(--ink-dim);
  margin: 0;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  position: relative;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(46, 92, 255, 0.06), rgba(2, 9, 31, 0.5));
  overflow: hidden;
  text-align: left;
  transition: all 0.4s var(--ease-out);
}
.stat:hover {
  border-color: rgba(76, 201, 255, 0.55);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue);
}
.stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  background-size: 200% 100%;
  animation: barMove 3s linear infinite;
  box-shadow: 0 0 12px var(--cyan);
}
@keyframes barMove {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}
.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(76, 201, 255, 0.5);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-label {
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-left .section-title { text-align: left; }
.about-desc {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 30px;
}
.about-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.04);
  transition: all 0.3s ease;
}
.tag:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

.device-frame {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(46, 92, 255, 0.12), rgba(2, 9, 31, 0.7));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(76, 201, 255, 0.2);
}
.device-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--cyan), transparent 40%, var(--blue-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
}
.device-screen {
  background: radial-gradient(circle at top, rgba(46, 92, 255, 0.15), transparent 60%), rgba(0, 5, 16, 0.85);
  border-radius: 18px;
  padding: 28px;
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  position: relative;
}
.device-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0 0 18px;
  box-shadow: 0 0 10px var(--cyan);
}
.device-line + .device-row { margin-top: 0; }
.device-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(76, 201, 255, 0.15);
}
.device-row:last-of-type { border-bottom: 0; }
.device-key { color: var(--ink-dim); }
.device-val { color: var(--neon); font-weight: 600; text-shadow: 0 0 8px rgba(76, 201, 255, 0.5); }

.device-pulse {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--cyan);
}
.device-pulse span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  animation: pulseDot 1.4s ease-in-out infinite;
}
.device-pulse span:nth-child(2) { animation-delay: 0.2s; }
.device-pulse span:nth-child(3) { animation-delay: 0.4s; }
.device-pulse strong { margin-left: 10px; letter-spacing: 0.3em; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

/* ---------- Contact ---------- */
.contact { padding-bottom: 80px; }
.contact-card {
  position: relative;
  padding: 70px 60px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(46, 92, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(76, 201, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(46, 92, 255, 0.08), rgba(2, 9, 31, 0.6));
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 201, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  opacity: 0.5;
}
.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 255, 0.18), transparent 60%);
  filter: blur(80px);
  top: -200px;
  right: -200px;
}
.contact-text .section-title { text-align: left; }
.contact-text p { color: var(--ink-dim); margin: 0; }

.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.contact-actions .cta-button { font-size: 16px; padding: 16px 28px; }
.contact-meta {
  display: grid;
  gap: 14px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-meta div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.contact-meta span { color: var(--ink-dim); }
.contact-meta strong { color: var(--neon); font-family: 'Orbitron', monospace; }

/* ---------- Footer ---------- */
.footer {
  padding: 70px 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(2, 9, 31, 0.6));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand strong {
  display: block;
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand span { color: var(--ink-dim); font-size: 13px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin: 0 0 16px;
}
.footer-cols a {
  display: block;
  color: var(--ink-dim);
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-cols a:hover { color: var(--neon); transform: translateX(4px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  color: var(--ink-dim);
  font-size: 13px;
}
.heart {
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon);
  animation: heartBeat 1.4s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.25); }
}

/* ---------- Reveal Animations ---------- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .vision-grid   { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr; }
  .about-inner   { grid-template-columns: 1fr; gap: 50px; }
  .contact-card  { grid-template-columns: 1fr; padding: 50px 36px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  section { padding: 100px 0; }
  .container { padding: 0 22px; }
  .nav { padding: 10px 18px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(2, 9, 31, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 22px;
    gap: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  }

  .hero { padding-top: 140px; }
  .hero-marquee { margin-top: 50px; }

  .services-grid, .stats-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 24px; }
  .footer-cols  { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-up, .word { opacity: 1; transform: none; filter: none; }
}
