/* =========================================================================
   BillNama Stylesheet - Cleaned & Optimized
   ========================================================================= */

:root {
  --primary: #635BFF;
  --primary-hover: #4A44D4;
  --secondary: #0A2540;
  --success: #00D924;
  --warning: #FFB300;
  --danger: #FF4242;
  --info: #00B8D9;
  --purple: #8B5CF6;
  
  --bg-main: #FFFFFF;
  --bg-light: #F6F9FC;
  --bg-dark: #0A2540;
  
  --text-dark: #1A1F36;
  --text-muted: #4F566B;
  --text-light: #FFFFFF;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-glow: 0 10px 20px rgba(99, 91, 255, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* --- Smooth Scrolling (Lenis) --- */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--secondary);
  line-height: 1.2;
}

a { 
  text-decoration: none; 
  color: inherit; 
  transition: var(--transition); 
}
ul { 
  list-style: none; 
  padding: 0;
  margin: 0;
}
img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}

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

/* --- Utility Classes --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.animated-gradient {
  background: linear-gradient(-45deg, var(--primary), #9333ea, #ff007f, var(--primary));
  background-size: 300% 300%;
  animation: gradientFlow 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* GPU reveal optimizations */
.gs-reveal,
.section-header,
.mf-item,
.audience-card {
  will-change: transform, opacity;
}
.d-flex { display: flex; }
.gap-3 { gap: 1.5rem; }
.justify-center { justify-content: center; }
.no-border-bottom { border-bottom: none !important; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 16px -4px rgba(79, 70, 229, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-primary::before {
  content: ''; 
  position: absolute; 
  inset: 0;
  border-radius: inherit; 
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; 
  mask-composite: exclude; 
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
}
.btn-arrow i {
  transition: transform 0.3s ease;
  margin-left: 8px;
}
.btn-arrow:hover i,
.btn-primary.btn-arrow:hover i,
.btn-primary:hover .btn-arrow i {
  transform: translateX(4px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
}
.btn-ghost:hover {
  background: rgba(99, 91, 255, 0.05);
  color: var(--primary);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(79, 70, 229, 0.05);
}
.cta-microcopy {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.microcopy-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cta-microcopy i {
  color: #000000 !important;
  font-weight: 500;
}
.btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}
.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* --- 1. Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
  z-index: 1000;
  transition: var(--transition);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}
.logo {
  position: relative;
  z-index: 1001;
}
.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}
.logo img:hover { 
  transform: scale(1.05); 
}
.menu-toggle-checkbox {
  display: none;
}
.mobile-menu-toggle {
  display: none;
  background: none; 
  border: none; 
  font-size: 1.5rem; 
  cursor: pointer; 
  color: var(--secondary);
  position: relative;
  z-index: 1001;
}
.mobile-menu-toggle .icon-close {
  display: none;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
}
.nav-links {
  display: flex;
  gap: 12px;
  margin: 0 auto;
}
.dropdown-toggle-checkbox {
  display: none;
}
.dropdown-label {
  cursor: pointer;
  user-select: none;
}
.nav-links > li > a,
.dropdown-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
}
.nav-links > li > a:hover,
.dropdown-label:hover { 
  color: var(--primary); 
  background: rgba(99, 91, 255, 0.05);
}
.has-dropdown { 
  position: relative; 
}
.has-dropdown a i,
.dropdown-label i { 
  font-size: 0.75rem; 
  margin-left: 6px; 
  transition: var(--transition); 
}
.dropdown {
  position: absolute;
  top: 100%; left: 0;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  min-width: 200px;
  opacity: 0; 
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}
@media (min-width: 769px) {
  .has-dropdown:hover .dropdown {
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0);
  }
  .has-dropdown:hover > a i,
  .has-dropdown:hover > .dropdown-label i { 
    transform: rotate(180deg); 
  }
}
.dropdown li a {
  display: block;
  padding: 8px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.dropdown li a:hover {
  background: var(--bg-light); 
  color: var(--primary);
}
.dropdown li a i {
  margin-right: 8px;
}

/* Mega Dropdown */
.mega-dropdown {
  left: 50%;
  transform: translate(-50%, 10px);
  padding: 24px;
}
@media (min-width: 769px) {
  .has-dropdown:hover .mega-dropdown { 
    transform: translate(-50%, 0); 
  }
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 380px;
}
.dropdown-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 0 16px;
  font-weight: 700;
}
.mega-links li a {
  padding: 6px 16px;
}
.nav-ctas { 
  display: flex; 
  gap: 12px; 
}

/* --- 2. Hero Section --- */
.hero {
  margin-top: 85px; /* Offset the 85px fixed header */
  min-height: calc(100vh - 85px); /* Fill the viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: #fafbfc;
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,91,255,0.15) 0%, transparent 60%);
  top: -300px; left: -200px;
  border-radius: 50%;
  z-index: 0;
  animation: floatHero 15s ease-in-out infinite;
  filter: blur(40px);
  pointer-events: none;
}
.hero-bg-shapes.shape-2 {
  top: 10%; right: -200px; left: auto; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,210,255,0.15) 0%, transparent 60%);
  animation-duration: 18s;
  animation-direction: reverse;
}
.hero-bg-shapes.shape-3 {
  bottom: -200px; left: 20%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(157,0,255,0.12) 0%, transparent 60%);
  animation-duration: 20s;
  animation-delay: -5s;
}
@keyframes floatHero {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 50px) scale(0.9); }
}

.hero .container { 
  position: relative; 
  z-index: 2; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
}
.hero-stats-marquee {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(99,91,255,0.06);
  border: 1px solid rgba(255,255,255,0.9);
  margin-bottom: 24px;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.hero-stats-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: heroStatsMarquee 35s linear infinite;
  padding-left: 24px;
}
.hero-stats-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
}
.hero-stats-track span i {
  font-size: 1rem;
}
@keyframes heroStatsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto 16px;
  letter-spacing: -2px;
  line-height: 1.1;
  color: #0b0f19;
}
.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary), #00d2ff, #9d00ff, var(--primary));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 300% center; } }

.hero-subtitle {
  font-size: 1.25rem; 
  color: #5a6473;
  max-width: 800px; 
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 16px; 
  margin-bottom: 20px;
}
.hero-cta .btn-large { 
  font-size: 1.2rem; 
  padding: 18px 48px; 
  border-radius: 100px; 
  box-shadow: 0 20px 40px rgba(99,91,255,0.25); 
  position: relative; 
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-cta .btn-large:hover {
  box-shadow: 0 20px 40px rgba(99,91,255,0.25);
}
.hero-cta .btn-large::after {
  content: ''; 
  position: absolute; 
  top: 0; left: -100%; 
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  animation: buttonShine 5s infinite;
}
@keyframes buttonShine { 
  0%, 40% { left: -100%; } 
  100% { left: 200%; } 
}


/* --- Hero Scroll Down Indicator --- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0; /* Animated by GSAP after 2 seconds */
}
.scroll-arrow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(11, 15, 25, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-dark);
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.scroll-arrow-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.18);
}

