/* rubik-pixels-regular - latin */

/* @font-face {
  font-family: Rubik-Italic-VariableFont-wght;
  src: url('/fonts/Rubik-Italic-VariableFont-wght.ttf');
} */

/* rubik-regular - latin 
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. 
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/rubik-v28-latin-regular.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ 
}
*/

/* NotoSerif - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto';
  font-style: normal;
  font-weight: 500;
  unicode-range: U+000-5FF;
  src: url('/site/fonts/noto-serif.ttf')
  format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* NotoSerif - Kannada */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto';
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0C80, U+0CFF;
  src: url('/site/fonts/noto-serif-kannada.ttf')
  format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    font-family: Noto;
    .welcome {
      color: green;
      font-size: 33px;
    }
  
    .readbutton {
      display: flex;
      align-self: flex-end;
      font-size: 1rem;
      font-weight: 500;
      color: #ffffff;
      background-color: #00743f;
      border: 1px solid #dadada;
      border-radius: 0.2rem;
      padding: 0.3rem 1.3rem;
      margin-top: 0.5rem;
      cursor: pointer;
      transition: all 0.5s ease;
    }
    .text-base {
      text-decoration: underline;
    }
    .testimonial {
      margin: 30px;
    }
    .readbutton:hover {
      color: #D7F7A1;
      background-color: #00743f;
    }
    .wrapper {
      text-align: start;
      h1 {
        color: #fff;
        font-size: 77px;
        text-transform: uppercase;
        font-weight: 500;
        background: linear-gradient(to right,#095fab 20%, #25abe8 50%, #57d75b 60%);
        background-size: auto auto;
        background-clip: border-box;
        background-size: 200% auto;
        color: #fff;
        padding: 0%;
        margin: 0%;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: textclip 1.5s linear infinite;
        display: inline-block;
      }
    }

    @keyframes textclip {
      to {
        background-position: 200% center;
      }
    }
  
    #gPradhan {
      flex-direction: column;
    }
  /* Medium Devices, Desktops */
  @media only screen and (min-width : 992px) {

    p, li {
      font-size: 1.5rem;
    } 
    a {
      font-size: 1rem;
    }
    #gPradhan {
      flex-direction: row;
      .heroTitle {
        line-clamp: 2;
        padding: 0%;
        margin: 0%;
        font-size: 63px;
        text-shadow: -0.6px 0 #1c1917, 0 0.6px #1c1917, 0.6px 0 #1c1917, 0 -0.6px #1c1917;
      }
      .testimonial {
        margin: 30px;
      }
      .wrapper {
        text-align: start;
        h1 {
          color: #fff;
          font-size: 63px;
          text-transform: uppercase;
          font-weight: 700;
        }
      }
      .cardAvatar {
        max-width: 30rem;
        flex-direction: row;
      }
      .superHero {
        font-size: 63px;
      }
      .box{
        height: 400px;
        margin-top: 60px;
      }
      .bigBox {
        height: 369px;
        margin-top: 60px;
      }
      .smBox {
        height: 200px;
        margin-top: 50px;
      }
    }
  }

  h1 {
    font-size: 2rem !important;
  }
  li {
    font-size: 1.19rem !important;
  }
  p {
    font-size: 1.3rem !important;
  }

  @media screen and (max-width: 500px) and (min-width: 200px) {
    .prose.dark:prose-invert {
      font-size: 1.9rem !important;
    }
    .prose {
      font-size: 0.9rem !important;
    }
    h1 {
      font-size: 2rem !important;
    }
    li {
      font-size: 0.9rem !important;
    }
    p {
      font-size: 1rem !important;
    }
  }

  @media screen and (max-width: 1024px) and (min-width: 460px) {
    .prose {
      font-size: 2rem !important;
    }
    h1 {
      font-size: 49px;
    }
  }

  /* Large Devices, Wide Screens */
  @media only screen and (min-width : 1200px) {
    #gPradhan {
      flex-direction: row;
    }

    .heroTitle {
      line-clamp: 2;
      padding: 0%;
      margin: 0%;
      font-size: 3rem;
      text-shadow: -0.6px 0 #1c1917, 0 0.6px #1c1917, 0.6px 0 #1c1917, 0 -0.6px #1c1917;
    }
    .superHero {
      font-size: 63px;
    }

    .wrapper {
      text-align: start;
      h1 {
        color: #fff;
        font-size: 63px;
        text-transform: uppercase;
        font-weight: 700;
      }
    }

    .superHero {
      font-size: 63px;
      text-decoration: wavy;
    }
  }
  
    .from-teal-400 {
      --tw-gradient-from: #2dd4bf var(--tw-gradient-from-position);
      --tw-gradient-to: #2dd4bf00 var(--tw-gradient-to-position);
      --tw-gradient-stops: var(--tw-gradient-from),var(--tw-gradient-to);
    }
}

