/* Minimalist Clean Theme - Apple/Stripe Inspired Aesthetics */
:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-subtle: 0 4px 20px rgba(37, 99, 235, 0.04);
  --shadow-hover: 0 12px 30px rgba(37, 99, 235, 0.08);
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* =====================
   ANIMATION KEYFRAMES
   ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

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

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
}

/* =====================
   HERO ENTRANCE ANIMATIONS
   ===================== */
.hero-text .badge-pill { animation: fadeInUp 0.6s ease both; animation-delay: 0.05s; }
.hero-text .hero-title  { animation: fadeInUp 0.7s ease both; animation-delay: 0.15s; }
.hero-text .hero-subtitle { animation: fadeInUp 0.7s ease both; animation-delay: 0.25s; }
.hero-text .hero-tagline  { animation: fadeInUp 0.7s ease both; animation-delay: 0.35s; }
.hero-text .hero-cta-group { animation: fadeInUp 0.7s ease both; animation-delay: 0.45s; }
.hero-showcase { animation: fadeInRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.2s; }

/* Floating image loop */
.hero-showcase img {
  animation: floatY 5s ease-in-out infinite;
}

/* Badge pulse glow */
.badge-pill {
  animation: fadeInUp 0.6s ease both, badgePulse 2.8s ease-in-out 1s infinite !important;
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(n+7) { opacity:1; transform:translateY(0); transition-delay: 0.47s; }

/* =====================
   BUTTON MICRO-ANIMATIONS
   ===================== */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::after {
  opacity: 1;
  animation: shimmer 0.7s ease forwards;
}

/* Metric number count-up animation class */
.metric-number {
  display: inline-block;
  transition: transform 0.3s ease;
}
.metrics-grid:hover .metric-number {
  transform: scale(1.05);
}


/* Container */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-nav {
  background: var(--text-primary);
  color: #ffffff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: var(--transition);
}

.btn-nav:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at 60% 0%, #eff6ff 0%, #ffffff 60%);
}

/* Two-column hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bfdbfe;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 1.1rem;
  font-weight: 400;
}

.hero-tagline {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-tertiary);
}

/* Compact Hero Showcase Image */
.hero-showcase {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition: var(--transition);
}

.hero-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Metrics / Trust Bar */
.metrics-section {
  padding: 3rem 0;
  border-y: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.metric-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Clean Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-card-body {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  text-align: center;
}

/* Divider image container */
.divider-wrap {
  text-align: center;
  margin: 2.5rem 0 1rem;
}

.divider-wrap img {
  max-width: 450px;
  height: auto;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.category-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.category-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.category-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.category-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Customer Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid #bfdbfe;
}

.review-info {
  font-size: 0.85rem;
}

.review-name {
  font-weight: 700;
  color: var(--text-primary);
}

.review-role {
  color: var(--text-tertiary);
}

/* Pricing Card */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  text-align: center;
}

.price-val {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features i {
  color: var(--primary);
}

/* FAQ Accordion */
.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-header i {
  color: var(--text-tertiary);
  transition: transform 0.3s ease;
}

.faq-box.active .faq-header i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-box.active .faq-body {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem;
}

/* Modal Lightbox */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
}

/* ===========================
   FOOTER (Seamless Transparent)
   =========================== */
.site-footer {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-top: none !important;
  width: 100%;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  box-sizing: border-box;
  margin-top: 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  max-width: 800px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
  margin: 0;
}

.footer-brand {
  color: #2563eb;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.1rem 0;
}

.footer-links a {
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.footer-divider {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.footer-disclaimer {
  font-size: 0.68rem;
  color: #94a3b8;
  margin: 0;
}

/* Features Banner Section - Clean White Theme */
.features-banner-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 4.5rem 0;
  text-align: center;
}

.features-banner-header h2 {
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.chevron-divider {
  font-size: 1.8rem;
  color: var(--text-tertiary);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.chevron-divider::before,
.chevron-divider::after {
  content: '';
  height: 1px;
  width: 140px;
  background: var(--border);
}

.features-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
}

.features-banner-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-banner-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  min-height: 60px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.feature-banner-item span {
  line-height: 1.35;
}

.feature-banner-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.feature-banner-icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ===================================
   INFINITE MARQUEE SLIDESHOW SECTION
   =================================== */
.marquee-section {
  background: var(--bg-subtle);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.marquee-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
}

.marquee-row::before,
.marquee-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee-row::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-subtle) 0%, transparent 100%);
}

.marquee-row::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-subtle) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.marquee-left {
  animation: marqueeScrollLeft 32s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 32s linear infinite;
}

