/* =========================================================
   Staff Management Feature Landing Page - Premium SaaS Style
   Standardized with 365 CRM "V2" UI Patterns
   Prefix: sm-
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
  --sm-primary:     #3a3285;
  --sm-primary-light: #5a52c0;
  --sm-primary-dark: #2a2465;
  --sm-accent:      #e60c80;
  --sm-accent-2:    #05b7b7;
  --sm-white:       #ffffff;
  --sm-light-bg:    #f8f9ff;
  --sm-light-bg2:   #f0f2ff;
  --sm-text-dark:   #1e2228;
  --sm-text-body:   #60697b;
  --sm-border:      rgba(58, 50, 133, 0.12);
  --sm-shadow-sm:   0 4px 16px rgba(58, 50, 133, 0.08);
  --sm-shadow-md:   0 8px 32px rgba(58, 50, 133, 0.12);
  --sm-shadow-lg:   0 16px 48px rgba(58, 50, 133, 0.16);
  --sm-radius:      14px;
  --sm-radius-lg:   20px;
  --sm-transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- PAGE-LEVEL OVERFLOW GUARD ---- */
.sm-hero,
.sm-section,
.sm-preview,
.sm-cta-banner,
.sm-problem-solution,
.sm-features,
.sm-how-it-works,
.sm-benefits,
.sm-testimonials,
.sm-youtube-reviews,
.sm-faq {
  overflow-x: hidden;
}