/* --- Horizontal Showcase --- */
.showcase-horizontal {
  position: relative;
  height: 350vh;
  background: #F8F9F7;
  z-index: 10;
}
.horizontal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #F8F9F7;
  display: flex;
  align-items: center;
}
.horizontal-track {
  display: flex;
  height: 90vh;
  width: 300vw;
  will-change: transform;
}
.horizontal-slide {
  width: 100vw;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F9F7;
}
.scroller-photo {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  object-fit: contain;
  padding: 40px;
  mix-blend-mode: multiply;
}

/* --- 3. Lead Capture CTA --- */
.full-width-cta { 
  padding: 24px 0;
  position: relative;
  background: linear-gradient(-45deg, var(--primary), #9d00ff, #3f00ff, var(--primary));
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  color: white;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.mini-cta-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.mini-cta-text h2 {
  font-size: 2rem;
  margin: 0 0 4px 0;
  color: white;
  font-weight: 500;
}
.mini-cta-text span {
  color: #FFE600;
  display: inline-block;
  animation: pulseText 2s ease-in-out infinite;
}
@keyframes pulseText {
  0%, 100% { transform: scale(1); text-shadow: 0 0 10px rgba(255,230,0,0.4); }
  50% { transform: scale(1.05); text-shadow: 0 0 20px rgba(255,230,0,0.8); }
}
.mini-cta-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 1.05rem;
}
.cta-inline-form {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.cta-input {
  background: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  font-family: var(--font-body);
  color: var(--text-dark);
  min-width: 200px;
}
.cta-input::placeholder { color: #9ca3af; }
.btn-light-glow {
  background: white; 
  color: var(--primary); 
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-light-glow:hover {
  background: #f8f9fa; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.cta-glow-bg {
  position: absolute;
  top: -50%; left: -20%; width: 140%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* --- 4. Features Section --- */
.features-section { 
  padding: 64px 0; 
  background-color: #fafbfc;
}
.section-header { 
  margin-bottom: 64px; 
}
.section-header h2 { 
  font-size: 2.75rem; 
  font-weight: 500; 
  letter-spacing: -1px; 
  margin: 0;
}
.features-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}
.feature-simple-item {
  display: flex;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.fsi-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feature-simple-item:hover .fsi-icon {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(99, 91, 255, 0.15);
}
.fsi-content {
  display: flex;
  flex-direction: column;
}
.fsi-content h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 12px 0;
  color: var(--secondary);
  transition: var(--transition);
}
.feature-simple-item:hover h3 {
  color: var(--primary);
}
.fsi-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.fsi-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.fsi-link i {
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-simple-item:hover .fsi-link {
  color: var(--primary-hover);
}
.feature-simple-item:hover .fsi-link i {
  transform: translateX(4px);
}

/* --- 4.1 Sub Features --- */
.textured-bg {
  padding: 64px 0; 
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99,91,255,0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0,210,255,0.04) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}
.textured-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.more-features-list.accordion-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mf-item {
  height: 450px;
  border-radius: 24px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 16px;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}
.mf-item:hover {
  box-shadow: none;
  transform: translateY(-8px);
  border-color: rgba(99, 91, 255, 0.5);
}
.mf-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  position: relative;
}
.mf-inner {
  position: relative;
  z-index: 2;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
  justify-content: flex-start;
}
.mf-icon {
  width: 36px; height: 36px;
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: #635bff;
  margin-bottom: 2px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.mf-item:hover .mf-icon {
  background: #635bff;
  color: white;
  border-color: #635bff;
  transform: scale(1.05) rotate(5deg);
}
.mf-item h4 { 
  color: #0f172a; 
  margin: 0; 
  font-size: 1.35rem; 
  font-weight: 500; 
  letter-spacing: -0.01em;
}
.mf-item p { 
  color: #64748b; 
  font-size: 0.9rem; 
  line-height: 1.6; 
  margin: 0; 
}

/* Custom Micro UI Mockups */
.mockup-container {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.mf-item:hover .mockup-container {
  transform: scale(1.04) translateY(-2px);
}

/* Gradients for wrapper backgrounds */
.mockup-bg-proforma { background: linear-gradient(135deg, #e0e7ff 0%, #e0f2fe 100%); }
.mockup-bg-recurring { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.mockup-bg-expenses { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }
.mockup-bg-reports { background: linear-gradient(135deg, #f5f3ff 0%, #fae8ff 100%); }
.mockup-bg-whatsapp { background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%); }
.mockup-bg-ledger { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.mockup-bg-quotations { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); }

/* Micro elements styling */
.mk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.mk-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.mk-actions {
  display: flex;
  gap: 3px;
}
.mk-btn {
  font-size: 0.42rem;
  font-weight: 600;
  padding: 1px 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  color: #475569;
  white-space: nowrap;
}
.mk-btn.primary {
  background: #0078d4;
  color: #ffffff;
  border-color: transparent;
}
.mk-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6px;
  margin-top: 4px;
}
.mk-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mk-label {
  font-size: 0.42rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mk-dashed-box {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: 4px;
  padding: 4px;
  font-size: 0.42rem;
  color: #94a3b8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  line-height: 1.1;
}
.logo-box {
  min-height: 20px;
  font-size: 0.35rem;
}
.mk-line-placeholder {
  height: 2.5px;
  background: #f1f5f9;
  border-radius: 1.5px;
  width: 100%;
}
.mk-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}
.mk-amount-label {
  font-size: 0.42rem;
  color: #64748b;
}
.mk-amount-val {
  font-size: 0.58rem;
  font-weight: 700;
  color: #0078d4;
}
.line-item {
  min-height: 16px;
  margin-top: 2px;
}

/* Recurring mockup specific */
.recurring-mockup .mk-badge {
  font-size: 0.42rem;
  font-weight: 600;
  background: #dcfce7;
  color: #166534;
  padding: 1px 5px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.recurring-mockup .mk-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding: 3px 0;
}
.recurring-mockup .mk-select, 
.recurring-mockup .mk-input {
  font-size: 0.45rem;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.5px 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.recurring-mockup .mk-toggle {
  width: 16px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 9999px;
  position: relative;
}
.recurring-mockup .mk-toggle::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.recurring-mockup .mk-toggle.active {
  background: #22c55e;
}
.recurring-mockup .mk-toggle.active::after {
  left: 9px;
}
.recurring-mockup .mk-logs {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px 5px;
  margin-top: 4px;
}
.recurring-mockup .mk-log-header {
  font-size: 0.42rem;
  font-weight: 700;
  color: #64748b;
  display: block;
  margin-bottom: 1px;
}
.recurring-mockup .mk-log-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.42rem;
}
.recurring-mockup .mk-log-status {
  color: #d97706;
}

/* Expenses mockup specific */
.expenses-mockup .mk-add-btn {
  font-size: 0.42rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0 4px;
  border-radius: 3px;
  color: #475569;
}
.expenses-mockup .mk-expense-list {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  margin-top: 3px;
}
.expenses-mockup .mk-expense-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5px 0;
  border-bottom: 1px solid #f1f5f9;
}
.expenses-mockup .mk-expense-icon {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.38rem;
  color: #475569;
}
.expenses-mockup .mk-expense-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 4px;
  text-align: left;
}
.expenses-mockup .mk-expense-name {
  font-size: 0.42rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}
.expenses-mockup .mk-expense-category {
  font-size: 0.32rem;
  color: #94a3b8;
}
.expenses-mockup .mk-expense-amount {
  font-size: 0.42rem;
  font-weight: 700;
  color: #0f172a;
}
.expenses-mockup .mk-expense-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  font-size: 0.48rem;
  font-weight: 600;
  border-top: 1px solid #e2e8f0;
  padding-top: 3px;
}
.expenses-mockup .mk-expense-total {
  font-weight: 700;
  color: #ef4444;
}

/* Reports mockup specific */
.reports-mockup .mk-timeframe {
  font-size: 0.42rem;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 0 3px;
  background: #f8fafc;
}
.reports-mockup .mk-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 3px;
}
.reports-mockup .mk-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px;
  text-align: left;
}
.reports-mockup .mk-metric-label {
  font-size: 0.32rem;
  color: #94a3b8;
  display: block;
}
.reports-mockup .mk-metric-val {
  font-size: 0.5rem;
  font-weight: 700;
  color: #0f172a;
}
.reports-mockup .mk-chart-container {
  height: 40px;
  margin-top: 4px;
  display: flex;
  align-items: flex-end;
}
.reports-mockup .mk-svg-chart {
  width: 100%;
  height: 100%;
}

/* WhatsApp mockup specific */
.whatsapp-mockup {
  padding: 0 !important;
  background: #efeae2 !important;
  display: flex;
  flex-direction: column;
}
.whatsapp-mockup .mk-wa-header {
  background: #075e54;
  color: white;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.45rem;
}
.whatsapp-mockup .mk-wa-avatar {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.3rem;
}
.whatsapp-mockup .mk-wa-status {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.whatsapp-mockup .mk-wa-name {
  font-weight: 700;
  font-size: 0.4rem;
}
.whatsapp-mockup .mk-wa-sub {
  font-size: 0.28rem;
  opacity: 0.8;
}
.whatsapp-mockup .mk-wa-body {
  padding: 6px;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
}
.whatsapp-mockup .mk-wa-bubble {
  max-width: 90%;
  background: #ffffff;
  border-radius: 0 6px 6px 6px;
  padding: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  position: relative;
}
.whatsapp-mockup .mk-wa-card {
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  background: #f8fafc;
}
.whatsapp-mockup .mk-wa-card-header {
  background: #f1f5f9;
  padding: 2px 4px;
  font-size: 0.35rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 2px;
}
.whatsapp-mockup .mk-wa-card-body {
  padding: 3px 5px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.whatsapp-mockup .mk-wa-amount {
  font-size: 0.48rem;
  font-weight: 700;
  color: #1e293b;
}
.whatsapp-mockup .mk-wa-desc {
  font-size: 0.32rem;
  color: #64748b;
}
.whatsapp-mockup .mk-wa-card-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.5px 4px;
  font-size: 0.32rem;
  font-weight: 600;
  color: #0284c7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}
.whatsapp-mockup .mk-wa-time {
  font-size: 0.28rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 1px;
  display: flex;
  justify-content: flex-end;
  gap: 1.5px;
}

/* Ledger mockup specific */
.ledger-mockup .mk-table {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  margin-top: 3px;
}
.ledger-mockup .mk-table-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.32rem;
  font-weight: 700;
  color: #94a3b8;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 1.5px;
}
.ledger-mockup .mk-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5px 0;
  border-bottom: 1px solid #f1f5f9;
}
.ledger-mockup .mk-client-name {
  font-size: 0.42rem;
  font-weight: 600;
  color: #334155;
}
.ledger-mockup .mk-client-balance {
  font-size: 0.42rem;
  font-weight: 700;
  color: #0f172a;
}
.ledger-mockup .mk-ledger-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 3px;
  font-size: 0.32rem;
  color: #94a3b8;
  text-align: center;
  margin-top: 3px;
}

/* Quotations mockup specific */
.quotations-mockup .mk-badge {
  font-size: 0.42rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #475569;
  padding: 1px 5px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.quotations-mockup .mk-quote-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 3px;
}
.quotations-mockup .mk-quote-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.42rem;
  color: #475569;
}
.quotations-mockup .mk-quote-line.discount {
  color: #16a34a;
}
.quotations-mockup .mk-quote-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 3px;
  margin-top: 3px;
  font-size: 0.48rem;
  font-weight: 600;
  color: #0f172a;
}
.quotations-mockup .mk-quote-total {
  font-size: 0.55rem;
  font-weight: 700;
  color: #0f172a;
}
.quotations-mockup .mk-action-btn {
  font-size: 0.42rem;
  font-weight: 700;
  padding: 3px 0;
  border-radius: 4px;
  border: none;
  background: #635bff;
  color: white;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
}

