/* ==========================================================================
   INTELLEGENT SERVICE — Bright, Modern Enterprise Design System
   Palette aligned with brand wordmark: Deep Blue -> Violet -> Magenta
   Zero black/dark backgrounds; compact, scannable, high-clarity layouts.
   ========================================================================== */

:root {
  --brand-blue: #1562b7;
  --brand-indigo: #3b479e;
  --brand-purple: #643289;
  --brand-magenta: #ab2166;
  --brand-gradient: linear-gradient(135deg, #1562b7 0%, #643289 52%, #ab2166 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(21, 98, 183, 0.08) 0%, rgba(100, 50, 137, 0.08) 52%, rgba(171, 33, 102, 0.08) 100%);
  --brand-wash: linear-gradient(135deg, #f3f7ff 0%, #f6f2ff 52%, #fdf2f8 100%);

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-soft-accent: #f5f3ff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  --success-bg: #ecfdf5;
  --success-border: #6ee7b7;
  --success-text: #065f46;
  --error-bg: #fef2f2;
  --error-border: #fca5a5;
  --error-text: #991b1b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px rgba(21, 98, 183, 0.12);
  --shadow-glow: 0 8px 24px rgba(100, 50, 137, 0.24);

  --container-max: 1180px;
  --header-height: 74px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-page);
  line-height: 1.6;
  font-size: 15.5px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--compact {
  padding: 44px 0;
}

.section--surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section--tint {
  background: var(--brand-wash);
  border-top: 1px solid rgba(100, 50, 137, 0.12);
  border-bottom: 1px solid rgba(100, 50, 137, 0.12);
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(100, 50, 137, 0.2);
  color: var(--brand-purple);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(21, 98, 183, 0.35);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(100, 50, 137, 0.32);
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  transform: translateY(-2px);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  background: #ffffff;
  color: var(--brand-purple);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Light Top Utility Strip + Sticky Header */
.top-strip {
  background: var(--brand-wash);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(100, 50, 137, 0.12);
}

.top-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.top-strip__locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.top-strip__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-strip__badge strong {
  color: var(--brand-blue);
}

.top-strip__cta {
  color: var(--brand-magenta);
  font-weight: 700;
  transition: color var(--transition);
}

.top-strip__cta:hover {
  color: var(--brand-purple);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-purple);
  background: var(--brand-gradient-soft);
}

.nav-link--highlight {
  color: var(--brand-magenta);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 14px 24px 20px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: 10px 12px;
  font-size: 0.98rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 86% 14%, rgba(171, 33, 102, 0.11), transparent 36%),
    radial-gradient(circle at 8% 82%, rgba(21, 98, 183, 0.12), transparent 40%),
    #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero__lead {
  font-size: 1.04rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 590px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.trust-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.trust-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Right Panel */
.hero-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: #ecfdf5;
  color: #047857;
  font-size: 0.76rem;
  font-weight: 700;
}

.pill-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.pathway-list {
  display: grid;
  gap: 10px;
}

.pathway-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pathway-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-purple);
  box-shadow: var(--shadow-sm);
}

.pathway-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pathway-item__body h3 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.pathway-item__body p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pathway-item__arrow {
  color: var(--brand-purple);
  font-weight: 800;
}

/* Inner Page Banner */
.page-hero {
  padding: 48px 0 42px;
  background:
    radial-gradient(circle at 90% 20%, rgba(171, 33, 102, 0.1), transparent 40%),
    radial-gradient(circle at 5% 80%, rgba(21, 98, 183, 0.1), transparent 40%),
    #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 720px;
}

/* Grids & Compact Modern Cards */
.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(100, 50, 137, 0.3);
}

.card:hover::after,
.card--featured::after {
  opacity: 1;
}

.card--featured {
  border-color: rgba(100, 50, 137, 0.28);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
}

.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  margin-bottom: 2px;
}

.card__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.card__head .card__title {
  margin-bottom: 0;
}

.card__text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

/* Fixed Check-List Alignment: Works seamlessly with inline <strong> labels */
.check-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.check-list li {
  display: block;
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.check-list li strong {
  color: var(--text-primary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-magenta);
  font-weight: 800;
}

.card__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brand-purple);
  transition: gap var(--transition), color var(--transition);
}

.link-arrow:hover {
  gap: 9px;
  color: var(--brand-magenta);
}

/* Interactive Master-Detail Service / Solution Explorer */
.explorer {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 24px;
  align-items: start;
}

.explorer-nav {
  display: grid;
  gap: 10px;
}

.explorer-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition);
}

.explorer-btn:hover {
  border-color: rgba(100, 50, 137, 0.4);
  transform: translateX(3px);
}

.explorer-btn.is-active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.explorer-btn__badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.explorer-btn.is-active .explorer-btn__badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.explorer-btn__meta strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
}

.explorer-btn__meta span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.78;
  margin-top: 2px;
}

.explorer-detail {
  background: var(--bg-surface);
  border: 1px solid rgba(100, 50, 137, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.explorer-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.explorer-panel {
  display: none;
}

.explorer-panel.is-active {
  display: block;
  animation: fadeIn 0.22s ease;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.info-chip {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Interactive Tabs & Filter Pills */
.tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.tab-btn.is-active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeIn 0.22s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover,
.filter-pill.is-active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}

/* Timeline Steps */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.84rem;
  margin-bottom: 10px;
}

/* Problem -> Solution Compact Split Row */
.solution-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.solution-row:hover {
  border-color: rgba(100, 50, 137, 0.35);
  box-shadow: var(--shadow-md);
}

.solution-col--problem {
  padding-right: 14px;
  border-right: 1px dashed var(--border-medium);
}

.badge-soft {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.badge-soft--warn {
  background: #fff1f2;
  color: #be123c;
}

.badge-soft--ok {
  background: #eef2ff;
  color: var(--brand-purple);
}

/* Forms */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label span {
  color: var(--brand-magenta);
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(100, 50, 137, 0.14);
}

textarea.form-control {
  min-height: 108px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 8px;
}

.checkbox-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--bg-page);
  cursor: pointer;
  font-size: 0.87rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox-chip:has(input:checked) {
  border-color: var(--brand-purple);
  background: var(--brand-gradient-soft);
  color: var(--brand-purple);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.form-status--error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
}

/* Accordion (FAQs) */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 15px 18px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-content {
  display: none;
  padding: 0 18px 15px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.faq-item.is-open .faq-content {
  display: block;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--brand-purple);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* Modal (Insights Reader) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 660px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-page);
  cursor: pointer;
  font-weight: 700;
}

/* CTA Banner */
.cta-banner {
  background: var(--brand-gradient);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  font-size: 0.96rem;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Clean Light Footer (No Black Background) */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--text-secondary);
  padding: 52px 0 24px;
  border-top: 3px solid transparent;
  border-image: var(--brand-gradient) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.25fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-light);
}

.footer-logo-badge {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo-badge img {
  height: 36px;
  width: auto;
}

.footer-heading {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--brand-purple);
}

.footer-office {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
}

.footer-office strong {
  display: block;
  color: var(--brand-blue);
  margin-bottom: 2px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .explorer,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid--4,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .timeline,
  .form-grid,
  .solution-row {
    grid-template-columns: 1fr;
  }

  .solution-col--problem {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px dashed var(--border-medium);
  }

  .hero__trust {
    grid-template-columns: 1fr;
  }

  .form-card,
  .cta-banner,
  .explorer-detail {
    padding: 22px 18px;
  }
}
