:root {
  --navy-950: #031936;
  --navy-900: #06244d;
  --navy-800: #0a3470;
  --blue-600: #056ee8;
  --blue-500: #1385ff;
  --green-500: #7cbd2f;
  --green-400: #98d84d;
  --ink: #102033;
  --muted: #607085;
  --line: rgba(8, 35, 76, 0.12);
  --paper: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(3, 25, 54, 0.14);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(19, 133, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(124, 189, 47, 0.18), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 48%, #f8fbff 100%);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(6, 36, 77, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 36, 77, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 44px rgba(3, 25, 54, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  width: 206px;
  height: 48px;
  overflow: hidden;
}

.brand img {
  width: 206px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(5, 110, 232, 0.08);
  color: var(--blue-600);
}

.site-nav .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  box-shadow: 0 12px 28px rgba(5, 110, 232, 0.22);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
}

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

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 92px);
  padding: 70px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4.9vw, 4.85rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 710px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions,
.contact-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600) 68%, var(--green-500));
  box-shadow: 0 18px 36px rgba(5, 110, 232, 0.24);
}

.button.secondary {
  color: var(--navy-900);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(6, 36, 77, 0.94), rgba(3, 25, 54, 0.96)),
    var(--navy-950);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
}

.hero-panel::before {
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  background: rgba(19, 133, 255, 0.44);
}

.hero-panel::after {
  bottom: -80px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(124, 189, 47, 0.38);
}

.panel-top,
.metric-grid,
.system-map {
  position: relative;
  z-index: 1;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 8px rgba(124, 189, 47, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 58px;
}

.metric-grid article {
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid article:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(19, 133, 255, 0.24), rgba(124, 189, 47, 0.14));
}

.metric-grid strong {
  display: block;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.1rem;
  letter-spacing: -0.05em;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.system-map {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 52px;
}

.node {
  padding: 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.node.active {
  color: var(--navy-950);
  background: var(--green-400);
}

.connector {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(124, 189, 47, 0.9));
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 40px rgba(3, 25, 54, 0.08);
}

.logo-strip span,
.logo-strip a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
}

.logo-strip span {
  color: var(--muted);
}

.logo-strip a {
  color: var(--navy-900);
  background: rgba(5, 110, 232, 0.08);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 94px 0;
  border-top: 1px solid var(--line);
}

.rich-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.rich-copy p {
  margin: 0;
  font-size: 1.07rem;
}

.rich-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.06rem;
}

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

.feature-card,
.mini-card,
.product-detail-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 54px rgba(3, 25, 54, 0.08);
}

.feature-card {
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius-md);
}

.feature-card p {
  margin-bottom: 0;
}

.icon,
.product-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-900));
  box-shadow: 0 14px 32px rgba(5, 110, 232, 0.18);
}

.icon svg,
.product-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-preview,
.process-section,
.comparison-section {
  padding: 104px 0;
}

.product-cards,
.product-detail-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 380px;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card::before {
  position: absolute;
  inset: auto -60px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  content: "";
  background: rgba(255, 255, 255, 0.13);
}

.product-card.buildara {
  background: linear-gradient(135deg, var(--navy-900), #0c5f90);
}

.product-card.savkar {
  background: linear-gradient(135deg, #092b5b, #0b753e);
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-600);
  background: rgba(5, 110, 232, 0.09);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card .product-tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.product-card h3 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.product-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.product-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--white);
  font-weight: 900;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

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

.timeline-item {
  padding: 30px;
  border-top: 4px solid var(--green-500);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(3, 25, 54, 0.08);
}

.timeline-item span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue-600);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.cta-band {
  padding: 70px 0 104px;
}

.cta-card {
  padding: clamp(32px, 6vw, 68px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 88% 18%, rgba(124, 189, 47, 0.34), transparent 22rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow);
}

.cta-card h2,
.cta-card p:not(.eyebrow) {
  max-width: 780px;
  color: var(--white);
}

.cta-card p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.cta-card .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(8, 35, 76, 0.14);
  border-radius: 16px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.84);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(5, 110, 232, 0.54);
  box-shadow: 0 0 0 4px rgba(5, 110, 232, 0.1);
}

textarea {
  resize: vertical;
}

.contact-section {
  padding: 28px 0 104px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
}

.contact-info-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(3, 25, 54, 0.08);
}

.contact-info-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-info-card article {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(5, 110, 232, 0.08), rgba(124, 189, 47, 0.08));
}

.contact-info-card span,
.form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-info-card p {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
}

.form-row.full,
.contact-form button {
  grid-column: 1 / -1;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 15px 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 176px;
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--navy-900);
  font-weight: 900;
}

.page-hero {
  padding: 104px 0 54px;
}

.page-hero h1 {
  max-width: 1040px;
  font-size: clamp(2.6rem, 5.8vw, 5.7rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.12rem;
}

.product-detail-grid {
  padding: 28px 0 92px;
}

.product-detail-card {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.product-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.product-mark {
  flex: 0 0 auto;
}

.product-detail-head h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.product-summary {
  font-size: 1.06rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--navy-900);
  font-weight: 800;
}

.feature-list span::before {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: linear-gradient(135deg, var(--green-500), var(--blue-500));
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--blue-600);
  font-weight: 900;
}

.mini-card {
  padding: 26px;
  border-radius: var(--radius-md);
}

.mini-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-950);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
}

.mini-card span {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 190ms;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .product-cards,
  .product-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    border-radius: 26px;
  }

  .brand {
    width: 158px;
  }

  .brand img {
    width: 158px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

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

  .hero {
    padding-top: 54px;
  }

  .hero-panel {
    min-height: 430px;
    padding: 20px;
  }

  .metric-grid,
  .card-grid,
  .timeline,
  .capability-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .metric-grid article:first-child {
    grid-column: auto;
  }

  .system-map {
    grid-template-columns: 1fr;
  }

  .connector {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }

  .logo-strip {
    border-radius: 28px;
  }

  .split-section,
  .product-preview,
  .process-section,
  .comparison-section {
    padding: 70px 0;
  }

  .product-card {
    min-height: 320px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
