/* Base design system */
:root {
  --bg: #05070f;
  --bg2: #0a0f1f;
  --card: rgba(13, 19, 38, 0.82);
  --card-strong: rgba(10, 15, 31, 0.96);
  --blue: #1a2a6c;
  --red: #e64b3c;
  --orange: #ff6a2b;
  --yellow: #ffd84d;
  --grad-fire: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  --grad-core: linear-gradient(135deg, var(--orange), var(--red));
  --text: #f1f3ff;
  --muted: #98a0c4;
  --soft: #c8cee9;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 106, 43, 0.2);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.32);
  --mono: "DM Mono", monospace;
  --head: "Syne", sans-serif;
  --body: "Inter", sans-serif;
  --container: min(1600px, calc(100vw - 48px));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 106, 43, 0.12), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(230, 75, 60, 0.12), transparent 25%),
    linear-gradient(180deg, #05070f 0%, #070b14 45%, #05070f 100%);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav,
.section,
.site-footer {
  width: min(1600px, calc(100vw - 48px));
  max-width: none;
  margin: 0 auto;
}

.nav {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  width: 182px;
  height: 182px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 106, 43, 0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 24px rgba(255, 106, 43, 0.55));
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-wordmark strong {
  font-family: var(--head);
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav-wordmark > span {
  font-family: var(--mono);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-cta {
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.83rem;
  letter-spacing: 0.03em;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.nav-cta {
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-strong);
  color: var(--orange);
  background: rgba(255, 106, 43, 0.06);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 106, 43, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section {
  padding: 96px 0;
}

.section--hero {
  min-height: 82vh;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 56px);
  position: relative;
}

.section--alt {
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 24px -24px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 36px;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--mono);
  font-size: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--head);
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.4rem, 6.4vw, 7rem);
  max-width: 15ch;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

h1 em {
  font-style: normal;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.35rem;
}

.hero-sub,
.section-heading p,
.card p,
.process-card p,
.feature-list p,
.cta-panel p,
.band-grid p,
.footer-brand p,
.footer-meta,
.footer-contact {
  color: var(--muted);
}

.hero-copy {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  max-width: 68ch;
  line-height: 1.55;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.btn {
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-core);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 106, 43, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255, 106, 43, 0.32);
}

.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.partner-link {
  margin-top: 16px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-bar span,
.card-tag {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--mono);
}

.hero-panel {
  min-height: min(78vh, 920px);
  padding: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 72px) clamp(60px, 7vw, 110px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--card-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(
    to top,
    rgba(10, 15, 31, 0.85) 0%,
    rgba(10, 15, 31, 0.55) 40%,
    rgba(10, 15, 31, 0.2) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(100%, 780px);
  opacity: 0.08;
  filter: drop-shadow(0 0 60px rgba(255, 106, 43, 0.28));
  pointer-events: none;
  animation: floatLogo 12s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-54%);
  }
}

.hero-stat-card,
.stat-item,
.card,
.process-card,
.cta-panel,
.band-grid > div {
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(12px);
}

.hero-stat-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-md);
  max-width: 360px;
  z-index: 1;
}

.stat-label {
  margin: 0 0 8px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}cursor-glow

.stat-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 24ch;
}

.hero-stat-grid {
  position: absolute;
  left: clamp(24px, 3vw, 40px);
  right: clamp(24px, 3vw, 40px);
  bottom: clamp(10px, 1.5vw, 20px);
  display: grid;
  gap: 14px;
  z-index: 1;
}

.stat-item {cursor-glow
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
}

.stat-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section--band {
  padding-top: 12px;
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.band-grid > div {
  padding: 26px;
  border-radius: var(--radius-md);
}

.band-number {
  display: block;
  margin-bottom: 10px;
  font-family: var(--head);
  font-size: 2.2rem;
  color: var(--text);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading > p:last-child {
  max-width: 66ch;
  margin-top: 16px;
}

.card-grid,
.process-grid,
.two-column,
.cta-panel {
  display: grid;
  gap: 22px;
}

.card-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.card-grid > .card {
  grid-column: span 4;
}

.card-grid--services > .card {
  grid-column: span 3;
}

#partners .card-grid > .card {
  grid-column: span 4;
}

.card,
.process-card,
.cta-panel {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.card {
  padding: 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 43, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.card p {
  margin: 14px 0 0;
}

.card-tag {
  display: inline-flex;
  margin-bottom: 18px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 24px;
}

.process-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 106, 43, 0.12);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.9rem;
}

.process-card p,
.feature-list p,
.footer-brand p {
  margin: 10px 0 0;
}

.two-column {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list article:first-child {
  padding-top: 0;
}

.cta-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(20px, 3vw, 36px);
  padding: 30px;
}

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

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

.contact-form span {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 106, 43, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 100px;
  opacity: 0.85;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--head);
}

.footer-contact,
.footer-meta {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 0.95rem;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--text);
}

.cursor-glow {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.12), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  :root {
    --container: min(100vw - 40px, 1280px);
  }

  .nav,
  .section,
  .site-footer {
    width: min(100vw - 40px, 1280px);
  }

  .section--hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  }

  .card-grid > .card,
  .card-grid--services > .card,
  #partners .card-grid > .card {
    grid-column: span 6;
  }

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

@media (max-width: 860px) {
  :root {
    --container: calc(100vw - 28px);
  }

  .nav,
  .section,
  .site-footer {
    width: calc(100vw - 28px);
  }

  .nav {
    min-height: 108px;
  }

  .logo-img {
    width: 132px;
    height: 132px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: none;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(5, 7, 15, 0.96);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section--hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .hero-panel {
    min-height: 620px;
  }

  .hero-watermark {
    right: 0;
    width: min(92%, 620px);
  }

  .card-grid > .card,
  .card-grid--services > .card,
  #partners .card-grid > .card {
    grid-column: 1 / -1;
  }

  .two-column,
  .cta-panel,
  .process-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 20px);
  }

  .nav,
  .section,
  .site-footer {
    width: calc(100vw - 20px);
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 4.1rem);
    max-width: 11ch;
  }

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

  .hero-actions,
  .trust-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .nav-cta {
    width: 100%;
  }

  .logo-img {
    width: 108px;
    height: 108px;
  }

  .nav-wordmark strong {
    font-size: 1.45rem;
  }

  .nav-wordmark > span {
    font-size: 0.82rem;
  }

  .hero-panel {
    min-height: 520px;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .process-card,
  .cta-panel,
  .band-grid > div {
    padding: 22px;
  }

  .cursor-glow {
    display: none;
  }
}
