/*
 * Open Ed Africa - design system (2026 refresh).
 *
 * A premium evolution of the teal/gold brand: fluid type, gradients, layered
 * shadows, glass surfaces and scroll-reveal motion. Layered on Bootstrap 5.
 * Every legacy class name (oea-hero, oea-feature, oea-cta, btn-brand, mega-*)
 * is preserved and upgraded so existing pages keep working.
 *
 * All assets are vendored locally; nothing here loads a third-party resource
 * (keeps the strict self-only Content-Security-Policy intact).
 */

:root {
  /* --- Brand palette (teal + gold) --- */
  --oea-primary:        #2596be; /* teal blue */
  --oea-primary-dark:   #1d7493; /* deep teal */
  --oea-primary-darker: #145a74; /* deepest teal (gradient floor) */
  --oea-primary-soft:   #e9f4f9; /* teal wash */
  --oea-accent:         #ffc94e; /* gold */
  --oea-accent-dark:    #ffb91b; /* deep gold */
  --oea-highlight:      #ffc94e;
  --oea-ink:            #16232b; /* near-black w/ teal cast: headings, dark bands */
  --oea-ink-soft:       #33454f;
  --oea-body:           #566169; /* paragraph text */
  --oea-muted:          #8a959c; /* meta / secondary */
  --oea-line:           #e7edf1; /* hairlines */
  --oea-surface:        #ffffff;
  --oea-surface-alt:    #f5f9fb; /* alternating section bg */

  /* --- Gradients --- */
  --oea-grad-brand:  linear-gradient(120deg, #2ba6cf 0%, #1d7493 55%, #145a74 100%);
  --oea-grad-gold:   linear-gradient(120deg, #ffd873 0%, #ffb91b 100%);
  --oea-grad-ink:    linear-gradient(150deg, #16232b 0%, #14313d 60%, #10515f 120%);
  --oea-grad-text:   linear-gradient(120deg, #2596be 0%, #1d7493 100%);
  --oea-grad-mesh:
    radial-gradient(40rem 40rem at 8% -10%, rgba(37,150,190,.16), transparent 60%),
    radial-gradient(34rem 34rem at 100% 0%, rgba(255,201,78,.16), transparent 55%),
    radial-gradient(30rem 30rem at 60% 120%, rgba(37,150,190,.10), transparent 60%);

  /* --- Typography --- */
  --oea-font-body: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --oea-font-head: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* --- Shape & depth --- */
  --oea-radius-sm: 10px;
  --oea-radius:    16px;
  --oea-radius-lg: 24px;
  --oea-radius-pill: 999px;
  --oea-shadow-sm: 0 2px 8px rgba(16,35,43,.06);
  --oea-shadow:    0 14px 38px rgba(16,35,43,.10);
  --oea-shadow-lg: 0 30px 70px rgba(16,35,43,.16);
  --oea-shadow-brand: 0 16px 34px rgba(37,150,190,.28);
  --oea-ring: 0 0 0 4px rgba(37,150,190,.18);

  --oea-t: .28s cubic-bezier(.2,.7,.3,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--oea-font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--oea-body);
  background: var(--oea-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--oea-font-head);
  color: var(--oea-ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-weight: 700; font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
h4 { font-weight: 700; }
h5, h6 { font-weight: 700; }
p { margin-bottom: 1rem; }

a { color: var(--oea-primary); text-decoration: none; transition: color var(--oea-t); }
a:hover { color: var(--oea-primary-dark); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 400; color: var(--oea-ink-soft); }

::selection { background: rgba(255,201,78,.35); }

/* --- Layout helpers --- */
.oea-container-tight { max-width: 62rem; margin-inline: auto; }
.oea-lead-narrow { max-width: 44rem; }

/* --- Eyebrow / kicker --- */
.oea-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--oea-primary-dark);
  margin-bottom: .9rem;
}
.oea-eyebrow::before {
  content: "";
  width: 1.6rem; height: 2px;
  background: var(--oea-grad-gold);
  border-radius: 2px;
}

/* --- Gradient text --- */
.oea-gradient-text {
  background: var(--oea-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--oea-primary-dark); /* fallback */
}

/* --- Pills / badges --- */
.oea-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .95rem;
  border-radius: var(--oea-radius-pill);
  font-size: .82rem;
  font-weight: 700;
  background: rgba(37,150,190,.10);
  color: var(--oea-primary-dark);
  border: 1px solid rgba(37,150,190,.18);
}
.oea-pill-ai {
  background: rgba(255,201,78,.16);
  color: #8a5a00;
  border-color: rgba(255,185,27,.35);
}
.oea-pill .bi { font-size: .95rem; }

/* --- Buttons --------------------------------------------------------------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--oea-primary);
  border: 0;
  border-radius: var(--oea-radius-pill);
  padding: .8rem 1.6rem;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--oea-shadow-brand);
  transition: transform var(--oea-t), background-color var(--oea-t), color var(--oea-t), box-shadow var(--oea-t);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--oea-accent);
  color: var(--oea-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255,185,27,.34);
}
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--oea-primary-dark);
  background: transparent;
  border: 1.5px solid rgba(37,150,190,.45);
  border-radius: var(--oea-radius-pill);
  padding: .78rem 1.5rem;
  font-weight: 700;
  transition: transform var(--oea-t), background-color var(--oea-t), color var(--oea-t), border-color var(--oea-t);
}
.btn-outline-brand:hover {
  background: var(--oea-primary);
  border-color: var(--oea-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: .95rem 1.9rem; font-size: 1.05rem; }

/* --- Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--oea-ink); color: #fff;
  padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- Top bar --------------------------------------------------------------- */
.oea-topbar {
  background: var(--oea-grad-ink);
  color: #cfe0e7;
  font-size: .85rem;
}
.oea-topbar a { color: #eaf3f6; }
.oea-topbar a:hover { color: #fff; }

/* --- Brand / logo ---------------------------------------------------------- */
.navbar-brand .oea-logo-img { height: 42px; width: auto; display: block; }

/* --- Navbar / mega menu ---------------------------------------------------- */
.oea-nav {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--oea-line);
}
.oea-nav .nav-link {
  color: var(--oea-ink);
  font-weight: 600;
  padding: 1.15rem .85rem;
  position: relative;
}
.oea-nav .nav-link::after {
  content: "";
  position: absolute; left: .85rem; right: .85rem; bottom: .7rem;
  height: 2px; border-radius: 2px;
  background: var(--oea-grad-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--oea-t);
}
.oea-nav .nav-link:hover { color: var(--oea-primary-dark); }
.oea-nav .nav-link:hover::after { transform: scaleX(1); }

.mega { position: static; }
.mega-panel {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--oea-surface);
  border: 1px solid var(--oea-line);
  border-top: 3px solid transparent;
  border-image: var(--oea-grad-brand) 1;
  box-shadow: var(--oea-shadow-lg);
  border-radius: 0 0 var(--oea-radius) var(--oea-radius);
  padding: 1.9rem;
  z-index: 1050;
}
.mega-panel.show { display: block; }
@media (min-width: 992px) {
  .mega:hover > .mega-panel,
  .mega:focus-within > .mega-panel { display: block; animation: oea-fade-down .22s ease both; }
  .oea-nav .container { position: relative; }
}
.mega-col-heading {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--oea-muted); font-weight: 700; margin-bottom: .85rem;
}
.mega-link {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .7rem; border-radius: var(--oea-radius-sm);
  color: var(--oea-ink); transition: background-color var(--oea-t), transform var(--oea-t);
}
.mega-link:hover { background: var(--oea-primary-soft); transform: translateX(2px); }
.mega-link > .bi {
  flex-shrink: 0;
  width: 2.3rem; height: 2.3rem; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--oea-grad-brand); color: #fff; font-size: 1.1rem;
}
.mega-link span { font-weight: 700; color: var(--oea-ink); }
.mega-link .mega-link-desc { display: block; font-size: .82rem; color: var(--oea-muted); font-weight: 400; }
/* Featured promo card inside a mega panel */
.mega-promo {
  background: var(--oea-grad-ink);
  color: #eaf3f6;
  border-radius: var(--oea-radius);
  padding: 1.5rem;
  height: 100%;
}
.mega-promo h4 { color: #fff; font-size: 1.1rem; }
.mega-promo p { color: rgba(234,243,246,.8); font-size: .88rem; }

/* --- Hero ------------------------------------------------------------------ */
.oea-hero {
  position: relative;
  background: var(--oea-grad-mesh), var(--oea-surface);
  border-bottom: 1px solid var(--oea-line);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  overflow: hidden;
}
.oea-hero h1 { margin-bottom: 1.1rem; }
.oea-hero .lead { max-width: 38rem; }
.oea-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.oea-hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--oea-line);
}
.oea-hero-stat .num {
  font-size: 1.9rem; font-weight: 800; color: var(--oea-ink);
  line-height: 1; display: block;
}
.oea-hero-stat .lbl { font-size: .85rem; color: var(--oea-muted); }

