/* ===========================================================
   EvntPro Marketing Site — Stylesheet
   Design concept: "Precision Stage"
   =========================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #5B4FE8;
  --accent-hover: #4A40D4;
  --accent-glow: rgba(91, 79, 232, 0.25);

  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --surface: #fafafa;
  --surface-tinted: #f5f4ff;   /* barely-there indigo tint */
  --noise-opacity: 0.03;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --max-width: 1200px;
  --section-padding: 120px;
  --section-padding-sm: 80px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: inherit;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.75rem);
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

p {
  color: inherit;
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.eyebrow-light {
  color: var(--gray-500);
}

.eyebrow-accent {
  color: var(--accent);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-padding) 0;
}

.section-sm {
  padding: var(--section-padding-sm) 0;
}

.section-hero {
  background: var(--black);
  color: var(--white);
}

.section-dark {
  background: var(--surface-tinted);
  color: var(--black);
}

.section-light {
  background: var(--white);
  color: var(--black);
}

.section-gray {
  background: var(--gray-100);
  color: var(--black);
}

.section-accent {
  background: var(--accent);
  color: var(--white);
}

/* Subtle noise texture on tinted/gray sections */
.section-dark, .section-gray, .section-tinted {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-blend-mode: overlay;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-300);
}

.btn-outline-dark:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  padding: 10px 16px;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 32px;
  font-size: 1rem;
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 400;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: all 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all 0.3s var(--ease);
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 79, 232, 0.25) 0%, transparent 70%), var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(91, 79, 232, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 120%, rgba(91, 79, 232, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.hero h1 {
  max-width: 14ch;
  margin: 0 auto 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  max-width: 60ch;
  margin: 0 auto 40px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-400);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Hero visual — stacked mockup cards */
.hero-visual {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  height: 460px;
}

.mockup-card {
  position: absolute;
  background: var(--gray-950);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.mockup-card.main {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 420px;
  z-index: 2;
}

.mockup-card.side-left {
  top: 60px;
  left: 0;
  width: 34%;
  height: 320px;
  transform: rotate(-3deg);
  z-index: 1;
}

.mockup-card.side-right {
  top: 60px;
  right: 0;
  width: 34%;
  height: 320px;
  transform: rotate(3deg);
  z-index: 1;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-title {
  margin-left: 8px;
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}

.mockup-body {
  padding: 18px;
}

/* Dashboard mockup content */
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
}

.stat-change {
  font-size: 0.7rem;
  color: var(--accent);
  margin-top: 4px;
}

.event-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.event-date-block {
  width: 40px;
  text-align: center;
  padding: 4px;
  background: rgba(91, 79, 232, 0.15);
  border-radius: 4px;
  color: var(--accent);
}

.event-date-block .day {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
}

.event-date-block .month {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.event-name {
  flex: 1;
  color: var(--white);
  font-weight: 500;
}

.event-meta {
  font-size: 0.7rem;
  color: var(--gray-500);
}

.event-pill {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(91, 79, 232, 0.15);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-pill.confirmed {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
}

/* Quote mockup */
.quote-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin: 12px 0 8px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
}

.quote-line-name { color: var(--gray-300); }
.quote-line-price { color: var(--white); font-variant-numeric: tabular-nums; }

.quote-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
}
.quote-total .val { font-family: var(--font-display); font-size: 1.1rem; }

/* Timeline mockup */
.timeline-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.timeline-time {
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
  width: 54px;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  color: var(--white);
  margin-bottom: 2px;
}

.timeline-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

/* Logos row */
.logos-row {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.logos-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
  opacity: 0.65;
}

.logo-placeholder {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gray-400);
  font-style: italic;
  letter-spacing: 0.02em;
}

.logo-placeholder.bold {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.02em;
}

.logo-placeholder.caps {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

/* ---------- Section Header ---------- */
.section-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.section-hero .section-header p {
  color: var(--gray-400);
}

.section-dark .section-header p {
  color: var(--gray-600);
}

.section-accent .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Pain Cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.pain-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--gray-100);
  color: var(--black);
  margin-bottom: 24px;
}

.pain-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ---------- Tabs ---------- */
.tabs-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
  margin: 0 auto 48px;
  width: fit-content;
  max-width: 100%;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.tab-btn:hover {
  color: var(--black);
}

.tab-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tab-panel {
  display: none;
  animation: fadeInUp 0.4s var(--ease-out);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.tab-copy h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.tab-copy p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.tab-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

.tab-mockup {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ---------- Feature Deep Dives ---------- */
.feature-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.feature-dive.reverse {
  direction: rtl;
}
.feature-dive.reverse > * {
  direction: ltr;
}

.feature-copy h2 {
  margin-bottom: 24px;
}

.feature-copy .lead {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.section-hero .feature-copy .lead {
  color: var(--gray-400);
}

.section-dark .feature-copy .lead {
  color: var(--gray-600);
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.5;
}

.feature-bullets li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(91, 79, 232, 0.1);
  color: var(--accent);
  margin-bottom: 24px;
}

.section-dark .feature-icon {
  background: rgba(91, 79, 232, 0.1);
}

/* Feature visual (shared mockup block) */
.feature-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08);
}

.section-dark .feature-visual {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Quote visual */
.quote-visual .q-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.quote-visual .q-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.quote-visual .q-num {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.q-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin: 16px 0 10px;
}

.q-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}

.q-line-name { color: var(--gray-700); }
.q-line-price { color: var(--black); font-variant-numeric: tabular-nums; }

.q-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid var(--black);
}

