/* ============================================
   FileReq / Landing Page v2 Styles
   Serif + sans-serif pairing · Calm, spacious
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --border: rgb(222, 216, 211);
  --text-primary: #1a1a1a;
  --text-dark: #111111;
  --white: #ffffff;
  --text-muted: #808080;
  --text-secondary: #4c4c4c;
  --bg-body: #f4f2f1;
  --bg-warm: #f5f4f0;
  --bg-lighter: #f6f5f4;
  --dark-slate: #1e2330;
  --teal: #4A9A9A;
  --teal-light: #6BBABA;

  /* Gradients */
  --gradient-filereq: linear-gradient(90deg, #0E1926, #1A2E3E 35%, #4A8CB8 75%, #6AAAC8);
  --gradient-filereq-vertical: linear-gradient(180deg, #0E1926, #1A2E3E 35%, #4A8CB8 75%, #6AAAC8);
  --gradient-button-dark: linear-gradient(180deg, #1A2E3E 0%, #0E1926 100%);

  /* Shadows */
  --shadow-subtle: 0 1px 1px rgba(0, 0, 0, 0.1), 0 3px 8px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 6px 12px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.12), 0 6px 11px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 7px 15px rgba(128, 121, 106, 0.05), 0 25px 80px rgba(128, 121, 106, 0.05);

  /* Layout */
  --container-max: 1200px;
  --section-padding: 96px 20px;
  --section-padding-lg: 120px 20px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-tight: 'Inter Tight', 'Inter', sans-serif;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

/* All h2 section headlines use serif */
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-family: var(--font-serif);
  color: #1C1917;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Section Label (teal dot + text pill) --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-tight);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-label__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 44px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
}

.btn--primary {
  background: var(--gradient-button-dark);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(14, 25, 38, 0.3);
}

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  background: rgba(0, 0, 0, 0.03);
}

.btn--white {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
}

.btn--white:hover {
  background: #f0efed;
}

.btn--outline-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--large {
  padding: 14px 32px;
  font-size: 15px;
}

/* ==========================================
   NAVBAR (PRESERVED)
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #f5f4f0;
  border-bottom: 1px solid #e8e6e1;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
}

.navbar__logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
}

.navbar__logo-img {
  height: 90px;
  width: auto;
}

.navbar__wordmark {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.navbar__link:hover {
  color: var(--text-dark);
}

.navbar__link--active {
  color: var(--text-dark);
}

.navbar__link .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-filereq);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.navbar__login-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar__login-link:hover {
  color: var(--text-dark);
}

.navbar__actions .btn--primary {
  background: var(--gradient-button-dark);
}

.navbar__mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}

.navbar__mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  position: relative;
}

.navbar__mobile-toggle span::before,
.navbar__mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--text-dark);
  left: 0;
}

.navbar__mobile-toggle span::before { top: -6px; }
.navbar__mobile-toggle span::after { top: 6px; }

.navbar.scrolled .navbar__inner {
  /* flush style — no visual change on scroll */
}

/* ==========================================
   HERO (PRESERVED)
   ========================================== */
.hero {
  position: relative;
  padding: 160px 20px 80px;
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
}

/* Background decorative elements */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  opacity: 0.3;
  z-index: 1;
}

.hero__bg-grid-line {
  border-right: 1px solid var(--border);
  background: linear-gradient(270deg, rgba(244, 242, 241, 0.2) 0%, rgba(244, 242, 241, 0) 100%);
  height: 100%;
}

