*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #060d18;
  --bg-elevated: #0a1628;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #22d3ee;
  --accent-secondary: #34d399;
  --accent-soft: rgba(34, 211, 238, 0.15);
  --accent-glow: rgba(34, 211, 238, 0.35);
  --border: rgba(148, 163, 184, 0.12);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-circuit {
  position: fixed;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 60h30M90 60h30M60 0v30M60 90v30' stroke='%2322d3ee' stroke-width='0.5' opacity='0.15'/%3E%3Ccircle cx='60' cy='60' r='2' fill='%2334d399' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black 10%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--left {
  top: -200px;
  left: -200px;
  background: #0891b2;
}

.bg-glow--right {
  bottom: -250px;
  right: -150px;
  background: #059669;
}

/* Layout */
.header,
.main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(52, 211, 153, 0.1));
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent);
}

.logo__mark svg {
  width: 22px;
  height: 22px;
}

.logo__text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 5vw, 4rem) 4rem;
}

.hero {
  max-width: 720px;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__chip {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 2rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.9), rgba(6, 13, 24, 0.95));
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.12),
    inset 0 0 24px rgba(34, 211, 238, 0.05);
  animation: chipFloat 4s ease-in-out infinite;
}

.hero__chip-core {
  position: absolute;
  inset: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(52, 211, 153, 0.25));
  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.2);
}

.hero__chip-pin {
  position: absolute;
  background: rgba(34, 211, 238, 0.5);
  border-radius: 1px;
}

.hero__chip-pin--t,
.hero__chip-pin--b {
  width: 10px;
  height: 3px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__chip-pin--l,
.hero__chip-pin--r {
  width: 3px;
  height: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.hero__chip-pin--t { top: -6px; }
.hero__chip-pin--b { bottom: -6px; }
.hero__chip-pin--l { left: -6px; }
.hero__chip-pin--r { right: -6px; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  font-weight: 400;
}

.hero__services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.hero__services span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(10, 22, 40, 0.5);
  transition: border-color var(--transition), color var(--transition);
}

.hero__services span:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--text);
}

.hero__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.7;
}