.q-total-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
}

.q-total-value {
  font-family: var(--font-display);
  font-size: 2rem;
}

.q-sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 0.8rem;
}

.q-sign-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
}

/* Timeline visual */
.timeline-visual .tl-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.section-light .timeline-visual .tl-row {
  border-color: var(--gray-100);
}

.tl-time {
  font-variant-numeric: tabular-nums;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.section-light .tl-time {
  color: var(--gray-600);
}

.tl-title {
  color: var(--black);
  font-weight: 500;
}

.section-light .tl-title {
  color: var(--black);
}

.tl-cat {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 500;
}

.tl-cat.prep { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.tl-cat.cer { background: rgba(236, 72, 153, 0.15); color: #f9a8d4; }
.tl-cat.dinner { background: rgba(251, 191, 36, 0.15); color: #fcd34d; }
.tl-cat.dance { background: rgba(91, 79, 232, 0.18); color: #a5a0f8; }
.tl-cat.strike { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

/* Phone mockup (client portal) */
.phone-mockup {
  max-width: 320px;
  margin: 0 auto;
  background: var(--black);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--gray-200);
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 18;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: var(--black);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-content {
  padding: 44px 20px 20px;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
}

.portal-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #5B4FE8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
}

.portal-brand-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.portal-brand-tag {
  font-size: 0.65rem;
  color: var(--gray-500);
}

.portal-greeting {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.portal-card {
  padding: 12px;
  background: var(--gray-50);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.75rem;
}

.portal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.portal-card-title {
  font-weight: 600;
  color: var(--black);
}

.portal-status {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 600;
}

.portal-status.pending { background: #fef3c7; color: #92400e; }
.portal-status.signed { background: #d1fae5; color: #065f46; }

.portal-card-meta {
  color: var(--gray-600);
  font-size: 0.7rem;
}

.portal-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

/* Inventory visual */
.inv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.inv-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.inv-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 2px;
}

.inv-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.inv-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
}

.inv-badge.available {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.inv-badge.booked {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.inv-components {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.inv-comp-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.inv-comp-name::before {
  content: '— ';
  color: var(--gray-400);
}

.inv-timeline {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(91, 79, 232, 0.08);
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--gray-300);
  display: flex;
  justify-content: space-between;
}

.inv-timeline-label {
  color: var(--accent);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.testimonial {
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  color: var(--accent);
  margin-right: 2px;
}

.testimonial-quote::after {
  content: '"';
  font-family: var(--font-display);
  color: var(--accent);
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 2px;
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.stat {
  text-align: center;
}

.stat-big {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-caption {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

.section-light .price-card {
  background: var(--white);
  border-color: var(--gray-200);
}

.price-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.section-light .price-card:hover {
  border-color: var(--gray-400);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.price-card.featured {
  background: var(--white);
  color: var(--black);
  border-color: rgba(91,79,232,0.3);
  box-shadow: 0 4px 24px rgba(91,79,232,0.12), 0 1px 3px rgba(0,0,0,0.08);
}

.section-light .price-card.featured {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 20px 60px -10px rgba(91, 79, 232, 0.35);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 99px;
}

.plan-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}

.price-card.featured .plan-name {
  color: var(--accent);
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price .currency {
  font-size: 1.5rem;
  color: var(--gray-500);
}

.section-light .plan-price .currency {
  color: var(--gray-500);
}

.price-card.featured .plan-price .currency {
  color: var(--gray-500);
}

.plan-price .period {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 400;
}

.section-light .plan-price .period {
  color: var(--gray-600);
}

.price-card.featured .plan-price .period {
  color: var(--gray-600);
}

.plan-tag {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  line-height: 1.5;
}

.section-light .plan-tag {
  color: var(--gray-600);
}

.section-light .price-card.featured .plan-tag {
  color: rgba(255,255,255,0.8);
}

.price-card.featured .plan-tag {
  color: var(--gray-600);
}

.plan-cta {
  margin-bottom: 28px;
}

.plan-cta .btn {
  width: 100%;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-700);
  line-height: 1.5;
}

.section-light .plan-features li {
  color: var(--gray-700);
}

.section-light .price-card.featured .plan-features li {
  color: rgba(255,255,255,0.9);
}

.price-card.featured .plan-features li {
  color: var(--gray-700);
}

.plan-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  background: currentColor;
  opacity: 0.6;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 760px;
  margin: 96px auto 0;
  border-top: 1px solid var(--gray-200);
}

.section-dark .faq-wrap {
  border-color: var(--gray-200);
}

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

.section-dark .faq-item {
  border-color: var(--gray-200);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: inherit;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

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

.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.faq-toggle::before {
  width: 14px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 14px;
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section-dark .faq-a {
  color: var(--gray-600);
}

.faq-item.open .faq-a {
  max-height: 280px;
  padding-bottom: 24px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(0, 0, 0, 0.2), transparent 50%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 80px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-top: 20px;
  max-width: 32ch;
  line-height: 1.5;
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--gray-600);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Features page specifics ---------- */
.feature-category {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}

.feature-category:last-child {
  border-bottom: none;
}

.feature-category-header h3 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.feature-category-header p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
  align-content: start;
}

.feature-list li {
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--gray-800);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--gray-100);
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.feature-list li strong {
  display: block;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-list li span {
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 400;
}

/* ---------- Pricing page specifics ---------- */
.compare-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.compare-table th {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  background: var(--gray-50);
  position: sticky;
  top: 0;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
  width: 160px;
}

.compare-table .row-section {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}

.compare-table .row-section td {
  padding: 20px;
}

.check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(91, 79, 232, 0.12);
  color: var(--accent);
}

.check svg { width: 12px; height: 12px; }

.dash {
  color: var(--gray-400);
  font-size: 1.2rem;
}

/* ---------- About page specifics ---------- */
.about-hero {
  padding: 160px 0 120px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91, 79, 232, 0.15), transparent 60%);
}

.about-hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

.about-hero h1 {
  margin-bottom: 24px;
}

.about-hero p {
  font-size: 1.25rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.story {
  max-width: 720px;
  margin: 0 auto;
}

.story p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
}

.story p.lead {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.value-card .feature-icon {
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.team-placeholder {
  padding: 80px 48px;
  text-align: center;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  max-width: 820px;
  margin: 0 auto;
}

.team-placeholder h3 {
  margin-bottom: 12px;
}

.team-placeholder p {
  color: var(--gray-600);
  max-width: 52ch;
  margin: 0 auto;
}

/* ---------- Contact page specifics ---------- */
.contact-hero {
  padding: 140px 0 80px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.contact-hero h1 {
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 48ch;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  max-width: 1040px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-info-item {
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}

.contact-info-item:first-of-type {
  border-top: none;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 1.05rem;
  color: var(--black);
  font-weight: 500;
}

.contact-info-value a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root {
    --section-padding: 80px;
    --section-padding-sm: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 32px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  }

  .nav.is-open .nav-links {
    max-height: 500px;
    padding: 12px 32px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    display: none;
  }

  .nav.is-open .nav-links::after {
    content: '';
    display: block;
    height: 8px;
  }

  .hero {
    padding: 80px 0 100px;
  }

  .hero-visual {
    height: auto;
    padding: 0 20px;
  }

  .mockup-card.main {
    position: relative;
    width: 100%;
    transform: none;
    left: auto;
    height: 340px;
  }

  .mockup-card.side-left,
  .mockup-card.side-right {
    display: none;
  }

  .pain-grid,
  .testimonial-grid,
  .pricing-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-dive {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-dive.reverse {
    direction: ltr;
  }

  .feature-category {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-row {
    gap: 32px;
  }

  .stat-big {
    font-size: 2.25rem;
  }

  .container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 16px 24px;
  }

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

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .logos-grid {
    gap: 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .tabs-nav {
    flex-direction: column;
    border-radius: var(--radius);
    width: 100%;
  }

  .tab-btn {
    width: 100%;
  }

  .plan-price {
    font-size: 2.75rem;
  }

  .compare-table {
    font-size: 0.8rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }
}

/* ─── Blog post body typography ─────────────────────────────────────────────── */
.blog-content p {
  margin-bottom: 1.4em;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--gray-800, #1f1f1f);
}

.blog-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 2.4em 0 0.6em;
  color: var(--black);
}

.blog-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.8em 0 0.5em;
  color: var(--black);
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.blog-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
  color: var(--gray-700, #374151);
  font-size: 1.02rem;
}

.blog-content strong {
  font-weight: 600;
  color: var(--black);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.92rem;
}

.blog-content th {
  background: var(--black);
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.blog-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200, #e5e5e5);
  vertical-align: top;
  line-height: 1.5;
}

.blog-content tr:nth-child(even) td {
  background: var(--gray-50, #fafafa);
}

.blog-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 1.6em 0;
  background: var(--surface-tinted, #f5f4ff);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-700, #374151);
}

/* First paragraph after hero — slightly larger lead */
.blog-content > p:first-child {
  font-size: 1.15rem;
  color: var(--gray-700, #374151);
  line-height: 1.75;
}