.hero__bg-noise {
  position: absolute;
  inset: 0;
  background-image: url('https://framerusercontent.com/images/6mcf62RlDfRfU61Yg5vb2pefpi4.png');
  background-size: 200px;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.hero__abstract {
  position: absolute;
  border-radius: 50%;
  filter: blur(200px);
  opacity: 0.8;
  pointer-events: none;
}

.hero__abstract--red { width: 207px; height: 207px; background: #0E1926; }
.hero__abstract--orange { width: 208px; height: 208px; background: #1A2E3E; }
.hero__abstract--purple { width: 207px; height: 207px; background: #4A8CB8; }
.hero__abstract--magenta { width: 207px; height: 207px; background: #6AAAC8; }

.hero__abstract-group--left { position: absolute; left: -40px; top: 100px; }
.hero__abstract-group--left .hero__abstract--red { position: absolute; top: 0; left: 0; }
.hero__abstract-group--left .hero__abstract--orange { position: absolute; top: 60px; left: 80px; }
.hero__abstract-group--left .hero__abstract--purple { position: absolute; top: 150px; left: -20px; }
.hero__abstract-group--left .hero__abstract--magenta { position: absolute; top: 200px; left: 100px; }

.hero__abstract-group--right { position: absolute; right: -40px; top: 100px; }
.hero__abstract-group--right .hero__abstract--red { position: absolute; top: 0; right: 0; }
.hero__abstract-group--right .hero__abstract--orange { position: absolute; top: 60px; right: 80px; }
.hero__abstract-group--right .hero__abstract--purple { position: absolute; top: 150px; right: -20px; }
.hero__abstract-group--right .hero__abstract--magenta { position: absolute; top: 200px; right: 100px; }

.hero__gradient-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg, rgba(244, 242, 241, 0) 0%, var(--bg-body) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero__emblem {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

.hero h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 16px;
  color: #2C2A27;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__trust-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 60px;
}

/* ==========================================
   INDUSTRY STRIP
   ========================================== */
.industry-strip {
  padding: 48px 20px;
  text-align: center;
}

.industry-strip__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.industry-strip__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.industry-strip__track {
  overflow: hidden;
}

.industry-strip__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.industry-strip__tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ==========================================
   PROBLEM STATEMENT
   ========================================== */
.problem {
  padding: var(--section-padding-lg);
  background: var(--bg-warm);
  overflow: hidden;
}

.problem__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.problem__headline {
  font-size: 42px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.problem__subheadline {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- Transformation Graphic: Inbox → FileReq --- */
.xform {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: 16px;
  display: flex;
  align-items: stretch;
}

/* ======== LEFT SIDE — Inbox + mid-flight cards ======== */
.xform__left {
  position: relative;
  width: 45%;
  flex-shrink: 0;
}

/* -- Inbox card -- */
.xform__inbox {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-3deg);
  width: 220px;
  background: #ffffff;
  border: 1px solid #e8e6e1;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  opacity: 0;
  z-index: 2;
}
.xform--visible .xform__inbox {
  animation: xform-inbox-in 400ms ease-out forwards;
}
@keyframes xform-inbox-in {
  from { opacity: 0; transform: translateY(-50%) rotate(-3deg) translateX(-20px); }
  to   { opacity: 1; transform: translateY(-50%) rotate(-3deg) translateX(0); }
}

.xform__inbox-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid #f0eeea;
}
.xform__inbox-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}
.xform__inbox-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 15px;
  padding: 0 5px;
  background: #dc2626;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  border-radius: 8px;
  line-height: 1;
}

.xform__inbox-rows {
  padding: 2px 0;
}

.xform__inbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  position: relative;
}

/* Teal-highlighted rows (document requests being extracted) */
.xform__inbox-row--teal {
  border-left: 2px solid #4a9e95;
  background: #f9fffe;
}
/* Subtle motion blur on right edge of highlighted rows */
.xform__inbox-row--teal::after {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 0;
  width: 4px;
  background: rgba(255,255,255,0.5);
  filter: blur(0.5px);
  pointer-events: none;
}

/* Teal glow pulse on highlighted rows after inbox appears */
.xform--visible .xform__inbox-row--teal {
  animation: xform-row-pulse 300ms ease-out 400ms;
}
@keyframes xform-row-pulse {
  0%   { box-shadow: inset 0 0 0 1px transparent; }
  50%  { box-shadow: inset 0 0 0 1px rgba(74,158,149,0.25); }
  100% { box-shadow: inset 0 0 0 1px transparent; }
}

.xform__inbox-cb {
  width: 11px;
  height: 11px;
  border: 1.5px solid #d0cdc8;
  border-radius: 2px;
  flex-shrink: 0;
}

.xform__inbox-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.xform__inbox-dot--teal { background: #4a9e95; }
.xform__inbox-dot--grey { background: #d0cdc8; }

.xform__inbox-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.xform__inbox-bar {
  height: 5px;
  background: #f0eeea;
  border-radius: 3px;
  flex-shrink: 0;
}
.xform__inbox-bar--dark { background: #e0ddd8; }

/* -- Mid-flight email cards -- */
.xform__flight {
  position: absolute;
  z-index: 3;
  opacity: 0;
}

.xform__flight-inner {
  position: relative;
  width: 220px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #e8e6e1;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.xform__flight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.xform__flight-sender {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xform__flight-subject {
  font-size: 11px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.xform__flight-preview {
  font-size: 11px;
  font-weight: 400;
  color: #9a9690;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xform__pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.xform__pill--red { background: rgba(220,38,38,0.08); color: #dc2626; }
.xform__pill--amber { background: rgba(217,119,6,0.08); color: #d97706; }

.xform__flight-urgent {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Flight card positions — arc from inbox toward centre */
/* Card 1: closest to inbox, most tilted */
.xform__flight--1 {
  top: 8%;
  left: 28%;
}
.xform__flight--1 .xform__flight-inner {
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px rgba(0,0,0,0.09);
}

/* Card 2: middle of arc */
.xform__flight--2 {
  top: 40%;
  left: 42%;
}
.xform__flight--2 .xform__flight-inner {
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* Card 3: closest to centre, nearly upright */
.xform__flight--3 {
  top: 72%;
  left: 52%;
}
.xform__flight--3 .xform__flight-inner {
  transform: rotate(-1deg);
  box-shadow: 0 10px 24px rgba(0,0,0,0.11);
}

/* Flight entrance animations — fly from inbox position */
.xform--visible .xform__flight--1 {
  animation: xform-fly1 500ms ease-out 500ms forwards;
}
.xform--visible .xform__flight--2 {
  animation: xform-fly2 500ms ease-out 650ms forwards;
}
.xform--visible .xform__flight--3 {
  animation: xform-fly3 500ms ease-out 800ms forwards;
}

@keyframes xform-fly1 {
  from { opacity: 0; transform: translateX(-120px) translateY(100px); }
  to   { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes xform-fly2 {
  from { opacity: 0; transform: translateX(-160px) translateY(20px); }
  to   { opacity: 0.95; transform: translateX(0) translateY(0); }
}
@keyframes xform-fly3 {
  from { opacity: 0; transform: translateX(-200px) translateY(-60px); }
  to   { opacity: 0.90; transform: translateX(0) translateY(0); }
}

/* Subtle rightward drift after settle */
.xform--visible .xform__flight--1.xform--settled { animation: xform-drift 6s ease-in-out infinite; }
.xform--visible .xform__flight--2.xform--settled { animation: xform-drift 7s ease-in-out infinite; }
.xform--visible .xform__flight--3.xform--settled { animation: xform-drift 5.4s ease-in-out infinite; }

@keyframes xform-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Motion blur pseudo-element on right edge of flight cards */
.xform__flight-inner::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -2px;
  width: 5px;
  background: rgba(255,255,255,0.5);
  filter: blur(1.5px);
  border-radius: 0 10px 10px 0;
  pointer-events: none;
}

/* ======== CENTRE — Transition point ======== */
.xform__centre {
  position: relative;
  width: 10%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xform__glow {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(74,158,149,0.19) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0;
}
.xform--visible .xform__glow {
  animation: xform-glow 600ms ease-out 200ms forwards;
}
@keyframes xform-glow {
  0%   { opacity: 0; }
  50%  { opacity: 0.6; }
  100% { opacity: 0.3; }
}

.xform__mark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  filter: drop-shadow(0 0 8px rgba(74,158,149,0.3));
}
.xform__mark-logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: #1c1a17;
  letter-spacing: 0.02em;
  line-height: 1;
}
.xform__mark-name {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #4a9e95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* ======== RIGHT SIDE — FileReq dashboard ======== */
.xform__right {
  position: relative;
  width: 45%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xform__dash {
  width: 260px;
  background: #ffffff;
  border: 1px solid #eeece8;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
}
/* Delay = last flight card (800ms) + flight duration (500ms) + 200ms buffer */
.xform--visible .xform__dash {
  animation: xform-dash-in 400ms ease-out 1500ms forwards;
}
@keyframes xform-dash-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.xform__dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid #f0eeea;
}
.xform__dash-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a9e95;
  flex-shrink: 0;
}
.xform__dash-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #1c1a17;
}

/* Dashboard rows */
.xform__dash-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 8px 12px;
  border-bottom: 1px solid #f0eeea;
  min-height: 32px;
}
.xform__dash-row--last {
  border-bottom: none;
}

.xform__dash-client {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 400;
  color: #1c1a17;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xform__dash-req {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #9a9690;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xform__dash-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.xform__dash-track {
  width: 120px;
  height: 4px;
  background: #e8e6e2;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.xform__dash-fill {
  height: 100%;
  background: #4a9e95;
  border-radius: 999px;
}
.xform__dash-fill--green { background: #16a34a; }
.xform__dash-fill--amber { background: #d97706; }

.xform__dash-count {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #9a9690;
}

.xform__dash-status {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  padding: 3px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  border-radius: 999px;
  margin-top: 2px;
}
.xform__dash-status--teal  { background: rgba(74,158,149,0.08);  color: #4a9e95; }
.xform__dash-status--green { background: rgba(22,163,74,0.07);   color: #16a34a; }
.xform__dash-status--amber { background: rgba(217,119,6,0.08);   color: #d97706; }

.xform__dash-footer {
  padding: 12px 12px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #9a9690;
  text-align: center;
  border-top: 1px solid #f0eeea;
}

/* ======== Reduced motion ======== */
@media (prefers-reduced-motion: reduce) {
  .xform__inbox  { opacity: 1 !important; animation: none !important; transform: translateY(-50%) rotate(-3deg) !important; }
  .xform__flight { opacity: 1 !important; animation: none !important; }
  .xform__flight--2 { opacity: 0.95 !important; }
  .xform__flight--3 { opacity: 0.90 !important; }
  .xform__inbox-row--teal { animation: none !important; }
  .xform__glow   { opacity: 0.3 !important; animation: none !important; }
  .xform__dash   { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
  padding: var(--section-padding-lg);
  background: var(--white);
}

.how-it-works__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: #e0e0e0;
  z-index: 0;
}

.how-it-works__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.how-it-works__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  background-clip: padding-box;
}

.how-it-works__circle::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #4a9e95, #3a877f);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.how-it-works__circle span {
  font-family: var(--font-tight);
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.how-it-works__step > h3,
.how-it-works__step > p {
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}

.how-it-works__step .how-it-works__title:first-of-type {
  padding-top: 28px;
}

.how-it-works__step::after {
  content: '';
  position: absolute;
  top: 58px;
  left: 0; right: 0; bottom: 0;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  z-index: -1;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-it-works__step:hover::after {
  border-color: rgba(74, 158, 149, 0.40);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.how-it-works__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.how-it-works__text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  padding-bottom: 28px;
}

/* ==========================================
   FEATURES (Alternating Layout)
   ========================================== */
.features-section {
  padding: var(--section-padding-lg);
  background: var(--bg-warm);
}

.features-section__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block--reversed {
  direction: rtl;
}

.feature-block--reversed > * {
  direction: ltr;
}

.feature-block__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 16px;
}

.feature-block__headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-block__body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-block__placeholder {
  width: 100%;
  height: 400px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================
   COMPARISON (Without / With)
   ========================================== */
.comparison {
  padding: var(--section-padding-lg);
  background: var(--white);
}

.comparison__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison__col {
  border-radius: var(--radius-xl);
  padding: 36px;
}

.comparison__col--without {
  background: #f9f8f6;
  border: 1px solid #eae8e4;
}

.comparison__col--with {
  background: #f4faf8;
  border: 1px solid #d4ede6;
}

.comparison__col-header {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 20px;
  margin-bottom: 8px;
}

.comparison__col--without .comparison__col-header {
  color: var(--text-muted);
}

.comparison__col--with .comparison__col-header {
  color: var(--teal);
}

.comparison__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.5;
}

.comparison__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.comparison__col--without .comparison__item {
  color: var(--text-muted);
}

.comparison__col--without .comparison__item span {
  text-decoration: line-through;
  text-decoration-color: rgba(128, 128, 128, 0.3);
}

.comparison__col--without .comparison__icon {
  color: #c0b8b0;
}

.comparison__col--with .comparison__item {
  color: var(--text-primary);
  font-weight: 500;
}

.comparison__col--with .comparison__icon {
  color: var(--teal);
}

/* ==========================================
   DIFFERENTIATOR CALLOUT
   ========================================== */
.differentiator {
  padding: var(--section-padding-lg);
  background: var(--dark-slate);
  text-align: center;
}

.differentiator__container {
  max-width: 820px;
  margin: 0 auto;
}

.differentiator__headline {
  font-size: 36px;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.differentiator__subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
  padding: var(--section-padding-lg);
  background: var(--bg-warm);
}

.pricing__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing__toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.pricing__toggle-label--active {
  color: var(--text-dark);
}

.pricing__toggle-save {
  display: inline-block;
  background: rgba(74, 154, 154, 0.12);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
}

.pricing__toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: #0E1926;
  border-radius: 14px;
  cursor: pointer;
}

.pricing__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.pricing__toggle-switch.yearly .pricing__toggle-knob {
  transform: translateX(24px);
}

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured {
  background: var(--dark-slate);
  color: var(--white);
  border-color: var(--teal);
  border-width: 2px;
}

.pricing-card__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-tight);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-card--featured .pricing-card__name {
  color: var(--white);
}

.pricing-card__for {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card--featured .pricing-card__for {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-card--featured .pricing-card__tagline {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-card--featured .pricing-card__amount {
  color: var(--white);
}

.pricing-card__period {
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-card--featured .pricing-card__period {
  color: rgba(255, 255, 255, 0.45);
}

.pricing-card__annual-note {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 18px;
  margin-bottom: 24px;
}

.pricing-card--featured .pricing-card__annual-note {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card__limits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-card--featured .pricing-card__limits {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card__limit {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-card--featured .pricing-card__limit {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-card__cta {
  margin-bottom: 24px;
}

.pricing-card__cta .btn {
  width: 100%;
}

.pricing-card--featured .pricing-card__cta .btn--primary {
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
}

.pricing-card--featured .pricing-card__cta .btn--primary:hover {
  background: #f0efed;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card--featured .pricing-card__feature {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card__check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

.pricing-card--featured .pricing-card__check {
  color: var(--teal-light);
}

.pricing-card__divider-text {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 4px;
  font-style: italic;
}

.pricing-card--featured .pricing-card__divider-text {
  color: rgba(255, 255, 255, 0.45);
}

.pricing__footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   FAQ
   ========================================== */
.faq {
  padding: var(--section-padding-lg);
  background: var(--white);
}

.faq__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  width: 100%;
  background: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  gap: 16px;
  transition: color 0.15s;
}

.faq__question:hover {
  color: var(--text-primary);
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 1px;
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq__item.open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer-content {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   FINAL CTA
   ========================================== */
.final-cta {
  padding: var(--section-padding-lg);
  background: var(--dark-slate);
  text-align: center;
}

.final-cta__container {
  max-width: 700px;
  margin: 0 auto;
}

.final-cta__headline {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.final-cta__subheadline {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
  line-height: 1.6;
}

.final-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.final-cta__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.final-cta__trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 64px 20px 32px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__column h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--text-dark);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1199px) and (min-width: 810px) {
  .hero h1 {
    font-size: 58px;
  }

  .section-header h2 {
    font-size: 36px;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .how-it-works__steps::before {
    display: none;
  }

  .feature-block {
    gap: 40px;
  }

  .feature-block__headline {
    font-size: 28px;
  }

  .pricing__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Transformation graphic — tablet scale */
  .xform {
    transform: scale(0.85);
    transform-origin: top center;
    height: 425px;
  }

  .differentiator__headline {
    font-size: 30px;
  }

  .final-cta__headline {
    font-size: 36px;
  }

  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer__top > .footer__column:last-child {
    grid-column: span 1;
  }
}

@media (max-width: 809px) {
  :root {
    --section-padding: 64px 20px;
    --section-padding-lg: 80px 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero__cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__login-link {
    display: none;
  }

  .navbar__mobile-toggle {
    display: flex;
  }

  /* Industry strip marquee on mobile */
  .industry-strip__tags {
    flex-wrap: nowrap;
    justify-content: flex-start;
    animation: marquee 20s linear infinite;
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-it-works__steps::before {
    display: none;
  }

  .feature-block,
  .feature-block--reversed {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .feature-block__headline {
    font-size: 26px;
  }

  .feature-block__placeholder {
    height: 260px;
  }

  .comparison__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .differentiator__headline {
    font-size: 24px;
  }

  .pricing__cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .problem__headline {
    font-size: 28px;
  }

  /* Transformation graphic — mobile: stack vertically */
  .xform {
    flex-direction: column;
    height: auto;
    gap: 20px;
    align-items: center;
  }

  .xform__left {
    width: 100%;
    height: 380px;
    max-width: 340px;
    position: relative;
  }

  .xform__inbox {
    position: relative;
    top: auto;
    left: auto;
    transform: rotate(-3deg);
    width: 200px;
    margin: 0 auto 16px;
  }
  .xform--visible .xform__inbox {
    animation: none;
    opacity: 1;
  }

  .xform__flight {
    position: relative;
    top: auto !important;
    left: auto !important;
    margin: 8px auto;
    opacity: 1 !important;
  }
  .xform--visible .xform__flight--1,
  .xform--visible .xform__flight--2,
  .xform--visible .xform__flight--3 {
    animation: none;
    opacity: 1;
  }
  .xform__flight--2 { opacity: 0.95 !important; }
  .xform__flight--3 { opacity: 0.90 !important; }

  .xform__flight-inner {
    width: 200px;
    padding: 10px 12px;
    transform: none !important;
  }

  .xform__flight-sender { font-size: 10px; }
  .xform__flight-subject { font-size: 10px; }
  .xform__flight-preview { font-size: 9px; }

  .xform__centre {
    width: 100%;
    height: 50px;
  }

  .xform__right {
    width: 100%;
    max-width: 300px;
  }

  .xform__dash {
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .xform__dash-track { width: 80px; }

  .final-cta__headline {
    font-size: 28px;
  }

  .final-cta__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer__bottom {
    text-align: center;
  }

  .hero__abstract-group--left,
  .hero__abstract-group--right {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }

  .final-cta__trust {
    flex-direction: column;
    gap: 8px;
  }

  .industry-strip__tag {
    font-size: 13px;
    padding: 8px 18px;
  }
}
