/* 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 WRAPPER ────────────────────────────────────────────── */
.lp-features {
  background: var(--lp-surface);
  padding: 112px 0;
}

/* ── FEATURE GRID ────────────────────────────────────────────────────────── */
.lp-features__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .lp-features__grid {
    grid-template-columns: 1fr;
  }
}

/* ── FEATURE CARD ────────────────────────────────────────────────────────── */
.lp-feature-card {
  background: var(--lp-surface-high);
  border: 1px solid rgba(68, 72, 77, 0.15);  /* --lp-outline at 15% opacity */
  border-radius: 16px;
  cursor: default;
  padding: 32px 28px;
  transition:
    border-color 280ms ease,
    transform 280ms ease,
    box-shadow 280ms ease;
}

.lp-feature-card:hover {
  border-color: rgba(0, 245, 212, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.10),
              0 16px 48px rgba(0, 245, 212, 0.08);
  transform: translateY(-6px);
}

/* Light mode card */
[data-theme="light"] .lp-feature-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .lp-feature-card:hover {
  border-color: rgba(0, 245, 212, 0.40);
  box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.18),
              0 16px 48px rgba(0, 245, 212, 0.10);
}

/* ── CARD ICON CONTAINER ─────────────────────────────────────────────────── */
.lp-feature-card__icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.18) 0%, rgba(56, 189, 248, 0.14) 100%);
  border-radius: 12px;
  color: var(--lp-primary);
  display: flex;
  height: 60px;
  justify-content: center;
  margin-bottom: 24px;
  width: 60px;
}

[data-theme="light"] .lp-feature-card__icon {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.14) 0%, rgba(56, 189, 248, 0.10) 100%);
}

/* ── CARD TITLE ──────────────────────────────────────────────────────────── */
.lp-feature-card__title {
  color: var(--lp-text);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
}

[data-theme="light"] .lp-feature-card__title {
  color: #0f172a;
}

/* ── CARD DESCRIPTION ────────────────────────────────────────────────────── */
.lp-feature-card__desc {
  color: var(--lp-text-muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

[data-theme="light"] .lp-feature-card__desc {
  color: #475569;
}

/* ── AUDIENCES SECTION ───────────────────────────────────────────────────── */
.lp-audiences {
  background: var(--lp-bg);
  padding: 80px 0;
}

/* ── AUDIENCES GRID ──────────────────────────────────────────────────────── */
.lp-audiences__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .lp-audiences__grid {
    grid-template-columns: 1fr;
  }
}

/* ── AUDIENCE PANEL ──────────────────────────────────────────────────────── */
.lp-audience-panel {
  border: 1px solid rgba(68, 72, 77, 0.30);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

.lp-audience-panel::before {
  border-radius: 20px 20px 0 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

/* Clinic panel — teal top beam */
.lp-audience-panel--clinic::before {
  background: linear-gradient(90deg, var(--lp-primary) 0%, rgba(0, 245, 212, 0.30) 100%);
}

/* Pet panel — sky-blue top beam */
.lp-audience-panel--pet::before {
  background: linear-gradient(90deg, var(--lp-tertiary) 0%, rgba(56, 189, 248, 0.30) 100%);
}

.lp-audience-panel:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
}

[data-theme="light"] .lp-audience-panel {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.lp-audience-panel .lp-section-eyebrow {
  margin-bottom: 14px;
}

/* ── AUDIENCE PANEL TITLE ────────────────────────────────────────────────── */
.lp-audience-panel__title {
  color: var(--lp-text);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 28px;
}

[data-theme="light"] .lp-audience-panel__title {
  color: #0f172a;
}

/* ── CHECK LIST ──────────────────────────────────────────────────────────── */
.lp-check-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}

.lp-check-list__item {
  align-items: flex-start;
  color: var(--lp-text-muted);
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  gap: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.lp-check-list__item:last-child {
  margin-bottom: 0;
}

[data-theme="light"] .lp-check-list__item {
  color: #475569;
}

/* Teal check icon circle */
.lp-check-icon {
  align-items: center;
  background: rgba(0, 245, 212, 0.15);
  border-radius: 50%;
  color: var(--lp-primary);
  display: inline-flex;
  flex-shrink: 0;
  height: 22px;
  justify-content: center;
  margin-top: 1px;
  width: 22px;
}

/* Sky-blue check icon circle */
.lp-check-icon--sky {
  background: rgba(56, 189, 248, 0.15);
  color: var(--lp-tertiary);
}

/* ── AUDIENCE PANEL BUTTON ───────────────────────────────────────────────── */
.lp-audience-panel__btn {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

/* Sky-blue outline variant for pet panel */
.lp-audience-panel__btn--sky {
  border-color: var(--lp-tertiary) !important;
  color: var(--lp-tertiary) !important;
}

.lp-audience-panel__btn--sky:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  border-color: var(--lp-tertiary) !important;
  color: var(--lp-tertiary) !important;
}

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

  .lp-audience-panel {
    padding: 36px 28px;
  }
}

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

  .lp-audiences {
    padding: 56px 0;
  }

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

  .lp-feature-card {
    padding: 24px 20px;
  }

  .lp-audience-panel {
    padding: 32px 20px;
  }

  .lp-feature-card__icon {
    height: 52px;
    width: 52px;
  }
}

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