:root {
  --color-primary: 37, 99, 235;
  --color-primary-Dark: 0, 99, 235;
  --color-secondary: 253, 224, 71;
  --tw-prose-body: 37, 99, 235;
  --ti-cursor-color: green;

  /* ── Glassmorphism tokens ──────────────────────────────────────────────── */
  --glass-bg:          rgba(255,255,255,0.08);
  --glass-bg-light:    rgba(255,255,255,0.72);
  --glass-border:      rgba(255,255,255,0.15);
  --glass-blur:        blur(20px);
  --glass-blur-sm:     blur(12px);
}

.titleBold {
  font-size: 25px;
  margin: 10px;
  line-clamp: 2;
  text-justify: inter-word;
}
.heroTitle {
  font-size: 39px;
  line-clamp: 3;
  text-shadow: -0.6px 0 #1c1917, 0 0.6px #1c1917, 0.6px 0 #1c1917, 0 -0.6px #1c1917;
}

h1 {
  font-size: 39px;
}

.superHero {
  font-size: 50px;
  text-decoration: wavy;
}
.box{
  height: 239px;
  margin-top: 5px;
}
.bigBox {
  height: 150px;
}
.smBox {
  height: 100px;
}

.bg-shape {
  position: relative;
  overflow: hidden;
  padding: 50px;
}

.bg-shape:after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: red;
  border-radius: 50%;
  top: 0;
  right: 0;
  z-index: -1;
  top: -60%; /* change value as required */
  right: -20%; /* change value as required */
}


/* ── App banner offset ──────────────────────────────────────────────────────
   The app-banner is position:fixed at the top. These rules push the body
   content down so nothing is hidden underneath it.
   The JS in app-banner.html overrides this with the exact measured height;
   these values are fallbacks for the initial render before JS runs.
   ~64px covers the banner on desktop; ~80px covers it when it wraps on mobile.
   ─────────────────────────────────────────────────────────────────────── */
body:has(#app-banner:not([style*="display: none"])) {
  padding-top: 64px;
}

@media (max-width: 640px) {
  body:has(#app-banner:not([style*="display: none"])) {
    padding-top: 80px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --premium-green:       #00743f;
  --premium-green-light: #00a857;
  --premium-green-glow:  rgba(0, 116, 63, 0.18);
  --premium-shadow-sm:   0 2px 8px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --premium-shadow-md:   0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --premium-shadow-lg:   0 20px 60px rgba(0,0,0,0.13), 0 6px 20px rgba(0,0,0,0.08);
  --premium-shadow-hover:0 28px 72px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.10);
  --premium-radius:      1rem;
  --premium-radius-lg:   1.5rem;
  --premium-transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --premium-border:      1px solid rgba(0,0,0,0.07);
  --premium-border-dark: 1px solid rgba(255,255,255,0.08);
}

/* ── Scroll-reveal animation ───────────────────────────────────────────── */
/*
 * SAFE-BY-DEFAULT approach (Apple-style):
 * Elements are fully visible by default.
 * JS adds .will-reveal ONLY after confirming IntersectionObserver works,
 * then adds .revealed when the element enters the viewport.
 * If JS fails or is slow, content is always visible — never stuck hidden.
 */

/* Step 1: before JS runs — fully visible (safe default) */
.reveal-el {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Step 2: JS has initialised — hide and prepare for animation */
.will-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

/* Step 3: element has entered viewport — animate in */
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside a reveal group */
.reveal-group .reveal-el:nth-child(1) { transition-delay: 0s;    }
.reveal-group .reveal-el:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal-el:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal-el:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal-el:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal-el:nth-child(6) { transition-delay: 0.40s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── Premium readbutton ────────────────────────────────────────────────── */
.readbutton {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--premium-green) 0%, var(--premium-green-light) 100%) !important;
  border: none !important;
  border-radius: 0.5rem !important;
  padding: 0.6rem 1.6rem !important;
  margin-top: 1rem !important;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--premium-green-glow), 0 1px 4px rgba(0,0,0,0.12) !important;
  transition: var(--premium-transition) !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}
