:root {
  --color-bg: #050708;
  --color-bg-soft: #0b1115;
  --color-surface: #0f171c;
  --color-surface-elevated: #132029;
  --color-text: #f5f5f5;
  --color-text-muted: #b8bec5;
  --color-primary: #ff7900;
  --color-primary-soft: #ff9a2f;
  --color-border: rgba(255, 122, 0, 0.3);
  --container-width: 1180px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgb(0 0 0 / 0.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

:target {
  scroll-margin-top: 6.5rem;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(var(--container-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: #fff;
  color: #000;
  padding: 0.65rem 0.9rem;
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: rgb(5 7 8 / 78%);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.brand span { color: var(--color-text-muted); font-size: 0.8rem; }

.nav-links { display: flex; list-style: none; gap: 1.5rem; padding: 0; margin: 0; }
.nav-links a { text-decoration: none; color: #d8dde2; font-weight: 700; font-size: 0.82rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1.25rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--color-primary); color: #111; }
.btn-outline { border-color: rgb(255 255 255 / 24%); background: transparent; color: var(--color-text); }

.hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(110deg, rgb(5 7 8 / 82%) 0%, rgb(11 17 21 / 68%) 45%, rgb(5 7 8 / 24%) 100%), url("./public/bg.png") center right / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.btn-primary { background: var(--color-primary); color: #111; }
.btn-outline { border-color: rgb(255 255 255 / 24%); background: transparent; color: var(--color-text); }


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 28%, rgb(255 121 0 / 18%), transparent 34%),
    radial-gradient(circle at 18% 82%, rgb(67 123 255 / 14%), transparent 38%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--color-primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
h1 span { color: var(--color-primary); }

h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); line-height: 1.1; margin: 0.5rem 0 1rem; }
.lead { color: var(--color-text-muted); max-width: 60ch; }

.hero-card,
.card,
.footer-wrap {
  backdrop-filter: blur(4px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 122 0 / 6%), transparent), var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.hero-card { padding: 1.8rem; }
.section { padding: 4.8rem 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.card { padding: 1.5rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgb(255 154 47 / 55%); box-shadow: 0 16px 34px rgb(0 0 0 / 30%); }
.card p { color: var(--color-text-muted); }

.process { background: linear-gradient(180deg, #071015, #0b141a); border-top: 1px solid rgb(255 255 255 / 8%); border-bottom: 1px solid rgb(255 255 255 / 8%); }
.process ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process li { color: var(--color-text-muted); border-top: 2px solid rgb(255 255 255 / 20%); padding-top: 0.8rem; }
.process strong { color: var(--color-primary-soft); margin-right: 0.4rem; }

.tech-list { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.tech-list li { padding: 0.5rem 0.8rem; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 4%); border-radius: var(--radius-pill); }

.site-footer { padding: 2rem 0 3.5rem; }
.footer-wrap { padding: 1.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-primary-soft);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgb(255 122 0 / 20%); }

.btn:active { transform: translateY(0); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid,
  .cards,
  .process ol {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.card { padding: 1.5rem; }
.card p { color: var(--color-text-muted); }

.process { background: linear-gradient(180deg, #071015, #0b141a); border-top: 1px solid rgb(255 255 255 / 8%); border-bottom: 1px solid rgb(255 255 255 / 8%); }
.process ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process li { color: var(--color-text-muted); border-top: 2px solid rgb(255 255 255 / 20%); padding-top: 0.8rem; }
.process strong { color: var(--color-primary-soft); margin-right: 0.4rem; }

.tech-list { display: flex; flex-wrap: wrap; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.tech-list li { padding: 0.5rem 0.8rem; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 4%); }

.site-footer { padding: 2rem 0 3.5rem; }
.footer-wrap { padding: 1.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }


@media (min-width: 901px) {
  .hero { background-attachment: fixed; }
}

@supports not (background-attachment: fixed) {
  .hero { background-attachment: scroll; }
}
