:root {
  --bg: #0a0e27;
  --text: #e6f6ff;
  --muted: #a0b3c6;
  --cyan: #00d4ff;
  --purple: #7c3aed;
  --green: #0ade87;
  --card: #0d1230;
  --border: rgba(0, 212, 255, 0.3);
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(120%) blur(12px);
  background: linear-gradient(180deg, rgba(10,14,39,0.9), rgba(10,14,39,0.6));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0 }
.brand-main { font-weight: 700; letter-spacing: 0.5px }
.brand-sub { display: block; font-weight: 600; font-size: 11px; color: var(--muted); opacity: 0.9; margin-top: 2px }
.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 20px;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #001018;
  box-shadow: 0 0 20px rgba(0,212,255,0.5), 0 0 40px rgba(124,58,237,0.25);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.btn-outline {
  border-color: rgba(255,255,255,0.16);
}
.btn:hover { transform: translateY(-2px) }
.btn-primary:hover { box-shadow: 0 0 26px rgba(0,212,255,0.7), 0 0 50px rgba(124,58,237,0.35) }
.btn-secondary:hover { box-shadow: 0 0 20px rgba(255,255,255,0.12) }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/motherboard.webp');
  background-size: cover;
  background-position: center top;
  filter: contrast(1.05) saturate(1.1) brightness(0.85);
  transform: translateZ(0);
}
.mobo-visual { position: absolute; inset: 0; pointer-events: none; z-index: 1 }
.mobo-visual svg { width: 100%; height: 100%; opacity: calc(0.5 + var(--glow, 0) * 0.18); transform: rotate(0deg) scale(var(--mobo-scale, 1)); transform-origin: center }
.mobo-visual .trace { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: calc(0.22 + var(--glow, 0) * 0.4) }
.mobo-visual .cap { fill: var(--purple); opacity: calc(0.22 + var(--glow, 0) * 0.5) }
.mobo-visual .runner { fill: none; stroke: var(--cyan); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; stroke-dasharray: 200 600; stroke-dashoffset: 0 }
.mobo-visual .runner.active { opacity: 0.85; animation: runDash 7s linear infinite }
.mobo-visual .highlight { stroke: var(--cyan) !important; stroke-width: 3; animation: pulseGlow 3.6s ease-in-out infinite }
.light-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,212,255,0.12) var(--light-start, 0%), rgba(0,212,255,0.06) calc(var(--light-start, 0%) + 14%), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mix-blend-mode: screen;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 20px at 20% -10%, rgba(0,212,255,0.35), transparent 40%), radial-gradient(1px 20px at 70% -10%, rgba(124,58,237,0.28), transparent 40%);
  background-repeat: repeat;
  animation: fall 10s linear infinite;
  opacity: 0.25;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 400px at 50% -200px, rgba(124,58,237,0.15), transparent 60%), radial-gradient(1200px 400px at 50% -260px, rgba(0,212,255,0.12), transparent 60%);
}
.hero .hero-content { position: relative; z-index: 3; text-align: center; }
.hero .hero-content { will-change: transform }
.hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 12px }
.hero .sub { font-size: clamp(16px, 2.6vw, 20px); color: var(--muted) }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 22px }
.trust-chips { display: flex; gap: 10px; justify-content: center; margin-top: 18px }
.chip { border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; background: rgba(13,18,48,0.6); box-shadow: 0 0 20px rgba(0, 212, 255, 0.18) }

.section { padding: 80px 0; position: relative }
.section h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 24px; text-align: center }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px }
.section::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, transparent, rgba(0,212,255,0.7), transparent); filter: blur(0.6px); animation: run 3s linear infinite }
.card {
  background: linear-gradient(180deg, rgba(13,18,48,0.9), rgba(13,18,48,0.7));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 0 0 0 rgba(0,212,255,0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,212,255,0.5), 0 0 30px rgba(124,58,237,0.25);
}
.card h3 { margin: 8px 0 10px }
.card p { color: var(--muted); margin: 0 }
.link { color: var(--cyan); text-decoration: none }
.link:hover { text-shadow: 0 0 8px rgba(0,212,255,0.6) }

.icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(90deg, rgba(0,212,255,0.2), rgba(124,58,237,0.2)); border: 1px solid var(--border); box-shadow: inset 0 0 20px rgba(0,212,255,0.28) }
.i-laptop { background-image: radial-gradient(circle at 70% 30%, rgba(0,212,255,0.45) 10px, transparent 12px) }
.i-desktop { background-image: radial-gradient(circle at 30% 70%, rgba(124,58,237,0.45) 10px, transparent 12px) }
.i-cloud { background-image: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.45) 12px, transparent 14px) }
.i-support { background-image: radial-gradient(circle at 65% 35%, rgba(0,212,255,0.45) 10px, transparent 12px) }
.i-puzzle { background-image: radial-gradient(circle at 40% 60%, rgba(124,58,237,0.45) 10px, transparent 12px) }
.i-speed { background-image: radial-gradient(circle at 55% 45%, rgba(0,212,255,0.45) 10px, transparent 12px) }
.i-expert { background-image: radial-gradient(circle at 45% 55%, rgba(124,58,237,0.45) 10px, transparent 12px) }
.i-pricing { background-image: radial-gradient(circle at 60% 40%, rgba(0,212,255,0.45) 10px, transparent 12px) }
.i-custom { background-image: radial-gradient(circle at 50% 50%, rgba(0,212,255,0.45) 10px, transparent 12px) }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start }
.contact-card { background: linear-gradient(180deg, rgba(13,18,48,0.92), rgba(13,18,48,0.78)); border: 1px solid rgba(0,212,255,0.4); border-radius: 16px; padding: 22px; box-shadow: 0 0 24px rgba(0,212,255,0.18) }
.info.line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.08) }
.info.line:last-child { border-bottom: none }
.info .label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted) }
.icon-sm { width: 18px; height: 18px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0,212,255,0.6)) }
.info .value { font-weight: 700; color: #ffffff; text-shadow: 0 0 8px rgba(0,212,255,0.18) }
.info .value { text-decoration: none }
.copy-btn { margin-left: auto; width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid rgba(0,212,255,0.5); background: rgba(255,255,255,0.06); color: var(--text); cursor: pointer; transition: box-shadow 180ms ease, transform 180ms ease }
.copy-btn:hover { box-shadow: 0 0 16px rgba(0,212,255,0.4); transform: translateY(-1px) }
.copy-btn .icon-sm { color: #ffffff; width: 14px; height: 14px }
.badge { display: inline-block; margin-top: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; background: rgba(13,18,48,0.6) }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px }
.btn-whatsapp { background: #25D366; color: #ffffff; font-weight: 700; box-shadow: 0 0 20px rgba(37,211,102,0.45), 0 0 30px rgba(0,212,255,0.25) }
.btn-whatsapp .icon-sm { color: #ffffff }
.btn-email { background: linear-gradient(90deg, var(--cyan), var(--purple)); color: #001018; font-weight: 700; box-shadow: 0 0 20px rgba(0,212,255,0.45), 0 0 30px rgba(124,58,237,0.25) }

.contact-form { display: grid; gap: 12px }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  outline: none;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 20px rgba(0,212,255,0.4); border-color: var(--cyan) }

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.6), 0 0 28px rgba(0, 212, 255, 0.25);
  z-index: 20;
  animation: pulse 2.4s infinite ease-in-out;
}
.floating-whatsapp svg { width: 28px; height: 28px; color: #ffffff; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) }

.clock-widget { position: fixed; left: 12px; top: 26px; z-index: 30; background: none; border: none; border-radius: 0; padding: 0; box-shadow: none; opacity: 0.65 }
.clock-widget #clock-time { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0; color: var(--text); font-family: inherit }

@keyframes pulse {
  0%, 100% { transform: scale(1) }
  50% { transform: scale(1.06) }
}
@keyframes fall { 0% { background-position: 0 -200px } 100% { background-position: 0 400px } }
@keyframes run { 0% { background-position: 0 0 } 100% { background-position: 100% 0 } }
@keyframes runDash { 0% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: -580 } }
@keyframes pulseGlow { 0%, 100% { stroke-opacity: 0.9; fill: #0e1436 } 50% { stroke-opacity: 0.25; fill: #161c3f } }

/* removed custom cursor */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease }
.reveal.in-view { opacity: 1; transform: translateY(0) }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr) }
  .contact-grid { grid-template-columns: 1fr }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr }
  .hero { min-height: 82vh }
  .hero .cta { flex-wrap: wrap }
  .light-overlay { background: linear-gradient(to bottom, rgba(0,212,255,0.18) var(--light-start, 0%), rgba(0,212,255,0.10) calc(var(--light-start, 0%) + 14%), transparent 60%) }
}
