/* ============================================
   B2Metrics Web 2026 — Design Tokens + Base
   ============================================ */

:root {
  /* Colors */
  --brand-green-500: #0FAC3B;
  --brand-green-700: #0F6125;
  --ink-900: #0A0A0A;
  --ink-700: #1A1A1A;
  --ink-500: #6B6B6B;
  --ink-300: #A8A8A8;
  --ink-200: #E5E5E5;
  --ink-100: #F5F5F5;
  --white: #FFFFFF;
  --warning: #F5A623;
  --green-tint-4: rgba(15, 172, 59, 0.04);
  --green-tint-8: rgba(15, 172, 59, 0.08);
  --green-tint-12: rgba(15, 172, 59, 0.12);

  /* Typography */
  --font-display: 'Geologica', 'Inter', system-ui, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  /* Spacing */
  --section-py: 120px;
  --section-px: 80px;
  --content-max: 1280px;
  --content-prose: 720px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-float: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Reset + base
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ============================================
   Typography scale
   ============================================ */

.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.display-lg, h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.h3, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  color: var(--ink-900);
}

.h4, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  color: var(--ink-900);
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-500);
}

.body-md, p {
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-500);
}

.body-sm {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-500);
}

.caption {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--ink-500);
}

.overline {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green-500);
}

/* ============================================
   Layout primitives
   ============================================ */

.container {
  max-width: calc(var(--content-max) + var(--section-px) * 2);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
  width: 100%;
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section--dark {
  background: var(--ink-900);
  color: var(--white);
}

.section--dark .overline {
  color: var(--ink-500);
}

.section--dark h2,
.section--dark .h1 {
  color: var(--white);
}

.section--dark p,
.section--dark .body-lg,
.section--dark .body-md {
  color: var(--ink-300);
}

.section--muted {
  background: var(--ink-100);
}

.section-head {
  text-align: center;
  max-width: var(--content-prose);
  margin: 0 auto 64px;
}

.section-head .overline {
  margin-bottom: 16px;
  display: inline-block;
}

.section-head h2 {
  margin-bottom: 24px;
}

.section-head p {
  font-size: 18px;
  line-height: 28px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brand-green-500);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--brand-green-700);
}

.btn--secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-900);
}

.btn--secondary:hover {
  background: var(--ink-100);
}

.btn--ghost {
  background: transparent;
  color: var(--brand-green-500);
}

.btn--ghost:hover {
  color: var(--brand-green-700);
}

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

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Header (sticky nav)
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
  height: 72px;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--content-max) + var(--section-px) * 2);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

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

.header__logo img {
  height: 28px;
}

.header__back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--ink-500);
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--ink-200);
}

.header__back-link:hover {
  color: var(--brand-green-500);
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: 15px;
  color: var(--ink-700);
  transition: color 0.15s;
}

.header__nav a:hover {
  color: var(--brand-green-500);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__lang {
  font-size: 14px;
  color: var(--ink-500);
}

.header__lang strong {
  color: var(--ink-900);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  padding: 120px 0 80px;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle at top left, var(--green-tint-4), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__text .overline-pill {
  display: inline-block;
  padding: 8px 14px;
  background: var(--green-tint-12);
  color: var(--brand-green-700);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__text h1 {
  margin-bottom: 24px;
}

.hero__text .body-lg {
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-500);
}

.hero__trust span::before {
  content: '✓ ';
  color: var(--brand-green-500);
  font-weight: 700;
  margin-right: 4px;
}

.hero__visual {
  position: relative;
}

.hero__mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

.hero__float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
}

.hero__float::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green-500);
  flex-shrink: 0;
}

.hero__float--top {
  top: -16px;
  right: -24px;
}

.hero__float--bottom {
  bottom: -16px;
  left: -24px;
}

/* ============================================
   Hero — centered module variant (Marketing Data)
   ============================================ */

.hero--module {
  padding: 80px 0 120px;
  text-align: center;
}

.hero--module .overline-pill {
  margin-bottom: 24px;
}

.hero--module h1.display-xl {
  max-width: 1100px;
  margin: 0 auto 16px;
  text-align: center;
}

.hero--module .subtitle {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  color: var(--brand-green-500);
  margin-bottom: 48px;
}

.hero--module .hero__ctas {
  justify-content: center;
  margin-bottom: 64px;
}

.hero--module .hero__image {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

/* ============================================
   Metrics (dark section with 3 numbers)
   ============================================ */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: var(--content-max);
  margin: 0 auto;
}

.metric {
  padding: 0 48px;
  text-align: center;
  position: relative;
}

.metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--ink-700);
}

.metric__number {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-green-500);
  margin-bottom: 16px;
}

.metric__label {
  font-size: 18px;
  line-height: 28px;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 12px;
}

.metric__caption {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 20px;
}

/* ============================================
   Integrations grid
   ============================================ */

.integrations {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.integration {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  transition: all 0.15s ease;
}

.integration:hover {
  border-color: var(--brand-green-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.integration__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-700);
  letter-spacing: -0.02em;
}

.integration__label {
  font-size: 13px;
  color: var(--ink-500);
  text-align: center;
}

.integrations__footer {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-500);
}

.integrations__footer a {
  color: var(--brand-green-500);
  font-weight: 500;
  text-decoration: underline;
}

/* ============================================
   Modules grid (6 cards)
   ============================================ */

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

.module-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
}

.module-card:hover {
  border-color: var(--brand-green-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.module-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-tint-12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand-green-700);
}

.module-card h3 {
  font-size: 22px;
  line-height: 28px;
}

.module-card p {
  flex: 1;
}

.module-card a {
  color: var(--brand-green-500);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.module-card a::after {
  content: ' →';
}

/* ============================================
   Onboarding 3 steps
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--ink-200);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--ink-100);
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-green-500);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 24px;
}

.step .overline {
  color: var(--brand-green-700);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  max-width: 340px;
  margin: 0 auto;
}

/* ============================================
   Comparison table
   ============================================ */

.compare {
  width: 100%;
  border-collapse: collapse;
  max-width: 1040px;
  margin: 0 auto;
}

.compare th,
.compare td {
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--ink-200);
}

.compare thead th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-700);
}

.compare .col-b2 {
  background: var(--green-tint-8);
  color: var(--brand-green-700);
  font-weight: 600;
  text-align: center;
}

.compare thead .col-b2 {
  background: var(--brand-green-500);
  color: var(--white);
}

.compare .col-other {
  text-align: center;
  color: var(--ink-500);
}

.compare td.feature {
  color: var(--ink-700);
  font-weight: 500;
}

/* ============================================
   Personas
   ============================================ */

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

.persona {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-left: 4px solid var(--brand-green-500);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.persona::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--green-tint-12);
  line-height: 1;
}

.persona__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink-900);
  margin-bottom: 12px;
}

.persona__subtitle {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.persona__body {
  color: var(--ink-700);
  margin-bottom: 24px;
}

.persona__cta {
  color: var(--brand-green-500);
  font-weight: 600;
  font-size: 15px;
}

/* ============================================
   Testimonials
   ============================================ */

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

.testimonial {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial__mark {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--brand-green-500);
  line-height: 1;
}

.testimonial__body {
  font-size: 17px;
  line-height: 26px;
  color: var(--ink-900);
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-200);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green-500), var(--brand-green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 15px;
}

.testimonial__role {
  font-size: 13px;
  color: var(--ink-500);
}

/* ============================================
   About
   ============================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.about__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}

.about__photos img:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 16/10;
}

.about__photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-tint-12), var(--green-tint-4));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  font-size: 14px;
  border: 2px dashed var(--ink-200);
}

.about__photos .about__photo-placeholder:first-child {
  grid-column: 1 / 3;
  aspect-ratio: 16/10;
}

/* ============================================
   Pricing
   ============================================ */

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

.pricing--wide {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tier {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.2s ease;
}

.tier--highlight {
  border-color: var(--brand-green-500);
  background: var(--green-tint-4);
  transform: scale(1.04);
  position: relative;
  z-index: 2;
}

.tier--highlight::before {
  content: 'POPULÁRNÍ';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
}

.tier__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier__audience {
  font-size: 14px;
  color: var(--ink-500);
  min-height: 40px;
}

.tier__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--brand-green-500);
  letter-spacing: -0.02em;
}

.tier__price--custom {
  font-size: 28px;
  color: var(--ink-900);
}

.tier__price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-500);
  display: block;
  margin-top: 4px;
}

.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-700);
  flex: 1;
}

.tier__features li::before {
  content: '✓ ';
  color: var(--brand-green-500);
  font-weight: 700;
  margin-right: 6px;
}

.tier .btn {
  width: 100%;
}

.pricing-footnote {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-500);
  font-size: 14px;
}

.pricing-footnote a {
  color: var(--brand-green-500);
  font-weight: 500;
  text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--ink-200);
}

.faq__item[open] {
  background: var(--green-tint-4);
  border-left: 3px solid var(--brand-green-500);
  padding-left: 24px;
  margin-left: -24px;
}

