/* ============================================================
   ProcessRaven.tech, Shared Stylesheet
   Brand: #0050d0 (blue) | #e87820 (orange) | #0a1628 (dark)
   ============================================================ */

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

:root {
  --blue:       #0050d0;
  --blue-dark:  #003ea3;
  --blue-light: #e8f0ff;
  --orange:     #e87820;
  --orange-dark:#c4621a;
  --dark:       #0a1628;
  --dark-2:     #162035;
  --mid:        #4a5568;
  --light:      #f7f9fc;
  --border:     #dde3ef;
  --white:      #ffffff;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { color: #4a5568; }
a  { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Dark-section utility ----
   Apply `.on-dark` to any section on a dark background so paragraphs,
   headings, and links inherit readable colors instead of the global
   `p { color: #4a5568 }` dark-slate default. Buttons and elements with
   their own explicit color rules (`.btn-primary`, `.tag-*`, etc.) are
   not affected. Layered on top of section-specific rules, not a
   replacement for them. */
.on-dark                    { color: #fff; }
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4                 { color: #fff; }
.on-dark p                  { color: rgba(255,255,255,.85); }
.on-dark a:not(.btn)        { color: #fff; text-decoration: underline; }
.on-dark a:not(.btn):hover  { color: rgba(255,255,255,.85); }

/* ---- Layout ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--light); }
.section--dark { background: var(--dark-2); }

/* ---- Nav ---- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--dark); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; transition: all .18s ease;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; color: var(--white); }
.btn-secondary { background: var(--blue); color: var(--white); }
.btn-secondary:hover { background: var(--blue-dark); text-decoration: none; color: var(--white); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); text-decoration: none; }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); text-decoration: none; color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2957 60%, #0a3a8a 100%);
  color: var(--white); padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,80,208,.25) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,120,32,.15); color: var(--orange);
  border: 1px solid rgba(232,120,32,.3);
  padding: 6px 14px; border-radius: 100px; font-size: .875rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-social-proof { margin-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-size: 1.5rem; color: var(--white); font-weight: 800; }
.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; }
.hero-visual { position: relative; align-self: center; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card-header {
  background: var(--blue); color: var(--white);
  padding: 14px 20px; font-size: .8rem; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-card-badge {
  background: #22c55e; color: var(--white); padding: 3px 10px;
  border-radius: 100px; font-size: .75rem; font-weight: 700;
}
.hero-card-body { padding: 20px; }
.hero-card-field { margin-bottom: 14px; }
.hero-card-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; margin-bottom: 4px; font-weight: 600; }
.hero-card-value { font-size: .95rem; font-weight: 700; color: var(--dark); }
.hero-card-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: #f0fdf4; border-radius: 8px; margin-top: 4px; font-size: .85rem; color: #166534; }
.hero-card-check + .hero-card-check { margin-top: 6px; }
.check-icon { color: #22c55e; flex-shrink: 0; margin-top: 1px; }
/* .hero-floater removed, replaced with in-flow callout row */

/* ---- Logos strip ---- */
.logos-strip { padding: 36px 0; border-bottom: 1px solid var(--border); }
.logos-label { text-align: center; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 20px; font-weight: 600; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.logos-row span { font-size: .9rem; font-weight: 700; color: #cbd5e1; letter-spacing: -.01em; }

/* ---- Value Props ---- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: all .2s ease;
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.value-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { font-size: .9rem; }

/* ---- Feature Row ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-content h2 { margin-bottom: 16px; }
.feature-content p { margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .925rem; }
.feature-list li::before { content: '✓'; color: var(--blue); font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.feature-visual { background: var(--blue-light); border-radius: var(--radius-lg); padding: 32px; min-height: 300px; display: flex; align-items: center; justify-content: center; position: relative; }

/* ---- Swimlane mockup ---- */
.swimlane { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); width: 100%; overflow: hidden; }
.swimlane-header { background: var(--dark); padding: 10px 16px; display: flex; gap: 8px; }
.swimlane-header span { width: 10px; height: 10px; border-radius: 50%; }
.swimlane-header span:nth-child(1) { background: #ff5f57; }
.swimlane-header span:nth-child(2) { background: #febc2e; }
.swimlane-header span:nth-child(3) { background: #28c840; }
.swimlane-lanes { display: flex; flex-direction: column; gap: 1px; background: #e2e8f0; }
.swim-lane { background: #f8fafc; padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
.swim-lane-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; width: 80px; flex-shrink: 0; }
.swim-steps { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.swim-step { background: var(--white); border: 1.5px solid #cbd5e1; border-radius: 6px; padding: 5px 10px; font-size: .72rem; font-weight: 600; color: var(--dark); white-space: nowrap; }
.swim-step.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.swim-step.done { background: #dcfce7; border-color: #86efac; color: #166534; }
.swim-arrow { color: #94a3b8; font-size: .8rem; }

/* ---- Attestation mockup ---- */
.attest-mock { background: var(--white); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; font-size: .8rem; }
.attest-header { background: var(--blue); color: var(--white); padding: 14px 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.attest-header-text { flex: 1; min-width: 0; }
.attest-header h4 { font-size: .9rem; color: var(--white); margin-bottom: 4px; }
.attest-header p { font-size: .75rem; color: rgba(255,255,255,.9); margin: 0; }
.attest-badge { background: #22c55e; color: var(--white); padding: 4px 12px; border-radius: 100px; font-size: .7rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.attest-body { padding: 16px 20px; }
.attest-field { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.attest-f label { font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; font-weight: 600; }
.attest-f p { font-size: .85rem; font-weight: 700; color: var(--dark); margin-top: 2px; }
.attest-checks { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.attest-check { display: flex; gap: 8px; align-items: flex-start; padding: 7px 10px; background: #f0fdf4; border-radius: 6px; font-size: .75rem; color: #166534; }
.attest-check svg { flex-shrink: 0; margin-top: 1px; }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.stat-card { text-align: center; padding: 36px 24px; }
.stat-num { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--orange); display: block; }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.section--dark h2, .section--dark p { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.7); }

/* ---- Pricing cards ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.price-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px; position: relative;
  transition: all .2s ease; display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,80,208,.08); }
.price-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); padding: 4px 16px; border-radius: 100px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.price-tier { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; font-weight: 700; margin-bottom: 10px; }
.price-amount { font-size: 2.4rem; font-weight: 900; color: var(--dark); line-height: 1; }
.price-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: .4em; }
.price-amount span.price-cycle { font-size: .85rem; font-weight: 500; color: #64748b; }
.price-desc { font-size: .875rem; color: var(--mid); margin: 10px 0 20px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0; flex: 1; }
.price-features li { font-size: .875rem; display: flex; gap: 8px; align-items: flex-start; }
.price-features li .tick { color: #22c55e; flex-shrink: 0; font-weight: 900; }
.price-features li .cross { color: #cbd5e1; flex-shrink: 0; font-weight: 900; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---- ROI Calculator ---- */
.roi-calc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); max-width: 700px; margin: 48px auto 0; }
.roi-calc h3 { margin-bottom: 8px; }
.roi-calc > p { margin-bottom: 28px; }
.roi-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.roi-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.roi-field input, .roi-field select {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: .95rem; color: var(--dark);
  transition: border-color .15s; font-family: var(--font);
}
.roi-field input:focus, .roi-field select:focus { outline: none; border-color: var(--blue); }
.roi-result { margin-top: 28px; background: var(--blue-light); border-radius: var(--radius); padding: 24px; border: 1px solid rgba(0,80,208,.15); }
.roi-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.roi-metric strong { font-size: 1.5rem; font-weight: 900; color: var(--blue); display: block; }
.roi-metric span { font-size: .78rem; color: #64748b; }
.roi-payback { font-size: 1rem; font-weight: 700; color: var(--blue); margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,80,208,.15); }

/* ---- Comparison table ---- */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: .9rem; }
.compare-table th { background: var(--blue); color: var(--white); padding: 14px 16px; text-align: left; font-weight: 700; font-size: .85rem; }
.compare-table th:first-child { border-radius: 10px 0 0 0; }
.compare-table th:last-child { border-radius: 0 10px 0 0; }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--light); }
.compare-table tr.highlight td { background: #eef3ff; font-weight: 700; }
.compare-table .tick { color: #22c55e; font-weight: 900; }
.compare-table .cross { color: #f87171; font-weight: 900; }

/* ---- FAQ ---- */
.faq-list { max-width: 720px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--dark); font-family: var(--font);
}
.faq-q .faq-icon { color: var(--blue); font-size: 1.2rem; transition: transform .2s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; color: var(--mid); line-height: 1.7; font-size: .925rem; }
.faq-a.open { display: block; }

/* ---- Feature Detail Page ---- */
.feature-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-detail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.feature-detail-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); transition: all .2s ease; }
.fdc-icon { font-size: 2rem; margin-bottom: 16px; }
.fdc-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue); padding: 3px 10px; border-radius: 100px; font-size: .73rem; font-weight: 700; margin-bottom: 12px; }
.fdc-tag.unique { background: #fff7ed; color: var(--orange); }
.fdc-tag.partial { background: #f0fdf4; color: #166534; }
.feature-detail-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-detail-card p { font-size: .875rem; }

/* ---- Process coverage ---- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.process-card { background: var(--dark-2); color: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.process-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1rem; }
.process-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.process-steps li { font-size: .85rem; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: 8px; }
.process-steps li::before { content: '→'; color: var(--orange); flex-shrink: 0; }
.process-card .process-icon { font-size: 1.8rem; margin-bottom: 14px; }

/* ---- Contact Page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; margin-top: 48px; }
.contact-info h3 { margin-bottom: 8px; }
.contact-info p { margin-bottom: 24px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail-icon { width: 40px; height: 40px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-detail-text strong { display: block; font-size: .875rem; margin-bottom: 2px; }
.contact-detail-text span { font-size: .85rem; color: var(--mid); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: .95rem; color: var(--dark);
  font-family: var(--font); transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .form-note { font-size: .78rem; color: #94a3b8; margin-top: 4px; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; font-size: .9rem; }
.testimonial-text { font-style: italic; font-size: .9rem; margin-bottom: 20px; color: var(--mid); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--blue); font-size: .9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .875rem; color: var(--dark); }
.testimonial-role { font-size: .78rem; color: #94a3b8; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0032a0 100%);
  color: var(--white); padding: 80px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto 32px; }
.cta-banner .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  background: var(--dark); color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: .875rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .875rem; }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-trademarks { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; line-height: 1.55; color: rgba(255,255,255,.4); max-width: 960px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; flex-wrap: wrap; gap: 12px; }
.footer-trademarks + .footer-bottom { border-top: none; padding-top: 16px; }
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ---- Page header ---- */
.page-header { background: linear-gradient(135deg, var(--dark) 0%, #0d2957 100%); padding: 70px 0 60px; color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; }
.page-header .breadcrumb { background: transparent; padding: 0; border-bottom: none; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-header .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-header .breadcrumb span { color: var(--orange); }
.page-header .breadcrumb .sep { color: rgba(255,255,255,.4); }

/* ---- Section headings ---- */
.section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 10px; }
.section-heading { margin-bottom: 14px; }
.section-sub { max-width: 560px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.tag {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 100px; font-size: .78rem; font-weight: 700;
}
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-orange { background: #fff7ed; color: var(--orange); }
.tag-green { background: #f0fdf4; color: #166534; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ---- Blog post article ---- */
.breadcrumb {
  background: #f8fafc;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: #64748b;
}
.breadcrumb a { color: #64748b; text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 8px; color: #cbd5e1; }
.breadcrumb .current { color: #1e293b; font-weight: 500; }

.post-header {
  padding: 56px 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.post-header .container { max-width: 760px; }
.post-category {
  display: inline-block;
  background: var(--blue-light, #eef3ff);
  color: var(--blue, #0050d0);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.post-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  color: #0f172a;
}
.post-lede {
  font-size: 1.18rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 24px;
}
.post-byline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
  color: #64748b;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.post-byline strong { color: #1e293b; font-weight: 600; }
.post-byline .sep { color: #cbd5e1; }

.post-body {
  padding: 40px 0 60px;
  background: #fff;
}
.post-body .container { max-width: 760px; }
.post-body h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 44px 0 16px;
  color: #0f172a;
  line-height: 1.25;
}
.post-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #1e293b;
}
.post-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 18px;
}
.post-body ul, .post-body ol {
  padding-left: 26px;
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}
.post-body li { margin-bottom: 8px; }
.post-body a {
  color: var(--blue, #0050d0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-body a:hover { text-decoration-thickness: 2px; }
.post-body strong { color: #0f172a; font-weight: 700; }
.post-body blockquote {
  border-left: 4px solid var(--blue, #0050d0);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  color: #334155;
  font-style: italic;
  font-size: 1.08rem;
}
.post-body code {
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #0f172a;
}
.post-body .callout {
  background: #eef3ff;
  border-left: 4px solid var(--blue, #0050d0);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 28px 0;
}
.post-body .callout p:last-child { margin-bottom: 0; }
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .95rem;
}
.post-body th, .post-body td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.post-body th {
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

.post-cta {
  background: linear-gradient(135deg, #0050d0 0%, #003a9e 100%);
  color: #fff;
  padding: 28px 32px;
  border-radius: 14px;
  margin: 36px 0;
  text-align: center;
}
.post-cta h3 { margin: 0 0 8px; font-size: 1.3rem; color: #fff; }
.post-cta p { margin: 0 0 16px; color: rgba(255,255,255,.88); font-size: 1rem; }
.post-cta .btn { margin: 4px; }

.post-footer {
  background: #f8fafc;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.related-posts a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.related-posts a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,80,208,.1);
  border-color: var(--blue, #0050d0);
}
.related-posts h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
  line-height: 1.3;
}
.related-posts p {
  font-size: .88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .post-title { font-size: 1.9rem; }
  .post-lede { font-size: 1.05rem; }
  .post-body h2 { font-size: 1.4rem; }
  .post-body h3 { font-size: 1.15rem; }
  .post-body p, .post-body ul, .post-body ol { font-size: 1rem; }
  .post-cta { padding: 22px; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .hero-grid, .feature-row, .contact-grid, .stats-grid,
  .value-grid, .feature-detail-grid, .process-grid,
  .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .roi-fields, .roi-result-grid, .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .feature-row--reverse { direction: ltr; }
  .hero { padding: 60px 0 50px; }
  .logos-row { gap: 24px; }
  .section { padding: 56px 0; }
}

/* ---- Image lightbox ---- */
.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  transition: transform .25s ease, box-shadow .25s ease;
}
.lightbox-trigger img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform .4s ease;
}
.lightbox-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
}
.lightbox-trigger:hover img { transform: scale(1.015); }
.lightbox-trigger:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.lightbox-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  letter-spacing: .01em;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
.lightbox-trigger:hover .lightbox-hint { opacity: 1; transform: scale(1.04); }
.lightbox-hint svg { display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 28, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-img {
  max-width: min(96vw, 1600px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  display: block;
  cursor: zoom-out;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background .15s ease, transform .15s ease;
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); transform: scale(1.05); }
.lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox-caption {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  text-align: center;
  max-width: 90vw;
  padding: 0 16px;
  margin: 0;
  line-height: 1.45;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox-hint { font-size: .7rem; padding: 6px 10px; top: 10px; right: 10px; }
  .lightbox-caption { font-size: .75rem; bottom: 12px; }
  .lightbox-close { top: 12px; right: 14px; width: 38px; height: 38px; font-size: 1.25rem; }
}

/* ---- In-page demo modal (Free Edition) ---- */
.demo-modal {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: none;
  flex-direction: column;
  z-index: 9998;
  opacity: 0;
  transition: opacity .22s ease;
}
.demo-modal.open {
  display: flex;
  opacity: 1;
}
.demo-modal-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2957 100%);
  color: #fff;
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  height: 64px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.demo-modal-title {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.demo-modal-pill {
  background: rgba(232,120,32,.18);
  border: 1px solid rgba(232,120,32,.45);
  color: var(--orange);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
  white-space: nowrap;
}
.demo-modal-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.demo-modal-actions .btn-sm {
  padding: 9px 16px;
  font-size: .82rem;
}
.demo-modal-actions a.demo-modal-text-link {
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 4px;
  transition: color .15s ease;
}
.demo-modal-actions a.demo-modal-text-link:hover { color: #fff; text-decoration: underline; }
.demo-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background .15s ease, transform .15s ease;
}
.demo-modal-close:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.demo-modal-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-modal-body {
  flex: 1;
  width: 100%;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.demo-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.demo-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: .9rem;
  z-index: 1;
  transition: opacity .25s ease;
}
.demo-modal-loading.hidden { opacity: 0; pointer-events: none; }
.demo-modal-loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(0,80,208,.18);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: demo-spin .9s linear infinite;
}
@keyframes demo-spin { to { transform: rotate(360deg); } }
body.demo-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .demo-modal-title-text { display: none; }
}
@media (max-width: 640px) {
  .demo-modal-chrome { padding: 0 12px; gap: 8px; height: 56px; }
  .demo-modal-pill { font-size: .6rem; padding: 4px 8px; letter-spacing: .06em; }
  .demo-modal-actions { gap: 6px; }
  .demo-modal-actions .btn-sm { padding: 8px 12px; font-size: .75rem; }
  .demo-modal-actions a.demo-modal-text-link { display: none; }
  .demo-modal-close { width: 34px; height: 34px; font-size: 1.1rem; }
}
