/* landing_features.css — Features section styles for the Kivo landing page.
 * "Digital Surgeon" dark theme with teal accents.
 * Compiled/served file. Color tokens from landing_hero.css (same :root).
 * ─────────────────────────────────────────────────────────────────────────── */

/* ── DARK-MODE DESIGN TOKENS (Digital Surgeon) ──────────────────────────── */
/* These mirror the tokens already established on the landingUIX branch.      */
/* If landing_hero.css already defines :root, these are additive/overriding.  */
:root {
  --lp-primary:       #00F5D4;
  --lp-secondary:     #0F172A;
  --lp-tertiary:      #38BDF8;
  --lp-bg:            #0a0f13;
  --lp-surface:       #0f1418;
  --lp-surface-high:  #1b2026;
  --lp-text:          #f1f4fa;
  --lp-text-muted:    #a8abb1;
  --lp-outline:       #44484d;
}

/* Light-mode overrides */
[data-theme="light"] {
  --lp-bg:            #f0fdfa;
  --lp-surface:       #ffffff;
  --lp-surface-high:  #e6faf6;
  --lp-text:          #0f172a;
  --lp-text-muted:    #475569;
  --lp-outline:       #b2d8d0;
}

/* ── SECTION EYEBROW PILL ────────────────────────────────────────────────── */
.lp-section-eyebrow {
  border: 1.5px solid var(--lp-primary);
  border-radius: 999px;
  color: var(--lp-primary);
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 5px 14px;
  text-transform: uppercase;
}

.lp-section-eyebrow--teal {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
}

.lp-section-eyebrow--sky {
  border-color: var(--lp-tertiary);
  color: var(--lp-tertiary);
}

/* ── SECTION HEADER ──────────────────────────────────────────────────────── */
.lp-section-header {
  margin-bottom: 64px;
  text-align: center;
}

.lp-section-header .lp-section-eyebrow {
  margin-bottom: 16px;
}

.lp-section-title {
  color: var(--lp-text);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.lp-section-sub {
  color: var(--lp-text-muted);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 560px;
}

/* ── FEATURES SECTION — zig-zag, light theme ────────────────────────────── */
.lp-features {
  background: var(--kivo-surface, #ffffff);
  padding: 112px 0;
}

/* ── FEATURES HEADER ─────────────────────────────────────────────────────── */
.lp-features__header {
  margin: 0 auto 72px;
  max-width: 640px;
  text-align: center;
}

.lp-features__eyebrow {
  background: var(--kivo-grad-soft);
  border-radius: var(--kivo-radius, 9999px);
  color: var(--kivo-purple, #7C3AED);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  padding: 6px 16px;
  text-transform: uppercase;
}

.lp-features__title {
  color: var(--kivo-text, #0F172A);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.lp-features__sub {
  color: var(--kivo-text-muted, #64748B);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

/* ── ZIG-ZAG ROWS ────────────────────────────────────────────────────────── */
.lp-features__list {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.lp-feature-row {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr 1fr;
}

.lp-feature-row--reverse .lp-feature-row__text {
  order: 2;
}

.lp-feature-row--reverse .lp-feature-row__visual {
  order: 1;
}

.lp-feature-row__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--kivo-radius-lg, 16px);
  max-height: 420px;
  overflow: hidden;
  width: 100%;
}

.lp-feature-row__img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ── ROW ICON ────────────────────────────────────────────────────────────── */
.lp-feature-row__icon {
  align-items: center;
  background: var(--kivo-grad-soft);
  border-radius: var(--kivo-radius-md, 12px);
  color: var(--kivo-purple, #7C3AED);
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 20px;
  width: 48px;
}

.lp-feature-row__icon--blue {
  color: var(--kivo-blue, #3B82F6);
}

.lp-feature-row__icon--green {
  color: var(--kivo-green, #10B981);
}

/* ── ROW TEXT ────────────────────────────────────────────────────────────── */
.lp-feature-row__eyebrow {
  color: var(--kivo-purple, #7C3AED);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.lp-feature-row__heading {
  color: var(--kivo-text, #0F172A);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 14px;
}

.lp-feature-row__desc {
  color: var(--kivo-text-muted, #64748B);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 440px;
}

/* ── ROW VISUAL PLACEHOLDER ──────────────────────────────────────────────── */
.lp-feature-row__placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: var(--kivo-surface-soft, #F1F5F9);
  border: 1px dashed var(--kivo-border, #E2E8F0);
  border-radius: var(--kivo-radius-lg, 16px);
  border-top: 4px solid var(--kivo-purple, #7C3AED);
  color: var(--kivo-text-muted, #64748B);
  display: flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.lp-feature-row__placeholder--blue {
  border-top-color: var(--kivo-blue, #3B82F6);
}

.lp-feature-row__placeholder--green {
  border-top-color: var(--kivo-green, #10B981);
}

/* ── RESPONSIVE — 900px ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-features {
    padding: 80px 0;
  }

  .lp-features__header {
    margin-bottom: 48px;
  }

  .lp-feature-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lp-feature-row__text,
  .lp-feature-row--reverse .lp-feature-row__text,
  .lp-feature-row__visual,
  .lp-feature-row--reverse .lp-feature-row__visual {
    order: initial;
  }

  .lp-feature-row__icon {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-feature-row__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-features__list {
    gap: 56px;
  }
}

/* ── RESPONSIVE — 640px ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .lp-features {
    padding: 64px 0;
  }

  .lp-section-header {
    margin-bottom: 40px;
  }

  .lp-features__list {
    gap: 40px;
  }

  .lp-feature-row {
    gap: 24px;
  }
}

/* ── PREVENT HORIZONTAL OVERFLOW ─────────────────────────────────────────── */
.lp-features {
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
}
