/* ================================================================
   Editly — Shared stylesheet (light, clean, elegant)
   Design tokens inspired by GCP/modern SaaS: white surfaces,
   subtle borders, soft pastel decorations, Inter typography.
   Brand accent kept: Editly pink (primary) + orange (secondary).
   ================================================================ */

:root {
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-2: #f1f3f5;
  --foreground: #1a1a1f;
  --secondary: #4b5563;       /* AAA on white: 7.0:1 — safe for body text */
  --secondary-soft: #6b7280;  /* AA on white: 4.83:1 — subtle captions */
  --tertiary: #6b7280;        /* alias, kept for backward-compat */
  --border: #e5e7eb;
  --border-strong: #d1d5db;

  --primary: #d91e63;        /* AA on white: 4.98:1 — button/text-safe pink */
  --primary-dark: #a6114c;   /* AAA on white: 7.8:1 — hover + text on pink-light */
  --primary-bright: #ff2d78; /* Brand pink, decorative only (blobs, glows) */
  --primary-light: #ffe4ee;
  --accent: #ea6a00;         /* AA on white: 3.3:1 for UI, decorative amber */
  --accent-dark: #9a3412;    /* AAA on white: 8.9:1 — text on cream */
  --accent-light: #fff1dd;
  --sky: #3b82f6;
  --sky-light: #dbeafe;
  --success: #10b981;
  --success-light: #d1fae5;

  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 1px 3px rgba(17, 24, 39, 0.06), 0 4px 12px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 4px 10px rgba(17, 24, 39, 0.06), 0 16px 40px rgba(17, 24, 39, 0.08);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--primary-dark); }

::selection { background: rgba(255, 45, 120, 0.18); color: var(--foreground); }
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.wrap-prose { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ================== NAV ================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--foreground); }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--secondary); padding: 8px 12px; border-radius: 6px; transition: color 0.15s ease, background 0.15s ease; }
.nav-links a:not(.btn):hover { color: var(--foreground); background: var(--surface); }
.nav-cta { margin-left: 8px; }
.nav-burger { display: none; background: none; border: 0; color: var(--foreground); padding: 8px; cursor: pointer; }

/* ================== BUTTONS ================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1;
       padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
       transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
       cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255, 45, 120, 0.30); }
.btn-secondary { background: #fff; color: var(--foreground); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--secondary); }
.btn-ghost:hover { background: var(--surface); color: var(--foreground); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ================== ETC ATOMS ================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  background: #fff; color: var(--foreground);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; box-shadow: var(--shadow-sm);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-bright); box-shadow: 0 0 0 4px rgba(255,45,120,0.12); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid transparent; }
.chip-pink { background: var(--primary-light); color: var(--primary-dark); border-color: #ffc9de; }
.chip-orange { background: var(--accent-light); color: var(--accent-dark); border-color: #ffdeb5; }
.chip-sky { background: var(--sky-light); color: #1d4ed8; border-color: #bcd4fe; }
.chip-success { background: var(--success-light); color: #047857; border-color: #a7f3d0; }

.tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 500;
  padding: 3px 10px; border-radius: 6px;
  background: var(--surface); color: var(--secondary); border: 1px solid var(--border);
}

.section-label {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); margin-bottom: 12px;
}
.section-label-success { color: #047857; }

/* ================== SECTIONS / HEADINGS ================== */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--surface); }

h1, h2, h3, h4 { color: var(--foreground); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 17px; font-weight: 600; }

.lede { font-size: 17px; color: var(--secondary); line-height: 1.7; }
.text-balance { text-wrap: balance; }
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--accent-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lede { font-size: 17px; }

/* ================== HERO ================== */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero::before,
.hero::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(64px); opacity: 0.55;
}
.hero::before { top: -120px; left: -120px; width: 420px; height: 420px; background: var(--primary-light); }
.hero::after { bottom: -180px; right: -140px; width: 520px; height: 520px; background: var(--accent-light); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-top: 20px; }
.hero .lede { margin-top: 20px; max-width: 520px; font-size: 18px; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 560px; }
.hero-stat .val { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--foreground); }
.hero-stat .lbl { font-size: 12.5px; color: var(--tertiary); font-weight: 500; margin-top: 2px; }

