:root {
  --bg: #0a0a0f;
  --white: #fff;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --violet: #8b5cf6;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --blue-500: #3b82f6;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --teal-500: #14b8a6;
  --orange-500: #f97316;
  --amber-500: #f59e0b;
  --pink-500: #ec4899;
  --rose-500: #f43f5e;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --shadow-violet: 0 18px 40px rgba(76, 29, 149, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.9);
  outline-offset: 4px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    padding 300ms var(--ease),
    background 300ms var(--ease),
    border-color 300ms var(--ease),
    backdrop-filter 300ms var(--ease);
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand {
  font-size: 18px;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-600));
}

.brand-mark svg {
  width: 16px;
  height: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--zinc-400);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.nav-links a,
.header-cta,
.button,
.form-submit,
.work-card {
  transition:
    color 200ms var(--ease),
    background 200ms var(--ease),
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--bg);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.header-cta svg {
  width: 14px;
  height: 14px;
}

.header-cta:hover {
  color: #fff;
  background: var(--violet-400, #a78bfa);
  transform: scale(1.04);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 24px 88px;
}

.section-grid::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.2;
  pointer-events: none;
}

.orb-violet {
  background: var(--violet-600);
}

.orb-indigo {
  background: var(--indigo-600);
}

.orb-cyan {
  background: var(--cyan-500);
}

.hero-orb-left {
  top: -160px;
  left: -160px;
  width: 600px;
  height: 600px;
}

.hero-orb-right {
  top: 50%;
  right: -240px;
  width: 500px;
  height: 500px;
}

.hero-orb-bottom {
  bottom: 0;
  left: 33%;
  width: 400px;
  height: 400px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1024px, 100%);
  margin-inline: auto;
  text-align: center;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--zinc-400);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
}

.availability span,
.contact-note span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--emerald-400);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: 96px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.hero h1 span,
.section-heading h2 span,
.about-copy h2 span,
.contact-inner h2 span {
  display: block;
}

.mobile-only {
  display: none;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--violet), var(--indigo-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
}

.typed-line {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  color: var(--zinc-400);
  font-family: "Inter", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 20px;
  line-height: 1.4;
}

.cursor {
  display: inline-block;
  width: 1px;
  height: 24px;
  margin-left: 4px;
  background: currentColor;
  animation: blink 1s steps(2, start) infinite;
}

.hero-copy {
  max-width: 672px;
  margin: 0 auto 48px;
  color: var(--zinc-500);
  font-size: 18px;
  line-height: 1.625;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.button {
  min-height: 54px;
  padding: 16px 32px;
}

.button svg {
  width: 16px;
  height: 16px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--violet-600), var(--indigo-600));
  box-shadow: var(--shadow-violet);
}

.button-primary:hover,
.form-submit:hover {
  background: linear-gradient(90deg, var(--violet-500), var(--indigo-500));
  transform: scale(1.05);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--zinc-600);
  font-size: 12px;
}

.scroll-cue svg {
  width: 16px;
  height: 16px;
  animation: bounce 1s infinite;
}

.stats-section {
  padding: 64px 0;
  border-block: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
}

.stat span {
  color: var(--zinc-500);
  font-size: 14px;
  font-weight: 500;
}

.page-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.services-section,
.work-section,
.contact-section {
  background: var(--bg);
}

.services-orb {
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: #4338ca;
}

.work-orb {
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: #0e7490;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.33;
  text-transform: uppercase;
}

.section-kicker span {
  width: 48px;
  height: 1px;
  background: rgba(139, 92, 246, 0.5);
}

.section-kicker.centered {
  justify-content: center;
}

.section-heading h2,
.about-copy h2 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.section-heading p {
  max-width: 672px;
  color: var(--zinc-500);
  font-size: 18px;
  line-height: 1.625;
}

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition:
    background 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--surface-hover);
  transform: translateY(-6px) scale(1.01);
}

.service-card h3 {
  margin: 28px 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.service-card p {
  color: var(--zinc-500);
  font-size: 14px;
  line-height: 1.625;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.icon-violet {
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-500));
}

.icon-blue {
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
}

.icon-teal {
  background: linear-gradient(135deg, var(--emerald-500), var(--teal-500));
}