/* 8th card special styling (Google AI style rotating gradient border) */
/* 8th card special styling (Conversion-Focused Solid Brand-Gradient Card) */
.mf-cta-card {
  background: linear-gradient(135deg, #635bff 0%, #3d34ff 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(99, 91, 255, 0.18) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.mf-cta-card:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 15px 40px rgba(99, 91, 255, 0.28) !important;
  transform: translateY(-8px);
}
.mf-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  width: 100%;
}
.mf-cta-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}
.mf-cta-card h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.mf-cta-card h3 .text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mf-cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  max-width: 90%;
}
.btn-cta {
  background: #ffffff !important;
  color: #635bff !important;
  padding: 10px 20px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.btn-cta:hover {
  background: #f8fafc !important;
  color: #3d34ff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
.btn-cta i {
  transition: transform 0.3s ease;
}
.btn-cta:hover i {
  transform: translateX(3px);
}
.mf-cta-microcopy {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --- 5. Target Audience Section --- */
.target-audience-section { 
  padding: 64px 0; 
  background-color: #fff; 
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.audience-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}
.audience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 91, 255, 0.5);
  box-shadow: none;
}
.ac-img {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1;
}
.ac-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.audience-card:hover .ac-img img {
  transform: scale(1.06);
}
/* Purge dark gradient overlays since text is now below the image */
.audience-card::after,
.audience-card:hover::after {
  display: none !important;
}
.ac-content {
  position: relative;
  width: 100%;
  padding: 25px 16px;
  z-index: 2;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-content h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  color: #0f172a;
}
.ac-content p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 1;
}