/* Glass visual panel for the hero right column */
.oea-hero-card {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--oea-radius-lg);
  box-shadow: var(--oea-shadow-lg);
  padding: 1.6rem;
}
.oea-chat-line { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; }
.oea-chat-avatar {
  flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--oea-grad-brand); color: #fff; font-size: 1rem;
}
.oea-chat-avatar.user { background: var(--oea-grad-gold); color: var(--oea-ink); }
.oea-chat-bubble {
  background: var(--oea-surface); border: 1px solid var(--oea-line);
  border-radius: 14px; padding: .7rem .95rem; font-size: .9rem; color: var(--oea-ink-soft);
  box-shadow: var(--oea-shadow-sm);
}

/* --- Section rhythm -------------------------------------------------------- */
.oea-section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.oea-section-alt { background: var(--oea-surface-alt); }
.oea-section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.oea-section-head.left { margin-inline: 0; text-align: left; }

/* --- Feature / capability cards ------------------------------------------- */
.oea-feature {
  background: var(--oea-surface);
  border: 1px solid var(--oea-line);
  border-radius: var(--oea-radius);
  padding: 1.9rem;
  height: 100%;
  transition: box-shadow var(--oea-t), transform var(--oea-t), border-color var(--oea-t);
  position: relative;
}
.oea-feature:hover {
  box-shadow: var(--oea-shadow);
  transform: translateY(-6px);
  border-color: rgba(37,150,190,.35);
}
.oea-feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.oea-feature p { color: var(--oea-body); margin-bottom: 0; font-size: .95rem; }
.oea-feature-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--oea-grad-brand);
  color: #fff; font-size: 1.6rem;
  margin-bottom: 1.15rem;
  box-shadow: var(--oea-shadow-brand);
}
.oea-feature-icon.gold { background: var(--oea-grad-gold); color: var(--oea-ink); box-shadow: 0 12px 26px rgba(255,185,27,.3); }

