/* ═══════════════════════════════════════════════════════════════
   Ideearendus – Premium SaaS Template
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Signature Palette: Deep Navy + Sunny Yellow ──── */
  --primary: #0C144B;
  --primary-dark: #060A2E;
  --primary-light: #BACCE5;
  --secondary: #0C144B;
  --accent: #FFD437;
  --accent-dark: #E6B800;

  /* ── Cool Neutrals (sky-blue based) ───────────────── */
  --text-dark: #0C144B;
  --text-body: #2A3460;
  --text-muted: #7C8DAD;
  --bg-light: #E9F4FF;
  --bg-white: #FFFFFF;
  --bg-dark: #0C144B;
  --border-color: #BACCE5;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgb(12 20 75 / .06);
  --shadow-md: 0 4px 16px rgb(12 20 75 / .08);
  --shadow-lg: 0 12px 36px rgb(12 20 75 / .12);
  --shadow-xl: 0 24px 56px rgb(12 20 75 / .16);
  --shadow-glow: 0 0 48px rgba(255,212,55,.25);
}

*, *::before, *::after { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

html { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
}

.cms-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Respect newlines saved from the CMS textarea editor */
.cms-block p { white-space: pre-line; }

/* ── Scroll Animations ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Buttons ──────────────────────────────────────────────────── */
.cms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 34px; border-radius: var(--radius-md);
  font-family: var(--font-main); font-weight: 650; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  white-space: nowrap; letter-spacing: -.01em;
  position: relative; overflow: hidden;
}
.cms-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Shimmer sweep on hover */
.cms-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .55s ease;
  pointer-events: none;
}
.cms-btn:hover::after { transform: translateX(100%); }

/* Primary: solid dark — premium, high contrast */
.cms-btn--primary {
  background: var(--text-dark); color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
}
.cms-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
}

/* Accent: teal gradient — action-oriented, distinctive */
.cms-btn--accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(13,148,136,.3), 0 1px 3px rgba(13,148,136,.15);
}
.cms-btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13,148,136,.38), 0 2px 6px rgba(13,148,136,.2);
}

/* CTA: warm rose — urgency, conversion */
.cms-btn--cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(244,63,94,.3);
}
.cms-btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,63,94,.4);
}

/* Outline: elegant thin border */
.cms-btn--outline {
  background: transparent;
  color: var(--text-dark);
  box-shadow: inset 0 0 0 1.5px var(--border-color);
}
.cms-btn--outline:hover {
  background: var(--bg-light);
  box-shadow: inset 0 0 0 1.5px var(--text-dark);
  transform: translateY(-2px);
}

/* White: for dark backgrounds */
.cms-btn--white {
  background: #fff; color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.cms-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Ghost: translucent for dark backgrounds */
.cms-btn--ghost {
  background: rgba(255,255,255,.07); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
}
.cms-btn--ghost:hover {
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* Sizes */
.cms-btn--lg { padding: 18px 44px; font-size: 1.1rem; border-radius: 16px; min-width: min(220px, 100%); }
.cms-btn--sm { padding: 11px 24px; font-size: .92rem; border-radius: 10px; }

/* ── Navbar – Floating Glass ──────────────────────────────────── */
.cms-navbar {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96%; max-width: 1400px; z-index: 1000;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 99px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06), 0 1px 0 rgba(255,255,255,.8) inset;
  padding: 0 8px;
  animation: navEntry .8s cubic-bezier(.16,1,.3,1) forwards;
}
.cms-navbar.scrolled {
  top: 12px; width: 92%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
@keyframes navEntry { from { opacity:0; transform: translateX(-50%) translateY(-16px); } to { opacity:1; transform: translateX(-50%); } }

.cms-navbar__logo {
  font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; transition: transform .3s;
}
.cms-navbar__logo:hover { transform: scale(1.04); }

.cms-navbar__links > li > a {
  font-weight: 550; color: var(--text-body); font-size: 1.02rem;
  letter-spacing: -.005em;
  padding: 8px 18px !important; position: relative; transition: color .2s;
}
.cms-navbar__links > li > a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: all .3s; transform: translateX(-50%); border-radius: 2px;
}
.cms-navbar__links > li > a:hover { color: var(--primary); background: transparent !important; }
.cms-navbar__links > li > a:hover::after { width: 20px; }

@media (max-width: 768px) {
  .cms-navbar { width: calc(100% - 32px); }
  .cms-navbar__burger { display: block !important; }
  .cms-navbar__links-wrapper {
    display: none; position: absolute; top: calc(100% + 10px);
    left: 0; right: 0;
    background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
    flex-direction: column; padding: 20px;
    border-radius: var(--radius-lg); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl); gap: 12px; z-index: 1001;
  }
  .cms-navbar__links { flex-direction: column; width: 100%; text-align: center; }
  .cms-navbar__links li a { display: block; padding: 12px !important; }
  .cms-navbar__links-wrapper.open { display: flex; }
}