/* --- 6. Template Slider --- */
.templates-section { 
  padding: 64px 0; 
  background-color: #f8fafc; 
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.templates-section::before {
  content: ''; 
  position: absolute; 
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(99,91,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.templates-section h2 {
  color: #0f172a;
}
.templates-section .section-header p { 
  color: #475569; 
  max-width: 700px; 
  margin: 16px auto 0; 
  font-size: 1.1rem; 
}
.template-slider-wrapper {
  width: 100vw; 
  margin-left: calc(-50vw + 50%);
  overflow: hidden; 
  padding: 40px 0 120px;
  perspective: 1200px;
}
.template-slider {
  display: flex; 
  gap: 32px;
  width: max-content;
  animation: scroll-3d 35s linear infinite;
  transform-style: preserve-3d;
}
.template-slider:hover { 
  animation-play-state: paused; 
}
.template-slide {
  width: 320px; 
  flex-shrink: 0;
  border-radius: 20px; 
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotateY(-18deg) scale(0.9);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  -webkit-box-reflect: below 15px linear-gradient(transparent 75%, rgba(0,0,0,0.03));
}
.template-slide img {
  width: 100%; 
  display: block; 
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.template-slide:hover {
  transform: rotateY(0deg) scale(1.08) translateZ(50px);
  border-color: rgba(99,91,255,0.4);
  box-shadow: 0 20px 40px rgba(99,91,255,0.12), 0 0 20px rgba(99,91,255,0.06);
  z-index: 10;
}
.template-details {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.template-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  transition: color 0.3s ease;
}
.template-action {
  font-size: 0.85rem;
  font-weight: 500;
  color: #635bff;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.template-slide:hover .template-details {
  background: #f8fafc;
}
.template-slide:hover .template-name {
  color: #635bff;
}
.template-slide:hover .template-action {
  opacity: 1;
  transform: translateX(0);
}
@keyframes scroll-3d {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-352px * 7)); } /* 320px + 32px gap */
}

/* --- 7. Steps Section --- */
.steps-section { 
  padding: 64px 0; 
}
.steps-timeline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.steps-image-collage {
  position: relative;
  height: 520px;
}
.collage-main-img {
  width: 75%;
  height: 420px;
  object-fit: cover;
  border-radius: 32px;
  border-top-left-radius: 120px;
  border-top-right-radius: 120px;
  position: absolute;
  top: 0; right: 0;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
.collage-sub-img {
  width: 58%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  position: absolute;
  bottom: 0; left: 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border: 6px solid white;
  z-index: 2;
}
.collage-sparkle {
  position: absolute;
  color: var(--primary);
  font-size: 2.2rem;
  z-index: 3;
  animation: floatSparkle 4s ease-in-out infinite alternate;
}
.s-top-left { top: 20px; left: 10%; }
.s-bottom-right { bottom: 40px; right: 10%; color: var(--info); animation-delay: -2s; }

@keyframes floatSparkle {
  0% { transform: translateY(0) scale(1) rotate(0); }
  100% { transform: translateY(-12px) scale(1.1) rotate(15deg); }
}

.steps-vertical-timeline {
  position: relative;
  padding-left: 48px;
}
.timeline-line {
  position: absolute;
  top: 24px; bottom: 24px; left: 24px;
  width: 2px;
  z-index: 0;
}
.timeline-line::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 2px dashed rgba(99,91,255,0.3);
}
.timeline-line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0%;
  background: var(--primary);
  z-index: 1;
  box-shadow: 0 0 8px rgba(99,91,255,0.6);
}
.timeline-item {
  position: relative;
  display: flex;
  margin-bottom: 48px;
  z-index: 1;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; 
  color: var(--primary);
  position: absolute;
  left: -48px; top: 0;
  box-shadow: 0 0 0 4px rgba(99,91,255,0.08);
  z-index: 2;
}
.timeline-content {
  padding-left: 24px;
  opacity: 0.7;
  transition: all 0.5s ease;
}
.timeline-content h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin: 0 0 8px 0;
  padding-top: 8px;
}
.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Timeline animations triggered via JS/GSAP */
@keyframes timeline-pulse {
  0%, 30% {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 8px rgba(99,91,255,0.18);
    transform: scale(1.1);
  }
  35%, 100% {
    background: white;
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,91,255,0.08);
    transform: scale(1);
  }
}
@keyframes timeline-content-highlight {
  0%, 30% {
    opacity: 1;
    transform: translateX(6px);
  }
  35%, 100% {
    opacity: 0.7;
    transform: translateX(0);
  }
}

.timeline-item:nth-child(2) .timeline-icon { animation: timeline-pulse 9s infinite; }
.timeline-item:nth-child(3) .timeline-icon { animation: timeline-pulse 9s infinite; animation-delay: 3s; }
.timeline-item:nth-child(4) .timeline-icon { animation: timeline-pulse 9s infinite; animation-delay: 6s; }