/* --- How it works (steps) -------------------------------------------------- */
.oea-step { position: relative; padding-left: 3.6rem; }
.oea-step-num {
  position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--oea-primary-soft); color: var(--oea-primary-dark);
  font-weight: 800; border: 1px solid rgba(37,150,190,.25);
}
.oea-step h3 { font-size: 1.12rem; }

/* --- Stats band ------------------------------------------------------------ */
.oea-statband {
  background: var(--oea-grad-ink);
  color: #eaf3f6;
  border-radius: var(--oea-radius-lg);
}
.oea-statband .num {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff;
  background: var(--oea-grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.oea-statband .lbl { color: rgba(234,243,246,.75); font-size: .9rem; }

/* --- Logos / social proof -------------------------------------------------- */
.oea-logos { display: flex; flex-wrap: wrap; gap: 2.2rem; align-items: center; justify-content: center; opacity: .8; }
.oea-logos .bi { font-size: 1.6rem; color: var(--oea-muted); }

/* --- Testimonial ----------------------------------------------------------- */
.oea-quote {
  background: var(--oea-surface);
  border: 1px solid var(--oea-line);
  border-left: 4px solid var(--oea-accent);
  border-radius: var(--oea-radius);
  padding: 2rem;
  box-shadow: var(--oea-shadow-sm);
}
.oea-quote blockquote { font-size: 1.15rem; color: var(--oea-ink-soft); font-weight: 400; margin: 0 0 1rem; }

/* --- Pricing preview ------------------------------------------------------- */
.oea-price-card {
  background: var(--oea-surface); border: 1px solid var(--oea-line);
  border-radius: var(--oea-radius); padding: 1.9rem; height: 100%;
  transition: box-shadow var(--oea-t), transform var(--oea-t);
}
.oea-price-card:hover { box-shadow: var(--oea-shadow); transform: translateY(-4px); }
.oea-price-card.featured { border: 0; background: var(--oea-grad-ink); color: #eaf3f6; box-shadow: var(--oea-shadow-lg); }
.oea-price-card.featured h3, .oea-price-card.featured .price { color: #fff; }
.oea-price-card .price { font-size: 2.2rem; font-weight: 800; color: var(--oea-ink); }

/* --- CTA band -------------------------------------------------------------- */
.oea-cta {
  background: var(--oea-grad-ink);
  color: #fff;
  border-radius: var(--oea-radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.oea-cta::before {
  content: ""; position: absolute; inset: 0;
  background: var(--oea-grad-mesh); opacity: .8; pointer-events: none;
}
.oea-cta > * { position: relative; }
.oea-cta h2, .oea-cta h3 { color: #fff; }
.oea-cta p { color: rgba(255,255,255,.85); }
.oea-cta .btn-outline-brand { color: #fff; border-color: rgba(255,255,255,.6); }
.oea-cta .btn-outline-brand:hover { background: #fff; color: var(--oea-ink); border-color: #fff; }

/* --- Placeholder marker ---------------------------------------------------- */
.oea-placeholder {
  border: 1px dashed var(--oea-highlight);
  background: rgba(255,201,78,.10);
  color: #7a5b00; border-radius: 8px;
  padding: .35rem .7rem; font-size: .8rem; font-weight: 600; display: inline-block;
}

/* --- Footer ---------------------------------------------------------------- */
.oea-footer { background: var(--oea-grad-ink); color: #cfe0e7; padding: 4rem 0 2rem; }
.oea-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.oea-footer a { color: #cfe0e7; }
.oea-footer a:hover { color: #fff; }
.oea-footer-contact { margin: 0; padding: 0; list-style: none; }
.oea-footer-contact li {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .7rem; color: #cfe0e7; font-size: .92rem; line-height: 1.5;
}
.oea-footer-contact li i { color: var(--oea-accent); margin-top: .15rem; flex-shrink: 0; }
.oea-footer-contact a { color: #cfe0e7; }
.oea-footer-contact a:hover { color: #fff; }
.oea-footer .oea-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #9db4bd;
}
.oea-social { display: inline-flex; gap: .6rem; }
.oea-social a {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #eaf3f6; transition: background-color var(--oea-t), transform var(--oea-t);
}
.oea-social a:hover { background: var(--oea-accent); color: var(--oea-ink); transform: translateY(-2px); }

/* --- Scroll-reveal animation ---------------------------------------------- */
.oea-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.oea-reveal.is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

@keyframes oea-fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oea-reveal { opacity: 1; transform: none; transition: none; }
  .btn-brand, .btn-outline-brand, .oea-feature, .oea-price-card, .oea-social a { transition: none; }
  .mega:hover > .mega-panel, .mega:focus-within > .mega-panel { animation: none; }
}

/* ==========================================================================
 * 2026 polish layer (additive only).
 * Decorative section treatments, hero depth, accessible focus, elevation,
 * small-screen refinements and tasteful, reduced-motion-safe shimmer.
 * Nothing below renames or removes any existing selector.
 * ======================================================================== */

/* --- Guard against horizontal overflow (esp. from decorative glows) ------- */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }

/* --- Accessible focus-visible states (brand ring token) ------------------- */
a:focus-visible,
.btn:focus-visible,
.btn-brand:focus-visible,
.btn-outline-brand:focus-visible,
.oea-nav .nav-link:focus-visible,
.mega-link:focus-visible,
.oea-social a:focus-visible,
.navbar-toggler:focus-visible,
.skip-link:focus-visible,
.oea-footer a:focus-visible,
.oea-footer-contact a:focus-visible {
  outline: 3px solid var(--oea-primary);
  outline-offset: 2px;
  border-radius: var(--oea-radius-sm);
}
.btn-brand:focus-visible,
.btn-outline-brand:focus-visible {
  outline-offset: 3px;
  outline-color: var(--oea-primary-dark);
  box-shadow: var(--oea-ring);
  border-radius: var(--oea-radius-pill);
}
.oea-nav .nav-link:focus-visible { border-radius: var(--oea-radius-sm); }

/* --- Soft decorative glows on the alternating band ------------------------ */
.oea-section-alt { position: relative; overflow: hidden; }
.oea-section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(32rem 32rem at 6% -8%, rgba(37,150,190,.10), transparent 60%),
    radial-gradient(28rem 28rem at 98% 8%, rgba(255,201,78,.10), transparent 58%);
}
.oea-section-alt > .container { position: relative; z-index: 1; }

/* --- Subtle dot-grid texture on the dark stats band ---------------------- */
.oea-statband { position: relative; overflow: hidden; }
.oea-statband::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: center;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 100%);
  opacity: .9;
}
.oea-statband > .row { position: relative; z-index: 1; }

/* --- Hero depth: soft floating glow, crisp text --------------------------- */
.oea-hero .container { position: relative; z-index: 1; }
.oea-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 42rem; height: 42rem;
  top: -16rem; right: -12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,150,190,.16), transparent 62%);
  animation: oea-hero-float 15s ease-in-out infinite alternate;
}
.oea-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 34rem; height: 34rem;
  bottom: -18rem; left: -14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,78,.12), transparent 62%);
}
@keyframes oea-hero-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-2rem, 1.6rem, 0) scale(1.06); }
}

