/* ============================================================
   FinWire Landing Page — Master Stylesheet
   Brand: Navy #1b2a4a · Teal #0d9488 · Blue #2563eb
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1b2a4a;
  --navy-light: #243656;
  --navy-dark: #111d33;
  --teal: #0d9488;
  --teal-light: #5eead4;
  --teal-pale: #f0fdfa;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --blue-pale: #eff6ff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.07), 0 4px 6px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.08), 0 8px 10px rgba(0,0,0,.03);
  --max-w: 1200px;
  --max-w-narrow: 960px;
  --font-sans: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 { color: var(--navy); line-height: 1.3; font-weight: 700; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }

/* --- Utility --- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Section Base --- */
.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--gray-50);
}
.section--navy {
  background: var(--navy);
  color: var(--gray-200);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}
.section--teal-pale {
  background: var(--teal-pale);
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section__title {
  font-size: 2rem;
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 720px;
  line-height: 1.7;
}
.section__subtitle--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: #0f766e;
  border-color: #0f766e;
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}
.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--gray-100);
  color: var(--navy);
}
.btn--sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.header__logo img {
  height: 36px;
  width: auto;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.header__nav a:hover {
  color: var(--navy);
}
.header__cta {
  display: flex;
  gap: 8px;
}
.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

/* ============================================================
   HERO — Centered logo-dominant layout (Option A)
   ============================================================ */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(170deg, var(--white) 0%, var(--teal-pale) 45%, var(--blue-pale) 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero--centered {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero__logo-block {
  margin-bottom: 32px;
}
.hero__logo-main {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,148,136,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--navy);
}
.hero__title--centered {
  font-size: 2.25rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.hero__lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}
.hero__lead--centered {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero__body {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero__body--centered {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.hero__points {
  list-style: none;
  margin-bottom: 32px;
}
.hero__points--centered {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
}
.hero__points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
}
.hero__points--centered li {
  margin-bottom: 0;
}
.hero__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.hero__product-visual {
  margin-top: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero__screenshot {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

/* ============================================================
   CARDS (Value, Benefit, etc.)
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 1.25rem;
}
.card__title {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.card__text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.problem-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gray-300);
  border: 2px solid var(--gray-400);
}

/* ============================================================
   FEATURE HIGHLIGHTS (Solve Section)
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.feature-tag {
  background: var(--teal-pale);
  border: 1px solid rgba(13,148,136,0.15);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* ============================================================
   WORKFLOW
   ============================================================ */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.workflow-step {
  position: relative;
  text-align: center;
}
.workflow-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.workflow-step__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.workflow-step__text {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.workflow-step__connector {
  position: absolute;
  top: 18px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--gray-300);
}
.workflow-step:last-child .workflow-step__connector { display: none; }

/* ============================================================
   USER CONTEXT SPLIT
   ============================================================ */
.context-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.context-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.context-card__header {
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
}
.context-card__body {
  padding: 24px;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   SCREENSHOT GALLERY
   ============================================================ */
.gallery-group {
  margin-bottom: 56px;
}
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group__title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}
.gallery-grid {
  display: grid;
  gap: 24px;
}
.gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid--2 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}
.gallery-item__img-wrap {
  background: var(--gray-50);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  /* Harmonize color tone across screenshots and mockups */
  filter: brightness(1.01) contrast(1.01) saturate(0.96);
}
/* Applicant mockups: cooler lavender bg — slight warmth reduction */
.gallery-item--mockup .gallery-item__img {
  filter: brightness(1.02) contrast(1.0) saturate(0.93);
}
/* Operator mockups (11-14): warmer/grayer bg — cool shift + tint to match applicant screens */
.gallery-item--operator .gallery-item__img {
  filter: brightness(0.98) contrast(1.02) saturate(0.88) hue-rotate(4deg);
}
/* Admin screenshots: slightly different white balance */
.gallery-item--admin .gallery-item__img {
  filter: brightness(1.005) contrast(1.01) saturate(0.97);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.is-active {
  display: flex;
  opacity: 1;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  object-fit: contain;
  filter: none;
}
.lightbox__caption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-300);
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.7);
  padding: 8px 20px;
  border-radius: 20px;
  pointer-events: none;
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox__close svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

/* Make gallery items in the screens section clickable */
.gallery-item--zoomable {
  cursor: zoom-in;
}
.gallery-item__caption {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  text-align: center;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ============================================================
   CAPABILITIES (pill grid)
   ============================================================ */
.capabilities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.capability-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 40px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
}
.capability-pill:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.capability-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.benefit-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.benefit-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}
.benefit-card__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.benefit-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   PLATFORM vs BESPOKE
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.compare-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.compare-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal);
  font-size: 1.5rem;
}
.compare-card__title {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}
.compare-card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   SECURITY
   ============================================================ */
.security-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.security-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
}
.security-point__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.security-point__text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  position: relative;
}
.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.pricing-card__header {
  padding: 32px 28px 20px;
  text-align: center;
}
.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-card__tagline {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  text-align: left;
  padding: 0 28px 20px;
  flex-grow: 1;
}
.pricing-card__body {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--gray-100);
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 0.875rem;
}
.pricing-row__label {
  color: var(--gray-500);
}
.pricing-row__value {
  font-weight: 600;
  color: var(--navy);
}
.pricing-row--sub {
  padding-left: 12px;
}
.pricing-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 8px 0;
}
.pricing-card__footer {
  padding: 16px 28px 28px;
  text-align: center;
}