/* ---- Scroll Animation Base States ---- */
.sm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sm-reveal.sm-revealed {
  opacity: 1;
  transform: translateY(0);
}
.sm-reveal-left {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sm-reveal-left.sm-revealed {
  opacity: 1;
  transform: translateX(0);
}
.sm-reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sm-reveal-right.sm-revealed {
  opacity: 1;
  transform: translateX(0);
}
@media (min-width: 992px) {
  .sm-reveal-left  { transform: translateX(-40px); }
  .sm-reveal-right { transform: translateX(40px); }
}
.sm-reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sm-reveal-scale.sm-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Delay Utilities */
.sm-delay-1 { transition-delay: 0.1s; }
.sm-delay-2 { transition-delay: 0.2s; }
.sm-delay-3 { transition-delay: 0.3s; }
.sm-delay-4 { transition-delay: 0.4s; }
.sm-delay-5 { transition-delay: 0.5s; }
.sm-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.sm-hero {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 50%, #5330a8 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 35px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.sm-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.sm-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 183, 183, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.sm-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.sm-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.sm-hero .hero-badge span.dot {
  width: 8px; height: 8px;
  background: #05b7b7;
  border-radius: 50%;
  display: inline-block;
  animation: sm-pulse 1.6s infinite;
}
@keyframes sm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 183, 183, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(5, 183, 183, 0); }
}
.sm-hero .hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}
.sm-hero .hero-title .highlight {
  background: linear-gradient(90deg, #05b7b7, #e60c80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sm-hero .hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.sm-hero .hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.sm-hero .hero-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sm-radius-lg);
  backdrop-filter: blur(10px);
  padding: 16px;
  box-shadow: var(--sm-shadow-lg), 0 0 60px rgba(58, 50, 133, 0.4);
  overflow: hidden;
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.sm-hero .hero-mockup .mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.sm-hero .hero-mockup .dot-r { width: 10px; height: 10px; border-radius: 50%; background: #e2626b; }
.sm-hero .hero-mockup .dot-y { width: 10px; height: 10px; border-radius: 50%; background: #fab758; }
.sm-hero .hero-mockup .dot-g { width: 10px; height: 10px; border-radius: 50%; background: #45c4a0; }

.sm-hero .btn-hero-primary {
  background: #fff;
  color: var(--sm-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--sm-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none !important;
}
.sm-hero .btn-hero-primary:hover {
  background: var(--sm-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.3);
}
.sm-hero .btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--sm-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}
.sm-hero .btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.sm-hero .hero-trust-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.sm-hero .hero-avatars {
  display: flex;
  align-items: center;
}
.sm-hero .hero-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #3a3285;
  margin-left: -12px;
  object-fit: cover;
  transition: var(--sm-transition);
}
.sm-hero .hero-avatars img:first-child {
  margin-left: 0;
}
.sm-hero .trust-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.sm-hero .trust-text strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width:376px) {
  .sm-apk-buttons {
    flex-wrap: wrap;
  }
  .sm-benefits .benefits-cards { 
    display:grid !important; 
    grid-template-columns:1fr !important; 
    gap:10px !important;
    width:100%;
  }
}

/* Google Rating Component */
.sm-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.sm-google-rating:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.sm-rating-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sm-rating-icon svg {
  width: 100%;
  height: 100%;
}

.sm-rating-content {
  display: flex;
  flex-direction: column;
}

.sm-rating-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2px;
  line-height: 1;
}

.sm-rating-stars-wrap {
  display: flex;
  /* align-items: center; */
  gap: 8px;
  margin-bottom: 2px;
}

.sm-rating-num {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.sm-stars-row {
  color: #fab758;
  font-size: 0.8rem;
  display: flex;
  gap: 1px;
}

.sm-rating-count {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

/* App Install Buttons */
.sm-app-btn {
  display: inline-flex;
  align-items: center;
  transition: var(--sm-transition);
  /* border-radius: 12px; */
  overflow: hidden;
  height: 48px; /* Standardize height */
  text-decoration: none !important;
}
.sm-app-btn svg {
  height: 100%;
  width: auto;
  display: block;
}
.sm-app-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Responsiveness for app buttons */
@media (max-width: 575px) {
  .sm-app-btn {
    width: 100%;
    justify-content: center;
  }
}

.mockup-body {
  background: linear-gradient(155deg, #1a2040 0%, #0e1326 100%);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-body img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

/* ============================================================
   SECTION: Common Section Heading
   ============================================================ */
.sm-section {
  padding: 30px 0;
}
.sm-section-alt {
  background: var(--sm-light-bg);
}
.sm-section-alt2 {
  background: var(--sm-light-bg2);
}
.sm-section-label {
  display: inline-block;
  background: var(--sm-light-bg2);
  color: var(--sm-primary);
  border: 1px solid var(--sm-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sm-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--sm-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.sm-section-subtitle {
  color: var(--sm-text-body);
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 730px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 2 — PROBLEM → SOLUTION
   ============================================================ */
.sm-problem-solution{
  overflow: hidden;
}
.sm-problem-solution .ps-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
  position: relative;
  overflow: hidden;
}
.sm-problem-solution .ps-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--sm-radius) var(--sm-radius) 0 0;
}
.sm-problem-solution .ps-card.problem::before {
  background: linear-gradient(90deg, #e2626b, #f78b77);
}
.sm-problem-solution .ps-card.solution::before {
  background: linear-gradient(90deg, #3a3285, #05b7b7);
}
.sm-problem-solution .ps-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sm-shadow-md);
}
.sm-problem-solution .ps-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.sm-problem-solution .ps-icon.red { background: rgba(226, 98, 107, 0.1); color: #e2626b; }
.sm-problem-solution .ps-icon.primary { background: rgba(58, 50, 133, 0.1); color: var(--sm-primary); }
.sm-problem-solution .ps-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sm-problem-solution .ps-item:last-child { border-bottom: none; }
.sm-problem-solution .ps-item .ps-bullet {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  margin-top: 1px;
}
.sm-problem-solution .ps-item .ps-bullet.red { background: rgba(226, 98, 107, 0.12); color: #e2626b; }
.sm-problem-solution .ps-item .ps-bullet.green { background: rgba(69, 196, 160, 0.12); color: #45c4a0; }

/* ============================================================
   SECTION 3 — FEATURES
   ============================================================ */
.sm-features{
  overflow: hidden;
}
.sm-features .feature-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 32px 24px;
  height: 100%;
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
  position: relative;
  overflow: hidden;
}
.sm-features .feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background: linear-gradient(135deg, rgba(58, 50, 133, 0.03) 0%, transparent 60%);
  border-radius: var(--sm-radius);
  pointer-events: none;
  opacity: 0;
  transition: var(--sm-transition);
}
.sm-features .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sm-shadow-lg);
  border-color: rgba(58, 50, 133, 0.25);
}
.sm-features .feature-card:hover::after {
  opacity: 1;
}
.sm-features .feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(58, 50, 133, 0.1), rgba(5, 183, 183, 0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--sm-primary);
  margin-bottom: 20px;
  transition: var(--sm-transition);
}
.sm-features .feature-card:hover .feature-icon-wrap {
  background: linear-gradient(135deg, var(--sm-primary), #5a52c0);
  color: #fff;
  transform: rotate(-4deg) scale(1.08);
}
.sm-features .feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  margin-bottom: 10px;
}
.sm-features .feature-desc {
  font-size: 0.82rem;
  color: var(--sm-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   SECTION 4 — HOW IT WORKS
   ============================================================ */
.sm-how-it-works {
  background: var(--sm-light-bg);
}
.sm-how-it-works .step-card {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
}
.sm-how-it-works .step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sm-shadow-md);
}
.sm-how-it-works .step-number {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--sm-primary), #5a52c0);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(58, 50, 133, 0.35);
}
.sm-how-it-works .step-icon {
  font-size: 2.2rem;
  color: var(--sm-primary);
  margin-bottom: 16px;
  display: block;
}
.sm-how-it-works .step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  margin-bottom: 10px;
}
.sm-how-it-works .step-desc {
  font-size: 0.82rem;
  color: var(--sm-text-body);
  line-height: 1.7;
  margin-bottom: 0;
}
/* Arrow between steps */
.sm-how-it-works .step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  color: rgba(58, 50, 133, 0.3);
  font-size: 1.3rem;
}

/* ============================================================
   SECTION 5 — PRODUCT PREVIEW
   ============================================================ */
.sm-preview {
  background: var(--sm-primary);
  position: relative;
  overflow: hidden;
}
.sm-preview::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='%23ffffff' fill-opacity='0.03'%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;
}
.sm-preview .preview-screen-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--sm-radius-lg);
  padding: 12px;
  box-shadow: var(--sm-shadow-lg);
  backdrop-filter: blur(6px);
  transition: var(--sm-transition);
}
.sm-preview .preview-screen-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.sm-preview .preview-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #1a1f3a;
  min-height: 280px;
  position: relative;
}
.sm-preview .preview-screen .ps-header {
  background: #0f1220;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-preview .preview-screen .ps-header .ps-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.sm-preview .preview-sidebar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--sm-radius);
  padding: 12px;
}
.sm-preview .preview-sidebar .ps-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  transition: var(--sm-transition);
}
.sm-preview .preview-sidebar .ps-metric:hover {
  background: rgba(255,255,255,0.1);
}
.sm-preview .preview-sidebar .ps-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.sm-preview .preview-sidebar .ps-metric-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  display: block;
}
.sm-preview .preview-sidebar .ps-progress {
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
}
.sm-preview .preview-sidebar .ps-progress .ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sm-accent-2), #3a3285);
  border-radius: 50px;
  animation: sm-progress-fill 2.5s ease-out forwards;
}
@keyframes sm-progress-fill {
  from { width: 0; }
}