/* --- Refined elevation on feature and pricing cards ---------------------- */
.oea-feature::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  border-radius: var(--oea-radius) var(--oea-radius) 0 0;
  background: var(--oea-grad-brand);
  opacity: 0;
  transform: scaleX(.7);
  transform-origin: center;
  transition: opacity var(--oea-t), transform var(--oea-t);
  pointer-events: none;
}
.oea-feature:hover::after { opacity: 1; transform: scaleX(1); }
.oea-feature:hover .oea-feature-icon { transform: translateY(-2px); }
.oea-feature-icon { transition: transform var(--oea-t); }

.oea-price-card:not(.featured):hover { border-color: rgba(37,150,190,.35); }

/* Featured card: gentle shimmering accent + lift */
.oea-price-card.featured { position: relative; overflow: hidden; }
.oea-price-card.featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--oea-accent) 35%, var(--oea-accent-dark) 55%, transparent 100%);
  background-size: 220% 100%;
  animation: oea-shimmer 4s linear infinite;
  z-index: 2;
  pointer-events: none;
}
.oea-price-card.featured:hover { transform: translateY(-6px); }
@keyframes oea-shimmer {
  from { background-position: 220% 0; }
  to   { background-position: -220% 0; }
}

/* --- Primary CTA: soft sheen sweep on hover ------------------------------- */
.btn-brand { position: relative; overflow: hidden; }
.btn-brand > * { position: relative; z-index: 1; }
.btn-brand::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 0;
}
.btn-brand:hover::after,
.btn-brand:focus-visible::after { animation: oea-sheen .85s ease; }
@keyframes oea-sheen {
  from { left: -60%; }
  to   { left: 130%; }
}