.timeline-item:nth-child(2) .timeline-content { animation: timeline-content-highlight 9s infinite; }
.timeline-item:nth-child(3) .timeline-content { animation: timeline-content-highlight 9s infinite; animation-delay: 3s; }
.timeline-item:nth-child(4) .timeline-content { animation: timeline-content-highlight 9s infinite; animation-delay: 6s; }

/* --- 8. Cross Platform Section --- */
.cross-platform-section {
  padding: 64px 0; 
  background: #f8fafc; 
  overflow: hidden; 
  position: relative;
}
.cp-animated-bg {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.cp-grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(99, 91, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 91, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cp-header-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}
.cp-header-left {
  text-align: left;
}
.cp-header-right {
  text-align: left;
}
.creative-heading { 
  font-size: 2.75rem; 
  font-weight: 500;
  margin: 0 0 16px 0; 
  line-height: 1.15; 
  letter-spacing: -1px; 
  color: var(--text-dark); 
}
.cp-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}
.cp-badges-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cp-badge img {
  height: 42px;
  width: auto;
  transition: all 0.3s ease;
}
.cp-badge:hover img {
  transform: translateY(-3px);
  filter: brightness(1.05);
}
.cp-web-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 6px;
  height: 42px;
  width: 140px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.cp-web-badge:hover {
  transform: translateY(-3px);
  background: #111111;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.web-badge-icon {
  font-size: 1.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.web-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.web-badge-sub {
  font-size: 0.48rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.web-badge-main {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.cp-showcase-row {
  display: flex;
  gap: 32px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.cp-device-card {
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}
.cp-device-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(99, 91, 255, 0.15), 0 0 20px rgba(99, 91, 255, 0.05);
}

.cp-mac-card {
  flex: 1;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid #e2e8f0;
}
.cp-mac-card .cp-device-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.5s ease;
}
.cp-mac-card:hover .cp-device-img {
  transform: scale(1.04);
}

.cp-tablet-card {
  flex: 1.1;
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid #e2e8f0;
}
.cp-tablet-card .cp-device-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.5s ease;
}
.cp-tablet-card:hover .cp-device-img {
  transform: scale(1.04);
}

.cp-mobile-pocket-card {
  flex: 1.6;
  background: linear-gradient(135deg, #09090b 0%, #17171e 100%);
  border: 1px solid #27272a;
}
.invoice-accessibility {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}
.pocket-hand-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  z-index: 1;
}
.pocket-phone-wrapper {
  position: absolute;
  bottom: 30px;
  left: calc(50% - 100px);
  width: 200px;
  height: 410px;
  z-index: 2;
}
.pocket-phone-bezel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
.pocket-phone-screen {
  position: absolute;
  top: 2%;
  left: 4.5%;
  width: 91%;
  height: 96%;
  object-fit: cover;
  border-radius: 28px;
  z-index: 1;
}
.pocket-pant-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.pant-pocket {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  pointer-events: none;
}

/* --- 9. Testimonials Section --- */
.testimonials-section { 
  padding: 40px 0; 
  overflow: hidden;
}
.marquee-testimonials-container {
  overflow: hidden;
  padding: 20px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(to bottom, transparent, rgba(99,91,255,0.015) 50%, transparent);
}
.marquee-track-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
}
.marquee-track {
  display: flex;
  gap: 24px;
  padding: 0 12px;
  width: max-content;
}
.marquee-left { animation: scrollLeft 45s linear infinite; }
.marquee-right { animation: scrollRight 45s linear infinite; }

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

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333333%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-33.333333%); }
  100% { transform: translateX(0); }
}

.marquee-card {
  width: 380px;
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.marquee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(99,91,255,0.08);
  border-color: rgba(99,91,255,0.15);
}
.mc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.mc-meta h4 {
  margin: 0 0 2px 0;
  font-size: 1rem;
  color: var(--secondary);
}
.mc-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.mc-stars {
  margin-left: auto;
  color: #fbbf24;
  font-size: 0.8rem;
  white-space: nowrap;
}
.mc-quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* --- 11. Stats Section --- */
.stats-section { 
  padding: 40px 0; 
  background-color: #f8fafc;
  background-image: radial-gradient(rgba(99,91,255,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  overflow: hidden;
  position: relative;
}


.stats-section .container {
  position: relative;
  z-index: 2;
}
.trust-tax-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: stretch;
}

/* Redesigned Trust Bar */
.trust-bar-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(11, 15, 25, 0.04);
  margin-bottom: 56px;
}
.trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid #f1f5f9;
  padding: 0 16px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.trust-bar-item:last-child {
  border-right: none;
}
.trust-bar-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.trust-bar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-bar-rating-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.trust-bar-rating-val i {
  font-size: 1.5rem;
}
.trust-bar-item .stars-list {
  display: flex;
  gap: 2px;
  color: #ffb300;
  font-size: 0.75rem;
  margin-bottom: 6px;
}
.rating-link:hover {
  background: rgba(99, 91, 255, 0.02);
  border-radius: 12px;
}

/* Left Column: Benefits Stack */
.benefits-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.benefits-header h3 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.benefits-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.benefits-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(11, 15, 25, 0.04);
  transition: var(--transition);
}
.benefit-card:hover {
  border-color: rgba(99, 91, 255, 0.15);
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.05);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(99, 91, 255, 0.06);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}
.benefit-card:hover .benefit-icon {
  background: var(--primary);
  color: #ffffff;
}
.benefit-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.benefit-info h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 0;
  font-weight: 500;
}
.benefit-info p,
.benefit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.benefit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition);
}
.benefit-card:hover .badge-tag {
  border-color: #cbd5e1;
}
.badge-tag:hover {
  background: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.05);
}
.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: block;
}
.currency-symbol {
  color: var(--primary);
  font-weight: 700;
}
.extra-count {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  cursor: default;
}
.extra-count:hover {
  box-shadow: none !important;
  color: var(--primary) !important;
}

