:root {
  --navy-900: #0b1220;
  --navy-800: #101a30;
  --navy-700: #14223d;
  --steel-500: #7c8aa5;
  --steel-300: #b7c1d6;
  --ice-100: #f4f6fb;
  --cloud-100: #eef1f7;
  --emerald-500: #00e87a;
  --emerald-600: #00c066;
  --blue-400: #38bdf8;
  --blue-500: #0ea5e9;
  --amber-400: #f4c542;
  --shadow-1: 0 10px 30px rgba(10, 18, 32, 0.15);
  --shadow-2: 0 18px 50px rgba(10, 18, 32, 0.2);
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--navy-900);
  background: var(--ice-100);
}

button {
  font-family: inherit;
}

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

svg {
  display: block;
}

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

label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-500);
  font-weight: 600;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.page-section {
  display: none;
  animation: fadeUp 0.5s ease forwards;
}

.page-section.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-mark {
  height: 40px;
  width: auto;
}

.logo-text span:first-child {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 26px;
  letter-spacing: 0.2em;
  color: white;
}

.logo-text span:last-child {
  font-size: 10px;
  letter-spacing: 0.34em;
  font-weight: 600;
  color: var(--emerald-500);
}

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

.nav-links button {
  background: transparent;
  border: none;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 8px 0;
}

.nav-links button.active,
.nav-links button:hover {
  color: white;
}

.nav-links button.active {
  color: var(--emerald-500);
}

.nav-cta {
  background: var(--emerald-500);
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-1);
}

.nav-cta:hover {
  background: var(--emerald-600);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  padding: 8px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 12px 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  padding: 140px 0 110px;
  background: radial-gradient(circle at top left, rgba(0, 232, 122, 0.18), transparent 50%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.14), transparent 55%),
    linear-gradient(120deg, #060d1a 0%, #0d1828 55%, #0f1f35 100%);
  color: white;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 232, 122, 0.5);
  color: var(--emerald-500);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 232, 122, 0.08);
  box-shadow: 0 0 12px rgba(0, 232, 122, 0.15);
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.hero h1 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(40px, 6vw, 74px);
  margin: 20px 0 16px;
  letter-spacing: 0.04em;
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--emerald-500);
  color: #060d1a;
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 232, 122, 0.35), var(--shadow-1);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: var(--emerald-600);
  box-shadow: 0 0 28px rgba(0, 232, 122, 0.5), var(--shadow-1);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  cursor: pointer;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-2);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: white;
}

.hero-card .muted {
  color: rgba(255, 255, 255, 0.7);
}

.hero-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.hero-card svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-500);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.section {
  padding: 96px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-title h2 {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.05em;
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--steel-500);
  max-width: 420px;
}

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

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(15, 25, 45, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.feature-card h3 {
  margin: 16px 0 10px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 232, 122, 0.14);
  color: var(--emerald-500);
  border: 1px solid rgba(0, 232, 122, 0.2);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.stat {
  background: white;
  padding: 18px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(15, 25, 45, 0.08);
}

.stat h4 {
  margin: 0;
  font-size: 22px;
  color: var(--emerald-500);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
}

.stat span {
  color: var(--steel-500);
  font-size: 12px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(15, 25, 45, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.media-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.media-block img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  height: 260px;
  object-fit: cover;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--steel-500);
}

.list-check svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-500);
}

.list-check li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 25, 45, 0.16);
  background: white;
  font-family: inherit;
}

.textarea {
  min-height: 140px;
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(15, 25, 45, 0.08);
}

.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
}

.footer strong {
  color: white;
}