/* ── Section Tag — animated border + shimmer ─────────────────── */
.section-tag {
  --st-c1: var(--primary, #0d9488);
  --st-c2: var(--primary-light, #2dd4bf);
  display: inline-flex; align-items: center; gap: 0;
  position: relative;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--st-c1);
  background: var(--bg-light, #fafaf9);
  border-radius: 99px;
  padding: 8px 20px;
  margin-bottom: 20px;
  isolation: isolate;
  overflow: hidden;
}
/* Rotating gradient border */
.section-tag::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--st-angle, 0deg), var(--st-c1), var(--st-c2), transparent 40%, transparent 60%, var(--st-c2), var(--st-c1));
  animation: stSpin 4s linear infinite;
  z-index: -2;
}
/* Inner fill to mask the border gradient */
.section-tag::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
}
@keyframes stSpin { to { --st-angle: 360deg; } }
@property --st-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
/* Shimmer sweep */
.section-tag span, .section-tag {
  background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: padding-box;
  animation: stShimmer 3s ease-in-out 1s infinite;
}
@keyframes stShimmer {
  0%   { background-position: 200% 0; }
  40%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}
.section-tag svg { display: none; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero-section {
  padding: 140px 0 100px; position: relative; overflow: hidden;
}
.hero-gradient-bg {
  position: absolute; top: -20%; right: -10%; width: 65%; height: 90%;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, rgba(45,212,191,.04) 50%, transparent 100%);
  z-index: -1; filter: blur(60px); pointer-events: none;
}
.hero-heading {
  font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -.045em; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--text-body);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
}
.hero-trust {
  display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--text-muted); font-weight: 500;
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--primary); }

.hero-image-wrapper { position: relative; }
.hero-image-wrapper img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.hero-image-wrapper:hover img { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero-image-glow {
  position: absolute; top: 10%; left: 10%; right: 10%; bottom: 10%;
  background: linear-gradient(135deg, rgba(13,148,136,.2), rgba(45,212,191,.15));
  border-radius: var(--radius-lg); filter: blur(40px); z-index: -1;
}

@media (max-width: 768px) {
  .hero-section { padding: 110px 0 60px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-trust { justify-content: center; }
}

/* ── Stats Bar ────────────────────────────────────────────────── */
.stats-bar {
  padding: 48px 0; border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 32px; text-align: center;
}
.stats-bar__item { position: relative; }
.stats-bar__item::after {
  content: ''; position: absolute; right: 0; top: 15%; bottom: 15%;
  width: 1px; background: var(--border-color);
}
.stats-bar__item:last-child::after { display: none; }
.stats-bar__number {
  font-size: clamp(2rem,4vw,3rem); font-weight: 800;
  letter-spacing: -.04em; color: var(--text-dark); line-height: 1;
}
.stats-bar__number .text-gradient { font-size: inherit; }
.stats-bar__label {
  font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-top: 6px;
}

.stats-bar--dark {
  background: var(--bg-dark); border-color: rgba(255,255,255,.06);
  padding: 56px 0;
}
.stats-bar--dark .stats-bar__number { color: #fff; }
.stats-bar--dark .stats-bar__label { color: rgba(255,255,255,.5); }
.stats-bar--dark .stats-bar__item::after { background: rgba(255,255,255,.08); }

@media (max-width: 600px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2n)::after { display: none; }
}

/* ── Feature Cards ────────────────────────────────────────────── */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all .35s cubic-bezier(.16,1,.3,1);
  height: 100%; position: relative;
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 48px rgba(13,148,136,.08), 0 0 0 1px rgba(13,148,136,.12);
  transform: translateY(-6px);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,148,136,.08), rgba(13,148,136,.04));
  border: 1px solid rgba(13,148,136,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 24px; color: var(--primary);
}
.feature-icon svg { width: 22px; height: 22px; color: var(--primary); }
.feature-icon img { width: 28px; height: 28px; }