/* --- Small-screen refinements (no horizontal overflow at 360px) ---------- */
@media (max-width: 575.98px) {
  body { font-size: 15.5px; }
  .oea-section { padding: 2.75rem 0; }
  .oea-hero { padding: 2.75rem 0; }
  .oea-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); }
  .oea-hero .lead { font-size: 1.02rem; }
  .oea-hero-actions { gap: .65rem; margin-top: 1.4rem; }
  .oea-hero-actions .btn-brand,
  .oea-hero-actions .btn-outline-brand { width: 100%; justify-content: center; }
  .oea-hero-stats { gap: 1.25rem 1.6rem; margin-top: 1.9rem; padding-top: 1.2rem; }
  .oea-hero-stat .num { font-size: 1.6rem; }
  .oea-hero-card { padding: 1.15rem; }
  .oea-chat-bubble { font-size: .86rem; }

  .oea-section-head { margin-bottom: 2rem; }
  .oea-feature { padding: 1.4rem; }
  .oea-feature-icon { width: 48px; height: 48px; font-size: 1.35rem; margin-bottom: .9rem; }
  .oea-price-card { padding: 1.4rem; }
  .oea-price-card .price { font-size: 1.9rem; }

  .oea-statband { border-radius: var(--oea-radius); }
  .oea-statband .num { font-size: 1.7rem; }

  .oea-cta { padding: 2.1rem 1.35rem; }
  .oea-quote { padding: 1.5rem; }
  .oea-quote blockquote { font-size: 1.05rem; }

  /* Mega menu / off-canvas drawer breathing room on phones */
  .offcanvas.offcanvas-end { max-width: 88vw; }
  .mega-panel { padding: 1.15rem; }
  .mega-link { padding: .55rem; gap: .6rem; }
  .mega-link > .bi { width: 2rem; height: 2rem; font-size: 1rem; }
}

/* --- Extend reduced-motion guard for the new motion ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .oea-hero::after { animation: none; }
  .oea-price-card.featured::before { animation: none; }
  .btn-brand:hover::after,
  .btn-brand:focus-visible::after { animation: none; }
  .oea-feature::after,
  .oea-feature:hover .oea-feature-icon { transition: none; }
}
