:root {
  --bg: #05070c;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #e9f1ff;
  --muted: #a6b3c7;
  --accent: #ffb347;
  --accent-2: #4dd0ff;
  --accent-3: #7cf4ad;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --font: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: radial-gradient(circle at 20% 20%, rgba(77, 208, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255, 179, 71, 0.16), transparent 28%),
    radial-gradient(circle at 40% 80%, rgba(124, 244, 173, 0.12), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding: 32px clamp(20px, 5vw, 48px) 48px;
  max-width: calc(var(--max-width) + 96px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 16px;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #111;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.logo-type {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--muted);
}

.logo-name {
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}

.logo-tagline {
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 160ms ease, transform 160ms ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.05;
  margin: 12px 0;
}

.hero-copy .lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 540px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-2);
  margin: 0;
}

.actions {
  display: flex;
  gap: 14px;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 200ms ease, border-color 160ms ease, background 160ms ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0c10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--panel);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--panel-strong);
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.metric-value {
  display: block;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  filter: blur(50px);
  opacity: 0.75;
  z-index: 0;
  border-radius: 50%;
}

.orb-primary {
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 179, 71, 0) 70%);
  top: 6%;
  right: 10%;
}

.orb-secondary {
  background: radial-gradient(circle, var(--accent-2) 0%, rgba(77, 208, 255, 0) 70%);
  bottom: 0;
  left: 5%;
}

.frame {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
}

.frame-top,
.frame-bottom {
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 12, 0.7);
}

.frame-bottom {
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.frame-body {
  padding: 22px 18px 26px;
  position: relative;
  background: radial-gradient(circle at 30% 20%, rgba(77, 208, 255, 0.1), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(255, 179, 71, 0.12), transparent 40%),
    rgba(7, 10, 16, 0.7);
}

.glow-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 6px;
  width: 80%;
}

.glow-card strong {
  font-size: 22px;
}

.glow-card .tiny {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pulse {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 244, 173, 0.6) 0%, rgba(124, 244, 173, 0) 70%);
  right: 22px;
  top: 18px;
  animation: float 5s ease-in-out infinite;
  opacity: 0.7;
}

.ticker {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  overflow: hidden;
  color: var(--accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker span {
  white-space: nowrap;
  position: relative;
}

.section {
  margin-top: 72px;
}

.section-header h2 {
  margin: 8px 0 8px;
  font-size: clamp(26px, 4vw, 40px);
}

.section-header .lede {
  color: var(--muted);
  max-width: 720px;
  margin: 8px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card h3 {
  margin: 0;
}

.badge {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  color: #0a0c10;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 6px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.work-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.work-image {
  height: 160px;
  background-size: 200% 200%;
  animation: shift 8s ease-in-out infinite;
}

.gradient-a {
  background-image: linear-gradient(125deg, #4dd0ff, #7cf4ad, #ffb347);
}

.gradient-b {
  background-image: linear-gradient(125deg, #ffb347, #ff5f6d, #4dd0ff);
}

.gradient-c {
  background-image: linear-gradient(125deg, #7cf4ad, #1e90ff, #ffb347);
}

.work-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.work-body h3 {
  margin: 0;
}

.work-body p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.process-steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  color: #0a0c10;
  font-weight: 800;
}

.step p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact {
  background: linear-gradient(145deg, rgba(77, 208, 255, 0.08), rgba(255, 179, 71, 0.08));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--accent-2);
  border-color: rgba(77, 208, 255, 0.6);
}

.site-footer {
  margin-top: 64px;
  padding: 18px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@keyframes shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: static;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .frame {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