/* ============================================================
   SECTION 6 — BENEFITS
   ============================================================ */
.sm-benefits .benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow-sm);
  margin-bottom: 16px;
  transition: var(--sm-transition);
}
.sm-benefits .benefit-item:hover {
  transform: translateX(4px);
  box-shadow: var(--sm-shadow-md);
  border-color: rgba(58, 50, 133, 0.25);
}
.sm-benefits .benefit-icon {
  width: 50px; min-width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(58, 50, 133, 0.1), rgba(5, 183, 183, 0.08));
  color: var(--sm-primary);
}
.sm-benefits .benefit-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  margin-bottom: 6px;
}
.sm-benefits .benefit-desc {
  font-size: 0.82rem;
  color: var(--sm-text-body);
  line-height: 1.65;
  margin-bottom: 0;
}
.sm-benefits .benefits-visual {
  background: linear-gradient(135deg, var(--sm-light-bg) 0%, var(--sm-light-bg2) 100%);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sm-benefits .benefits-cards { 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:16px;
  width:100%;
}
.sm-benefit-card {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: 12px;
}
.sm-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sm-shadow-md) !important;
    border-color: rgba(58, 50, 133, 0.25);
}
.sm-benefit-icon {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(58, 50, 133, 0.08), rgba(5, 183, 183, 0.05));
}
.sm-benefit-card:hover .sm-benefit-icon {
    background: linear-gradient(135deg, var(--sm-primary), #5a52c0);
    color: #fff !important;
    transform: scale(1.05) rotate(-5deg);
}

/* ============================================================
   SECTION youtube Reviews
   ============================================================ */
.reel-swiper {
    padding: 40px 0 60px;
}
.swiper-pagination-bullet-active {
  background: #2a2465 !important;
}
.sm-youtube-reviews {
    background-color: #f8f9fa;
    overflow: hidden;
}
.reel-card {
    width: 100%; /* Take full width of swiper-slide */
    max-width: 260px;
    height: 460px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    margin: 0 auto;
}
.reel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(58, 50, 133, 0.15);
}
.reel-video-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}
.reel-video-container img, .reel-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 2;
}
.reel-handle {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.reel-handle i {
    color: #e1306c;
    font-size: 1rem;
}
.reel-content {
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}
.reel-card:hover .reel-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,255,255,0.4);
    opacity: 1;
}
.reel-label {
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
    color: #343f52;
    font-size: 0.85rem;
    display: block;
}