.marquee-left-fast {
  animation: marqueeScrollLeft 26s linear infinite;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-card {
  width: 240px;
  height: 135px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.marquee-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .marquee-card {
    width: 180px;
    height: 101px;
  }
  .marquee-row::before,
  .marquee-row::after {
    width: 60px;
  }
}

/* =========================================
   LIVE PREVIEW — BundleSlide-style Slider
   ========================================= */
.live-preview-section {
  background: #ffffff;
  padding: 4rem 0 3rem;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.lp-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lp-row {
  overflow: hidden;
  width: 100%;
  margin-bottom: 1rem;
}

.lp-row:last-child {
  margin-bottom: 0;
}

.lp-track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}

/* Row 1: scrolls left */
.lp-ltr {
  animation: lpScrollLeft 28s linear infinite;
}

/* Row 2: scrolls right */
.lp-rtl {
  animation: lpScrollRight 28s linear infinite;
}

.lp-slide {
  width: 25vw;
  max-width: 420px;
  min-width: 260px;
  flex-shrink: 0;
  overflow: hidden;
  line-height: 0;
}

.lp-slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.lp-slide:hover img {
  transform: scale(1.04);
}

@keyframes lpScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes lpScrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .lp-slide {
    width: 50vw;
    min-width: 160px;
  }
}

/* =========================================
   TEMPLATE PREVIEW GRID (Reference style)
   ========================================= */
.tpl-grid-section {
  padding: 3rem 0 3.5rem;
}

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tpl-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.tpl-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

.tpl-item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .tpl-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   AUTO SLIDESHOW SECTION
   =========================== */
.slideshow-section {
  background: #f8fafc;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.slideshow-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Track outer — clips the slides */
.ss-track-outer {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(37,99,235,0.12);
  background: #e2e8f0;
  cursor: grab;
}
.ss-track-outer:active { cursor: grabbing; }

/* Sliding track */
.ss-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each slide */
.ss-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.ss-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ss-slide img:hover { transform: scale(1.02); }

/* Prev / Next arrow buttons */
.ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 2px solid #2563eb;
  color: #2563eb;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37,99,235,0.2);
}
.ss-arrow:hover {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37,99,235,0.45);
  transform: translateY(-50%) scale(1.1);
}
.ss-prev { left: -26px; }
.ss-next { right: -26px; }