/* ── How It Works ─────────────────────────────────────────────── */
.how-it-works { padding: 100px 0; background: var(--bg-light); }
.how-it-works__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px; position: relative;
}
.how-it-works__step {
  text-align: center; position: relative; padding: 0 16px;
}
.how-it-works__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(13,148,136,.35);
  position: relative; z-index: 2;
}
.how-it-works__icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--bg-white); border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
  box-shadow: var(--shadow-md);
}
.how-it-works__icon svg { width: 28px; height: 28px; color: var(--primary); }
.how-it-works__title {
  font-size: 1.15rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 10px;
}
.how-it-works__desc {
  font-size: .95rem; color: var(--text-body); line-height: 1.65;
}
/* Connector line */
.how-it-works__connector {
  display: none; /* shown on desktop */
  position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px);
  height: 2px; background: var(--border-color); z-index: 1;
}
@media (min-width: 768px) {
  .how-it-works__step:not(:last-child) .how-it-works__connector { display: block; }
}
@media (max-width: 767px) {
  .how-it-works { padding: 64px 0; }
  .how-it-works__grid { grid-template-columns: 1fr; gap: 32px; max-width: 360px; margin: 0 auto; }
  .how-it-works__num { width: 44px; height: 44px; font-size: 1rem; }
  .how-it-works__icon { width: 56px; height: 56px; border-radius: 16px; }
  .how-it-works__icon svg { width: 24px; height: 24px; }
  .how-it-works__title { font-size: 1.05rem; }
  .how-it-works__desc { font-size: .88rem; }
}

/* ── Testimonials ─────────────────────────────────────────────── */
.cms-testimonials { padding: 100px 0; }
.testimonial-card {
  background: var(--bg-white); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column; gap: 20px; height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.testimonial-quote { color: var(--text-body); line-height: 1.75; font-size: 1rem; flex: 1; }
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--border-color);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--bg-light);
}
.testimonial-avatar-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--text-dark); }
.testimonial-role { font-size: .8rem; color: var(--text-muted); }

/* ── CTA ──────────────────────────────────────────────────────── */
.cms-cta { padding: 100px 0; }
.cta-card {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #151d33 100%);
  border-radius: var(--radius-xl); padding: 80px 48px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta-card__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
}
.cta-card::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.15), transparent 70%);
  pointer-events: none;
}
.cta-card::after {
  content: ''; position: absolute; bottom: -20%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,191,.08), transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .cms-cta { padding: 64px 0; }
  .cta-card { padding: 48px 24px; border-radius: 22px; }
  .cta-card h2 { font-size: clamp(2rem, 7vw, 2.8rem) !important; }
  .cta-card p { font-size: 1rem !important; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.cms-footer {
  padding: 80px 0 40px;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

/* ═══════════════════════════════════════════════════════════════
   Decorative Graphics & Effects
   ═══════════════════════════════════════════════════════════════ */

/* Dot Grid Overlay */
.deco-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .35;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 70%);
}

/* Gradient Blobs */
.deco-blob {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(80px); opacity: .12;
}
.deco-blob--primary { background: var(--primary); }
.deco-blob--secondary { background: var(--secondary); }