@media (max-width: 991px) {
    .reel-card {
        max-width: 220px;
        height: 380px;
    }
}

/* ---- Testimonials Marquee ---- */
.sm-tm-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.sm-tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}
.sm-tm-scroll-ltr {
  animation: sm-tm-scroll-ltr 38s linear infinite;
}
.sm-tm-wrap:hover .sm-tm-track {
  animation-play-state: paused;
}
@keyframes sm-tm-scroll-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sm-tm-card {
  flex-shrink: 0;
  width: 340px;
  min-height: 326px;
  background: var(--sm-white);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  padding: 28px 26px 11px;
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  cursor: default;
}
.sm-tm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sm-primary) 0%, var(--sm-primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--sm-radius-lg) var(--sm-radius-lg) 0 0;
}
.sm-tm-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sm-shadow-lg);
  border-color: rgba(58, 50, 133, 0.2);
}
.sm-tm-card:hover::before {
  opacity: 1;
}
.sm-tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.sm-tm-quote {
  font-size: 2.8rem;
  line-height: 0.5;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  color: var(--sm-primary);
  opacity: 0.15;
  margin-top: -8px;
  user-select: none;
  pointer-events: none;
}
.sm-tm-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--sm-text-body);
  font-style: italic;
  flex: 1;
  margin: 0 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.sm-tm-stars {
  color: #fab758;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
.sm-tm-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 7px;
  border-top: 1px solid var(--sm-border);
  margin-top: auto;
}
.sm-tm-avatar {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--sm-border);
  box-shadow: 0 2px 8px rgba(58, 50, 133, 0.1);
  flex-shrink: 0;
}
.sm-tm-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sm-tm-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sm-tm-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-tm-role {
  font-size: 0.72rem;
  color: var(--sm-text-body);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-bar {
  border-top: 1px solid var(--sm-border);
  padding-top: 56px;
  margin-top: 56px;
  text-align: center;
}
.trust-bar .trust-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sm-text-body);
  margin-bottom: 24px;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-badge {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: 10px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
}
.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--sm-shadow-md);
}
.trust-badge i {
  font-size: 1.2rem;
  color: var(--sm-primary);
}
/* ============================================================
   SECTION 8 — FAQ
   ============================================================ */
.sm-faq .faq-item {
  background: #fff;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--sm-shadow-sm);
  transition: var(--sm-transition);
}
.sm-faq .faq-item:hover {
  border-color: rgba(58, 50, 133, 0.22);
  box-shadow: var(--sm-shadow-md);
}
.sm-faq .faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sm-text-dark);
  transition: var(--sm-transition);
}
.sm-faq .faq-btn:hover {
  color: var(--sm-primary);
}
.sm-faq .faq-btn .faq-chevron {
  width: 28px; min-width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sm-light-bg2);
  color: var(--sm-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--sm-transition);
}
.sm-faq .faq-btn[aria-expanded="true"] .faq-chevron {
  background: var(--sm-primary);
  color: #fff;
  transform: rotate(180deg);
}
.sm-faq .faq-btn[aria-expanded="true"] {
  color: var(--sm-primary);
}
.sm-faq .faq-body {
  padding: 0 24px 22px;
  font-size: 0.84rem;
  color: var(--sm-text-body);
  line-height: 1.75;
}

