/* =========================================================
   PROTÉGÉ SALES PAGE — STYLES
   ========================================================= */

/* ---------------------------------------------------------
   CSS VARIABLES
   --------------------------------------------------------- */
:root {
  --bg-base:        #070f1e;
  --bg-section:     #0a1628;
  --bg-section-alt: #0d1e38;
  --bg-card:        #0f1f35;
  --bg-card-hover:  #14274a;
  --bg-highlight:   #101c30;

  --border-subtle:  rgba(255,255,255,0.07);
  --border-card:    rgba(59,130,246,0.15);
  --border-accent:  rgba(59,130,246,0.35);

  --accent:         #3b82f6;
  --accent-hover:   #2563eb;
  --accent-light:   rgba(59,130,246,0.12);
  --accent-glow:    rgba(59,130,246,0.25);

  --gold:           #f59e0b;
  --gold-hover:     #d97706;
  --gold-bg:        rgba(245,158,11,0.08);
  --gold-border:    rgba(245,158,11,0.3);

  --green:          #10b981;
  --green-bg:       rgba(16,185,129,0.08);
  --red:            #ef4444;
  --dash-color:     #374151;

  --text:           #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --text-dim:       #4b5563;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.5);
}

/* ---------------------------------------------------------
   RESET & BASE
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { list-style: none; }

/* ---------------------------------------------------------
   LAYOUT
   --------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

section.alt-bg { background: var(--bg-section-alt); }

/* ---------------------------------------------------------
   TYPOGRAPHY
   --------------------------------------------------------- */
.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}