.readbutton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.readbutton:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 24px var(--premium-green-glow), 0 3px 8px rgba(0,0,0,0.15) !important;
  color: #ffffff !important;
}
.readbutton:hover::after { opacity: 1; }
.readbutton:active { transform: translateY(0) scale(0.99) !important; }
.readbutton a { color: inherit !important; text-decoration: none !important; font-size: inherit !important; }

/* ── Premium cards (gPradhan sections) ────────────────────────────────── */
.block.rounded-lg.bg-white.shadow-lg,
.block.rounded-lg.dark\:bg-neutral-700 {
  border-radius: var(--premium-radius-lg) !important;
  border: var(--premium-border) !important;
  box-shadow: var(--premium-shadow-md) !important;
  transition: var(--premium-transition) !important;
  overflow: hidden;
  background: #ffffff !important;
}
.dark .block.rounded-lg.bg-white.shadow-lg,
.dark .block.rounded-lg.dark\:bg-neutral-700 {
  background: #1a1f2e !important;
  border: var(--premium-border-dark) !important;
}
.block.rounded-lg.bg-white.shadow-lg:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--premium-shadow-hover) !important;
}

/* ── Card images — smooth zoom on hover ───────────────────────────────── */
#gPradhan img {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease !important;
  border-radius: 0.75rem;
}
#gPradhan img:hover {
  transform: scale(1.04) !important;
  opacity: 1 !important;
}

/* ── Section headings — refined hierarchy ─────────────────────────────── */
.titleBold {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0.5rem 0.5rem 1rem !important;
}

/* ── Marquee — premium ticker ─────────────────────────────────────────── */
.marquee-container {
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-top: 1px solid rgba(0,116,63,0.12);
  border-bottom: 1px solid rgba(0,116,63,0.12);
  padding: 0.75rem 0;
  margin: 1.5rem 0;
}
.dark .marquee-container {
  background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
  border-color: rgba(0,168,87,0.2);
}
.marquee-content {
  display: flex;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--premium-green);
  white-space: nowrap;
}
.dark .marquee-item { color: #4ade80; }
.marquee-item::before {
  content: '✦';
  margin-right: 1rem;
  font-size: 0.6rem;
  opacity: 0.5;
}

/* ── Stats section — premium numbers ─────────────────────────────────── */
div[style*="background: #f5f5f5"] {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-radius: var(--premium-radius-lg) !important;
  border: var(--premium-border) !important;
  box-shadow: var(--premium-shadow-sm) !important;
  padding: 2.5rem !important;
}

/* ── Feature grid cards (homepage feature boxes) ─────────────────────── */
div[style*="text-align: center"][style*="padding: 2rem"] {
  border-radius: var(--premium-radius) !important;
  transition: var(--premium-transition) !important;
  border: 1px solid transparent;
}
div[style*="text-align: center"][style*="padding: 2rem"]:hover {
  background: rgba(0,116,63,0.04) !important;
  border-color: rgba(0,116,63,0.12) !important;
  transform: translateY(-3px);
  box-shadow: var(--premium-shadow-sm) !important;
}

/* ── Resource link cards ──────────────────────────────────────────────── */
a[style*="background: #fff3e0"],
a[style*="background: #e3f2fd"],
a[style*="background: #e8f5e9"],
a[style*="background: #f3e5f5"] {
  border-radius: var(--premium-radius) !important;
  border: 1px solid transparent !important;
  box-shadow: var(--premium-shadow-sm) !important;
  transition: var(--premium-transition) !important;
}
a[style*="background: #fff3e0"]:hover,
a[style*="background: #e3f2fd"]:hover,
a[style*="background: #e8f5e9"]:hover,
a[style*="background: #f3e5f5"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--premium-shadow-md) !important;
  border-color: rgba(0,116,63,0.2) !important;
}

