/*
Theme Name: BOP Marketing
Theme URI: https://bophq.com
Author: Semprion Holding, LLC
Author URI: https://bophq.com
Description: Custom marketing theme for BackOfficePro (BOP) — restaurant back-office management SaaS. Jobber-inspired, BOP-branded. Vanilla PHP/CSS/JS. Links Log In / Start Free Trial to the app subdomain and renders live pricing from the BOP API.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: bop-marketing
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --bg-root: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-tertiary: #64748B;
  --brand-primary: #2563EB;
  --brand-primary-hover: #1D4ED8;
  --brand-primary-light: #DBEAFE;
  --brand-dark: #2D3748;
  --brand-dark-hover: #1A202C;
  --accent-success: #059669;
  --accent-success-light: #D1FAE5;
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(30, 41, 59, 0.1);

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: clamp(2rem, 4vw, 2.25rem);
  --text-5xl: clamp(2.5rem, 5vw, 3rem);
  --text-6xl: clamp(3rem, 6vw, 3.75rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15,23,42,0.18);
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.05);

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-root);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
}
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6); }
.container--narrow { max-width: 900px; }
.section { padding: var(--space-24) 0; }
.section--tight { padding: var(--space-16) 0; }
.section--alt { background: var(--bg-surface-alt); }
.section--dark { background: var(--brand-dark); color: #CBD5E1; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #FFFFFF; }

.eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-4);
}
.section-head { max-width: 680px; margin: 0 auto var(--space-16); text-align: center; }
.section-head h2 { font-size: var(--text-4xl); margin-bottom: var(--space-4); }
.section-head p { font-size: var(--text-lg); color: var(--text-secondary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: var(--text-base);
  padding: var(--space-3) var(--space-8); border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--border-medium); }
.btn-secondary:hover { border-color: var(--text-primary); transform: translateY(-2px); }
.btn-dark { background: var(--brand-dark); color: #fff; }
.btn-dark:hover { background: var(--brand-dark-hover); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: var(--space-4) var(--space-12); font-size: var(--text-lg); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER + MEGA MENU
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: var(--glass-bg); border-bottom: 1px solid var(--glass-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: var(--space-3); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-xl); color: var(--text-primary); letter-spacing: -0.03em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-logo { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand .brand-sub { color: var(--brand-primary); }

.main-nav { display: flex; align-items: center; gap: var(--space-2); }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: var(--text-base);
  color: var(--text-primary); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md);
}
.nav-link:hover { color: var(--brand-primary); }
.nav-link .chevron { width: 16px; height: 16px; transition: transform 0.2s ease; }
.nav-item:hover .chevron { transform: rotate(180deg); }

.header-cta { display: flex; align-items: center; gap: var(--space-3); }
.header-cta .login-link { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-primary); padding: var(--space-2) var(--space-4); }
.header-cta .login-link:hover { color: var(--brand-primary); }

/* Mega menu */
.mega-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(760px, 90vw); background: var(--bg-surface); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl); border-radius: var(--radius-xl); padding: var(--space-8);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 60;
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.mega-link { display: flex; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); transition: background-color 0.2s ease; }
.mega-link:hover { background: var(--bg-surface-alt); }
.mega-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--brand-primary-light); color: var(--brand-primary); }
.mega-ico svg { width: 20px; height: 20px; }
.mega-link .mm-title { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-primary); font-size: var(--text-base); }
.mega-link .mm-sub { font-size: var(--text-sm); color: var(--text-tertiary); }

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-md); align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--text-primary); }
.mobile-nav { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: var(--space-24) 0 var(--space-16); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 640px; height: 640px;
  background: radial-gradient(circle, var(--brand-primary-light) 0%, transparent 65%); z-index: 0; opacity: 0.8;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: var(--text-6xl); margin-bottom: var(--space-6); }
.hero h1 .accent { color: var(--brand-primary); }
.hero-sub { font-size: var(--text-xl); color: var(--text-secondary); max-width: 520px; margin-bottom: var(--space-8); }
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-8); }
.hero-note { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-tertiary); }
.hero-note svg { width: 18px; height: 18px; color: var(--accent-success); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; height: 520px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 24px; left: -24px; background: var(--bg-surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4) var(--space-6);
  display: flex; align-items: center; gap: var(--space-3);
}
.hero-badge .hb-ico { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--accent-success-light); color: var(--accent-success); display: grid; place-items: center; }
.hero-badge .hb-ico svg { width: 22px; height: 22px; }
.hero-badge .hb-num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-2xl); color: var(--text-primary); }
.hero-badge .hb-lbl { font-size: var(--text-xs); color: var(--text-tertiary); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: var(--space-12) 0; }
.trust p { text-align: center; font-size: var(--text-sm); color: var(--text-tertiary); margin-bottom: var(--space-8); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: var(--space-16); flex-wrap: wrap; }
.trust-logos span { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-xl); color: var(--border-medium); letter-spacing: -0.02em; }