/* Right Column: Tax Column styling */
.tax-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tax-table-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 8px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  border: 1px solid rgba(11, 15, 25, 0.04);
}
.tax-rates-table {
  width: 100%;
  border-collapse: collapse;
}
.tax-rates-table tr {
  border-bottom: 1px solid #f1f5f9;
}
.tax-rates-table tr:last-child {
  border-bottom: none;
}
.tax-rates-table td {
  padding: 12px 0;
  font-size: 0.92rem;
  color: var(--text-dark);
  vertical-align: middle;
}
.tax-country {
  width: 35%;
  font-weight: 700;
  color: var(--secondary);
}
.tax-details {
  width: 55%;
  color: var(--text-muted);
}
.tax-status {
  width: 10%;
  text-align: right;
}
.tax-status i {
  color: var(--success);
  font-size: 0.95rem;
}
.tax-cta-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.section-subtitle-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 91, 255, 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-subtitle-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* --- 12. FAQ Section --- */
.faq-section { 
  padding: 40px 0; 
}
.faq-container { 
  max-width: 800px; 
}
.faq-accordion { 
  margin-top: 40px; 
}
details.faq-item {
  background: white; 
  border-radius: var(--radius-md); 
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm); 
  border: 1px solid rgba(0,0,0,0.04); 
  overflow: hidden;
  transition: var(--transition);
  display: block;
}
details.faq-item:hover {
  border-color: rgba(99,91,255,0.15);
}
details.faq-item summary.faq-q {
  padding: 20px 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  cursor: pointer; 
  font-weight: 500; 
  font-size: 1.05rem; 
  color: var(--secondary);
  transition: var(--transition);
  list-style: none;
  outline: none;
}
details.faq-item summary.faq-q::-webkit-details-marker {
  display: none;
}
details.faq-item summary.faq-q:hover { 
  color: var(--primary); 
}
details.faq-item summary.faq-q i { 
  transition: transform 0.3s; 
  color: #94a3b8;
  font-size: 0.85rem;
}
details.faq-item[open] summary.faq-q i { 
  transform: rotate(180deg); 
  color: var(--primary); 
}
details.faq-item .faq-a {
  padding: 0 24px 20px 24px; 
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
details.faq-item[open] .faq-a {
  animation: faqFadeIn 0.25s ease-out;
}
.faq-cta-card {
  max-width: 600px;
  margin: 56px auto 0 auto;
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 20px;
  border: 1px solid rgba(11, 15, 25, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
  text-align: center;
}
.faq-cta-card h4 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.faq-cta-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.faq-cta-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- 13. Final CTA --- */
.final-cta-section { 
  padding: 64px 0; 
  background-color: #f4f6fb; 
  overflow: hidden; 
  position: relative;
  z-index: 1; 
}
.cta-orb-top { 
  position: absolute; top: 10%; left: -5%; width: 500px; height: 500px; 
  background: rgba(139, 92, 246, 0.18); border-radius: 50%; filter: blur(100px); z-index: -1; 
  animation: pulseOrb 8s ease-in-out infinite alternate;
}
.cta-orb-bottom { 
  position: absolute; bottom: 10%; right: -5%; width: 600px; height: 600px; 
  background: rgba(59, 130, 246, 0.12); border-radius: 50%; filter: blur(120px); z-index: -1; 
  animation: pulseOrb 12s ease-in-out infinite alternate-reverse;
}
@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(30px, 30px); opacity: 0.4; }
}

.final-cta-wrapper { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto; 
}
.trust-badge { 
  display: inline-flex; 
  align-items: center; 
  border: 1px solid #cbd5e1; 
  border-radius: 50px; 
  padding: 6px 18px; 
  background: transparent; 
  margin-bottom: 20px; 
}
.trust-badge-dot { 
  width: 6px; height: 6px; 
  background-color: #10b981; 
  border-radius: 50%; 
  margin-right: 8px; 
  box-shadow: 0 0 6px #10b981;
}
.trust-badge-text { 
  font-size: 0.65rem; 
  font-weight: 700; 
  color: #64748b; 
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
}
.final-cta-heading { 
  font-size: 3.25rem; 
  font-weight: 500; 
  color: #111827; 
  line-height: 1.2; 
  letter-spacing: -1px; 
  margin: 0 0 16px 0; 
}
.text-indigo { color: var(--primary); }
.final-cta-subtitle { 
  font-size: 1.15rem; 
  color: #4b5563; 
  line-height: 1.6; 
  margin: 0 0 40px 0; 
}
.final-cta-buttons { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 16px; 
  width: 100%; 
  margin-bottom: 32px; 
}
.btn-indigo { 
  background: var(--primary); 
  color: white; 
  padding: 16px 36px; 
  border-radius: 50px; 
  font-weight: 700; 
  font-size: 1.05rem; 
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4); 
}
.btn-indigo:hover { 
  background: var(--primary-hover);
  color: white; 
}
.btn-outline-indigo { 
  background: #ffffff; 
  color: var(--primary); 
  padding: 16px 36px; 
  border-radius: 50px; 
  font-weight: 700; 
  font-size: 1.05rem; 
  border: 1.5px solid #e2e8f0; 
  box-shadow: var(--shadow-sm); 
}
.btn-outline-indigo:hover { 
  background: #f8fafc; 
  border-color: var(--primary);
}
.ms-2 { margin-left: 8px; }
.text-blue { color: var(--info); }

.final-cta-features { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 32px; 
  width: 100%; 
}
.final-cta-feature-item { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}
.final-cta-feature-icon { 
  width: 24px; height: 24px; 
  border-radius: 50%; 
  background: #e0e7ff; 
  color: var(--primary); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.75rem; 
}
.final-cta-feature-text { 
  font-size: 0.85rem; 
  font-weight: 600; 
  color: #475569; 
}