/* Dot indicators */
.ss-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.ss-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}
.ss-dot.active {
  background: #2563eb;
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.ss-dot:hover { background: #93c5fd; }

/* Slide counter */
.ss-counter {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
}

/* Pause badge shown on hover */
.ss-paused-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(37,99,235,0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.06em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.slideshow-wrapper:hover .ss-paused-badge { opacity: 1; }

@media (max-width: 768px) {
  .ss-prev { left: 4px; }
  .ss-next { right: 4px; }
  .ss-arrow { width: 40px; height: 40px; font-size: 0.9rem; }
}


.dont-miss-section {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #eff6ff 100%);
  border-top: 4px solid #2563eb;
  border-bottom: 4px solid #2563eb;
  padding: 5rem 0 4rem;
  text-align: center;
  width: 100%;
  margin-top: 3rem;
}

/* Header area */
.dm-header { max-width: 680px; margin: 0 auto 3rem; }

.dm-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #1d4ed8;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.dm-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #93c5fd;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.dm-divider::before,
.dm-divider::after {
  content: '';
  height: 1px;
  width: 130px;
  background: #bfdbfe;
}

.dm-subtitle {
  color: #1e3a8a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.dm-desc {
  color: #3b82f6;
  font-size: 0.95rem;
  line-height: 1.9;
}

.dm-why {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: #1d4ed8;
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.04em;
}

.dm-why-desc {
  color: #3b82f6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.dm-act-now {
  color: #dc2626;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Two-column body */
.dm-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  max-width: 820px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

/* Badge column */
.dm-badge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.dm-badge-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0%, #1d4ed8 40%, #3b82f6 70%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(37,99,235,0.35);
  animation: badgePulse 2.5s ease-in-out infinite;
}

.dm-badge-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1d4ed8, #1e3a8a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.dm-badge-pct {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.dm-badge-label {
  color: #bfdbfe;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.dm-badge-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dm-badge-note {
  color: #1e3a8a;
  font-size: 0.85rem;
  text-align: center;
}

/* Pricing column */
.dm-price-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.dm-only-today {
  color: #1d4ed8;
  font-size: 1.25rem;
  font-weight: 800;
}

.dm-one-time {
  color: #dc2626;
  font-size: 1.1rem;
  font-weight: 700;
}

.dm-dotted-line {
  width: 100%;
  border-top: 2px dotted #bfdbfe;
  margin: 0.25rem 0;
}

.dm-normal-price {
  color: #1e3a8a;
  font-size: 1.2rem;
  font-weight: 700;
}

.dm-strikethrough {
  text-decoration: line-through;
  color: #dc2626;
  font-weight: 700;
}

.dm-today-price {
  color: #1e3a8a;
  font-size: 1.4rem;
  font-weight: 800;
}

.dm-discount {
  color: #1e3a8a;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}

.dm-discount-badge {
  background: #2563eb;
  color: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1rem;
}

/* Buy Now animated button */
.dm-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
  margin-top: 0.5rem;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.2), 0 8px 25px rgba(37,99,235,0.35);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.dm-buy-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.3), 0 14px 35px rgba(37,99,235,0.45);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

.dm-limit-note {
  color: #6b7280;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.dm-email-note {
  color: #1e3a8a;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .dm-body { grid-template-columns: 1fr; }
}

/* Floating Bottom Bar */
.floating-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-bar.show {
  transform: translateX(-50%) translateY(0);
}

.floating-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.floating-btn {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.floating-btn:hover {
  background: var(--primary);
}

/* Sales Toast */
.sales-toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  z-index: 90;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s ease;
}

.sales-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.toast-body {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.toast-time {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}


/* ============================================================
   RESPONSIVE — Comprehensive Mobile-First Media Queries
   ============================================================ */

/* ── Tablet: ≤ 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  .container { width: 94%; }

  .features-banner-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .slideshow-wrapper { max-width: 100%; }
  .ss-prev { left: 4px; }
  .ss-next { right: 4px; }

  .dm-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Large Mobile: ≤ 768px ────────────────────────────── */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links  { display: none; }
  .btn-nav    { font-size: 0.8rem !important; padding: 0.5rem 1rem; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-text {
    align-items: center;
    text-align: center;
  }
  .hero-title      { font-size: clamp(1.75rem, 6vw, 2.4rem); }
  .hero-subtitle   { max-width: 100%; font-size: 0.95rem; }
  .hero-tagline    { font-size: 0.9rem; }
  .hero-cta-group  { justify-content: center; flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-secondary   { width: 100%; justify-content: center; text-align: center; }
  .hero-showcase   { max-width: 340px; }

  /* Badge pill */
  .badge-pill { font-size: 0.75rem; text-align: center; }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .metric-number { font-size: 1.75rem; }

  /* Sections */
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .section-desc  { font-size: 0.95rem; }

  /* Key features grid (Everything Included) */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Features banner */
  .features-banner-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .features-banner-section { padding: 3rem 0; }

  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .gallery-card img { height: 150px; }

  /* Live Preview Slider */
  .live-preview-section { padding: 2.5rem 0 2rem; }
  .lp-slide {
    width: 50vw;
    min-width: 160px;
  }

  /* Template preview grid */
  .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .tpl-grid-section { padding: 2rem 0 2.5rem; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-card { padding: 2rem 1.5rem; }
  .price-val    { font-size: 2.75rem; }

  /* FAQ */
  .faq-header { font-size: 0.95rem; padding: 1rem 1.25rem; }

  /* Slideshow */
  .ss-prev { left: 4px; }
  .ss-next { right: 4px; }
  .ss-arrow { width: 40px; height: 40px; font-size: 0.9rem; }
  .ss-dots  { gap: 5px; }

  /* Don't miss section */
  .dm-body  { grid-template-columns: 1fr; gap: 2rem; }
  .dm-title { font-size: 2rem; }
  .dm-why   { font-size: 2.5rem; }

  /* Floating bar */
  .floating-info { display: none; }
  .floating-bar  {
    padding: 0.6rem 1rem;
    gap: 1rem;
    width: 90%;
  }

  /* Footer */
  .site-footer { padding: 1rem 1rem 4.5rem; }
  .footer-links { gap: 0.5rem; font-size: 0.8rem; }
}

/* ── Small Mobile: ≤ 480px ────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .hero-title   { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-showcase { max-width: 100%; }

  /* Metrics */
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Badge pill wraps neatly */
  .badge-pill { font-size: 0.72rem; line-height: 1.5; }

  /* Gallery → single column */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Template grid → single column */
  .tpl-grid { grid-template-columns: 1fr; }

  /* Live preview slides bigger on small screens */
  .lp-slide { width: 80vw; }

  /* Buttons full-width */
  .btn-primary,
  .btn-secondary { font-size: 0.9rem; padding: 0.8rem 1.25rem; }

  /* Section typography */
  .section-title { font-size: 1.4rem; }

  /* Features banner: single column */
  .features-banner-grid { gap: 0.75rem; }

  /* Pricing */
  .pricing-card { padding: 1.75rem 1rem; }
  .price-val    { font-size: 2.5rem; }

  /* FAQ */
  .faq-header { font-size: 0.9rem; }
  .faq-box.active .faq-body { max-height: 300px; }

  /* Don't miss */
  .dm-buy-btn   { font-size: 1rem; padding: 0.85rem 1.75rem; }
  .dm-badge-ring { width: 130px; height: 130px; }
  .dm-badge-inner { width: 106px; height: 106px; }
  .dm-badge-pct  { font-size: 1.3rem; }

  /* Floating bar → even more compact */
  .floating-bar { padding: 0.5rem 0.75rem; gap: 0.75rem; font-size: 0.8rem; }
  .floating-btn { font-size: 0.8rem; padding: 0.4rem 0.9rem; }

  /* Sales toast */
  .sales-toast { left: 1rem; right: 1rem; bottom: 1rem; }

  /* Nav download button */
  .btn-nav { display: none; }
}



/* Digistore24 compliance and legal pages */
.compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:2rem}.compliance-card{background:#fff;border:1px solid #e6e8ec;border-radius:16px;padding:1.5rem;box-shadow:0 10px 30px rgba(0,0,0,.05)}.compliance-card h3{margin:0 0 .75rem;color:var(--dark)}.compliance-card p{margin:0;color:#5c6470;line-height:1.7}
.legal-page{background:#f7f8fb;min-height:100vh}.legal-shell{max-width:1000px;margin:0 auto;padding:120px 24px 60px}.legal-card{background:#fff;border:1px solid #e6e8ec;border-radius:18px;padding:36px;box-shadow:0 14px 40px rgba(0,0,0,.05)}.legal-card h1{font-size:2.25rem;margin:0 0 .35rem}.legal-card h2{font-size:1.45rem;margin:2rem 0 .7rem}.legal-card h3{font-size:1.08rem;margin:1.3rem 0 .5rem}.legal-card p,.legal-card li{line-height:1.75;color:#4b5563}.legal-card ul{padding-left:1.25rem}.legal-notice,.company-box{background:#f5f7fa;border-left:4px solid var(--primary);padding:18px 20px;margin:22px 0;border-radius:8px}.company-box{border-left:0;border:1px solid #e5e7eb}.legal-updated{font-size:.9rem;color:#6b7280;margin-bottom:1.5rem}.legal-links{display:flex;flex-wrap:wrap;gap:.75rem 1rem;margin-top:2rem;padding-top:1.25rem;border-top:1px solid #e5e7eb}.legal-links a{color:var(--primary-dark);font-weight:700}.legal-brand-nav{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e7e9ed}.legal-brand-nav .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:16px;padding-bottom:16px}.legal-brand-nav .logo{font-size:1.15rem}.legal-brand-nav .back-home{font-weight:700;color:var(--primary-dark)}
@media(max-width:800px){.compliance-grid{grid-template-columns:1fr}.legal-shell{padding:92px 16px 40px}.legal-card{padding:24px}.legal-card h1{font-size:1.8rem}}


/* Digistore24 approval navigation - mirrors approved Excel Templates structure */
.secondary-navbar{position:sticky;top:0;left:0;width:100%;background:#fff;border-bottom:1px solid #e2e8f0;z-index:998;box-shadow:0 4px 6px -1px rgba(0,0,0,.05);padding:12px 0}
.sub-nav-container{display:flex;align-items:center;justify-content:space-between;gap:20px}
.sub-nav-brand{display:flex;align-items:center;font-weight:700;font-size:18px;color:#0f172a;white-space:nowrap}
.sub-nav-logo{width:22px;margin-right:8px;color:var(--primary);font-size:20px}
.brand-accent{color:var(--primary)}
.sub-nav-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:flex-end}
.sub-nav-link{font-size:14px;font-weight:500;color:#475569;text-decoration:none;padding:4px 0;border-bottom:2px solid transparent;transition:.2s}
.sub-nav-link:hover,.sub-nav-link.active{color:var(--primary)}
.sub-nav-link.active{border-bottom-color:var(--primary)}
@media(max-width:991px){.sub-nav-links{gap:14px}.sub-nav-link{font-size:13px}}
@media(max-width:768px){.secondary-navbar{position:relative;padding:10px 0}.sub-nav-brand{display:none}.sub-nav-container{display:block;overflow-x:auto}.sub-nav-links{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:18px;min-width:max-content;padding:2px 0}.sub-nav-link{white-space:nowrap;font-size:13px}}