/* Glow Line Divider */
.deco-glow-line {
  position: absolute; left: 10%; right: 10%; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
  opacity: .2;
}

/* Noise Texture */
.deco-noise { position: relative; }
.deco-noise::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 128px;
}

/* ═══════════════════════════════════════════════════════════════
   Sticky Showcase Block
   ═══════════════════════════════════════════════════════════════ */
.sticky-showcase { padding: 100px 0; position: relative; }
.sticky-showcase__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}

/* Sticky card side */
.sticky-showcase__sticky { position: sticky; top: 110px; align-self: start; }
.sticky-showcase__card {
  background: var(--bg-white); border: 1px solid var(--border-color);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.07);
  transition: box-shadow .5s;
}
.sticky-showcase__card:hover { box-shadow: 0 32px 80px rgba(13,148,136,.1); }

.sticky-showcase__card-bar {
  background: var(--bg-light); padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; gap: 8px;
}
.sticky-showcase__card-dot { width: 10px; height: 10px; border-radius: 50%; }
.sticky-showcase__card-dot:nth-child(1) { background: #ff5f57; }
.sticky-showcase__card-dot:nth-child(2) { background: #febc2e; }
.sticky-showcase__card-dot:nth-child(3) { background: #28c840; }
.sticky-showcase__card-url {
  flex: 1; background: var(--bg-white); border: 1px solid var(--border-color);
  border-radius: 8px; padding: 5px 12px;
  font-size: 11px; color: var(--text-muted);
}

.sticky-showcase__card-body { position: relative; min-height: 360px; overflow: hidden; background: var(--bg-light); }
.sticky-showcase__card-img {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s ease, transform .6s ease;
  display: flex; align-items: center; justify-content: center;
}
.sticky-showcase__card-img img { width: 100%; height: 100%; object-fit: cover; }
.sticky-showcase__card-img.active { opacity: 1; transform: scale(1); }
.sticky-showcase__card-img .ss-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: .85rem;
}
.sticky-showcase__card-img .ss-placeholder svg { width: 48px; height: 48px; opacity: .25; }

.sticky-showcase__glow {
  position: absolute; width: 130%; height: 130%; top: -15%; left: -15%;
  background: radial-gradient(ellipse, rgba(13,148,136,.08) 0%, transparent 60%);
  pointer-events: none; z-index: -1;
}

.sticky-showcase__progress { display: flex; gap: 6px; justify-content: center; padding: 16px; }
.sticky-showcase__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-color); transition: all .3s;
}
.sticky-showcase__dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* Scroll panels */
.sticky-showcase__panels { display: flex; flex-direction: column; gap: 20px; }
.sticky-showcase__panel {
  padding: 36px; border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  opacity: .45; transform: scale(.97);
}
.sticky-showcase__panel.active {
  opacity: 1; transform: scale(1);
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(13,148,136,.07), 0 0 0 1px rgba(13,148,136,.1);
}

.sticky-showcase__panel-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(13,148,136,.08), rgba(45,212,191,.05));
  border: 1px solid rgba(13,148,136,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 18px;
}
.sticky-showcase__panel-icon svg { width: 22px; height: 22px; }
.sticky-showcase__panel-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(13,148,136,.08); color: var(--primary);
  font-weight: 800; font-size: .75rem; margin-bottom: 14px;
}
.sticky-showcase__panel-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 8px; letter-spacing: -.02em;
}
.sticky-showcase__panel-desc {
  font-size: .92rem; color: var(--text-body); line-height: 1.7;
}

@media (max-width: 768px) {
  .sticky-showcase__inner { grid-template-columns: 1fr; gap: 24px; }
  .sticky-showcase__sticky { position: static; }
  .sticky-showcase__card-body { min-height: 200px; }
  .sticky-showcase__panel { opacity: 1; transform: none; padding: 28px 24px; }
  .sticky-showcase { padding: 60px 0; }
  .sticky-showcase__panel-title { font-size: 1.1rem; }
}