/* ============================================================
   ENTERPRISE TIER DETAIL
   ============================================================ */
.tier-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
}
.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.tier-table th,
.tier-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.tier-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tier-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.tier-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.tier-table td {
  color: var(--gray-700);
}
.tier-table tr:nth-child(even) td {
  background: var(--gray-50);
}
.tier-table td:not(:first-child) {
  text-align: center;
  font-weight: 500;
}

/* ============================================================
   PLAN COMPARISON TABLE
   ============================================================ */
.comparison-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
}
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.comparison-table thead th:first-child {
  text-align: left;
  border-radius: var(--radius) 0 0 0;
}
.comparison-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.comparison-table td:not(:first-child) {
  text-align: center;
  font-weight: 500;
}
.comparison-table tr:nth-child(even) td {
  background: var(--gray-50);
}
.comparison-table .check {
  color: var(--teal);
  font-weight: 700;
  font-size: 1.125rem;
}
.comparison-table .dash {
  color: var(--gray-300);
}

/* ============================================================
   OEM SECTION
   ============================================================ */
.oem-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
  gap: 16px;
}
.faq-question:hover { color: var(--teal); }
.faq-question__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray-400);
}
.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
  color: var(--teal);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--gray-200);
}
.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
}
.cta-section p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--gray-300);
  line-height: 1.7;
}
.cta-section .btn-group {
  justify-content: center;
}

/* ============================================================
   DISTRIBUTOR SECTION
   ============================================================ */
.distributor-section {
  border-top: 3px solid var(--teal);
  background: var(--teal-pale);
}
.distributor-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   DIRECTOR MESSAGE
   ============================================================ */
.director-section {
  background: var(--white);
}
.director-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
}
.director-card__portrait {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.director-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.director-card__content {
  flex: 1;
  min-width: 0;
}
.director-card__quote {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 12px 0 20px;
  font-style: normal;
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}
.director-card__sig {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.5;
}
.director-card__sig strong {
  font-weight: 700;
}
.director-card__sig span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ============================================================
   VENDOR INFORMATION (image-based)
   ============================================================ */
.vendor-info {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.vendor-image-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.vendor-image-card__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  display: block;
  opacity: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 6px 12px;
}
.footer__tagline {
  font-size: 0.8125rem;
  color: var(--gray-500);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links a {
  font-size: 0.8125rem;
  color: var(--gray-400);
}
.footer__links a:hover {
  color: var(--white);
}
.footer__bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__logo-main { max-width: 280px; }
  .hero__title--centered { font-size: 1.875rem; }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-step__connector { display: none; }
  .context-split { grid-template-columns: 1fr; }
  .gallery-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .security-points { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .oem-blocks { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section__title { font-size: 1.625rem; }
  .hero { padding: 48px 0 40px; }
  .hero__title--centered { font-size: 1.5rem; }
  .hero__logo-main { max-width: 220px; }
  .hero__product-visual { margin-top: 32px; }
  .header__nav { display: none; }
  .header__cta .btn--outline { display: none; }
  .header__menu-btn { display: block; }
  .cards-grid--3,
  .cards-grid--2 { grid-template-columns: 1fr; }
  .gallery-grid--4,
  .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--2 { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .security-points { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .director-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; }
  .director-card__quote { border-left: none; padding-left: 0; border-top: 3px solid var(--teal); padding-top: 16px; }
  .director-card__portrait { width: 96px; height: 96px; }
  .footer__inner { flex-direction: column; }
  .workflow-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { font-size: 11pt; line-height: 1.5; }
  .header { position: static; border-bottom: 2px solid var(--navy); }
  .header__cta, .header__menu-btn { display: none; }
  .hero { padding: 40px 0 32px; background: var(--white) !important; }
  .hero::after { display: none; }
  .hero__logo-main { max-width: 240px; }
  .hero__product-visual { margin-top: 24px; }
  .director-card { break-inside: avoid; }
  .director-card__portrait { width: 80px; height: 80px; }
  .vendor-image-card { break-inside: avoid; box-shadow: none !important; }
  .gallery-item__img { filter: none !important; }
  .lightbox { display: none !important; }
  .gallery-item--zoomable { cursor: default; }
  .section { padding: 32px 0; page-break-inside: avoid; }
  .btn { border: 1px solid var(--gray-400) !important; background: var(--white) !important; color: var(--navy) !important; }
  .cta-section { background: var(--gray-100) !important; color: var(--navy) !important; }
  .cta-section h2, .section--navy h2, .section--navy h3 { color: var(--navy) !important; }
  .section--navy { background: var(--gray-100) !important; color: var(--gray-800) !important; }
  .footer { background: var(--white) !important; color: var(--gray-700) !important; border-top: 2px solid var(--navy); }
  .footer__brand img { background: transparent !important; padding: 0 !important; }
  .gallery-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .gallery-item { break-inside: avoid; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-answer { max-height: none !important; padding-bottom: 16px !important; }
  .faq-question__icon { display: none; }
  .pricing-card, .card, .compare-card { break-inside: avoid; }
  .comparison-table, .tier-table { font-size: 9pt; }
  a { color: var(--navy) !important; }
  a::after { content: none !important; }
}