/* ============================================================
   FEATURE BENTO
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.f-card { padding: var(--space-8); background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.f-ico { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--brand-primary-light); color: var(--brand-primary); display: grid; place-items: center; margin-bottom: var(--space-6); }
.f-ico svg { width: 26px; height: 26px; }
.f-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.f-card p { font-size: var(--text-base); color: var(--text-secondary); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); counter-reset: step; }
.step { position: relative; padding-top: var(--space-8); }
.step::before { counter-increment: step; content: '0' counter(step); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-5xl); color: var(--brand-primary-light); position: absolute; top: -12px; left: 0; z-index: 0; }
.step-body { position: relative; z-index: 1; }
.step h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.step p { color: var(--text-secondary); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-6); }
.quote { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); }
.quote .stars { display: flex; gap: 2px; margin-bottom: var(--space-4); color: var(--brand-primary); }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--text-lg); color: var(--text-primary); margin-bottom: var(--space-6); font-family: 'Outfit', sans-serif; font-weight: 400; }
.quote .who { display: flex; align-items: center; gap: var(--space-3); }
.quote .avatar { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--brand-dark); color: #fff; display: grid; place-items: center; font-family: 'Outfit', sans-serif; font-weight: 700; }
.quote .who .name { font-weight: 600; color: var(--text-primary); }
.quote .who .role { font-size: var(--text-sm); color: var(--text-tertiary); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-5xl); margin-bottom: var(--space-6); }
.cta-band p { font-size: var(--text-lg); max-width: 560px; margin: 0 auto var(--space-8); color: #CBD5E1; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--brand-dark); color: #94A3B8; padding: var(--space-24) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-12); margin-bottom: var(--space-16); }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 300px; font-size: var(--text-sm); }
.footer-col h4 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-4); font-family: 'Outfit', sans-serif; }
.footer-col a { display: block; font-size: var(--text-sm); padding: var(--space-2) 0; color: #94A3B8; }
.footer-col a:hover { color: var(--brand-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-8); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-sm); }

/* ============================================================
   PRICING
   ============================================================ */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-bottom: var(--space-16); }
.price-toggle span { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--text-tertiary); }
.price-toggle span.active { color: var(--text-primary); }
.toggle-switch { width: 56px; height: 30px; border-radius: var(--radius-pill); background: var(--brand-dark); position: relative; transition: background 0.2s ease; }
.toggle-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.toggle-switch.annual::after { transform: translateX(26px); }
.save-pill { background: var(--accent-success-light); color: var(--accent-success); font-size: var(--text-xs); font-weight: 700; padding: 2px 10px; border-radius: var(--radius-pill); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); align-items: stretch; max-width: 1100px; margin: 0 auto; }
.p-card { position: relative; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: var(--space-8); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card.popular { border: 2px solid var(--brand-primary); box-shadow: var(--shadow-xl); }
.p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-primary); color: #fff; padding: 5px 18px; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.p-card h3 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.p-desc { font-size: var(--text-sm); color: var(--text-tertiary); margin-bottom: var(--space-6); min-height: 42px; }
.p-price { margin-bottom: var(--space-6); }
.p-price .amount { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-5xl); color: var(--text-primary); letter-spacing: -0.04em; }
.p-price .per { font-size: var(--text-base); color: var(--text-tertiary); }
.p-price .cycle { font-size: var(--text-sm); color: var(--text-tertiary); margin-top: var(--space-1); }
.p-feats { flex: 1; margin: var(--space-6) 0; }
.p-feats li { display: flex; gap: var(--space-3); padding: var(--space-2) 0; font-size: var(--text-sm); color: var(--text-secondary); }
.p-feats li svg { width: 20px; height: 20px; color: var(--accent-success); flex: none; }
.p-empty { text-align: center; padding: var(--space-16); background: var(--bg-surface); border: 1px dashed var(--border-medium); border-radius: var(--radius-xl); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: var(--text-lg); color: var(--text-primary); }
.faq-q svg { width: 22px; height: 22px; color: var(--brand-primary); transition: transform 0.2s ease; flex: none; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: var(--space-6); color: var(--text-secondary); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.about-hero h1 { font-size: var(--text-6xl); margin-bottom: var(--space-6); }
.about-hero p { font-size: var(--text-xl); color: var(--text-secondary); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-8); text-align: center; }
.stat .num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-5xl); color: var(--brand-primary); letter-spacing: -0.04em; }
.stat .lbl { color: var(--text-secondary); }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: var(--text-3xl); margin: var(--space-12) 0 var(--space-4); }
.prose p { font-size: var(--text-lg); margin-bottom: var(--space-4); }