.faq__q {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink-900);
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '+';
  font-size: 28px;
  color: var(--ink-500);
  line-height: 1;
  transition: transform 0.2s;
}

.faq__item[open] .faq__q::after {
  content: '−';
}

.faq__a {
  padding: 0 0 24px;
  max-width: 780px;
  color: var(--ink-700);
  line-height: 26px;
}

/* ============================================
   Final CTA (dark)
   ============================================ */

.final-cta {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.final-cta p {
  color: var(--ink-300);
  font-size: 18px;
  line-height: 28px;
  margin: 0 auto 40px;
  max-width: 680px;
}

.final-cta__ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.final-cta__trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.final-cta__trust span::before {
  content: '✓ ';
  color: var(--brand-green-500);
  margin-right: 4px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--white);
  border-top: 1px solid var(--ink-200);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 28px;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 24px;
}

.footer__newsletter {
  display: flex;
  gap: 8px;
}

.footer__newsletter input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  min-width: 0;
}

.footer__newsletter button {
  padding: 10px 16px;
  background: var(--brand-green-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  white-space: nowrap;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  color: var(--ink-500);
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--brand-green-500);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--ink-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 16px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--ink-500);
  transition: color 0.15s;
}

.footer__social a:hover {
  color: var(--brand-green-500);
}

/* ============================================
   Problem section (before/after split)
   ============================================ */

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.problem-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.problem-card--before {
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
}

.problem-card--after {
  background: var(--green-tint-8);
  border: 1px solid var(--brand-green-500);
}

.problem-card h3 {
  margin-bottom: 24px;
}

.problem-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-card--before ul li::before {
  content: '✗ ';
  color: var(--ink-500);
  font-weight: 700;
  margin-right: 8px;
}

.problem-card--after ul li::before {
  content: '✓ ';
  color: var(--brand-green-500);
  font-weight: 700;
  margin-right: 8px;
}

/* ============================================
   PIM diagram (How it works)
   ============================================ */

.pim-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.pim-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pim-node {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.pim-col--outputs .pim-node {
  border-color: var(--brand-green-500);
  background: var(--green-tint-4);
}

.pim-node__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pim-col--outputs .pim-node__icon {
  background: var(--green-tint-12);
}

.pim-node__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.2;
}

.pim-node__desc {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.3;
}

.pim-core {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--brand-green-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 48px rgba(15, 172, 59, 0.3);
  margin: 0 auto;
  position: relative;
}

.pim-core::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid var(--green-tint-12);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.2; }
}

/* ============================================
   Module feature section (image + text split)
   ============================================ */

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

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__text .overline {
  display: block;
  margin-bottom: 16px;
}

.feature-split__text h2 {
  margin-bottom: 24px;
  font-size: 40px;
  line-height: 48px;
}

.feature-split__text p {
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 32px;
  max-width: 520px;
}

.feature-split__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--green-tint-12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
}

.feature-split__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ============================================
   Profitability / integration (homepage-only variant)
   ============================================ */

.feature-large {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.feature-large--reverse {
  grid-template-columns: 1.3fr 1fr;
}

.feature-large__text {
  max-width: 520px;
}

.feature-large__text h2 {
  font-size: 44px;
  line-height: 52px;
  margin-bottom: 24px;
}

.feature-large__text p {
  font-size: 17px;
  line-height: 28px;
}

.feature-large__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ============================================
   Contact form
   ============================================ */

.contact-form {
  max-width: 600px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink-900);
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-green-500);
}

.contact-form__gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-500);
}

.contact-form__gdpr input {
  width: auto;
  margin-top: 3px;
}

/* ============================================
   Mobile responsive
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
    --section-px: 40px;
  }

  .display-lg, h1 { font-size: 40px; line-height: 48px; }
  .h1, h2 { font-size: 32px; line-height: 40px; }
  .display-xl { font-size: 48px; line-height: 56px; }

  .hero__inner,
  .about,
  .feature-split,
  .feature-large,
  .feature-large--reverse,
  .problem-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__float { display: none; }

  .metrics,
  .steps,
  .modules,
  .personas,
  .testimonials,
  .pricing,
  .pricing--wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metric:not(:last-child)::after { display: none; }
  .steps::before { display: none; }

  .integrations { grid-template-columns: repeat(2, 1fr); }
  .pim-diagram { grid-template-columns: 1fr; gap: 40px; }

  .tier--highlight { transform: none; }

  .header__nav { display: none; }
  .header__back-link { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .compare th, .compare td { padding: 12px 8px; font-size: 13px; }
}
