@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg: #0d1118;
  --bg-soft: #121926;
  --panel: #131b24;
  --panel-2: #181f2a;
  --text: #ecf2f9;
  --muted: #a8b4c7;
  --line: #2e3a4d;
  --accent: #4fb7ff;
  --accent-soft: #89d0ff;
  --accent-2: #7af0d2;
  --max: 1120px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  line-height: 1.45;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, rgba(93, 166, 255, 0.15), transparent 45%),
    radial-gradient(circle at 88% 4%, rgba(93, 166, 255, 0.12), transparent 35%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 60px,
      transparent 62px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 59px,
      transparent 60px
    );
  pointer-events: none;
  z-index: -1;
}

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.25rem 1rem 2.25rem;
}

.hero {
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(20, 28, 38, 0.9), rgba(10, 17, 26, 0.94)),
    radial-gradient(circle at 20% 10%, rgba(88, 192, 255, 0.15), transparent 48%),
    radial-gradient(circle at 85% 0%, rgba(122, 240, 210, 0.12), transparent 43%),
    linear-gradient(transparent 0 0);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.1rem 2rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.65;
  pointer-events: none;
}

.hero-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 10% 6%;
  border-radius: 999px;
  border: 1px dashed rgba(130, 211, 255, 0.22);
  transform: rotate(8deg);
  opacity: 0.65;
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.brand {
  margin: 0;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--muted);
}

.top-actions {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}

.skip {
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  line-height: 1.3;
  background: rgba(23, 30, 45, 0.5);
  backdrop-filter: blur(6px);
}

.motion-switch {
  background: transparent;
  color: #d4e7ff;
  border: 1px solid rgba(144, 214, 255, 0.4);
  border-radius: 999px;
  padding: 0.33rem 0.78rem;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-family: inherit;
}

.motion-switch:disabled {
  color: #6e8197;
  border-color: #3f4f65;
  cursor: not-allowed;
}

.motion-switch:hover {
  border-color: rgba(122, 240, 210, 0.7);
  color: #edfffa;
}

.motion-switch:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #101a2a, 0 0 0 3px rgba(122, 240, 210, 0.5);
}

.hero-content {
  position: relative;
}

.eyebrow {
  margin: 2rem 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
}

.eyebrow-accent {
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
  color: #7ef2d4;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: none;
}

.hero-content .eyebrow {
  margin-bottom: 0.82rem;
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5.3vw, 3.45rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.07rem;
}

.hero-subtitle {
  color: #eaf1fd;
  font-size: 1.06rem;
  max-width: 40ch;
}

.hero-summary {
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 60ch;
}

.cta {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #08101a;
}

.btn-primary:hover {
  background: #7bb6ff;
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

main {
  display: grid;
  gap: 1rem;
}

.panel {
  background: linear-gradient(190deg, rgba(19, 27, 36, 0.72), rgba(16, 24, 34, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.lead {
  color: var(--muted);
  margin-top: 0;
}

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0));
}

.card p {
  margin: 0.2rem 0 0;
  color: #c6d3e8;
}

.workflow {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.workflow li {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem;
}

.workflow li p {
  margin: 0;
  color: #c6d3e8;
  font-size: 0.95rem;
}

.step-index {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.7rem;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 0.65rem;
  background: rgba(93, 166, 255, 0.18);
  color: var(--accent);
  border: 1px solid rgba(93, 166, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
}

.workflow li::before {
  content: '';
  position: absolute;
  inset: auto 100% 1rem auto;
  width: 0.55rem;
  height: 2px;
  background: var(--line);
  transform: translateX(0.65rem);
}

.hero-canvas {
  mix-blend-mode: screen;
}

@media (max-width: 680px) {
  .top-actions {
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .motion-switch,
  .skip {
    font-size: 0.68rem;
    padding: 0.28rem 0.62rem;
  }
}

.workflow li:nth-child(3n)::before,
.workflow li:nth-child(6n)::before {
  display: none;
}

.benefits {
  padding-left: 1.25rem;
  margin: 0.9rem 0 0;
  color: #c6d3e8;
}

.benefits li {
  margin: 0.45rem 0;
}

.contact-list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.contact-list a {
  color: var(--text);
  text-decoration: none;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.contact-list a:hover {
  border-color: rgba(93, 166, 255, 0.45);
}

.contact-note {
  margin: 0.85rem 0 0;
  color: #a8bacf;
}

footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #a8b4c7;
}

@media (min-width: 860px) {
  .site-shell {
    padding-top: 1.8rem;
  }

  .hero,
  .panel {
    padding: 1.5rem;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 0.8rem;
  }

  .brand {
    font-size: 0.62rem;
  }

  .skip {
    font-size: 0.75rem;
  }

  h1 {
    font-size: 2rem;
  }

  .panel {
    padding: 1rem;
  }

  .hero-summary,
  .lead {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-canvas {
    display: none;
  }
}
