:root {
  --bg: #07111b;
  --bg-2: #0b1826;
  --surface: rgba(12, 22, 34, 0.82);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.03);
  --text: #f5f7fb;
  --muted: #b5c0d2;
  --soft: #8e9bb1;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #d31217;
  --brand-2: #ff494d;
  --brand-3: #ff8a8d;
  --success: #3dd9ba;
  --warning: #ffcb4d;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1240px;
}

* {
  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 top right, rgba(211, 18, 23, 0.14), transparent 22%),
    radial-gradient(circle at left center, rgba(61, 217, 186, 0.08), transparent 30%),
    linear-gradient(180deg, #07111b 0%, #08121d 34%, #09141f 100%);
  line-height: 1.65;
}

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

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

button,
.button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 12, 19, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-plate,
.logo-plate,
.product-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand-plate {
  padding: 0.45rem 0.8rem;
}

.brand-plate img {
  height: 36px;
  width: auto;
}

.nav-collapse {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 14px;
  padding: 0.7rem 1rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 16px 36px rgba(211, 18, 23, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.button.light {
  color: #101827;
  background: #fff;
}

main {
  overflow: clip;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 11, 18, 0.94) 0%, rgba(6, 11, 18, 0.85) 40%, rgba(6, 11, 18, 0.62) 74%, rgba(6, 11, 18, 0.85) 100%),
    var(--hero-image) center/cover no-repeat;
  z-index: -2;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -190px auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(211, 18, 23, 0.22), transparent 68%);
  z-index: -1;
}

.hero-grid,
.page-hero-grid,
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 4.5rem;
}

.page-hero.simple .page-hero-grid,
.page-hero.simple .hero-grid {
  grid-template-columns: 1fr;
}

.eyebrow,
.kicker,
.small-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #d6def0;
}

.eyebrow {
  padding: 0.44rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.kicker {
  text-transform: uppercase;
  color: var(--brand-3);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 1rem 0 1rem;
}

.lead,
.hero p,
.page-hero p,
.section-heading p,
.card p,
.feature-card p,
.info-card p,
.pricing-card p,
.footer-brand p,
.copy-muted {
  color: var(--muted);
}

.hero p,
.page-hero p {
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions,
.inline-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card,
.card,
.feature-card,
.pricing-card,
.info-card,
.highlight-panel,
.metrics-panel,
.cta-card,
.banner-card,
.contact-card,
.office-card,
.matrix-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1rem 1.1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.hero-panel,
.highlight-panel,
.metrics-panel,
.card,
.feature-card,
.info-card,
.pricing-card,
.contact-card,
.office-card,
.matrix-card {
  padding: 1.35rem;
}

.panel-header,
.plan-top,
.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-badge,
.tag,
.plan-badge,
.score-pill,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.plan-badge.featured,
.panel-badge.good {
  background: rgba(61, 217, 186, 0.12);
  color: #9ff3e3;
  border-color: rgba(61, 217, 186, 0.28);
}

.plan-badge.alert,
.score-pill.watch {
  background: rgba(255, 203, 77, 0.1);
  color: #ffe391;
  border-color: rgba(255, 203, 77, 0.24);
}

.score-list,
.meta-list,
.check-list,
.icon-list,
.plan-list,
.contact-list,
.office-list,
.grade-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.score-list li,
.meta-list li,
.check-list li,
.icon-list li,
.plan-list li,
.contact-list li,
.office-list li,
.grade-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.score-list li:last-child,
.meta-list li:last-child,
.check-list li:last-child,
.icon-list li:last-child,
.plan-list li:last-child,
.contact-list li:last-child,
.office-list li:last-child,
.grade-list li:last-child {
  border-bottom: 0;
}

.plan-list.compact li,
.meta-list.compact li {
  padding: 0.55rem 0;
}

.callout,
.note-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dce5f4;
}

.section,
section {
  padding: 4.5rem 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.card h2,
.banner-card h2,
.cta-card h2,
.page-hero h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.8rem;
}

.section-heading p {
  max-width: 72ch;
}

.product-grid,
.products-grid,
.feature-grid,
.info-grid,
.pricing-grid,
.contact-grid,
.about-grid,
.metrics-grid,
.office-grid,
.logo-grid,
.two-column,
.three-column {
  display: grid;
  gap: 1.35rem;
}

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

.feature-grid,
.info-grid,
.pricing-grid,
.logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid,
.office-grid,
.metrics-grid,
.about-grid,
.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card,
.feature-card,
.pricing-card,
.info-card,
.contact-card,
.office-card,
.matrix-card {
  position: relative;
  overflow: hidden;
}

.card::before,
.feature-card::before,
.pricing-card::before,
.info-card::before,
.contact-card::before,
.office-card::before,
.matrix-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 73, 77, 0.42), transparent 70%);
}