/* ============================================================
   CONTACT + SIGNUP
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.form-card { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: var(--space-12); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--space-6); }
.field label { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: var(--text-sm); color: var(--text-primary); margin-bottom: var(--space-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-medium);
  border-radius: var(--radius-md); font-family: inherit; font-size: var(--text-base); color: var(--text-primary);
  background: var(--bg-surface); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-primary-light); }
.field textarea { min-height: 130px; resize: vertical; }
.form-alert { padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); margin-bottom: var(--space-6); font-size: var(--text-sm); }
.form-alert.success { background: var(--accent-success-light); color: var(--accent-success); }
.benefit-list li { display: flex; gap: var(--space-3); padding: var(--space-3) 0; font-size: var(--text-lg); color: var(--text-secondary); }
.benefit-list svg { width: 24px; height: 24px; color: var(--accent-success); flex: none; }

/* Page hero (generic top band) */
.page-hero { padding: var(--space-24) 0 var(--space-16); text-align: center; }
.page-hero h1 { font-size: var(--text-6xl); margin-bottom: var(--space-4); }
.page-hero p { font-size: var(--text-xl); color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-visual { order: -1; }
  .hero-visual img { height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .main-nav, .header-cta .login-link, .header-cta .desktop-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: block; position: fixed; inset: 76px 0 0; background: var(--bg-surface); z-index: 45; padding: var(--space-8) var(--space-6); overflow-y: auto; }
  .mobile-nav a { display: block; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: var(--text-xl); color: var(--text-primary); padding: var(--space-4) 0; border-bottom: 1px solid var(--border-light); }
  .mobile-nav .btn { margin-top: var(--space-6); width: 100%; }
  .section { padding: var(--space-16) 0; }
  .hero h1 { font-size: var(--text-5xl); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
  .form-card { padding: var(--space-8); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Entrance animation (opacity-independent so content is never hidden if a browser freezes CSS animations) */
@keyframes fadeUp { from { transform: translateY(18px); } to { transform: translateY(0); } }
.reveal { animation: fadeUp 0.6s ease both; }
.reveal-2 { animation: fadeUp 0.6s ease 0.1s both; }
.reveal-3 { animation: fadeUp 0.6s ease 0.2s both; }

/* ---------------------------------------------------------------------------
   Product tour — alternating rows with real app screenshots (Jobber-style)
   --------------------------------------------------------------------------- */
.prows { display: flex; flex-direction: column; gap: var(--space-24); }
.prow { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-16); align-items: center; }
.prow--rev .prow-copy { order: 2; }
.prow--rev .prow-visual { order: 1; }
.prow-copy .eyebrow { margin-bottom: var(--space-3); }
.prow-copy h3 { font-size: var(--text-3xl); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.prow-copy > p { font-size: var(--text-lg); color: var(--text-secondary); margin-bottom: var(--space-6); }
.prow-bullets { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }
.prow-bullets li { display: flex; align-items: flex-start; gap: var(--space-3); font-weight: 500; color: var(--text-primary); }
.prow-bullets li svg { width: 20px; height: 20px; flex: none; color: var(--brand-primary); margin-top: 2px; }
.prow-link { display: inline-flex; align-items: center; gap: var(--space-2); font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--brand-primary); }
.prow-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.prow-link:hover svg { transform: translateX(4px); }

/* Browser-window chrome around each screenshot */
.browser-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid var(--border-light); background: var(--bg-surface); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.browser-frame:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -16px rgba(15,23,42,0.28); }
.bf-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-surface-alt); border-bottom: 1px solid var(--border-light); }
.bf-bar span { width: 12px; height: 12px; border-radius: 50%; background: var(--border-medium); }
.bf-bar span:nth-child(1) { background: #F87171; }
.bf-bar span:nth-child(2) { background: #FBBF24; }
.bf-bar span:nth-child(3) { background: #34D399; }
.browser-frame img { display: block; width: 100%; height: auto; }

/* Stats band (on the dark section) */
.statband-sec { padding: var(--space-16) 0; }
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); text-align: center; }
.stat { display: flex; flex-direction: column; gap: var(--space-2); }
.stat-num { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: var(--text-5xl); color: #fff; line-height: 1; }
.stat-lbl { font-size: var(--text-sm); color: #94A3B8; letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .prow { grid-template-columns: 1fr; gap: var(--space-8); }
  .prow--rev .prow-copy { order: 0; }
  .prow--rev .prow-visual { order: 0; }
  .prows { gap: var(--space-16); }
  .statband { grid-template-columns: repeat(2, 1fr); gap: var(--space-12) var(--space-8); }
}
