:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --card: #050505;
  --accent: #000000;
  --accent-soft: #555555;
  --accent-strong: #000000;
  --text-main: #000000;
  --text-soft: #c4c4c4;
  --text-muted: #777777;
  --border-subtle: #262626;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.15);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 999px;
  --grad-main: linear-gradient(135deg,#000000,#111111);
  --grad-pill: linear-gradient(135deg,#f5f5f5,#ffffff);
  --grad-section: radial-gradient(circle at top,#b6b2b2,#000000 55%);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wrap {
  min-height: 100vh;
  background: #000000;
  color: var(--text-main);
}

/* HEADER AS IS */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* backdrop-filter: blur(18px); */
  background: linear-gradient(to bottom,rgba(0,0,0,0.96),rgba(0,0,0,0.7),transparent);
  border-bottom: 1px solid #262626;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 30%;
  background: #ffffff;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #000000;
}

.brand-text-main {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent-strong);
  border-radius: 999px;
  transition: width 160ms ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border: 1px solid #404040;
  color: var(--text-soft);
  background: #000000;
}

.nav-button {
  padding: 7px 18px;
  border-radius: 999px;
  border: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--grad-pill);
  color: #000000;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 1px #171717, 0 14px 25px rgba(0,0,0,0.8);
}

.nav-button:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .nav-inner {
    padding-inline: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
}

/* MAIN LAYOUT */
main {
  margin: 0 auto;
  padding: 32px 18px 64px;
  background-color: #ffffff;
}

/* TOP HERO TEXT – FIXED */
.topsection {
  /* max-width: 800px; */
  margin: 70px auto 24px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HERO GRID */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 28px;
  align-items: start;
  margin-top: 8px;
  margin-bottom: 32px;
}

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Left-align only the case study kicker */
.topsection {
  align-items: flex-start;
  text-align: left;
}

/* Keep title & subtitle visually centered if needed */
.hero-title,
.hero-subtitle,
.hero-badges {
  align-self: center;
  text-align: center;
}

@media (max-width: 720px) {
     .hero-badges {
        font-size: 0.90rem;
                gap: 10px !important;

      }
    .hero-badges .hero-badge {
        font-size: 0.95rem;
      }
     .hero-k-label {
        font-size: 0.60rem !important;
      }

    }

/* HERO ELEMENTS */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border-radius: 999px;
  /* color: #000000; */
  /* background: #000000; */
  /* border: 1px solid #404040; */
  margin-bottom: 14px;
  margin-left: 10px;
}

.hero-k-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  /* background: #000000; */
}

.hero-k-label {
  font-size: 0.90rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #000000;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(1.98rem, 1.556rem + 2.12vw, 3.25rem);
;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #000000;
  text-wrap: balance;
}

.hero-title span.accent {
  color: #000000;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 18px;
}

/* restore flex so badges center nicely */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid #404040;
  font-size: 1.25rem;
  color: #f5f5f5;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
}

/* restore flex so buttons align */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-cta-primary {
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  background: var(--grad-pill);
  color: #000000;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(0,0,0,0.3);
}

.hero-cta-primary:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

.hero-cta-secondary {
  font-size: 0.86rem;
  color: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  cursor: pointer;
}

.hero-cta-secondary span.icon {
  font-size: 0.95rem;
  transform: translateY(1px);
}

.hero-footnote {
  font-size: 0.77rem;
  color: #6f6d6d;
}

.hero-footnote strong {
  color: #000000;
}

/* HERO IMAGE SECTION */
.hero-image-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.8s ease-out;
}

.hero-image-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* RIGHT HERO PANEL (dark card) */
.hero-panel {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-xl);
  background: var(--grad-section);
  border: 1px solid #262626;
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
  overflow: hidden;
  align-self: start;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: transparent;
  opacity: 1;
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}

.panel-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #404040;
  background: #000000;
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
@media (max-width: 468px) {
  .panel-tag {
    font-size: 0.4rem;
  }
}


