:root {
  --bg: #0b1224;
  --bg-alt: #0f1a35;
  --panel: #0f1830;
  --card: #111c36;
  --card-alt: #0d1427;
  --accent: #ff6b35;
  --accent-2: #47c2ff;
  --text: #e9edf5;
  --muted: #a9b5cf;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(71, 194, 255, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(255, 107, 53, 0.12), transparent 32%),
    linear-gradient(135deg, var(--bg) 0%, #0f1428 50%, #0b1021 100%);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

html {
  scroll-behavior: auto;
  scroll-snap-type: none;
  overscroll-behavior: none;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 24, 48, 0.65);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-logo.small {
  width: 36px;
  height: 36px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ff9b63);
  color: #0b0f1c;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-mark.small {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.brand-tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

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

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav .pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  margin: 64px 0 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.visual-overlay {
  position: absolute;
  inset: auto 12px 12px 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(11, 18, 36, 0.82);
  border: 1px solid var(--line);
}

.visual-overlay .panel-title {
  margin: 0 0 4px;
}

.visual-overlay .panel-subtitle {
  margin: 0;
}

.hero-copy h1 {
  font-size: 48px;
  line-height: 1.1;
  margin: 12px 0 16px;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
}

.eyebrow {
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 600;
}

.cta-row {
  margin: 22px 0 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ff8d58);
  color: #0c101f;
}

.btn.primary:hover {
  box-shadow: 0 16px 32px rgba(255, 107, 53, 0.28);
  transform: translateY(-1px);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-metrics div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 28, 54, 0.6);
}

.metric-value {
  display: block;
  font-weight: 700;
  font-size: 20px;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.hero-panel {
  background: linear-gradient(160deg, var(--card), var(--card-alt));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.panel-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.panel-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.pill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.dot.green {
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.15);
}

.dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
}

.dot.blue {
  background: #60a5fa;
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.15);
}

.pill-title {
  font-weight: 700;
  margin: 0 0 2px;
}

.pill-body {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.panel-note {
  margin: 0 0 6px;
  color: var(--muted);
}

.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.section {
  margin: 56px 0;
}

.section.alt {
  padding: 38px 28px;
  border-radius: 16px;
  background: rgba(15, 24, 48, 0.6);
  border: 1px solid var(--line);
}

.section-header h2 {
  margin: 8px 0 12px;
  font-size: 32px;
  line-height: 1.3;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.14);
  border: 1px solid rgba(255, 107, 53, 0.35);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.approach-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.approach-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.approach-card .step {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
}

.approach-card h3 {
  margin: 0 0 6px;
}

.approach-card p {
  margin: 0;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(71, 194, 255, 0.18);
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.case-title {
  font-weight: 700;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.team-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.team-card figcaption {
  padding: 12px;
}

.team-card .name {
  margin: 0 0 4px;
  font-weight: 700;
}

.team-card .role {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  margin-bottom: 32px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(71, 194, 255, 0.12));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.contact-details {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  display: grid;
  gap: 12px;
}

.detail-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.detail-value {
  margin: 2px 0 0;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 8px 0;
  margin-top: 28px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.copyright {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .topbar {
    position: static;
  }

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

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-visual img {
    aspect-ratio: 3 / 2;
  }

  .hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

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

  .contact-details {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 12px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 16px 56px;
  }

  .topbar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 26px;
  }
}
