.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 0.3s ease;
}

.features-item:hover .template-overlay {
    opacity: 1;
}

.saas-features-2 {
    background: #fefbf2;
}

.saas-featured-users {
    background: #f0f4f0;
}

/* ========================================
   HERO SECTION - FOREST GREEN PREMIUM
======================================== */
.saas-banner {
    min-height: 100vh;
    height: auto;
    max-height: none;
    position: relative;
    overflow: hidden;
    background: url("../img/hero_background.png") no-repeat top center !important;
    background-size: 100% 100% !important;
}

.saas-banner .container {
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.saas-banner .row {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Left column - flex column, centering handled by auto margins on children */
.saas-banner .row .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: 100vh;
}

/* Right column - full height with organic curve */
.saas-banner .row .col-lg-6:last-child {
    padding: 0 !important;
    position: relative;
    height: 100%;
}


/* Push hero image below the fixed navbar (style.css default is top:10px).
   Right-align all images so narrow (portrait) and wide (square) images share
   the same right edge regardless of aspect ratio. padding-right is the gap
   between the image and the column edge — keeps arrow buttons clear. */
.saas-banner .hero-img {
    top: 100px;
    justify-content: flex-end;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Make img element match visible content size (not the full container box).
   style.css forces width:100%/height:100% which makes the element larger than the image
   when object-fit:contain is active — rounding then clips empty space. Overriding to
   auto sizing means the element box = image content, so border-radius lands on real edges. */
.saas-banner .hero-img img,
.saas-banner .hero-img img.img-fluid {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: unset !important;
    border-radius: 16px;
}

/* Hero content - auto margins for vertical centering above stats bar */
.saas-banner .hero-content {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 20px;
}

/* Hero headline typography */
.saas-banner .hero-content span.span {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-block;
}

.saas-banner .hero-content span.span::before,
.saas-banner .hero-content span.span::after {
    background: rgba(122, 185, 41, 0.5) !important;
}

.saas-banner .hero-content h1 {
    color: #f5f0e8 !important;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.saas-banner .hero-content h1 em,
.saas-banner .hero-content h1 i {
    color: #CDDC39;
    font-style: italic;
}

.saas-banner .hero-content h1 strong,
.saas-banner .hero-content h1 b {
    color: #ffffff;
    font-weight: 700;
    font-style: italic;
}

/* CTA list - flex with proper spacing */
.saas-banner .hero-content ul {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.saas-banner .hero-content ul li {
    display: inline-flex;
}

.saas-banner .hero-content ul li:last-child {
    margin-left: 0;
}

/* CTA button green styling */
.saas-banner .hero-content ul li .main-btn {
    background: #8BC34A !important;
    background-image: none !important;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(139, 195, 74, 0.3) !important;
    border: none !important;
}

.saas-banner .hero-content ul li .main-btn:hover {
    background: #7ab929 !important;
    box-shadow: 0 8px 30px rgba(122, 185, 41, 0.45) !important;
}

/* Video play button - perfect circle with transparent border */
.saas-banner .hero-content ul li a.video-popup {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    border-radius: 50% !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.saas-banner .hero-content ul li a.video-popup i {
    color: #ffffff;
}

.saas-banner .hero-content ul li a.video-popup:hover {
    border-color: rgba(122, 185, 41, 0.6) !important;
    background: rgba(122, 185, 41, 0.15) !important;
}

/* Video button pulse ring - green instead of blue */
.saas-banner .hero-content ul li a.video-popup::after {
    background: rgba(122, 185, 41, 0.3) !important;
}

/* ========================================
   STATS BAR - Below hero on white background
======================================== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 32px 0;
    background: none;
    margin-top: -40px;
    padding-bottom: 100px;
    flex-shrink: 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 0 50px;
    border-right: 1px solid rgba(26, 46, 26, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #1a2e1a;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #2d4a2d;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.stat-stars {
    color: #7ab929;
    font-size: 14px;
    margin-top: 6px;
    letter-spacing: 2px;
}

/* Override excessive left column padding from style.css line 962 */
@media (min-width: 992px) and (max-width: 1399px) {
    .saas-banner .row > .col-lg-6:first-child {
        padding-left: 60px !important;
        padding-right: 40px !important;
    }
}

@media (min-width: 1400px) {
    .saas-banner .row > .col-lg-6:first-child {
        padding-left: 120px !important;
        padding-right: 80px !important;
    }
}

/* ========================================
   BREAKPOINT GAP (992px - 1199px)
   Hamburger active but hero still desktop
======================================== */
@media (max-width: 1199px) and (min-width: 992px) {
    .saas-banner {
        padding-top: 80px;
    }

    /* Override the 380px of horizontal padding from style.css line 962 */
    .saas-banner .row > .col-lg-6:first-child {
        padding: 40px 40px 40px 60px !important;
    }

    .saas-banner .hero-content h1 {
        font-size: clamp(34px, 3.5vw, 42px);
    }

    .saas-banner .hero-img {
        top: 100px;
        justify-content: flex-end;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .stat-item {
        padding: 0 24px;
    }
}

/* ========================================
   SHORT VIEWPORT (laptops like 1280x800, 1366x768)
======================================== */
@media (min-width: 992px) and (max-height: 850px) {
    .saas-banner {
        overflow: visible;
        background-size: cover !important;
    }

    .saas-banner .hero-content h1 {
        font-size: clamp(36px, 4.5vh, 56px);
        margin-bottom: 24px !important;
    }

    .saas-banner .hero-content span.span {
        margin-bottom: 10px;
    }

    .stats-bar {
        margin-top: 16px;
        padding: 20px 0;
        padding-bottom: 32px;
    }

    .saas-banner .row .col-lg-6:first-child {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .saas-banner .hero-img {
        top: 100px;
        justify-content: flex-end;
        padding-right: 16px;
        box-sizing: border-box;
    }
}

/* ========================================
   TALL TABLET PORTRAIT (e.g. iPad Pro 1024x1366)
   At this resolution the two-column layout is
   too cramped (512px per col) and the absolute-
   positioned hero image forces the row to ~1296px
   tall, creating a huge gap. Solution: hide the
   image column (same as mobile) and go full-width.
======================================== */
@media (min-width: 992px) and (max-width: 1199px) and (min-height: 1200px) {
    /* Dark scrim overlay for text readability (matches mobile) */
    .saas-banner::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(
            to right,
            rgba(26, 46, 26, 0.95) 0%,
            rgba(26, 46, 26, 0.85) 50%,
            rgba(26, 46, 26, 0.70) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .saas-banner {
        min-height: auto;
        height: auto;
        background-size: cover !important;
        padding: 100px 0 48px;
    }

    .saas-banner .container {
        min-height: auto;
        height: auto;
        position: relative;
        z-index: 2;
    }

    .saas-banner .row {
        min-height: auto;
        height: auto;
    }

    /* Left column: full width since right column is hidden */
    .saas-banner .row .col-lg-6:first-child {
        min-height: auto;
        height: auto;
        padding-top: 0;
        padding-bottom: 0;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 60px !important;
        padding-right: 60px !important;
    }

    /* RIGHT COLUMN: hide it -- this is the root cause of the gap.
       Its min-height: calc(100vh - 70px) from style.css stretches
       the row, and the absolute hero-img fills that space. */
    .saas-banner .row .col-lg-6:last-child,
    .saas-banner .row > .col-lg-6:last-child {
        display: none !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* Hero content: remove auto-margin centering, center text */
    .saas-banner .hero-content {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        text-align: center;
    }

    .saas-banner .hero-content h1 {
        font-size: 38px;
    }

    .saas-banner .hero-content ul {
        justify-content: center;
    }

    /* Stats bar: white text on dark bg (matches mobile) */
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        padding: 24px 0 0;
        margin-top: 32px;
        padding-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .stat-item {
        padding: 0 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stat-item:last-child {
        border-right: none;
    }

    .stat-number {
        font-size: 32px;
        color: #ffffff;
    }

    .stat-label {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
    }

    .stat-stars {
        color: #8bc34a;
    }
}

/* ========================================
   TABLET AND MOBILE (<=991px)
======================================== */
@media (max-width: 991px) {
    /* Dark scrim overlay for text readability */
    .saas-banner::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(
            to right,
            rgba(26, 46, 26, 0.95) 0%,
            rgba(26, 46, 26, 0.85) 50%,
            rgba(26, 46, 26, 0.70) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .saas-banner {
        min-height: auto;
        height: auto;
        max-height: none;
        display: block;
        padding: 100px 0 48px;
        background-size: cover !important;
        background-position: left center !important;
    }

    .saas-banner .container {
        min-height: auto;
        height: auto;
        position: relative;
        z-index: 2;
    }

    .saas-banner .row {
        min-height: auto;
        height: auto;
    }

    .saas-banner .row .col-lg-6:first-child {
        min-height: auto;
        height: auto;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Hide hero image on mobile - raster cards illegible */
    .saas-banner .row .col-lg-6:last-child {
        display: none !important;
    }

    .saas-banner .hero-content {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        text-align: center;
    }

    .saas-banner .hero-content h1 {
        font-size: 34px;
        line-height: 1.25;
        margin-bottom: 28px;
    }

    .saas-banner .hero-content span.span {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .saas-banner .hero-content ul {
        justify-content: center;
    }

    /* Stats bar - white text on dark bg, border-top separator */
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        padding: 24px 0 0;
        position: static;
        top: 0;
        margin-top: 32px;
        padding-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .stat-item {
        padding: 0 16px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stat-item:last-child {
        border-right: none;
    }

    .stat-number {
        font-size: 28px;
        color: #ffffff;
    }

    .stat-label {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.6);
    }

    .stat-stars {
        color: #8bc34a;
    }
}

/* ========================================
   LARGE PHONE (<=767px)
======================================== */
@media (max-width: 767px) {
    .saas-banner .hero-content h1 {
        font-size: 30px !important;
        line-height: 1.25 !important;
        margin-bottom: 24px !important;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-item {
        padding: 0 10px;
    }
}

/* ========================================
   SMALL MOBILE (<=575px)
======================================== */
@media (max-width: 575px) {
    .saas-banner {
        padding: 88px 0 40px;
    }

    .saas-banner .hero-content h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 24px !important;
    }

    .saas-banner .hero-content span.span {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    /* CTA: full-width stacked */
    .saas-banner .hero-content ul {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .saas-banner .hero-content ul li {
        width: 100%;
    }

    .saas-banner .hero-content ul li .main-btn {
        width: 100%;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Keep video button as a circle, not stretched */
    .saas-banner .hero-content ul li a.video-popup {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-item {
        padding: 0 6px;
    }

    .stats-bar {
        margin-top: 28px;
    }
}

/* ============================================================
   PART 2 - NEW COMPONENT STYLES
============================================================ */

/* === ProfilePal Design Tokens === */
:root {
  --pp-green:        #7ab929;
  --pp-green-hover:  #6aa522;
  --pp-green-light:  #8bc34a;
  --pp-green-glow:   rgba(122, 185, 41, 0.25);
  --pp-dark-1:       #0d1a0d;
  --pp-dark-2:       #1a2e1a;
  --pp-dark-3:       #243824;
  --pp-glass:        rgba(255,255,255,0.06);
  --pp-glass-hover:  rgba(255,255,255,0.10);
  --pp-glass-border: rgba(255,255,255,0.12);
  --pp-glass-border-hover: rgba(122,185,41,0.35);
  --pp-cream:        #f5f0e8;
  --pp-body-bg:      #fafaf8;
  --pp-text:         #0f1a0f;
  --pp-text-2:       #2d4a2d;
  --pp-text-muted:   #5a7a5a;
  --pp-text-inv:     #e8f0e8;
  --pp-text-inv-2:   rgba(255,255,255,0.6);
  --pp-shadow-sm:    0 1px 3px rgba(0,0,0,0.12);
  --pp-shadow-md:    0 4px 16px rgba(0,0,0,0.16);
  --pp-shadow-lg:    0 12px 40px rgba(0,0,0,0.22);
  --pp-shadow-glow:  0 8px 30px rgba(122, 185, 41, 0.35);
  --pp-shadow-card:  0 4px 20px rgba(26,46,26,0.08);
  --pp-radius-sm:    6px;
  --pp-radius-md:    12px;
  --pp-radius-lg:    20px;
  --pp-radius-xl:    28px;
  --pp-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --pp-ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --pp-ease-inout:   cubic-bezier(0.4, 0, 0.2, 1);
  --pp-ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================
   1. HERO - ANIMATED BACKGROUND ORB
======================================== */
.saas-banner {
  overflow: hidden;
}
.saas-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(122,185,41,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(122,185,41,0.06) 0%, transparent 50%);
  animation: hero-breathe 8s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
.saas-banner .container { position: relative; z-index: 2; }
@keyframes hero-breathe {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .saas-banner::before { animation: none; opacity: 0.8; }
}

/* ========================================
   2. STICKY NAV GLASS EFFECT
======================================== */
.header-area.transparent-header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.header-area.pp-nav-sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(13, 26, 13, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(122, 185, 41, 0.18), 0 4px 20px rgba(0,0,0,0.25);
  animation: stickySlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes stickySlide {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .header-area.pp-nav-sticky {
    backdrop-filter: none;
    background: #1a2e1a !important;
    animation: none;
  }
}
/* Prevent inner .header-navigation from also being fixed when outer header is already fixed */
.header-area.pp-nav-sticky .header-navigation {
  position: static !important;
  animation: none !important;
}

/* ========================================
   3. SOCIAL PROOF MARQUEE STRIP
======================================== */
.social-proof-strip {
  background: var(--pp-body-bg);
  border-top: 1px solid rgba(26,46,26,0.08);
  border-bottom: 1px solid rgba(26,46,26,0.08);
  padding: 20px 0;
  overflow: hidden;
}
.social-proof-strip .strip-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pp-text-muted);
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}
.marquee-wrapper {
  position: relative;
  overflow: hidden;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--pp-body-bg), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--pp-body-bg), transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--pp-text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.marquee-item:hover { opacity: 1; }
.marquee-item i {
  color: var(--pp-green);
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ========================================
   4. PROCESS - NUMBERED TIMELINE
======================================== */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  padding-top: 16px;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(1fr + 60px);
  right: calc(1fr + 60px);
  height: 2px;
  background: linear-gradient(to right, var(--pp-green), rgba(122,185,41,0.15));
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--pp-ease-out), transform 0.6s var(--pp-ease-out);
}
.step-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.step-item:nth-child(2) { transition-delay: 0.1s; }
.step-item:nth-child(3) { transition-delay: 0.2s; }
.step-item:nth-child(4) { transition-delay: 0.3s; }
.step-item:nth-child(5) { transition-delay: 0.4s; }
.step-item:nth-child(6) { transition-delay: 0.5s; }
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pp-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(122,185,41,0.35);
  flex-shrink: 0;
}
.step-img img {
  width: 100%;
  border-radius: var(--pp-radius-md);
  margin-bottom: 8px;
  display: block;
}
.step-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--pp-text);
  margin: 0;
}
@media (max-width: 767px) {
  .steps-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .steps-timeline::before { display: none; }
}
@media (max-width: 480px) {
  .steps-timeline { grid-template-columns: 1fr; }
}

/* ========================================
   5. FEATURE CARDS - BENTO SPOTLIGHT
======================================== */
.features-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26,46,26,0.10);
  border-radius: var(--pp-radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--pp-ease-out);
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.features-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--mouse-x) var(--mouse-y),
    rgba(122, 185, 41, 0.09),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}
.features-item:hover::after { opacity: 1; }
.features-item:hover {
  border-color: rgba(122,185,41,0.28);
  box-shadow: var(--pp-shadow-glow);
}

/* ========================================
   6. TESTIMONIALS - STACKED CARDS
======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--pp-glass);
  border: 1px solid var(--pp-glass-border);
  border-radius: var(--pp-radius-lg);
  padding: 32px 28px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--pp-ease-out), transform 0.7s var(--pp-ease-out),
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.testimonial-card:nth-child(3) { transition-delay: 0.24s; }
.testimonial-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  border-color: var(--pp-glass-border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.testimonial-card .quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--pp-green);
  opacity: 0.2;
  font-family: 'Playfair Display', Georgia, serif;
  display: block;
  margin-bottom: 8px;
}
.testimonial-card .quote-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--pp-text-inv);
  margin-bottom: 24px;
}
.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .reviewer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(122,185,41,0.3);
}
.testimonial-card .reviewer-info h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--pp-cream);
}
.testimonial-card .reviewer-info small {
  font-size: 13px;
  color: var(--pp-text-inv-2);
}
.testimonial-card .star-row {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star-icon {
  color: var(--pp-green);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.testimonial-card.stars-visible .star-icon { opacity: 1; }
.testimonial-card.stars-visible .star-icon:nth-child(1) { transition-delay: 0ms; }
.testimonial-card.stars-visible .star-icon:nth-child(2) { transition-delay: 60ms; }
.testimonial-card.stars-visible .star-icon:nth-child(3) { transition-delay: 120ms; }
.testimonial-card.stars-visible .star-icon:nth-child(4) { transition-delay: 180ms; }
.testimonial-card.stars-visible .star-icon:nth-child(5) { transition-delay: 240ms; }

/* Testimonials section - dark background for contrast */
.saas-testimonial {
  background: var(--pp-dark-2) !important;
}
.saas-testimonial .section-title-one span.span,
.saas-testimonial .section-title-one h2 {
  color: var(--pp-cream) !important;
}

/* ========================================
   7. PRICING - FEATURED CARD PULSE RING
======================================== */
.pricing-item.featured-plan {
  border: 2px solid var(--pp-green) !important;
  position: relative;
}
.pricing-item.featured-plan::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(122, 185, 41, 0.5);
  animation: pricing-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes pricing-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(122, 185, 41, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(122, 185, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 185, 41, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-item.featured-plan::before { animation: none; }
}
.pricing-item.featured-plan .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pp-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* ========================================
   8. TEMPLATES - HORIZONTAL SCROLL GALLERY
======================================== */
.templates-gallery-wrapper {
  position: relative;
  overflow: hidden;
}
.templates-gallery-wrapper::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to left, var(--pp-body-bg), transparent);
  pointer-events: none;
  z-index: 2;
}
.templates-horizontal {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.templates-horizontal::-webkit-scrollbar { display: none; }
.templates-horizontal .features-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  margin-bottom: 0 !important;
}
.templates-horizontal .features-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--pp-radius-md);
  display: block;
}

/* ========================================
   9. FAQ SECTION
======================================== */
.saas-faq {
  background: var(--pp-body-bg);
  padding: 80px 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(26,46,26,0.10);
}
.faq-item:first-child {
  border-top: 1px solid rgba(26,46,26,0.10);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--pp-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-trigger:hover { color: var(--pp-green); }
.faq-trigger .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(26,46,26,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.3s var(--pp-ease-out), background 0.2s ease;
  color: var(--pp-text-muted);
  font-size: 12px;
}
.faq-item.is-open .faq-trigger .faq-icon {
  transform: rotate(45deg);
  border-color: var(--pp-green);
  background: rgba(122,185,41,0.08);
  color: var(--pp-green);
}
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--pp-ease-out), padding 0.3s ease;
}
.faq-item.is-open .faq-body {
  max-height: 400px;
}
.faq-body-inner {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pp-text-2);
}

/* ========================================
   10. FINAL CTA SECTION
======================================== */
.final-cta-section {
  background: var(--pp-dark-1);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,185,41,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-pulse 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orb-pulse {
  from { transform: translate(-50%, -50%) scale(0.88); opacity: 0.5; }
  to   { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .final-cta-orb { animation: none; }
}
.final-cta-section .final-cta-content {
  position: relative;
  z-index: 2;
}
.final-cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--pp-cream);
  margin-bottom: 16px;
  line-height: 1.2;
}
.final-cta-section h2 em {
  color: var(--pp-green-light);
  font-style: italic;
}
.final-cta-section .cta-sub {
  font-size: 18px;
  color: var(--pp-text-inv-2);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pp-green);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: var(--pp-radius-md);
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: var(--pp-shadow-glow);
}
.final-cta-btn:hover {
  background: var(--pp-green-hover);
  box-shadow: 0 12px 40px rgba(122, 185, 41, 0.5);
  transform: translateY(-2px);
  color: #fff;
}
.cta-reassurance {
  margin-top: 16px;
  font-size: 13px;
  color: var(--pp-text-inv-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-reassurance span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cta-reassurance i {
  color: var(--pp-green);
  font-size: 11px;
}

/* ========================================
   11. INTRO STATS
======================================== */
.intro-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.intro-stat {
  display: flex;
  flex-direction: column;
}
.intro-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--pp-green);
  line-height: 1;
}
.intro-stat-suffix {
  font-size: 22px;
  font-weight: 700;
  color: var(--pp-green);
}
.intro-stat-label {
  font-size: 13px;
  color: var(--pp-text-muted);
  font-weight: 500;
  margin-top: 4px;
}
.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pp-green);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--pp-radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(122,185,41,0.25);
}
.intro-btn:hover {
  background: var(--pp-green-hover);
  box-shadow: 0 6px 24px rgba(122,185,41,0.4);
  color: #fff;
}
.intro-cta { margin-top: 8px; }

/* ========================================
   HERO SLIDESHOW
======================================== */
.hero-slideshow .hero-slider { position: relative; }

.hero-slideshow .hero-slide-item { outline: none; }

/* Slick dots */
.hero-slideshow .slick-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 10;
}
.hero-slideshow .slick-dots li button {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.hero-slideshow .slick-dots li.slick-active button {
  background: var(--pp-green);
  border-color: var(--pp-green);
  transform: scale(1.25);
}

/* Slick arrows */
.hero-slideshow .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(6px);
}
.hero-slideshow .hero-prev { left: 16px; }
.hero-slideshow .hero-next { right: 16px; }
.hero-slideshow .slick-arrow:hover {
  background: var(--pp-green);
  border-color: var(--pp-green);
}
.hero-slideshow .slick-arrow i { font-size: 16px; pointer-events: none; }