/* Hero visual: dashboard preview card */
.hero-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card::before, .hero-card::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px); z-index: -1;
}
.hero-card::before { top: -30px; right: -30px; width: 140px; height: 140px; background: rgba(255, 45, 120, 0.25); }
.hero-card::after { bottom: -40px; left: -40px; width: 160px; height: 160px; background: rgba(59, 130, 246, 0.22); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.hero-card-dots { display: flex; gap: 6px; }
.hero-card-dots span { width: 8px; height: 8px; border-radius: 50%; background: #e5e7eb; }
.hero-card-url { font-size: 12px; color: var(--tertiary); }
.hero-card-body { padding: 22px; display: grid; gap: 14px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric { border-radius: 12px; padding: 14px 16px; }
.metric.pink { background: var(--primary-light); }
.metric.orange { background: var(--accent-light); }
.metric .k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.metric.pink .k { color: var(--primary-dark); }
.metric.orange .k { color: var(--accent-dark); }
.metric .v { font-size: 22px; font-weight: 800; color: var(--foreground); margin-top: 2px; }
.metric .d { font-size: 12px; font-weight: 600; margin-top: 2px; }
.metric.pink .d { color: var(--primary-dark); }
.metric.orange .d { color: var(--accent-dark); }
.slider-row { background: var(--surface); border-radius: 12px; padding: 16px; }
.slider-row .k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tertiary); }
.slider-track { margin-top: 12px; height: 6px; border-radius: 999px; background: #e5e7eb; position: relative; }
.slider-fill { position: absolute; inset: 0 35% 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.slider-thumb { position: absolute; top: 50%; left: 65%; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: var(--shadow-sm); }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ================== CARDS ================== */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.card:hover { border-color: rgba(255, 45, 120, 0.35); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-sm { padding: 18px; border-radius: var(--radius); }
.card-accent { position: relative; overflow: hidden; }
.card-accent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.icon-tile { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.icon-tile.pink { background: var(--primary-light); color: var(--primary-dark); }
.icon-tile.orange { background: var(--accent-light); color: var(--accent-dark); }
.icon-tile.sky { background: var(--sky-light); color: #1d4ed8; }
.icon-tile.success { background: var(--success-light); color: #047857; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ================== FEATURES ================== */
.feature-card h3 { margin-top: 16px; }
.feature-card p { margin-top: 8px; color: var(--secondary); font-size: 15px; }
.feature-card .tools { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ================== STEPS ================== */
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent-dark)); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--secondary); font-size: 14.5px; }

/* ================== PRICING ================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.price:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.price-pop { border-color: var(--primary); box-shadow: 0 8px 24px rgba(255,45,120,0.12); position: relative; }
.price-badge { position: absolute; top: -10px; left: 24px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px; }
.price-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--secondary); }
.price-amount { margin-top: 10px; font-size: 44px; font-weight: 800; color: var(--foreground); letter-spacing: -0.03em; }
.price-amount .per { font-size: 15px; font-weight: 500; color: var(--secondary); margin-left: 6px; }
.price-note { margin-top: 4px; font-size: 13px; color: var(--secondary); }
.price-desc { margin-top: 14px; font-size: 14.5px; color: var(--secondary); min-height: 44px; }
.price-list { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-list li { font-size: 14.5px; color: var(--foreground); padding-left: 26px; position: relative; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--success-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8.5 L6.5 11.5 L12.5 5.5' stroke='%23047857' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.price .btn { margin-top: 20px; width: 100%; }
.pricing-legal { margin-top: 24px; font-size: 13px; color: var(--secondary); text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ================== FAQ ================== */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 18px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 15.5px; color: var(--foreground); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--secondary); font-weight: 400; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { content: "−"; color: var(--primary); }
.faq p { padding: 0 0 18px; color: var(--secondary); font-size: 15px; line-height: 1.7; }
.faq p + p { padding-top: 8px; }

/* ================== PRIVACY / FEATURE STRIP ================== */
.privacy-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.privacy-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.privacy-item .icon-tile { margin-bottom: 2px; }
.privacy-item .lbl { font-size: 14px; font-weight: 600; color: var(--foreground); }

/* ================== CTA ================== */
.cta { padding: 80px 0; }
.cta-inner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  color: #fff; text-align: center; padding: 64px 32px;
}
.cta-inner::before {
  content: ""; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { margin-top: 12px; color: rgba(255,255,255,0.92); font-size: 17px; }
.cta-inner .btn { margin-top: 28px; background: #fff; color: var(--primary); }
.cta-inner .btn:hover { background: #fff; color: var(--primary-dark); }

/* ================== FOOTER ================== */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer-brand p { margin-top: 12px; color: var(--secondary); font-size: 14.5px; max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--foreground); margin-bottom: 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.footer-col a { display: block; color: var(--secondary); font-size: 14px; padding: 6px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; color: var(--tertiary); font-size: 13px; }

/* ================== PAGE HEADER (subpages) ================== */
.page-header { position: relative; padding: 72px 0 48px; text-align: center; overflow: hidden; }
.page-header::before, .page-header::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: 0.5; }
.page-header::before { top: -120px; left: 10%; width: 280px; height: 280px; background: var(--primary-light); }
.page-header::after { top: -80px; right: 10%; width: 240px; height: 240px; background: var(--accent-light); }
.page-header .inner { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(32px, 4.4vw, 48px); }
.page-header .lede { margin-top: 12px; font-size: 17px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ================== PROSE (legal pages) ================== */
.prose { font-size: 15.5px; color: var(--foreground); line-height: 1.75; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin-top: 28px; margin-bottom: 8px; }
.prose p { color: var(--secondary); margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; color: var(--secondary); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--primary-dark); }
.prose code { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: 0.92em; }
.prose .updated { display: inline-block; font-size: 12.5px; color: var(--tertiary); margin-bottom: 20px; background: var(--surface); padding: 4px 10px; border-radius: 999px; }

/* ================== CONTACT CARDS ================== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { text-align: left; }
.contact-card h4 { margin-top: 14px; }
.contact-card p { margin-top: 6px; color: var(--secondary); font-size: 14.5px; }
.contact-card a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14.5px; }

/* ================== FORM ================== */
.form { display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--foreground); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 14.5px; color: var(--foreground);
  background: #fff; border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: var(--secondary-soft);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255,45,120,0.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.form-submit { align-self: flex-start; }
.form-status { font-size: 13.5px; color: var(--secondary); min-height: 20px; margin: 0; }
.form-status:empty { display: none; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; top: -40px; left: 12px; z-index: 100;
  background: var(--primary); color: #fff; padding: 8px 16px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ================== GUIDE PAGE ================== */
.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.guide-nav a {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-size: 13.5px; font-weight: 500;
  color: var(--foreground);
}
.guide-nav a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.guide-section { padding: 72px 0; border-top: 1px solid var(--border); }
.guide-section:first-of-type { border-top: none; }
.guide-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.guide-head .icon-tile { width: 56px; height: 56px; border-radius: 16px; font-size: 26px; margin-bottom: 14px; }
.guide-head h2 { margin-bottom: 10px; }
.guide-head .lede { font-size: 16px; }

.guide-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; }
.guide-steps.flip { direction: rtl; }
.guide-steps.flip > * { direction: ltr; }
.guide-steps ol { list-style: none; counter-reset: step; padding: 0; }
.guide-steps li {
  position: relative; padding: 0 0 20px 48px; counter-increment: step;
  border-left: 2px dashed var(--border); margin-left: 14px;
}
.guide-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.guide-steps li::before {
  content: counter(step); position: absolute; left: -15px; top: -4px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.guide-steps h4 { font-size: 16px; margin-bottom: 4px; }
.guide-steps p { font-size: 14.5px; color: var(--secondary); }

.guide-visual {
  position: relative; background: #f3f4f6; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.guide-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Before/After overlay — single source image, left half desaturated to
   simulate "raw", right half full-color "edited". Center divider sells the split. */
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-img.before { filter: saturate(0.45) contrast(0.9) brightness(0.96); }
.ba-img.after  { clip-path: inset(0 0 0 50%); }
.guide-visual .ba-divider {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.92); transform: translateX(-1px);
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
  pointer-events: none;
}
.guide-visual .ba-label {
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.95); color: var(--foreground);
  box-shadow: var(--shadow-sm);
}
.guide-visual .ba-label.before { left: 12px; }
.guide-visual .ba-label.after { right: 12px; color: var(--primary); }


.guide-tip {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sky-light); border: 1px solid #bcd4fe;
  border-radius: var(--radius); padding: 14px 16px; margin-top: 20px;
}
.guide-tip .tip-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: #1d4ed8; color: #fff;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.guide-tip p { font-size: 14px; color: #1e3050; margin: 0; line-height: 1.55; }

@media (max-width: 860px) {
  .guide-steps { grid-template-columns: 1fr; gap: 28px; }
  .guide-steps.flip { direction: ltr; }
  .guide-visual { max-width: 420px; margin: 0 auto; }
}

/* ================== MOBILE ================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .grid-4, .pricing, .footer-top, .privacy-strip { grid-template-columns: 1fr 1fr; }
  .footer-top { gap: 32px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .grid-2, .grid-3, .grid-4, .pricing, .footer-cols, .footer-top, .privacy-strip, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn { flex: 1; min-width: 0; }
  .section-head { margin-bottom: 40px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0; background: #fff; z-index: 60;
  padding: 24px; border-top: 1px solid var(--border); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--foreground); border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 16px; }