.feature-card h3,
.card h3,
.info-card h3,
.pricing-card h3,
.contact-card h3,
.office-card h3,
.matrix-card h3,
.hero-panel h3,
.highlight-panel h3,
.metrics-panel h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 1.2rem;
}

.icon-badge,
.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.icon-badge img,
.product-logo-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.product-card-head {
  align-items: start;
}

.product-logo-plate {
  padding: 0.85rem 1rem;
  min-height: 84px;
  margin-bottom: 1rem;
}

.product-logo-plate img {
  max-height: 56px;
  width: auto;
}

.product-card .product-logo-plate img,
.pricing-card .product-logo-plate img {
  max-width: min(100%, 260px);
}

.visual-card,
.image-card {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0d1825;
}

.visual-card img,
.image-card img,
.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay,
.image-overlay {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(7, 17, 27, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.breadcrumbs {
  color: var(--soft);
  font-size: 0.93rem;
}

.logo-grid {
  align-items: stretch;
}

.logo-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo-card .logo-plate {
  padding: 1.2rem;
  min-height: 120px;
  width: 100%;
}

.logo-card .logo-plate img {
  max-height: 68px;
  width: auto;
}

.split-banner {
  padding-top: 0;
}

.banner-card,
.cta-card {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
}

.mini-chart,
.flow-steps {
  display: grid;
  gap: 0.95rem;
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
}

.bar > span:first-child {
  grid-column: 1 / -1;
  color: #dce5f4;
  font-weight: 600;
}

.bar-track {
  display: inline-flex;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
}

.price {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  margin: 0.8rem 0 0.3rem;
}

.price strong {
  font-size: 2.1rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 600;
}

.pricing-card.featured {
  border-color: rgba(255, 73, 77, 0.35);
  background: linear-gradient(180deg, rgba(255, 73, 77, 0.1), rgba(10, 18, 28, 0.86));
}

.pricing-card .price-note {
  color: var(--soft);
  font-size: 0.92rem;
}

.pricing-card .button {
  margin-top: 1.25rem;
  width: 100%;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.table-wrap th,
.table-wrap td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-wrap th {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.94rem;
}

.table-wrap td {
  color: var(--muted);
}

.section-image {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 360px;
  height: 100%;
}

.contact-pill {
  margin-top: 0.7rem;
}

.office-card address {
  font-style: normal;
  color: var(--muted);
}

.inline-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 15, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 1.5rem;
  padding: 2.8rem 0 1.2rem;
}

.footer-brand .brand-plate {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
}

.footer-links li + li {
  margin-top: 0.7rem;
}

.footer-links a,
.footer-brand p,
.footer-bottom,
.address-lines {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  font-size: 0.94rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spacer-top {
  margin-top: 1rem;
}

.centered-note {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.text-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 0.18rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 73, 77, 0.12);
  border: 1px solid rgba(255, 73, 77, 0.22);
  color: #ffd0d1;
  font-size: 0.9rem;
  font-weight: 700;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.note-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.note-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

@media (max-width: 1120px) {
  .products-grid,
  .feature-grid,
  .info-grid,
  .pricing-grid,
  .three-column,
  .note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .banner-card,
  .cta-card,
  .matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-collapse {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    background: rgba(7, 12, 19, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .page-hero-grid,
  .product-hero-grid,
  .contact-grid,
  .office-grid,
  .about-grid,
  .metrics-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

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

  .visual-card,
  .image-card,
  .section-image {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .products-grid,
  .feature-grid,
  .info-grid,
  .pricing-grid,
  .logo-grid,
  .three-column,
  .note-grid {
    grid-template-columns: 1fr;
  }

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

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .brand-plate img {
    height: 30px;
  }
}