@media (max-width: 767px) {
  .hero-slideshow .slick-arrow { display: none !important; }
  .hero-slideshow .slick-dots { bottom: 12px; }
}

/* Slide with custom background image */
.hero-slide-item.has-bg-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide-item.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,20,13,0.78) 0%, rgba(26,46,26,0.65) 100%);
  z-index: 0;
}
.hero-slide-item.has-bg-image .container {
  position: relative;
  z-index: 1;
}

/* Slide testimonial element */
.slide-testimonial {
  margin: 20px 0 0;
  padding: 18px 22px;
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--pp-green);
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(4px);
}
.slide-quote {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 8px;
}
.slide-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-green);
  letter-spacing: 0.02em;
}
.slide-stars {
  margin-top: 6px;
  color: #f6c90e;
  font-size: 13px;
  letter-spacing: 2px;
}

/* Slide feature tag pills */
.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.slide-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(122,185,41,0.15);
  border: 1px solid rgba(122,185,41,0.4);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #c6e680;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.slide-tag:hover {
  background: rgba(122,185,41,0.28);
  color: #fff;
}

/* =============================================
   HERO — MOTION.JS BASE STATE + PREMIUM EFFECTS
   CSS keyframes replaced by Motion.js spring physics.
   ============================================= */

/* Elements start invisible; Motion.js animates them in with spring easing */
.hero-slideshow .hero-slide-item .hero-content h1,
.hero-slideshow .hero-slide-item .hero-content ul,
.hero-slideshow .hero-slide-item .hero-content .slide-testimonial,
.hero-slideshow .hero-slide-item .hero-content .slide-tags,
.hero-slideshow .hero-slide-item .stats-bar,
.hero-slideshow .hero-slide-item .hero-img {
  opacity: 0;
}
/* Overline starts invisible; Motion.js slides it in via y + opacity */
.hero-slideshow .hero-slide-item .hero-content .span {
  opacity: 0;
}

/* Perspective context so rotateX/rotateY look 3D on the hero image */
.hero-slideshow .hero-slide-item .row {
  perspective: 1200px;
}
.hero-slideshow .hero-img {
  will-change: transform;
}

/* CTA button shimmer sweep on hover */
.saas-banner .hero-content .main-btn {
  position: relative;
  overflow: hidden;
}
.saas-banner .hero-content .main-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
}
.saas-banner .hero-content .main-btn:hover::after {
  animation: heroShimmer 0.7s ease forwards;
}
@keyframes heroShimmer {
  0%   { left: -100%; }
  100% { left: 160%;  }
}

/* Reduced motion: skip all hero animations, show content immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .hero-slide-item .hero-content .span {
    opacity: 1 !important;
  }
  .hero-slideshow .hero-slide-item .hero-content h1,
  .hero-slideshow .hero-slide-item .hero-content ul,
  .hero-slideshow .hero-slide-item .hero-content .slide-testimonial,
  .hero-slideshow .hero-slide-item .hero-content .slide-tags,
  .hero-slideshow .hero-slide-item .stats-bar,
  .hero-slideshow .hero-slide-item .hero-img { opacity: 1 !important; }
}
