/* =========================================================
   PROMS Enquiry Marketing Site — Shared Stylesheet
   Colour variables are set per-page in a <style> block.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Logo Wordmark ───────────────────────────────────────── */
.logo-wordmark {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-o {
  display: inline-block;
  font-size: 0.95em;
  position: relative;
  top: 0.03em;
  font-weight: 400;
}

.logo-pipe {
  opacity: 0.3;
  font-weight: 300;
  margin: 0 5px;
  letter-spacing: 0;
}

.logo-sub {
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.site-nav.nav-light {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-size: 1rem;
  color: var(--nav-logo-color, #0a1628);
  letter-spacing: 0;
}

.nav-logo img {
  display: block;
  height: 42px;
  width: auto;
}

.site-nav.scrolled .nav-logo,
.site-nav.nav-light .nav-logo {
  color: #0a1628;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-link-color, rgba(255,255,255,0.85));
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.site-nav.scrolled .nav-links a,
.site-nav.nav-light .nav-links a {
  color: #374151;
}

.site-nav.scrolled .nav-links a:hover,
.site-nav.nav-light .nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--accent);
  color: var(--btn-nav-text, #fff);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-nav:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nav-logo-color, #fff);
  margin: 5px 0;
  transition: all 0.25s;
}

.site-nav.scrolled .nav-toggle span,
.site-nav.nav-light .nav-toggle span {
  background: #0a1628;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--btn-primary-text, #fff);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-dark:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Section Wrappers ────────────────────────────────────── */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}

.section-title-light {
  color: #fff;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.section-sub-light {
  color: rgba(255,255,255,0.75);
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero Dark (Version A) ───────────────────────────────── */
.hero-dark {
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-dark::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow, rgba(201,168,76,0.12)) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-dark .hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-dark h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-dark h1 .highlight {
  color: var(--accent);
}

.hero-dark .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero Split (Version B) ──────────────────────────────── */
.hero-split {
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-split .hero-text {}

.hero-split .hero-text h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-split .hero-text h1 .highlight {
  color: var(--accent);
}

.hero-split .hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-visual {
  position: relative;
}

.ui-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.ui-mockup-bar {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ui-mockup-body {
  padding: 20px;
}

.ui-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.ui-row:last-child {
  border-bottom: none;
}

.ui-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.ui-badge.pass {
  background: #d1fae5;
  color: #065f46;
}

.ui-badge.review {
  background: #fef3c7;
  color: #92400e;
}

.ui-bar-wrap {
  flex: 1;
}

.ui-bar-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.ui-bar-track {
  height: 6px;
  background: #f3f4f6;
  border-radius: 100px;
  overflow: hidden;
}

.ui-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
}

.ui-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.ui-kpi {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.ui-kpi-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  display: block;
}

.ui-kpi-lab {
  font-size: 0.7rem;
  color: #9ca3af;
}

/* ── Three Boxes ─────────────────────────────────────────── */
.boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.box-card {
  padding: 36px 32px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.box-card:hover {
  transform: translateY(-4px);
}

.box-card-dark {
  background: var(--card-bg-dark, #0f2042);
  border: 1px solid rgba(255,255,255,0.06);
}

.box-card-light {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.box-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.box-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.box-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.box-card-dark h3 {
  color: #fff;
}

.box-card-light h3 {
  color: #0f172a;
}

.box-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.box-card-dark p {
  color: rgba(255,255,255,0.6);
}

.box-card-light p {
  color: #6b7280;
}

/* ── Quote Section ───────────────────────────────────────── */
.quote-section {
  padding: 96px 0;
  background: var(--bg-dark);
  text-align: center;
}

.quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 24px;
}

.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  max-width: 780px;
  margin: 0 auto 28px;
  line-height: 1.55;
  font-style: italic;
}

.quote-attr {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Feature Cards ───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-card-light {
  background: #fff;
  border: 1px solid #e5e7eb;
}

.feature-card-dark {
  background: var(--card-bg-dark, #0f2042);
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(201,168,76,0.1);
  color: var(--accent);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card-light h3 {
  color: #0f172a;
}

.feature-card-dark h3 {
  color: #fff;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.feature-card-light p {
  color: #6b7280;
}

.feature-card-dark p {
  color: rgba(255,255,255,0.6);
}

/* ── SOC Section ─────────────────────────────────────────── */
.soc-section {
  padding: 80px 0;
  text-align: center;
}

.soc-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 32px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  margin-bottom: 32px;
  background: rgba(201,168,76,0.04);
}

.soc-badge-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.soc-badge-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soc-badge-text {
  text-align: left;
}

.soc-badge-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.soc-badge-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.soc-claim {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.soc-claim strong {
  color: var(--accent);
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding: 96px 0;
  background: var(--cta-bg, var(--hero-bg));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow, rgba(201,168,76,0.08)) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  position: relative;
}

/* ── How It Works (Pre-Screening page) ───────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent 50%, var(--accent));
  opacity: 0.25;
}

.step {
  padding: 0 24px;
  text-align: center;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 24px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Import Features (pre-screening page) ────────────────── */
.import-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.import-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.import-list li .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.import-list li .check svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Contact Form ────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--hero-bg);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #060d18;
  padding: 52px 0 32px;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  font-size: 1rem;
}

.footer-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── Utility ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px auto;
}

.divider-left {
  margin-left: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .boxes-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .steps-grid::before {
    display: none;
  }

  .hero-split .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-split .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