.icon-orange {
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.icon-pink {
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
}

.icon-cyan {
  background: linear-gradient(135deg, #0ea5e9, var(--cyan-500));
}

.about-section {
  border-block: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-copy p {
  max-width: 608px;
  margin-bottom: 16px;
  color: var(--zinc-400);
  font-size: 16px;
  line-height: 1.625;
}

.about-copy p.muted {
  margin-bottom: 32px;
  color: var(--zinc-500);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--zinc-400);
  font-size: 14px;
}

.avatar-stack {
  display: flex;
  margin-left: 2px;
}

.avatar-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-500));
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.avatar-stack svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.tech-panel {
  display: flex;
  flex-direction: column;
}

.tech-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--zinc-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.tech-label svg {
  width: 14px;
  height: 14px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--zinc-300);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.terminal-panel {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.terminal-top span:nth-child(1) {
  background: var(--rose-500);
}

.terminal-top span:nth-child(2) {
  background: var(--amber-500);
}

.terminal-top span:nth-child(3) {
  background: var(--emerald-500);
}

.terminal-top em {
  margin-left: 8px;
  color: var(--zinc-600);
  font-style: normal;
}

.terminal-panel code {
  display: grid;
  gap: 4px;
  color: var(--zinc-400);
  line-height: 1.45;
}

.terminal-panel code span {
  margin-top: 8px;
  color: #00e6a8;
}

.terminal-panel code span:first-child {
  margin-top: 0;
}

.terminal-panel code b {
  color: var(--zinc-400);
  font-weight: 400;
}

.terminal-panel .status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-400);
}

.status-line i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--emerald-400);
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.work-visual {
  display: grid;
  height: 208px;
  place-items: center;
}

.work-visual svg {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.22);
  stroke-width: 1.7;
}

.work-purple .work-visual {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(79, 70, 229, 0.1));
}

.work-blue .work-visual {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.3), rgba(37, 99, 235, 0.1));
}

.work-green .work-visual {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.3), rgba(13, 148, 136, 0.1));
}

.work-meta {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.work-meta strong {
  color: #fff;
  font-size: 16px;
}

.work-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--zinc-500);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  line-height: 1.45;
}

.work-meta svg {
  width: 16px;
  height: 16px;
  color: var(--zinc-600);
}

.contact-section {
  border-top: 1px solid var(--border-soft);
}

.contact-inner {
  width: min(768px, calc(100% - 48px));
  margin-inline: auto;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 24px;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.contact-inner p {
  margin-bottom: 48px;
  color: var(--zinc-500);
  font-size: 18px;
  line-height: 1.625;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  text-align: left;
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form label span {
  color: var(--zinc-400);
  font-size: 12px;
  font-weight: 600;
}

.field-wide {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.quote-form input {
  height: 46px;
  padding: 0 14px;
}

.quote-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 13px 14px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: var(--zinc-600);
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.form-submit {
  grid-column: 1 / -1;
  min-height: 56px;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--violet-600), var(--indigo-600));
  box-shadow: 0 22px 48px rgba(76, 29, 149, 0.4);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.form-submit svg {
  width: 16px;
  height: 16px;
}

.contact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--zinc-500);
  font-size: 14px;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  color: var(--zinc-500);
  font-size: 14px;
  letter-spacing: 0;
}

.footer-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-500), var(--indigo-600));
}

.footer-mark svg {
  width: 12px;
  height: 12px;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zinc-600);
  font-size: 12px;
}

.footer-line svg {
  width: 12px;
  height: 12px;
  color: var(--violet-500);
}

.copyright {
  color: var(--zinc-700);
  font-size: 12px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 72px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 20px 0;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .contact-inner {
    width: calc(100% - 48px);
  }

  .header-inner {
    min-height: 32px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 24px 96px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: 48px;
    line-height: 0.95;
  }

  .mobile-only {
    display: block;
  }

  .typed-line {
    font-size: 18px;
  }

  .hero-copy {
    max-width: 342px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-section {
    padding: 88px 0;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 40px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner h2 {
    font-size: 44px;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .form-submit {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .availability {
    margin-bottom: 34px;
  }

  .hero-actions {
    margin-top: 6px;
  }

  .stats-section {
    padding: 48px 0;
  }

  .stat strong {
    font-size: 40px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 36px;
  }

  .contact-inner h2 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