/* ============================================================
   SECTION 9 — CTA BANNER
   ============================================================ */
.sm-cta-banner {
  background: linear-gradient(135deg, #2a2465 0%, #3a3285 50%, #5330a8 100%);
  position: relative;
  overflow: hidden;
}
.sm-cta-banner::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 183, 183, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.sm-cta-banner::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 12, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.sm-cta-banner .cta-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.sm-cta-banner .cta-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.sm-cta-banner .btn-cta-primary {
  background: #fff;
  color: var(--sm-primary);
  border: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--sm-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sm-cta-banner .btn-cta-primary:hover {
  background: var(--sm-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230, 12, 128, 0.3);
}
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--sm-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991.98px) {
  .sm-hero {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .sm-hero .hero-mockup {
    max-width: 100%;
  }
  .sm-section {
    padding: 25px 0;
  }
  .sm-how-it-works .step-arrow {
    display: none;
  }
  .sm-benefits .benefit-item:hover {
    transform: none;
  }
  .sm-features .feature-card:hover {
    transform: none;
  }
  .sm-problem-solution .ps-card:hover {
    transform: none;
  }
  .sm-how-it-works .step-card:hover {
    transform: none;
  }
  .sm-preview .preview-screen-wrapper:hover {
    transform: none;
  }
  .sm-tm-card {
    width: 300px;
    min-height: 320px;
    padding: 24px 22px 20px;
  }
  .sm-tm-scroll-ltr { animation-duration: 32s; }
}
@media (max-width: 767.98px) {
  .sm-hero {
    padding: 70px 0 50px;
  }
  .sm-hero .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sm-hero .hero-stats {
    justify-content: center;
    gap: 16px;
  }
  .sm-hero .hero-mockup .map-stats-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .sm-section {
    padding: 20px 0;
  }
  .sm-benefits .benefit-item:hover {
    transform: none;
  }
  .sm-preview .preview-sidebar {
    margin-top: 24px;
  }
  .sm-benefits .benefits-visual > div[style*='grid'] {
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width: 576px){
  .sm-hero {
    padding: 40px 0;
  }
  .sm-preview .preview-screen {
    min-height: 268px;
  }
  .sm-tm-card {
    width: 260px;
    min-height: 320px;
    padding: 20px 18px 22px;
  }
  .sm-tm-text {
    font-size: 0.82rem;
    -webkit-line-clamp: 4;
  }
  .sm-tm-track {
    gap: 16px;
  }
  .sm-tm-scroll-ltr { animation-duration: 25s; }
}
@media(max-width: 376px){
  .sm-benefits .benefits-cards { 
    display:grid; 
    grid-template-columns:1fr; 
    gap:10px;
    width:100%;
  }
  .sm-preview .preview-screen {
    min-height: 135px;
  }
}

/* Right column — feature card */
.wc-feature-card {
    background: #f8f7ff;
    border: 1px solid rgba(58, 50, 133, 0.12);
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(58, 50, 133, 0.08);
}

.wc-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ede9ff;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.wc-card-icon {
    font-size: 1.3rem;
    color: var(--lm-primary);
    flex-shrink: 0;
}

.wc-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #343f52;
    line-height: 1.3;
}

/* Checklist */
.wc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wc-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #343f52;
    font-weight: 500;
    line-height: 1.4;
}

.wc-check-icon {
    width: 22px;
    height: 22px;
    background: #45c4a0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 991px) {
    .wc-heading {
        font-size: 1.6rem;
    }

    .wc-desc {
        max-width: 100%;
    }

    .wc-feature-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .wc-heading {
        font-size: 1.4rem;
    }

    .wc-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