.label--gold {
  color: var(--gold);
  background: var(--gold-bg);
  border-color: var(--gold-border);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.headline-hero {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.headline-section {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.headline-card {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.subheadline {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 16px;
}

.body-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.body-text + .body-text { margin-top: 16px; }

.section-intro {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

/* ---------------------------------------------------------
   NAV
   --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,15,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav__logo-sep {
  color: var(--text-muted);
  font-weight: 300;
}

.nav__logo-product {
  color: var(--accent);
}

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

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-accent);
}
.btn--ghost:hover {
  border-color: var(--border-accent);
  color: var(--text);
  text-decoration: none;
}

.btn--large {
  font-size: 17px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
}

.btn--gold {
  background: var(--gold);
  color: #000;
}
.btn--gold:hover {
  background: var(--gold-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
}
.btn--outline-gold:hover {
  background: var(--gold-bg);
  text-decoration: none;
}

.link-secondary {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
}
.link-secondary:hover { color: var(--text); }

/* ---------------------------------------------------------
   SECTION 1 — HERO
   --------------------------------------------------------- */
.hero {
  background: var(--bg-section);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,0.12) 0%, transparent 70%);
  padding: 120px 0 100px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__headline {
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  max-width: 100%;
  margin: 0 auto 28px;
}

.hero__headline .know {
  color: var(--accent);
}

.hero__subheadline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.hero__trust {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 44px;
  font-style: italic;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.hero__cta .btn--large {
  min-width: 260px;
}

.hero__scroll-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---------------------------------------------------------
   SECTION 2 — SHARED PROBLEM
   --------------------------------------------------------- */
.problem {
  background: var(--bg-base);
}

.problem__questions {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem__question {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 17px;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

.problem__pivot {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}

.scroll-arrow {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 36px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  animation: bounce 2s infinite;
}
.scroll-arrow:hover {
  color: var(--accent);
  transform: translateY(2px);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------------------------------------------------------
   SECTION 3 — SELF-SELECTION
   --------------------------------------------------------- */
.self-selection {
  background: var(--bg-section);
}

.self-selection__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.selector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.selector-card--build { border-top: 3px solid var(--accent); background: var(--accent-light); }
.selector-card--advanced { border-top: 3px solid var(--gold); background: var(--gold-bg); }

.selector-card__headline {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.selector-card--advanced .selector-card__headline {
  /* match height — inherits */
}

.selector-card__bullets {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.selector-card__bullet {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.selector-card__bullet::before {
  content: '–';
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.selector-card__closing {
  font-size: 16px;
  color: var(--text);
  font-style: italic;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.selector-card__tier {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.selector-card--advanced .selector-card__tier {
  color: var(--gold);
}

.selector-card .btn {
  font-size: 16px;
  padding: 14px 28px;
}

/* ---------------------------------------------------------
   SECTION 4 — BREAKOUTOS FOUNDATION
   --------------------------------------------------------- */
.foundation {
  background: var(--bg-section);
}

.foundation__intro {
  max-width: 100%;
  margin-bottom: 56px;
}

.foundation__both-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 32px;
}

.foundation__both-badge::before { content: '✓'; }

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  padding-bottom: 0;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.tool-card__image {
  margin-top: auto;
  padding-top: 20px;
  margin-left: -28px;
  margin-right: -28px;
  border-top: 1px solid var(--border-subtle);
}

.tool-card__image img {
  width: 100%;
  display: block;
  filter: brightness(1.1);
  transition: filter 0.2s;
  cursor: pointer;
}

.tool-card:hover .tool-card__image img {
  filter: brightness(1.2);
}

.tool-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.tool-card__chip {
  display: inline-block;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-glow);
  border-radius: 20px;
  padding: 3px 8px;
  white-space: nowrap;
  align-self: center;
}

.tool-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tool-card__name-row .tool-card__name,
.tool-card__name-row .tool-card__tagline {
  margin-bottom: 0;
}

.tool-card__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.tool-card__tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  font-style: italic;
  margin-bottom: 12px;
}

.tool-card__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.supporting-tools {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 36px;
}

.supporting-tools__heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.tool-group {
  margin-bottom: 16px;
}

.tool-group:last-child { margin-bottom: 0; }

.tool-group__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tool-group__items {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.foundation__closing {
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* ---------------------------------------------------------
   SECTION 5 — PROTÉGÉ BUILD
   --------------------------------------------------------- */
.build {
  background: var(--bg-section);
  position: relative;
}

.build__opening {
  max-width: 100%;
  margin-bottom: 64px;
}

.component-block {
  margin-bottom: 48px;
}

.component-block__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.component-block__subheadline {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* Hero component — Implementation Success Team */
.ist-block {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.ist-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.ist-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.ist-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ist-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
  align-items: start;
}

.ist-two-col__includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ist-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.ist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ist-item::before {
  content: '✓';
  color: var(--green);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}

/* Custom Implementation Audit — special callout */
.audit-callout {
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.audit-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
}

.audit-callout__subheadline {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1.3;
}

.audit-callout__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Standard component blocks */
.component-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  overflow: hidden;
}

/* Component images (IST, Audit, Blueprint, Vault, Community) */
.comp-image {
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.comp-image img {
  width: 100%;
  display: block;
}

.ist-block .comp-image {
  margin-left: -48px;
  margin-right: -48px;
}

.audit-callout .comp-image {
  margin-left: -40px;
  margin-right: -40px;
  border-top-color: var(--gold-border);
}

.component-card .comp-image {
  margin-left: -32px;
  margin-right: -32px;
}

.resource-card .comp-image {
  margin-left: -24px;
  margin-right: -24px;
}

/* Side image layout — component-card */
.component-card--side {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.component-card__text {
  flex: 1;
  padding: 28px 32px;
}

.component-card--side .comp-image {
  flex: 0 0 45%;
  margin: 0;
  border-top: none;
  border-left: 1px solid var(--border-subtle);
  overflow: hidden;
}

.component-card--side .comp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Side image layout — audit-callout */
.audit-callout--side {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.audit-callout__text {
  flex: 1;
  padding: 36px 40px;
}

.audit-callout--side .comp-image {
  flex: 0 0 45%;
  margin: 0;
  border-top: none;
  border-left: 1px solid var(--gold-border);
  overflow: hidden;
}

.audit-callout--side .comp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Side image layout — resource-card */
.resource-card--side {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.resource-card__text {
  flex: 1;
  padding: 24px;
}

.resource-card--side .comp-image {
  flex: 0 0 45%;
  margin: 0;
  border-top: none;
  border-left: 1px solid var(--border-subtle);
  overflow: hidden;
}

.resource-card--side .comp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stack side layouts on small screens */
@media (max-width: 700px) {
  .component-card--side,
  .audit-callout--side,
  .resource-card--side {
    flex-direction: column;
  }
  .component-card--side .comp-image,
  .audit-callout--side .comp-image,
  .resource-card--side .comp-image {
    flex: none;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .audit-callout--side .comp-image { border-top-color: var(--gold-border); }
  .audit-callout__text { padding: 24px 20px; }
}

/* Pricing */
.pricing-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-block__headline {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--recommended {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,158,11,0.04) 100%);
}

.pricing-card__recommended-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-card__type {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-size: 40px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing-card__price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 24px;
}

.pricing-card__monthly {
  font-size: 14px;
  color: var(--text-muted);
  margin: -16px 0 24px;
  font-style: italic;
}

.pricing-card__cta { margin-top: auto; }

.pricing-card > .btn,
.pricing-card > a.btn {
  margin-top: auto;
}

.pricing-card--quarterly .pricing-card__price { font-size: 32px; }

.graduation-callout {
  background: var(--green-bg);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 32px;
  margin-bottom: 48px;
  text-align: center;
}

.graduation-callout__heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.graduation-callout__body {
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 12px;
}

.graduation-callout__note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 16px;
  font-style: italic;
}

/* ---------------------------------------------------------
   SECTION BRIDGE — BUILD → ADVANCED
   --------------------------------------------------------- */
.section-bridge {
  padding: 48px 0;
  background: var(--bg-base);
}

.section-bridge__text {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin: 0;
}

.section-bridge__text--emphasis {
  color: var(--text);
  font-weight: 700;
  margin-top: 8px;
}

.scroll-arrow--gold {
  color: var(--text-muted);
}
.scroll-arrow--gold:hover {
  color: var(--gold);
}

/* Compact tool list grid (Foundation section) */
.tool-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 10px;
  margin-bottom: 32px;
}

.tool-list-item {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.tool-list-item--with-img {
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.tool-list-item--with-img span {
  padding: 10px 16px;
}

.tool-list-item__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* ---------------------------------------------------------
   SECTION 6 — PROTÉGÉ ADVANCED
   --------------------------------------------------------- */
.advanced {
  background: var(--bg-section-alt);
}

.advanced__opening {
  max-width: 100%;
  margin-bottom: 48px;
}

.advanced-tools {
  margin-bottom: 40px;
}

.advanced-tool {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.advanced-tool:first-child { padding-top: 0; }

.advanced-tool__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.advanced-tool__tagline {
  font-size: 13px;
  color: var(--accent);
  font-style: italic;
  margin-top: 3px;
}

.advanced-tool__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.advanced-tool--plus {
  grid-template-columns: 1fr;
}

.advanced-tool--plus .advanced-tool__desc {
  color: var(--text);
  font-weight: 500;
}

.advanced-tool__image {
  position: relative;
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.advanced-tool__image img {
  width: 100%;
  display: block;
  filter: brightness(1.1);
  cursor: zoom-in;
  transition: filter 0.2s;
}

.advanced-tool__image img:hover {
  filter: brightness(1.2);
}

.advanced-tool__image::after {
  content: '⤢';
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.advanced-tool__image:hover::after {
  opacity: 1;
}

.advanced__resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
}

.resource-card__subheadline {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.resource-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Pricing for advanced — 3 columns */
.pricing-cards--three {
  grid-template-columns: 2fr 1fr 1fr;
}

/* ---------------------------------------------------------
   SECTION 7 — TESTIMONIALS
   --------------------------------------------------------- */
.testimonials {
  background: var(--bg-section);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.testimonial-card__framing {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}

.testimonial-card__quote {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-card__quote::before {
  content: '"';
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 0;
  vertical-align: -20px;
  margin-right: 4px;
}

.testimonial-card__attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__role {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   SECTION 8 — COMPARISON
   --------------------------------------------------------- */
.comparison {
  background: var(--bg-base);
}

.comparison__intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 100%;
  margin-bottom: 48px;
  line-height: 1.7;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  padding: 6px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-weight: 700;
  background: var(--bg-highlight);
}

.comparison-table th:first-child { color: var(--text-muted); font-size: 14px; }
.comparison-table th:nth-child(2) { color: var(--accent); font-size: 17px; }
.comparison-table th:nth-child(3) { color: var(--gold); font-size: 17px; }

.comparison-table td:first-child {
  color: var(--text-secondary);
}

.comparison-table td:not(:first-child) {
  text-align: center;
  font-weight: 600;
}

.comparison-table .check {
  color: var(--green);
  font-size: 20px;
}

.comparison-table .dash {
  color: var(--text-dim);
  font-size: 20px;
}

.comparison-table .group-row td {
  background: rgba(255,255,255,0.02);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 20px 8px;
}

.comparison-table .subrow td:first-child {
  padding-left: 32px;
  color: var(--text-muted);
  font-size: 16px;
}

.comparison-table .highlight-row td {
  background: rgba(59,130,246,0.04);
  font-weight: 700;
}

.comparison-table .price-row td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table .price-row td {
  font-weight: 600;
}

.comparison-table .recommended-row td {
  background: var(--gold-bg);
}

.comparison-table .recommended-row td:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommended-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}

.comparison-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.comparison-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.comparison-cta-card__tier {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.comparison-cta-card--build .comparison-cta-card__tier { color: var(--accent); }
.comparison-cta-card--advanced .comparison-cta-card__tier { color: var(--gold); }

.comparison-cta-card__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.comparison-cta-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------------------------------------------------------
   SECTION 9 — FAQ
   --------------------------------------------------------- */
.faq {
  background: var(--bg-section-alt);
}

.faq__list {
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child { border-top: 1px solid var(--border-subtle); }

.faq-item__trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  transition: color 0.2s;
}

.faq-item__trigger:hover { color: var(--accent); }

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.25s ease, background 0.2s;
  line-height: 1;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-item__body {
  display: none;
  padding: 0 0 20px;
}

.faq-item.open .faq-item__body { display: block; }

.faq-item__body p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.faq-item__body p:last-child { margin-bottom: 0; }

.faq-item__body ul {
  margin: 8px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item__body li {
  font-size: 17px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.faq-item__body li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.faq-item__body a { color: var(--accent); }

/* ---------------------------------------------------------
   SECTION 10 — FINAL CTA
   --------------------------------------------------------- */
.final-cta {
  background: var(--bg-section);
  background-image:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(59,130,246,0.08) 0%, transparent 70%);
  text-align: center;
}

.final-cta__closing {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.final-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

.final-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.final-cta-card--build { border-top: 3px solid var(--accent); }
.final-cta-card--advanced { border-top: 3px solid var(--gold); }

.final-cta-card__tier {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.final-cta-card--build .final-cta-card__tier { color: var(--accent); }
.final-cta-card--advanced .final-cta-card__tier { color: var(--gold); }

.final-cta-card__desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.final-cta-card__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.undecided {
  max-width: 520px;
  margin: 48px auto 0;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
}

.undecided__heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.undecided__body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.undecided__body a { color: var(--accent); }

.disclaimer {
  font-size: 14px;
  max-width: 100%;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 640px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--bg-base);
  padding: 40px 0;
  text-align: center;
  max-width: 100%;
}

.footer .container {
  max-width: 1100px;
}

.footer .disclaimer {
  margin-bottom: 24px;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  max-width: 100%;
}

.footer__bottom {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.footer__bottom a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: underline;
}

.footer__bottom a:hover {
  color: var(--text-secondary);
}

.footer__text {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------
   LIGHTBOX
   --------------------------------------------------------- */
#lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
  padding: 24px;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
}

#lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  transform: scale(0.94);
  transition: transform 0.3s ease;
  cursor: default;
}

#lightbox.open #lightbox-img {
  transform: scale(1);
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

#lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* =====================================================
   TOOL CAROUSEL
   ===================================================== */

.tool-carousel {
  margin-bottom: 48px;
}

.tool-carousel__viewport {
  overflow: hidden;
}

.tool-carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tool-carousel__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Placeholder image for tools without screenshots yet */
.tool-card__image--placeholder {
  margin-top: auto;
  padding-top: 20px;
  margin-left: -28px;
  margin-right: -28px;
  border-top: 1px solid var(--border-subtle);
  height: 200px;
  background: linear-gradient(135deg, var(--bg-highlight) 0%, var(--bg-section) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Carousel controls */
.tool-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.tool-carousel__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}

.tool-carousel__btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: scale(1.1);
}

.tool-carousel__btn:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.tool-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tool-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--border-subtle);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.tool-carousel__dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

.tool-carousel__counter {
  font-size: 13px;
  color: var(--text-muted);
  min-width: 48px;
  text-align: center;
}

@media (max-width: 700px) {
  .tool-carousel__slide {
    grid-template-columns: 1fr;
  }
}

/* Hover zoom signal on tool card images */
.tool-card__image {
  position: relative;
}

.tool-card__image::after {
  content: '⤢';
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.tool-card:hover .tool-card__image::after {
  opacity: 1;
}

/* ---------------------------------------------------------
   UTILITY
   --------------------------------------------------------- */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }

.text-center { text-align: center; }

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 48px 0;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 900px) {
  .self-selection__cards { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-list-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .comparison-cta-grid { grid-template-columns: 1fr; }
  .final-cta__grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-cards--three { grid-template-columns: 1fr; }
  .advanced__resources { grid-template-columns: 1fr; }
  .ist-two-col { grid-template-columns: 1fr; gap: 24px; }
  .ist-includes { grid-template-columns: 1fr; }
  .advanced-tool { grid-template-columns: 1fr; }
  .advanced-tool__name { margin-bottom: 4px; }

  .nav__cta { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
}

@media (max-width: 600px) {
  .ist-block { padding: 28px 20px; }
  .ist-block .comp-image { margin-left: -20px; margin-right: -20px; }
  .audit-callout { padding: 24px 20px; }
  .audit-callout .comp-image { margin-left: -20px; margin-right: -20px; }
  .selector-card { padding: 24px 20px; }
}