/* --- 14. Footer --- */
.site-footer { 
  background-color: #0b1120; 
  border-top: 1px solid #1e293b; 
  padding-top: 80px; 
  padding-bottom: 30px; 
}
.footer-top-grid { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 60px; 
  margin-bottom: 48px; 
}
.footer-logo-wrapper { 
  margin-bottom: 20px; 
}
.footer-logo-img { 
  height: 42px; 
  filter: brightness(0) invert(1); 
  margin-bottom: 8px; 
}
.footer-logo-tagline { 
  color: #818cf8; 
  font-size: 0.85rem; 
  font-weight: 500; 
  display: block; 
}
.footer-description { 
  color: #94a3b8; 
  font-size: 0.95rem; 
  line-height: 1.7; 
  margin: 16px 0 32px 0; 
  max-width: 480px; 
}
.footer-heading-sm { 
  color: #ffffff; 
  font-size: 1rem; 
  font-weight: 600; 
  margin: 0 0 12px 0; 
}
.subscribe-form-wrapper { 
  display: flex; 
  gap: 8px; 
  max-width: 400px; 
}
.subscribe-input { 
  flex: 1; 
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  border-radius: 8px; 
  padding: 10px 16px; 
  color: #ffffff; 
  outline: none; 
  font-size: 0.9rem;
  transition: border-color 0.2s; 
}
.subscribe-input:focus { border-color: var(--primary); }
.subscribe-btn { 
  background: var(--primary); 
  color: white; 
  border: none; 
  border-radius: 8px; 
  padding: 0 20px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: var(--transition); 
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2); 
}
.subscribe-btn:hover { 
  background: var(--primary-hover);
  color: white;
}
.subscribe-microcopy { 
  color: #64748b; 
  font-size: 0.75rem; 
  margin-top: 8px; 
}
.footer-right-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
}
.footer-heading { 
  color: #ffffff; 
  font-size: 1rem; 
  font-weight: 600; 
  margin: 0 0 20px 0; 
}
.footer-link-list { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}
.footer-link { 
  color: #94a3b8; 
  font-size: 0.9rem; 
}
.footer-link:hover { 
  color: #ffffff; 
}
.footer-middle { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding-bottom: 32px; 
  margin-bottom: 32px; 
  border-bottom: 1px solid rgba(255,255,255,0.05); 
  flex-wrap: wrap; 
  gap: 20px; 
}
.footer-socials { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
}
.social-label { 
  color: #94a3b8; 
  font-size: 0.9rem; 
}
.social-icons-wrapper { 
  display: flex; 
  gap: 8px; 
}
.f-social-icon { 
  width: 36px; height: 36px; 
  border-radius: 8px; 
  background: rgba(79, 70, 229, 0.08); 
  border: 1px solid rgba(79, 70, 229, 0.15); 
  color: #818cf8; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: var(--transition); 
}
.f-social-icon:hover { 
  background: var(--primary); 
  color: #ffffff !important; 
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.footer-contact { text-align: right; }
.contact-label { color: #e2e8f0; font-size: 0.9rem; margin-bottom: 6px; }
.contact-email { color: #818cf8; font-size: 0.95rem; font-weight: 600; }
.contact-email:hover { color: #ffffff; }
.contact-response { color: #64748b; font-size: 0.75rem; margin-top: 4px; }

.footer-bottom-bar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 20px; 
}
.footer-bottom-left { 
  display: flex; 
  align-items: center; 
  gap: 24px; 
  flex-wrap: wrap; 
}
.footer-copyright { color: #64748b; font-size: 0.85rem; }
/* App Store Download Badges in Footer */
.footer-app-badges {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-app-badge {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.footer-app-badge:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}
.footer-app-badge img {
  height: 38px;
  width: auto;
  display: block;
}

/* Footer Developer info */
.footer-developer {
  color: #64748b;
  font-size: 0.85rem;
}
.footer-developer a.dev-link {
  color: var(--primary) !important;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.footer-developer a.dev-link:hover {
  color: var(--primary-hover) !important;
  text-decoration: underline;
}

/* --- 15. Popup Modal --- */
.popup-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 37, 64, 0.8); backdrop-filter: blur(5px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup-modal {
  background: white; width: 90%; max-width: 780px; border-radius: 24px;
  padding: 36px; position: relative; transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.popup-overlay.show .popup-modal { transform: scale(1); }
.close-popup {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  font-size: 2rem; cursor: pointer; color: var(--text-muted); line-height: 1;
}
.popup-header { text-align: center; margin-bottom: 24px; }
.popup-header h3 { font-size: 1.75rem; margin: 0 0 8px 0; }
.popup-header p { margin: 0; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.popup-desc { text-align: center; margin: 0 auto 32px; color: var(--text-muted); max-width: 600px; font-size: 0.95rem; line-height: 1.5; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.p-card { 
  border: 1px solid #e2e8f0; 
  padding: 24px 16px; 
  border-radius: 16px; 
  text-align: center; 
  position: relative; 
  transition: var(--transition);
}
.p-card h4 { font-size: 0.9rem; margin: 0 0 12px 0; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.p-card .price { font-size: 1.85rem; font-weight: 500; color: var(--secondary); margin-bottom: 12px;}
.p-card .price span { font-size: 0.9rem; color: var(--text-muted); font-weight: normal; }
.p-card ul { padding: 0; list-style: none; margin: 0 0 12px 0; font-size: 0.8rem; color: var(--text-muted); }
.p-card.popular { 
  border-color: var(--primary); 
  box-shadow: var(--shadow-md); 
  background: rgba(99,91,255,0.02); 
  transform: scale(1.03); 
}
.p-card .badge { 
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); 
  background: var(--success); color: white; padding: 4px 12px; border-radius: var(--radius-full); 
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0, 217, 36, 0.2);
}
.micro-text { font-size: 0.75rem; color: var(--text-muted); margin: 4px 0 0 0; }
.terms-text { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 24px; }
.popup-ctas { display: flex; justify-content: center; gap: 12px; }


/* =========================================================================
   COMPREHENSIVE RESPONSIVENESS AND PROPER SPACING
   ========================================================================= */

@media (max-width: 992px) {
  /* Containers & Paddings */
  .container { padding: 0 20px; }
  section { padding: 48px 0 !important; }
  .hero { 
    margin-top: 85px !important;
    min-height: calc(100vh - 85px) !important;
    padding: 30px 0 !important; 
  }
  
  /* Typography */
  .hero-title { font-size: 3rem !important; }
  .section-header h2, .creative-heading { font-size: 2.15rem !important; }
  
  /* Hero Stats Marquee Mobile */
  .hero-stats-marquee { 
    padding: 8px 0;
  }
  


  /* Forms & CTA */
  .full-width-cta {
    margin-top: 50px !important;
    padding: 48px 0 !important;
  }
  .mini-cta-content-wrapper { flex-direction: column !important; align-items: stretch !important; text-align: center; gap: 28px; }
  .mini-cta-form { width: 100% !important; }
  .mini-cta-text h2 { font-size: 1.75rem; }
  .cta-inline-form { 
    flex-direction: column !important; 
    align-items: stretch !important; 
    border-radius: 20px; 
    padding: 24px 20px !important; 
    width: 100% !important; 
    max-width: 480px; 
    margin: 0 auto; 
    box-sizing: border-box !important;
  }
  .cta-input { 
    width: 100% !important; 
    max-width: 100% !important; 
    border-radius: var(--radius-md) !important; 
    text-align: left !important; 
    padding: 14px 20px !important; 
    box-sizing: border-box !important;
  }
  .cta-inline-form .btn { 
    width: 100% !important; 
    max-width: 100% !important; 
    border-radius: var(--radius-md) !important; 
    padding: 14px 20px !important; 
    box-sizing: border-box !important;
  }

  /* Feature Grids */
  .features-2col-grid { grid-template-columns: 1fr; }
  .feature-simple-item { padding: 24px 0; }
  .no-border-bottom { border-bottom: 1px solid #eef2f6 !important; }
  
  /* Bento features grid tablet override */
  .more-features-list.accordion-layout { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mf-item { min-height: 430px !important; height: auto !important; grid-column: auto !important; }
  .mf-image-wrapper { height: auto !important; }

  /* Steps Section */
  .steps-timeline-layout { grid-template-columns: 1fr; gap: 48px; }
  .steps-image-collage { height: 380px; }
  .collage-main-img { height: 320px; }
  .collage-sub-img { height: 200px; }

  /* Cross Platform Devices Showcase */
  .cp-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
    margin-bottom: 40px;
  }
  .cp-header-left, .cp-header-right {
    text-align: center;
  }
  .cp-badges-row {
    justify-content: center;
  }
  .cp-showcase-row {
    flex-direction: column;
    gap: 24px;
  }
  .cp-device-card {
    height: 380px;
    flex: none !important;
    width: 100%;
  }
  .cp-mac-card .cp-device-img, .cp-tablet-card .cp-device-img {
    height: 85%;
  }
  .pocket-phone-wrapper {
    width: 160px;
    height: 328px;
    left: calc(50% - 80px);
    bottom: 25px;
  }

  /* Redesigned Trust-Tax Grid Tablet Query */
  .trust-tax-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-bar-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 24px;
  }
  .trust-bar-item {
    flex: 1 1 180px;
    border-right: none !important;
    padding: 12px;
  }

  /* Final CTA */
  .final-cta-heading { font-size: 2.25rem !important; }
  .final-cta-subtitle { margin-bottom: 24px; }

  /* Footer */
  .footer-top-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-right-grid { gap: 30px; }
  .footer-description { max-width: 100%; }
}

@media (max-width: 768px) {
  /* Navigation Menu */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-toggle .icon-bars { display: block; }
  .mobile-menu-toggle .icon-close { display: none; }
  
  #menuToggleCheckbox:checked ~ .mobile-menu-toggle .icon-bars,
  .mobile-menu-toggle.active .icon-bars {
    display: none;
  }
  #menuToggleCheckbox:checked ~ .mobile-menu-toggle .icon-close,
  .mobile-menu-toggle.active .icon-close {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 95px 20px 24px 20px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-sizing: border-box;
  }
  .main-nav.active,
  #menuToggleCheckbox:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    gap: 0;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    padding: 6px;
    box-sizing: border-box;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links > li > a,
  .dropdown-label {
    padding: 11px 8px;
    font-size: 0.95rem;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links > li > a:hover,
  .dropdown-label:hover,
  .dropdown-toggle-checkbox:checked ~ .dropdown-label {
    background: transparent !important;
    color: var(--primary) !important;
  }
  .dropdown-toggle-checkbox:checked ~ .dropdown-label i,
  .has-dropdown.open > .dropdown-label i {
    transform: rotate(180deg);
  }
  .dropdown, .mega-dropdown {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 8px 12px !important;
    display: none;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #fafbfc !important;
  }
  .dropdown-toggle-checkbox:checked ~ .dropdown,
  .dropdown-toggle-checkbox:checked ~ .mega-dropdown,
  .has-dropdown.open .dropdown,
  .has-dropdown.open .mega-dropdown {
    display: block !important;
  }
  .mega-grid { grid-template-columns: 1fr; gap: 12px; min-width: 100%; }
  .dropdown-title { padding: 4px 0 2px 0; font-size: 0.72rem; }
  .mega-links li a { padding: 4px 0; font-size: 0.88rem; }
  
  .nav-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    gap: 8px;
    margin: 0 auto;
  }
  .nav-ctas a { width: 100%; padding: 10px 16px; font-size: 0.95rem; }

  /* Hero */
  .hero-title { font-size: 2.25rem !important; letter-spacing: -1px; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 32px; }
  .hero-cta .btn-large { width: 100%; padding: 16px 24px; font-size: 1.1rem; }

  /* Steps Section */
  .timeline-line { left: 20px !important; }
  .timeline-icon { left: -44px; width: 40px; height: 40px; font-size: 0.9rem; }
  .timeline-content { padding-left: 16px; }

  /* Pricing Popups */
  .pricing-cards { grid-template-columns: 1fr; }
  .p-card.popular { transform: none; }
  .popup-modal { padding: 32px 20px; }
  .popup-ctas { flex-direction: column; }
  .popup-ctas a { width: 100%; }

  /* Testimonials */
  .marquee-card { width: 310px; padding: 20px; }

  /* Final CTA */
  .final-cta-buttons { flex-direction: column; }
  .final-cta-buttons a { width: 100%; }
  .final-cta-features { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Footer */
  .footer-middle { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  .footer-bottom-left { flex-direction: column; gap: 12px; }
  .footer-app-badges { justify-content: center; }

  /* Bento features grid mobile override */
  .more-features-list.accordion-layout { grid-template-columns: 1fr; }
  .mf-item { min-height: 400px !important; height: auto !important; }
  
  /* Hide scroll indicator on mobile */
  .hero-scroll-indicator { display: none !important; }

  /* Compact mobile image padding for horizontal scroller */
  .scroller-photo { padding: 16px; }
}

@media (max-width: 576px) {
  .trust-bar-container {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px 16px !important;
  }
  .trust-bar-item {
    flex: none !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0 !important;
  }
  .trust-bar-item:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
  .faq-cta-card {
    padding: 24px 20px !important;
    margin-top: 40px !important;
  }
  
  /* Compliance Benefit Cards Mobile Layout */
  .benefit-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 20px !important;
  }
  .benefit-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 10px !important;
  }
  .benefit-info h4 {
    font-size: 1rem !important;
  }
  .benefit-badges {
    margin-top: 10px !important;
  }
}