.panel-highlight {
  padding: 6px 12px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid #525252;
  font-size: 0.8rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
@media (max-width: 468px) {
  .panel-highlight {
    font-size: 0.4rem;
  }
}

.panel-highlight span.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.panel-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-metric {
  flex: 1 1 120px;
  padding: 10px 11px;
  border-radius: 16px;
  background: #000000;
  border: 1px solid #262626;
}

.panel-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.panel-metric-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.panel-metric-sub {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.panel-divider {
  height: 1px;
  background: #262626;
  margin-bottom: 12px;
}

.panel-quote {
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.panel-quote span.quote-mark {
  color: #ffffff;
  font-size: 1.3rem;
  margin-right: 4px;
}

.panel-quote-attrib {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* CONTENT IMAGES */
.content-image-wrapper {
  position: relative;
  width: 100%;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.content-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* SPLIT IMAGE LAYOUT */
.split-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.split-image-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.split-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 250px;
}

@media (max-width: 768px) {
  .split-image-grid {
    grid-template-columns: 1fr;
  }
}

/* MAIN CONTENT + SIDEBAR (dark cards on black) */
.layout-main {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  gap: 28px;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .layout-main {
    grid-template-columns: minmax(0,1fr);
  }
}

.content-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

section {
  padding: 18px 18px 18px;
  border-radius: var(--radius-lg);
  background: #000000;
  border: 1px solid #373636;
}

section.compact {
  padding-block: 14px;
}

section.alt {
  background: #000000;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

h2 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.section-intro {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.pill-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.pill-metric {
  padding: 4px 9px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid #404040;
  font-size: 0.76rem;
  color: var(--text-soft);
}

p {
  font-size: 0.9rem;
  color: #f5f5f5;
  margin-bottom: 8px;
}

ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 4px;
  margin-bottom: 6px;
}

ul li {
  font-size: 0.9rem;
  color: #f5f5f5;
  margin-bottom: 4px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.badge-chip {
  font-size: 0.74rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #404040;
  color: var(--text-soft);
  background: #000000;
}

/* TABLE + RESULTS AS YOU HAD */
.comparison-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 8px;
      font-size: 0.86rem;
    }

    .comparison-table thead {
      background: #000000;
    }

    .comparison-table th,
    .comparison-table td {
      border: 1px solid #262626;
      padding: 8px 9px;
      vertical-align: top;
      color: #f5f5f5;
    }

    .comparison-table th {
      font-weight: 600;
      text-align: left;
      color: #f5f5f5;
    }

    .comparison-table tbody tr:nth-child(odd) {
      background: #050505;
    }

    .comparison-table tbody tr:nth-child(even) {
      background: #000000;
    }

    .comparison-label {
      font-weight: 500;
      color: var(--text-soft);
      font-size: 0.83rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    @media screen and (max-width: 768px) {
      .comparison-table {
        table-layout: auto;
        border: 0;
      }

      .comparison-table thead {
        display: none;
      }

      .comparison-table tbody tr {
        display: block;
        margin-bottom: 1.6rem;
        border: 1px solid #262626;
        border-radius: 10px;
        background: #050505;
        overflow: hidden;
      }

      .comparison-table tbody tr:nth-child(odd),
      .comparison-table tbody tr:nth-child(even) {
        background: #050505;
      }

      .comparison-table td {
        display: block;
        text-align: right;
        position: relative;
        padding: 0.9rem 1rem 0.9rem 48%;
        border: none;
        border-bottom: 1px solid #262626;
      }

      .comparison-table td:last-child {
        border-bottom: none;
      }

      .comparison-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 1rem;
        padding-right: 1rem;
        font-weight: 600;
        text-align: left;
        color: #ffffff;
        background: #111;
        height: 100%;
        display: flex;
        align-items: center;
      }

      .comparison-table .comparison-label {
        font-weight: 700;
        color: #ccc;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.82rem;
      }
    }

    @media screen and (max-width: 480px) {
      .comparison-table td {
        padding-left: 52%;
        font-size: 10px;
      }

      .comparison-table td:before {
        width: 35%;
        font-size: 10px;
      }
    }
.result-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.result-metric-card {
  flex: 1 1 150px;
  padding: 10px 11px;
  border-radius: 16px;
  background: #000000;
  border: 1px solid #262626;
}

.result-metric-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.result-metric-value {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.result-metric-note {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.seo-foot {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* FLOATING CTA */
.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.floating-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid #404040;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.floating-cta button {
  padding: 9px 16px;
  border-radius: 999px;
  border: none;
  background: var(--grad-pill);
  color: #000000;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0,0,0,0.9);
  cursor: pointer;
}

.floating-cta button:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .floating-cta {
    right: 12px;
    bottom: 12px;
  }
  .floating-badge {
    display: none;
  }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image-section {
  animation: fadeInUp 0.8s ease-out;
}

section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }

