:root {
  --blue-950: #0b2545;
  --blue-900: #12365f;
  --blue-800: #1c4a7a;
  --blue-100: #dfefff;
  --blue-050: #f3f8ff;
  --ink: #122033;
  --muted: #61748d;
  --line: #d7e3f0;
  --card: #ffffff;
  --green: #20c763;
  --green-700: #119447;
  --green-soft: #dff9ea;
  --shadow: 0 24px 70px rgba(16, 49, 84, 0.12);
  --shadow-hover: 0 28px 80px rgba(16, 49, 84, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

body::selection {
  background: var(--green-soft);
}

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

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

.wrap {
  width: min(1152px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(215, 227, 240, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--blue-950);
  white-space: nowrap;
  transition: transform 0.25s ease;
}

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

.brand strong,
.hero h1 span,
.section-heading span,
.contact-copy > span {
  color: var(--green);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(32, 199, 99, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.code-glyph {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #40536b;
  font-weight: 700;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--blue-950);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 52px;
  padding: 0 26px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-cta,
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 34px rgba(32, 199, 99, 0.25);
}

.nav-cta {
  min-height: 44px;
  border-radius: 12px;
  font-size: 14px;
}

.btn-primary:hover,
.nav-cta:hover {
  background: #29d871;
  box-shadow: 0 22px 44px rgba(32, 199, 99, 0.34);
  transform: translateY(-3px);
}

.btn-secondary:hover {
  border-color: rgba(32, 199, 99, 0.45);
  box-shadow: 0 18px 42px rgba(16, 49, 84, 0.12);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--blue-900);
  border-color: var(--line);
}

.section-grid {
  background:
    linear-gradient(rgba(18, 54, 95, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 54, 95, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 18%, rgba(32, 199, 99, 0.16), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 92%);
  background-size: 160px 160px, 160px 160px, auto, auto;
  animation: grid-drift 20s linear infinite;
}

.hero {
  padding: 50px 0 80px;
  min-height: 760px;
  display: flex;
  align-items: center;
}

.hero-inner {
  text-align: center;
}

.hero-badge {
  width: fit-content;
  margin: 0 auto 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 14px 38px rgba(18, 54, 95, 0.08);
  animation: float-soft 4.5s ease-in-out infinite;
}

.hero-badge svg,
.btn svg,
.contact-points svg,
.footer svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
  font-size: clamp(48px, 7.2vw, 84px);
  line-height: 0.97;
  letter-spacing: 0;
  color: var(--blue-950);
  animation: hero-rise 0.8s ease both;
}

.hero-copy {
  max-width: 760px;
  margin: 28px auto 0;
  color: #2f4661;
  font-size: 20px;
  line-height: 1.45;
  animation: hero-rise 0.8s ease 0.12s both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
  animation: hero-rise 0.8s ease 0.22s both;
}

.metrics {
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: min(674px, 100%);
  animation: hero-rise 0.8s ease 0.32s both;
}

.metrics div {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.metrics div:hover {
  border-color: rgba(32, 199, 99, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.metrics strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--green);
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.soft-band {
  background: var(--blue-050);
}

.section-heading {
  text-align: center;
  margin: 0 auto 58px;
}

.section-heading span,
.contact-copy > span {
  display: block;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2,
h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  color: var(--blue-950);
}

.section-heading h2 {
  max-width: 740px;
  margin: 0 auto;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05;
}

.section-heading p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 52px rgba(18, 54, 95, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 18% 8%, rgba(32, 199, 99, 0.14), transparent 34%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card:hover {
  border-color: rgba(32, 199, 99, 0.42);
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

.pillar-card {
  min-height: 230px;
  padding: 40px 28px 30px;
}

.pillar-card > svg,
.service-card > svg {
  width: 26px;
  height: 26px;
  color: var(--green);
  margin-bottom: 34px;
  transition: transform 0.28s ease, color 0.28s ease;
}

.pillar-card:hover > svg,
.service-card:hover > svg {
  color: var(--green-700);
  transform: translateY(-3px) scale(1.08);
}

.pillar-card h3,
.service-card h3,
.case-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.pillar-card p,
.service-card p,
.case-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 214px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  column-gap: 22px;
  padding: 34px 28px 28px;
}

.service-card > svg {
  margin: 6px 0 0;
}

.service-card p,
.service-card .tags {
  grid-column: 1 / -1;
}

.service-card strong {
  display: block;
  margin-top: 6px;
  color: var(--green-700);
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tags span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-card:hover .tags span {
  background: var(--green-soft);
  border-color: rgba(32, 199, 99, 0.32);
  color: var(--green-700);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.table-shell:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

th,
td {
  padding: 22px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--blue-950);
  background: #eaf4ff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
}

tbody th {
  color: var(--blue-950);
  font-family: "Inter", sans-serif;
}

tbody td {
  color: var(--muted);
}

tbody tr:nth-child(even) {
  background: #f8fbff;
}

tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

tbody tr:hover {
  background: var(--green-soft);
}

.checkmark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-700);
}

.checkmark svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  padding: 36px 28px 28px;
}

.case-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  color: #7890aa;
}

.case-top div {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue-800);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-top svg:first-child {
  color: var(--green);
}

.case-top > svg:last-child {
  transition: transform 0.25s ease, color 0.25s ease;
}

.case-card:hover .case-top > svg:last-child {
  color: var(--green);
  transform: translate(4px, -4px);
}

.case-card p {
  margin-bottom: 28px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.case-stats strong {
  display: block;
  color: var(--green);
  font-family: "Inter", sans-serif;
  font-size: 28px;
}

.case-stats span {
  color: var(--muted);
  font-size: 13px;
}

.contact {
  background:
    radial-gradient(circle at 22% 20%, rgba(32, 199, 99, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 480px;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.08;
}

.contact-copy > p {
  max-width: 470px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.contact-points {
  display: grid;
  gap: 18px;
}

.contact-points div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-points i,
.contact-points svg {
  color: var(--green);
}

.contact-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-points strong {
  color: var(--blue-950);
  font-family: "Inter", sans-serif;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-form:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 10px;
  color: var(--blue-950);
  font-weight: 800;
  font-size: 14px;
}

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

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.contact-form .btn {
  width: 100%;
}

.contact-form small {
  color: #7a8da4;
  text-align: center;
}

.footer {
  padding: 64px 0 20px;
  background: #f8fbff;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal-section,
.reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s ease var(--reveal-delay, 0ms);
}

.reveal-section.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0, center, center;
  }
  to {
    background-position: 160px 160px, 160px 160px, center, center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.footer .brand {
  color: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.footer h3 {
  color: var(--blue-950);
  font-size: 16px;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.5;
}

.footer a:not(.brand) {
  display: block;
  margin-bottom: 10px;
}

.footer svg {
  color: var(--green);
  vertical-align: middle;
}

.copyright {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13px;
  color: #7a8da4;
}

@media (max-width: 940px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

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

  .pillar-grid,
  .service-grid,
  .case-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1152px);
  }

  .nav-cta {
    width: 100%;
    border-radius: 8px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
  }

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

  .metrics,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

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

  .service-card > svg {
    margin-bottom: 18px;
  }

  .contact-form {
    padding: 22px;
  }
}
