/* Variables */
:root {
  --color-bg: #070B14;
  --color-surface: #101827;
  --color-surface-hover: #162238;
  --color-primary: #10B981;
  --color-primary-hover: #34D399;
  --color-primary-soft: rgba(16, 185, 129, 0.12);
  --color-primary-pale: #A7F3D0;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-text: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-button-text: #04130E;
  --container-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.36);
  --shadow-glow: 0 0 0 1px rgba(16, 185, 129, 0.18), 0 20px 60px rgba(16, 185, 129, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* Base */
body {
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 16% 0%, rgba(16, 185, 129, 0.15), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(110, 231, 183, 0.08), transparent 26%),
    linear-gradient(180deg, #070B14 0%, #08101D 48%, #070B14 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  opacity: 0.34;
  pointer-events: none;
}

::selection {
  color: var(--color-text);
  background: rgba(16, 185, 129, 0.35);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(52, 211, 153, 0.78);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--color-primary-pale);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.14;
}

p {
  color: var(--color-text-secondary);
}

p a,
.faq-item a {
  color: var(--color-primary-hover);
  font-weight: 700;
  transition: color 160ms ease;
}

p a:hover,
.faq-item a:hover {
  color: var(--color-primary-pale);
}

/* Layout */
.section {
  padding: 92px 0;
}

.section-muted {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(16, 24, 39, 0.48);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.connect-grid h2 {
  margin-top: 8px;
  font-size: 42px;
}

.section-heading p,
.connect-grid p,
.text-stack p {
  margin-top: 14px;
  font-size: 18px;
}

.split-grid,
.connect-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(16px);
}

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

.logo-link {
  flex: 0 0 auto;
}

.header-logo {
  width: 150px;
  height: auto;
}

.header-cta {
  flex: 0 0 auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.main-nav a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--color-text-secondary);
  transition: color 160ms ease, background-color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
  background: var(--color-primary-soft);
}

/* Hero */
.hero-section {
  padding: 78px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.hero-content h1 {
  max-width: 790px;
  margin-top: 14px;
  font-size: 58px;
  line-height: 1.04;
}

.hero-text {
  max-width: 720px;
  margin-top: 22px;
  font-size: 20px;
}

.hero-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges,
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span,
.feature-strip span {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-text-secondary);
}

.cta-captions {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  font-size: 14px;
}

.cta-captions p {
  color: var(--color-text-muted);
}

.hero-visual {
  min-width: 0;
}

.connection-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(16, 24, 39, 0.96), rgba(22, 34, 56, 0.82)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.connection-panel::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(167, 243, 208, 0.12);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.panel-status {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px var(--color-primary-soft);
}

.service-orbit {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0;
  padding: 28px;
  border-radius: 22px;
  background: rgba(7, 11, 20, 0.42);
}

.service-orbit span {
  min-height: 58px;
  padding: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
}

.panel-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.panel-metrics article {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
}

.panel-metrics strong {
  display: block;
  color: var(--color-primary-hover);
  font-size: 24px;
  line-height: 1.1;
}

.panel-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Sections */
.work-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

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

/* Cards */
.cards-grid {
  display: grid;
  gap: 18px;
}

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

.use-grid,
.work-panel {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.step-card,
.work-panel article,
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(16, 24, 39, 0.78);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.card,
.work-panel article,
.faq-item {
  padding: 24px;
}

.card:hover,
.step-card:hover,
.work-panel article:hover,
.faq-item:hover {
  border-color: rgba(52, 211, 153, 0.42);
  background: var(--color-surface-hover);
}

.card h3,
.work-panel h3,
.faq-item h3 {
  font-size: 20px;
}

.card p,
.work-panel p,
.faq-item p {
  margin-top: 10px;
}

.card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary-pale);
  font-weight: 700;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  padding: 20px;
}

.step-card span {
  grid-row: span 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-button-text);
  font-weight: 800;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

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

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

.button-primary {
  background: var(--color-primary);
  color: var(--color-button-text);
  box-shadow: 0 12px 34px rgba(16, 185, 129, 0.18);
}

.button-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
}

.button-secondary {
  border-color: rgba(167, 243, 208, 0.28);
  background: rgba(255, 255, 255, 0.035);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: rgba(52, 211, 153, 0.62);
  background: var(--color-primary-soft);
}

/* FAQ */
.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 14px;
}

/* Footer */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--color-border);
  background: rgba(5, 8, 15, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr auto;
  gap: 32px;
  align-items: start;
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--color-text-muted);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav h3 {
  margin-bottom: 2px;
  font-size: 16px;
}

.footer-nav a {
  color: var(--color-text-secondary);
  transition: color 160ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-primary-hover);
}

.footer-year {
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 24px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .split-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 68px 0;
  }

  .hero-section {
    padding: 54px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section-heading h2,
  .connect-grid h2 {
    font-size: 30px;
  }

  .hero-text,
  .section-heading p,
  .connect-grid p,
  .text-stack p {
    font-size: 16px;
  }

  .header-logo {
    width: 132px;
  }

  .header-cta {
    display: none;
  }

  .hero-actions,
  .section-cta {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .services-grid,
  .use-grid,
  .work-panel,
  .panel-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-orbit {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-card span {
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 31px;
  }

  .section-heading h2,
  .connect-grid h2 {
    font-size: 27px;
  }

  .card,
  .work-panel article,
  .faq-item,
  .connection-panel {
    padding: 18px;
  }
}
