:root {
  --bg: #f5f8fc;
  --bg-2: #eef3f9;
  --bg-3: #e6edf6;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --surface-3: #f2f6fb;
  --border: rgba(15, 23, 42, 0.10);
  --border-soft: rgba(15, 23, 42, 0.06);
  --text: #0f172a;
  --muted: #5f6f85;
  --muted-2: #42546b;
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.05);
  --radius: 24px;
  --radius-lg: 32px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.05), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.04), transparent 20%),
    linear-gradient(180deg, #f7faff 0%, #f3f7fc 38%, #eef3f9 100%);
  line-height: 1.64;
  letter-spacing: 0.01em;
}

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

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-soft);
}

.header-shell {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-mark {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  border-radius: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.15;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active {
  position: relative;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  color: var(--muted-2);
  background: transparent;
  border-color: var(--border);
}

/* Sections */

section {
  padding: 42px 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head p + p {
  margin-top: 12px;
}

/* Hero */

.hero {
  padding: 82px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  max-width: 720px;
  color: var(--text);
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted-2);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  filter: blur(30px);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.08);
  filter: blur(30px);
}

.hero-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.panel-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border-soft);
}

.panel-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text);
}

.panel-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

/* Generic grids */

.grid-3,
.trust-band,
.company-pages,
.product-grid {
  display: grid;
  gap: 18px;
}

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

.trust-band {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.institutional-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

/* Cards */

.card,
.page-card,
.product-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card,
.page-card {
  padding: 24px;
  background: var(--surface);
}

.card h3,
.page-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
}

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

.page-card p {
  margin-bottom: 14px;
}

.product-card {
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.product-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-2);
}

.product-card li + li {
  margin-top: 8px;
}

/* Visual product cards */

.product-card.visual-card {
  overflow: hidden;
  padding: 0;
}

.product-card.visual-card .product-media {
  height: 220px;
  overflow: hidden;
  background: var(--bg-3);
}

.product-card.visual-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card.visual-card .product-body {
  padding: 26px;
}

/* Trust + stats */

.trust-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-soft);
  color: var(--muted-2);
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}

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

.stat-box {
  padding: 20px;
  border-radius: 20px;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
}

.stat-box strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}

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

/* Code block */

.code-block {
  padding: 22px;
  border-radius: 24px;
  background: #f4f8fd;
  border: 1px solid var(--border);
  color: #243244;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* CTA */

.cta-wrap {
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.10);
  box-shadow: var(--shadow);
}

.cta-inner {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.cta-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text);
}

.cta-inner p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 760px;
}

/* Footer */

.site-footer {
  padding: 34px 0 56px;
  color: var(--muted);
  font-size: 14px;
}

.footer-shell {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

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

/* Helper blocks for image-heavy layouts */

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.media-block {
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: #dfe8f3;
  box-shadow: var(--shadow);
}

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

.feature-band {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  box-shadow: var(--shadow);
}

.feature-band-content {
  max-width: 760px;
}

.feature-band-content h2 {
  margin: 0 0 14px 0;
}

.feature-band-content p {
  margin: 0;
}

.cta-photo {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* Responsive */

@media (max-width: 1100px) {
  .hero-grid,
  .institutional-layout,
  .product-grid,
  .company-pages,
  .grid-3,
  .trust-band,
  .split-media {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .header-shell {
    min-height: 82px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .institutional-layout,
  .product-grid,
  .company-pages,
  .grid-3,
  .trust-band,
  .stat-boxes,
  .split-media {
    grid-template-columns: 1fr;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 46px;
  }

  .brand-mark {
    height: 68px;
    padding: 5px;
    border-radius: 16px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  h1 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.06;
    max-width: 100%;
  }

  .lead {
    font-size: 16px;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .media-block {
    min-height: 320px;
  }

  .feature-band,
  .cta-photo {
    min-height: 320px;
    padding: 26px;
  }
}