.cta-band {
  background: linear-gradient(120deg, rgba(0, 232, 122, 0.12), rgba(56, 189, 248, 0.14));
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

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

.muted {
  color: var(--steel-500);
}

.prose h3 {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.prose ul {
  padding-left: 18px;
  margin: 0 0 12px;
}

.prose strong {
  color: var(--emerald-600);
}

.hidden {
  display: none;
}

/* ── Process Steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  position: relative;
  /* top padding = circle radius (28px) so the connector line
     sits exactly at the vertical midpoint of the numbered circles */
  padding-top: 28px;
}

.process-steps::before {
  content: "";
  position: absolute;
  /*
   * Vertical centre of the connector line = centre of the 56px circles.
   * .process-steps has padding-top: 28px, so the circle TOP edge starts
   * at y = 28px inside the container. Circle centre = 28 + 28 = 56px.
   * We set top:56px then pull the 2px line up by 1px via translateY(-50%)
   * so it's perfectly centred on that axis.
   */
  top: 56px;
  transform: translateY(-50%);
  /*
   * Horizontal span: each of the 4 equal columns is 25% wide.
   * Circle centre of column 1 = 12.5% from left edge.
   * Circle centre of column 4 = 87.5% from left edge.
   * So the line starts at 12.5% and spans 75%.
   */
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-500), var(--blue-400));
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px 8px;
  position: relative;
}

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /*
   * Solid base colour + semi-transparent gradient overlay.
   * The solid var(--ice-100) base ensures the connector line behind
   * does not bleed through the circle centre.
   */
  background: linear-gradient(135deg, rgba(0, 232, 122, 0.15), rgba(56, 189, 248, 0.15)) var(--ice-100);
  color: var(--blue-400);
  display: grid;
  place-items: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  border: 2px solid var(--blue-400);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.3);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.process-step h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.process-step p {
  margin: 0;
  font-size: 13px;
  color: var(--steel-500);
  line-height: 1.5;
}

/* ── Industries Grid ──────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.industry-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  border: 1px solid rgba(15, 25, 45, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}

.industry-card .feature-icon {
  margin-bottom: 12px;
}

.industry-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.industry-card p {
  margin: 0;
  font-size: 12px;
  color: var(--steel-500);
}

/* Service detail cards */
.service-detail {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid rgba(15, 25, 45, 0.08);
  box-shadow: var(--shadow-1);
  margin-top: 28px;
}

.service-detail-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-detail-header h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
}

.feature-icon-lg svg {
  width: 24px;
  height: 24px;
}

.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: var(--cloud-100);
  border: 1px solid rgba(15, 25, 45, 0.1);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel-500);
  text-transform: uppercase;
}

/* About visual block */
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-stat {
  background: var(--cloud-100);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(15, 25, 45, 0.08);
}

.about-stat-num {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  letter-spacing: 0.05em;
  color: var(--navy-900);
}

.about-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-500);
  font-weight: 600;
}

.about-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid rgba(15, 25, 45, 0.08);
}

/* ── Hover Effects & Animations ───────────────────────────── */
.feature-card, .platform-card, .industry-card, .service-detail, .about-stat {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.feature-card:hover, .platform-card:hover, .service-detail:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2);
}

.industry-card:hover, .about-stat:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 24px rgba(10, 18, 32, 0.12);
}

.feature-icon {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon, .industry-card:hover .feature-icon, .service-detail:hover .feature-icon-lg {
  transform: rotate(5deg) scale(1.1);
  background: var(--emerald-500);
  color: white;
}

.service-detail:hover .feature-icon-lg svg {
  color: white;
}

.process-step {
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step:hover .process-step-num {
  background: var(--blue-400);
  color: white;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  border-color: transparent;
}

.process-step-num {
  transition: all 0.3s ease;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.fade-up { transform: translateY(30px); }
.fade-in { transform: translateY(0); }
.slide-left { transform: translateX(40px); }
.slide-right { transform: translateX(-40px); }
.scale-up { transform: scale(0.95); }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid,
  .media-block,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

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

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

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    /* Remove padding-top used to anchor the connector line —
       line is hidden at this breakpoint */
    padding-top: 0;
  }
  .process-steps::before {
    display: none;
  }
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-menu.active {
    display: block;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .platform-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-steps, .industries-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 0;
  }
}