/* ── CTA gradient blocks ──────────────────────────────────────────────── */
div[style*="background: linear-gradient(135deg, #4CAF50"],
div[style*="background: linear-gradient(135deg, #667eea"] {
  border-radius: var(--premium-radius-lg) !important;
  box-shadow: var(--premium-shadow-lg) !important;
  position: relative;
  overflow: hidden;
}
div[style*="background: linear-gradient(135deg, #4CAF50"]::before,
div[style*="background: linear-gradient(135deg, #667eea"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Screenshot cards — enhanced ─────────────────────────────────────── */
.screenshot-img {
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.25),
              0 0 0 1px rgba(0,0,0,0.04) !important;
  border-radius: 1.75rem !important;
}
.screenshot-card:hover .screenshot-img {
  box-shadow: 0 36px 72px -12px rgba(0,0,0,0.35),
              0 0 0 1px rgba(0,0,0,0.06) !important;
}

/* ── Contact form — premium inputs ───────────────────────────────────── */
#email, #subject, #message {
  border-radius: 0.625rem !important;
  border: 1.5px solid rgba(0,0,0,0.1) !important;
  box-shadow: var(--premium-shadow-sm) !important;
  transition: var(--premium-transition) !important;
  font-size: 1rem !important;
  padding: 0.75rem 1rem !important;
}
#email:focus, #subject:focus, #message:focus {
  border-color: var(--premium-green) !important;
  box-shadow: 0 0 0 3px var(--premium-green-glow), var(--premium-shadow-sm) !important;
  outline: none !important;
  transform: none !important; /* override the scale hover on focus */
}
#email:hover, #subject:hover, #message:hover {
  border-color: rgba(0,116,63,0.3) !important;
  transform: none !important;
}

/* ── Testimonial cards ────────────────────────────────────────────────── */
.grid.gap-6.text-center > div {
  background: #ffffff;
  border-radius: var(--premium-radius) !important;
  padding: 2rem 1.5rem !important;
  border: var(--premium-border) !important;
  box-shadow: var(--premium-shadow-sm) !important;
  transition: var(--premium-transition) !important;
}
.dark .grid.gap-6.text-center > div {
  background: #1a1f2e !important;
  border: var(--premium-border-dark) !important;
}
.grid.gap-6.text-center > div:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--premium-shadow-md) !important;
}

/* ── App banner — premium polish ─────────────────────────────────────── */
#app-banner > div {
  background: linear-gradient(135deg, #005c32 0%, #00743f 40%, #1a6fa8 100%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
}
#app-banner a.inline-block.bg-white {
  border-radius: 0.5rem !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  transition: var(--premium-transition) !important;
}
#app-banner a.inline-block.bg-white:hover {
  transform: translateY(-1px) scale(1.03) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
}

/* ── Section spacing — breathe ───────────────────────────────────────── */
section { scroll-margin-top: 80px; }

/* ── Smooth image loading ─────────────────────────────────────────────── */
img { transition: opacity 0.4s ease; }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].loaded,
img:not([loading]) { opacity: 1; }

/* ── Blockquote — premium pull quotes ────────────────────────────────── */
blockquote {
  border-left: 4px solid var(--premium-green) !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%) !important;
  border-radius: 0 var(--premium-radius) var(--premium-radius) 0 !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.5rem 0 !important;
  box-shadow: var(--premium-shadow-sm) !important;
  font-style: normal !important;
}
.dark blockquote {
  background: linear-gradient(135deg, #052e16 0%, #0f172a 100%) !important;
  border-left-color: #4ade80 !important;
}
blockquote p { margin: 0 !important; font-size: 1.05rem !important; }
blockquote strong { color: var(--premium-green) !important; }

/* ── Scroll-reveal JS hook ────────────────────────────────────────────── */
/* Applied via the inline script in extend-footer.html */

/* ═══════════════════════════════════════════════════════════════════════════
   GLASSMORPHISM UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── .glass-panel — dark frosted glass (hero, dark backgrounds) ────────── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--premium-radius-lg);
}

/* ── .glass-card — light frosted glass (content cards) ─────────────────── */
.glass-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--premium-radius);
  box-shadow: var(--premium-shadow-md);
  transition: var(--premium-transition);
}
.dark .glass-card {
  background: rgba(15,23,42,0.55);
  border-color: rgba(255,255,255,0.08);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--premium-shadow-hover);
}