/* ── Global scroll reveal ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sticky-showcase__panel { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   Reusable Section Backgrounds (drop class onto <section>)
   ═══════════════════════════════════════════════════════════════ */

/* Common: every section-bg-* is a relative container that hosts a
   layered ::before (pattern) and ::after (vignette/gradient) stack
   without affecting its inner content (which should sit at z-index:1). */
[class*="section-bg-"] { position: relative; isolation: isolate; overflow: hidden; }
[class*="section-bg-"] > * { position: relative; z-index: 1; }
[class*="section-bg-"]::before,
[class*="section-bg-"]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

/* — Subtle Mesh Gradient (cool, premium SaaS feel) — */
.section-bg-mesh {
  background: var(--bg-white);
}
.section-bg-mesh::before {
  background:
    radial-gradient(ellipse 60% 50% at 18% 12%, rgba(186,204,229,.40), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 18%, rgba(255,212,55,.22), transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(12,20,75,.09), transparent 70%);
}
.section-bg-mesh::after {
  background-image: radial-gradient(rgba(12,20,75,.18) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: 1;
}

/* — Aurora (soft glowing blobs, more energetic) — */
.section-bg-aurora {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}
.section-bg-aurora::before {
  background:
    radial-gradient(circle 420px at 12% 30%, rgba(99,102,241,.22), transparent 70%),
    radial-gradient(circle 520px at 88% 10%, rgba(255,212,55,.28), transparent 70%),
    radial-gradient(circle 460px at 68% 95%, rgba(6,192,213,.20), transparent 70%);
  filter: blur(20px);
}
.section-bg-aurora::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .04;
}

/* — Grid + spotlight (technical, structured) — */
.section-bg-grid {
  background: var(--bg-white);
}
.section-bg-grid::before {
  background-image:
    linear-gradient(rgba(12,20,75,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,20,75,.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 25%, transparent 75%);
}
.section-bg-grid::after {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,212,55,.20), transparent 70%);
}

/* — Dark navy (CTA / footer blocks) — */
.section-bg-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}
.section-bg-dark::before {
  background:
    radial-gradient(circle 520px at 20% 100%, rgba(255,212,55,.18), transparent 70%),
    radial-gradient(circle 480px at 90% 0%,  rgba(186,204,229,.10), transparent 70%);
}
.section-bg-dark::after {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent);
}

/* — Sunny / accent — */
.section-bg-sun {
  background: linear-gradient(180deg, #FFFEF7 0%, #FFFAE0 100%);
}
.section-bg-sun::before {
  background:
    radial-gradient(ellipse 50% 35% at 50% 0%,  rgba(255,212,55,.40), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(12,20,75,.06), transparent 70%);
}
.section-bg-sun::after {
  background-image: radial-gradient(rgba(12,20,75,.20) 1.2px, transparent 1.2px);
  background-size: 26px 26px; opacity: 1;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 80%);
}

/* ═══════════════════════════════════════════════════════════════
   Premium Card Polish (drop class onto card)
   ═══════════════════════════════════════════════════════════════ */
.card-pro {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 1px 2px rgba(12,20,75,.05),
    0 16px 32px -16px rgba(12,20,75,.12);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.card-pro::before {
  /* Soft inner highlight gradient — adds the "premium" sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(165deg, rgba(255,212,55,.05) 0%, transparent 35%, transparent 65%, rgba(186,204,229,.08) 100%);
}
.card-pro::after {
  /* Hover-revealed gradient ring */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,212,55,.6), rgba(99,102,241,.4), rgba(6,192,213,.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card-pro > * { position: relative; z-index: 1; }
.card-pro:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 1px 2px rgba(12,20,75,.05),
    0 30px 60px -20px rgba(12,20,75,.22);
  border-color: transparent;
}
.card-pro:hover::after { opacity: 1; }
.card-pro--accent::before {
  background: linear-gradient(165deg, rgba(255,212,55,.18) 0%, transparent 50%);
}
.card-pro--cool::before {
  background: linear-gradient(165deg, rgba(99,102,241,.10) 0%, transparent 50%);
}
