:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --ink: #102033;
  --muted: #65758b;
  --primary: #0d63f3;
  --primary-dark: #0746ae;
  --accent: #00c2a8;
  --gold: #ffc857;
  --line: #dbe7f5;
  --shadow: 0 24px 80px rgba(13, 99, 243, 0.14);
  --radius: 26px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, rgba(0, 194, 168, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(13, 99, 243, 0.16), transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 231, 245, 0.75);
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

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

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(13, 99, 243, 0.3);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  border-radius: 999px;
  color: #33465f;
  font-weight: 700;
  padding: 10px 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #e7f0ff;
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: #ffffff;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  background: var(--primary);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #e7f0ff;
  cursor: pointer;
}

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

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 88px 0;
}

.section-glow {
  position: relative;
  overflow: hidden;
}

.section-glow::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 10%;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.22);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-text,
.page-hero p,
.section-copy p,
.center p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 0 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(13, 99, 243, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.trust-row strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 8px 12px;
}

.hero-card {
  position: relative;
}

.floating-badge {
  position: absolute;
  top: -18px;
  left: 28px;
  z-index: 2;
  border-radius: 999px;
  background: var(--gold);
  color: #332300;
  font-weight: 800;
  padding: 10px 16px;
  box-shadow: 0 18px 40px rgba(255, 200, 87, 0.36);
}

.dashboard-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 36px;
  background: linear-gradient(160deg, #092040, #0d63f3 56%, #00c2a8);
  box-shadow: var(--shadow);
  color: #ffffff;
  padding: 28px;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 84px 44px 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 58%);
}

.dashboard-top,
.pipeline {
  position: relative;
  z-index: 1;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-top b {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
}

.pipeline {
  display: grid;
  gap: 14px;
  max-width: 280px;
}

.pipeline div {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.pipeline span {
  display: block;
  opacity: 0.75;
}

.pipeline strong {
  font-size: 2rem;
}

.dot {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16);
  animation: pulse 2.2s infinite;
}

.dot-1 { right: 28%; top: 32%; }
.dot-2 { right: 16%; top: 52%; animation-delay: 0.2s; }
.dot-3 { right: 42%; bottom: 22%; animation-delay: 0.35s; }
.dot-4 { right: 58%; top: 48%; animation-delay: 0.5s; }
.dot-5 { right: 24%; bottom: 14%; animation-delay: 0.7s; }

.stats-strip {
  padding: 0 0 74px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.feature-card,
.service-card,
.industry-card,
.client-card,
.value-card,
.testimonial-card,
.contact-form,
.contact-info,
.process-tabs,
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 58px rgba(16, 32, 51, 0.07);
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 2.3rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.page-hero {
  padding: 96px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

.feature-grid,
.service-grid,
.industry-grid,
.client-grid,
.values-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.feature-card,
.service-card,
.industry-card,
.client-card,
.value-card {
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.service-card:hover,
.industry-card:hover,
.client-card:hover,
.value-card:hover {
  border-color: rgba(13, 99, 243, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.icon,
.service-card span,
.industry-card span {
  display: inline-grid;
  min-width: 46px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
  padding: 0 12px;
}

.feature-card p,
.service-card p,
.industry-card p,
.client-card p,
.value-card p,
.testimonial-card p,
.faq-list p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 800;
}

.soft-bg {
  background: linear-gradient(180deg, rgba(231, 240, 255, 0.72), rgba(248, 251, 255, 0));
}

.dark-panel {
  margin: 40px auto;
  background: linear-gradient(135deg, #07172c, #0d3e84 60%, #00a894);
  color: #ffffff;
}

.dark-panel .eyebrow,
.dark-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.center {
  max-width: 780px;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.timeline-item span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 800;
}

.filter-bar,
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button,
.tab-buttons button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #33465f;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 18px;
}

.filter-bar button.active,
.tab-buttons button.active {
  border-color: transparent;
  background: var(--primary);
  color: #ffffff;
}

.industry-card.is-hidden {
  display: none;
}

.process-tabs {
  padding: 28px;
}

.tab-panel {
  display: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f9ff, #ffffff);
  padding: 28px;
}

.tab-panel.active {
  display: block;
}

.client-logo {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.testimonial-card {
  padding: 34px;
}

.testimonial-card p {
  font-size: 1.2rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.faq-list {
  overflow: hidden;
}

.faq-list details {
  padding: 22px 26px;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.contact-info,
.contact-form {
  padding: 32px;
}

.contact-method {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.contact-method span,
label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-method a,
.contact-method strong {
  color: var(--ink);
}

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

.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 99, 243, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07172c;
  color: #d8e6f7;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 36px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 16px;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #b9c9dc;
  margin-bottom: 8px;
}

.site-footer p {
  color: #b9c9dc;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #91a5bd;
  margin-top: 36px;
  padding-top: 22px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
    padding: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

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

  .hero {
    min-height: auto;
    padding: 70px 0;
  }

  .dashboard-card {
    min-height: 420px;
  }

  .stats-grid,
  .service-grid,
  .industry-grid,
  .client-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1140px);
  }

  .navbar {
    min-height: 74px;
  }

  .nav-links {
    top: 74px;
  }

  h1 {
    letter-spacing: -0.05em;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .stats-grid,
  .feature-grid,
  .service-grid,
  .industry-grid,
  .client-grid,
  .values-grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .dashboard-card {
    min-height: 360px;
    padding: 22px;
  }

  .pipeline {
    max-width: none;
  }

  .footer-bottom {
    width: min(100% - 28px, 1140px);
  }
}