/* ── .glass-btn — translucent button (hero CTA) ─────────────────────────── */
.glass-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 0.6rem;
  cursor: pointer;
  transition: var(--premium-transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.glass-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #ffffff;
  text-decoration: none;
}
.glass-btn:active {
  transform: translateY(0);
}

/* ── Count-up animation ─────────────────────────────────────────────────── */
@keyframes count-up-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stat-number {
  animation: count-up-fade 0.6s ease-out forwards;
}

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, #052e16 0%, #00743f 50%, #064e3b 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 1rem;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,168,87,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(0,116,63,0.2)  0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: var(--premium-transition);
}
.stat-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .stat-number {
    animation: none !important;
  }
}

/* ── Cinematic hero ──────────────────────────────────────────────────────── */
.cinematic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: hidden;
}
.cinematic-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(2,6,23,0.82)  0%,
    rgba(5,46,22,0.70) 40%,
    rgba(2,6,23,0.85) 100%
  );
  z-index: 1;
}
.cinematic-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
}
@media (max-width: 600px) {
  .cinematic-hero__content {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }
}
.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Screenshot scroll carousel ─────────────────────────────────────────── */
.screenshot-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0 2rem;
}
.screenshot-scroll-container::-webkit-scrollbar { display: none; }
.screenshot-scroll-wrapper {
  display: flex;
  gap: 1.5rem;
  padding: 0 2rem;
  width: max-content;
  margin: 0 auto;
}
.screenshot-card {
  flex-shrink: 0;
  text-align: center;
  transition: var(--premium-transition);
}
.screenshot-card:hover {
  transform: translateY(-6px) scale(1.02);
}
.screenshot-img {
  width: 200px;
  border-radius: 1.75rem;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.04);
  display: block;
}
.screenshot-caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.04em;
}
.dark .screenshot-caption { color: #9ca3af; }

/* ── Solid green tick icons ──────────────────────────────────────────────── */
.tick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  background-color: #00743f;
  border-radius: 50%;
  margin-right: 0.75rem;
}
.tick-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: #ffffff;
  stroke-width: 2.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STORYTELLING SECTIONS
   Full-bleed image + bold headline side by side. Linear/Stripe style.
   ═══════════════════════════════════════════════════════════════════════════ */

.story-section {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
  }
  .story-section--reverse .story-image-wrap {
    order: 2;
  }
  .story-section--reverse .story-content {
    order: 1;
  }
}

/* ── Image panel ── */
.story-image-wrap {
  position: relative;
  /* cap height on mobile so image doesn't dominate */
  max-height: 280px;
  min-height: 220px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .story-image-wrap {
    max-height: none;
    min-height: 520px;
  }
}
.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* override any prose img rules */
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.story-section:hover .story-image {
  transform: scale(1.04);
}
.story-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,116,63,0.35) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

/* ── Content panel ── */
.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  /* explicit bg so theme switch is visible */
  background-color: #ffffff !important;
}
html.dark .story-content {
  background-color: #111827 !important;
}
@media (min-width: 768px) {
  .story-content {
    padding: 4rem 3.5rem;
  }
}

.story-eyebrow {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00743f !important;
  margin-bottom: 1rem;
  -webkit-text-fill-color: #00743f !important;
}
html.dark .story-eyebrow {
  color: #4ade80 !important;
  -webkit-text-fill-color: #4ade80 !important;
}

.story-headline {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  margin: 0 0 1.5rem 0 !important;
  background: none !important;
}
html.dark .story-headline {
  color: #f9fafb !important;
  -webkit-text-fill-color: #f9fafb !important;
}

.story-body {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
  margin-bottom: 1.75rem !important;
  max-width: 42ch;
}
html.dark .story-body {
  color: #9ca3af !important;
  -webkit-text-fill-color: #9ca3af !important;
}

/* ── Pill tags ── */
.story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.story-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: #f0fdf4;
  color: #00743f;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  white-space: nowrap;
}
.dark .story-pill {
  background: rgba(0,116,63,0.15);
  color: #4ade80;
  border-color: rgba(74,222,128,0.2);
}

.story-cta {
  align-self: flex-start;
}
