/* ==========================================================================
   DESIGN SYSTEM & THEME TOKENS
   ========================================================================== */
:root {
  --primary: #0cc17c;
  --primary-dark: #088b58;
  --primary-light: rgba(12, 193, 124, 0.12);
  --secondary: #4e4e4e;
  --secondary-dark: #2d2d2d;

  /* Theme Defaults (Light) */
  --bg-base: #f9fbfa;
  --surface: #ffffff;
  --surface-card: #ffffff;
  --text-main: #1f2421;
  --text-muted: #6b7280;
  --border-ui: rgba(78, 78, 78, 0.12);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
  --grad-primary: linear-gradient(135deg, #0cc17c 0%, #088b58 100%);
  --grad-dark-accent: linear-gradient(135deg, #374151 0%, #111827 100%);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --nav-height: 72px;
}

[data-theme="dark"] {
  --bg-base: #0c0f0e;
  --surface: #141816;
  --surface-card: #1a201d;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-ui: rgba(255, 255, 255, 0.08);
  --grad-glass: linear-gradient(135deg, rgba(26, 32, 29, 0.95) 0%, rgba(20, 24, 22, 0.75) 100%);
  --grad-dark-accent: linear-gradient(135deg, #1f2937 0%, #0a0d0c 100%);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   FIX 1: FONT AWESOME ICONS RESTORATION
   (Prevent universal selector from stripping font-family of icons)
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ==========================================================================
   BUTTONS & GLOBAL ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(12, 193, 124, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 193, 124, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--border-ui);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-ui);
  z-index: 1000;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 34px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

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

/* Dropdowns in Nav */
.dropdown {
  position: relative;
  user-select: none;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 0.4rem 0;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.dropdown.open .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
  z-index: 1010;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Currency & Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.currency-selector-wrap {
  position: relative;
}

.currency-btn {
  background: var(--surface);
  border: 1px solid var(--border-ui);
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s;
}

.currency-btn:hover {
  border-color: var(--primary);
}

.currency-btn .arrow-icon {
  font-size: 0.65rem;
}

.currency-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 130px;
  background: var(--surface);
  border: 1px solid var(--border-ui);
  border-radius: 12px;
  padding: 0.35rem 0;
  box-shadow: var(--box-shadow);
  list-style: none;
  display: none;
  z-index: 1020;
}

.currency-dropdown.open .currency-menu {
  display: block;
}

.currency-menu li {
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
  transition: background-color 0.2s;
}

.currency-menu li:hover,
.currency-menu li.active {
  background: var(--primary-light);
  color: var(--primary);
}

.theme-toggle-btn,
.menu-toggle {
  background: var(--surface);
  border: 1px solid var(--border-ui);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border-radius: 10px;
}

.desktop-nav-cta { display: inline-flex; }
.mobile-only { display: none; }

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 1.5rem) 1rem 3rem 1rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  pointer-events: none;
}

.hero-content * { pointer-events: auto; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--grad-glass);
  border: 1px solid var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--box-shadow);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 auto 1.75rem auto;
  max-width: 660px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   3. STATS / METRICS SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 3;
  margin-top: -1.5rem;
  margin-bottom: 3.5rem;
}

.stats-grid {
  background: var(--grad-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-ui);
  box-shadow: var(--box-shadow);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.4rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-ui);
}

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

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-meta h3 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--surface-card);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  border: 1px solid var(--border-ui);
  box-shadow: var(--box-shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   5. REELS / SHORTS SECTION
   ========================================================================== */
.reels-section {
  padding: 3.5rem 0;
  background: var(--bg-base);
  overflow: hidden;
}

.reels-slider-container {
  width: 100%;
  position: relative;
  padding: 0.5rem 0 1.5rem 0;
}

.reels-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 5%;
  scrollbar-width: none;
}

.reels-track::-webkit-scrollbar { display: none; }

.reel-card {
  flex: 0 0 260px;
  scroll-snap-align: center;
  height: 460px;
  border-radius: 20px;
  background: var(--surface-card);
  padding: 6px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-ui);
  transition: transform 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-6px);
}

.reel-frame {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.reel-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  z-index: 2;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.play-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.reel-metrics {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slider-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ==========================================================================
   5.5 PHOTO GRID
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-ui);
  box-shadow: var(--box-shadow);
  aspect-ratio: 3 / 4;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   6. PRICING & CUSTOM PLAN
   ========================================================================== */
.pricing-section {
  padding: 3.5rem 0;
}

.pricing-global-features {
  background: var(--primary-light);
  border: 1px solid rgba(12, 193, 124, 0.25);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  margin: 1.5rem auto 0 auto;
  max-width: 880px;
}

.global-features-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.global-feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
}

.global-feature-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--surface);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  border: 1px solid var(--border-ui);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-ui);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.pricing-card.popular {
  border-color: var(--primary);
  background: var(--grad-glass);
}

.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.p-card-head {
  text-align: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-ui);
  padding-bottom: 1.25rem;
}

.p-card-head h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.p-card-head .price {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.p-card-head .currency {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.p-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.p-features li {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.p-features li i {
  color: var(--primary);
  margin-top: 3px;
}

.p-btn {
  width: 100%;
}

/* Custom Calculator */
.custom-plan-wrapper {
  margin-top: 3rem;
}

.custom-plan-card {
  background: var(--surface-card);
  border: 1px solid var(--border-ui);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.c-plan-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.c-plan-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.calc-row {
  margin-bottom: 1.1rem;
}

.calc-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
}

.calc-inputs {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.range-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  background: var(--border-ui);
  border-radius: 5px;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.num-input {
  width: 60px;
  padding: 0.4rem;
  border: 1px solid var(--border-ui);
  border-radius: 8px;
  background: var(--bg-base);
  color: var(--text-main);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.c-plan-total-box {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
}

.c-plan-total-box span {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.c-plan-total-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.6rem 0;
}

.discount-banner {
  display: none;
  background: #ffaa00;
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  margin: 0 auto 1.2rem auto;
  width: fit-content;
}

.currency-threshold-warning {
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   7. TESTIMONIALS & FAQS
   ========================================================================== */
.testimonials-section {
  padding: 3.5rem 0;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: var(--surface-card);
  border: 1px solid var(--border-ui);
  padding: 1.8rem;
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.quote-mark {
  font-size: 1.8rem;
  color: var(--primary-light);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.stars {
  color: #ffaa00;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.testi-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border-ui);
  padding-top: 1rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user strong {
  display: block;
  font-size: 0.88rem;
}

.testi-user span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQs */
.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-ui);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 0.8rem;
}

.faq-header i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-item.active {
  border-color: var(--primary);
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.4rem;
}

/* Fixed huge bottom gap bug */
.faq-item.active .faq-body {
  padding: 0 1.4rem 1.25rem 1.4rem;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ==========================================================================
   8. REACH US & FOOTER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  margin: 2.5rem 0 4rem 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-ui);
  background: var(--surface);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border-ui);
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-ui);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Fit All Screens)
   ========================================================================== */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .custom-plan-card { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .desktop-nav-cta { display: none; }
  .mobile-only { display: block; }

  /* Mobile Slide-down Navigation */
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 6%;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-ui);
    box-shadow: var(--box-shadow);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.35s ease;
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links > li { width: 100%; }
  .nav-links > li > a {
    display: block;
    width: 100%;
    padding: 0.4rem 0;
  }

  .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-base);
    margin-top: 0.4rem;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  /* Stats Vertical Breakdown */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid var(--border-ui);
    padding: 0.75rem 0.5rem;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .global-feature-list {
    flex-direction: column;
  }

  .global-feature-list li {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 1.8rem 1.2rem;
  }

  .custom-plan-card {
    padding: 1.5rem;
  }

  .reel-card {
    flex: 0 0 230px;
    height: 400px;
  }
}


/* ==========================================================================
   FIX 2: PROPER SCREEN FIT & MOBILE SPACING (NO EDGE CHIPPING)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* ==========================================================================
   FIX 3: VIRAL REELS CAROUSEL CENTER ALIGNMENT
   ========================================================================== */
.reels-section {
  width: 100%;
  padding: 3.5rem 0;
  background: var(--bg-base);
  overflow: hidden;
}

.reels-slider-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.reels-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: 100%;
  max-width: 1200px;
  padding: 1rem clamp(16px, 4vw, 24px);
  /* Desktop par automatically center aur content-fit rakhta hai */
  justify-content: flex-start;
  margin: 0 auto;
}

.reels-track::-webkit-scrollbar {
  display: none;
}

/* Desktop screen (Jab track card items total width se choti ho to bilkul center) */
@media (min-width: 1200px) {
  .reels-track {
    justify-content: center;
  }
}

.reel-card {
  flex: 0 0 260px;
  scroll-snap-align: center;
  height: 480px;
  border-radius: 20px;
  background: var(--surface-card);
  padding: 6px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-ui);
  transition: transform 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-6px);
}

.reel-frame {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.reel-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Play button center exact */
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.play-btn {
  pointer-events: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.play-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reel-metrics {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   FIX 4: MOBILE SCREENS VIEWPORT & CARD SAFE PADDING
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent full horizontal sticking */
  body {
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Cards Safe Gutters */
  .service-card,
  .pricing-card,
  .custom-plan-card,
  .testi-card,
  .stat-card {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Reels on Mobile */
  .reels-track {
    padding: 0.5rem 16px;
    gap: 1rem;
  }

  .reel-card {
    flex: 0 0 78vw; /* Screen par proper breathe karne dega */
    max-width: 290px;
    height: 440px;
  }

  /* Navbar padding safety */
  nav {
    padding: 0 16px;
  }

  .nav-links {
    padding: 1.2rem 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .pricing-card,
  .custom-plan-card {
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }
}

/* Currency Button Clean Alignment */
.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid var(--border-ui);
  cursor: pointer;
  white-space: nowrap;
}

#currentCurrencyLabel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.curr-flag-img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: inline-block;
  flex-shrink: 0;
}

.currency-menu li {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
}






/* ==========================================================
   ANDRIO SOLUTIONS — PRICING UI ENHANCEMENT
   Uses existing :root variables.
   No existing pricing IDs changed.
   ========================================================== */

/* ---------- Section Intro ---------- */

.pricing-eyebrow {
  width: fit-content;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: 50px;
  background: var(--primary-light);
  border: 1px solid rgba(12, 193, 124, 0.2);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ---------- Global Benefits ---------- */

.pricing-global-features {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin-top: 1.6rem;
  padding: 1.15rem 1.25rem;
  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      var(--surface-card)
    );
  border: 1px solid rgba(12, 193, 124, 0.22);
  box-shadow: 0 12px 35px rgba(12, 193, 124, 0.06);
}

.pricing-global-features::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.06;
}

.global-features-title {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.global-feature-list li {
  position: relative;
  z-index: 1;
  background: var(--surface-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
}

.global-feature-list li i {
  color: var(--primary);
}


/* ---------- Pricing Grid ---------- */

.pricing-grid {
  align-items: stretch;
  gap: 1.35rem;
}

.pricing-card {
  overflow: visible;
  padding: 1.6rem;
  border-radius: 22px;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
  border: 1.5px solid var(--primary);
  box-shadow:
    0 16px 42px rgba(12, 193, 124, 0.10),
    var(--box-shadow);
}


/* ---------- Popular Tag ---------- */

.popular-tag {
  top: -13px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(12, 193, 124, 0.24);
}


/* ---------- Card Head ---------- */

.p-card-head {
  text-align: left;
  padding-bottom: 1.2rem;
  margin-bottom: 1.15rem;
}

.plan-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
}

.p-card-head h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.plan-description {
  min-height: 40px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.p-card-head .price {
  color: var(--text-main);
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
}

.p-card-head .currency {
  letter-spacing: normal;
}


/* ---------- Deliverables ---------- */

.plan-section-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.055em;
}

.plan-section-label i {
  color: var(--primary);
}

.p-features {
  margin-bottom: 1.15rem;
}

.p-features li {
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.p-features li i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  font-size: 0.58rem;
}


/* ==========================================================
   PLAN RESOURCE CARD
   Inspired by nested benefit blocks in modern AI pricing UIs
   ========================================================== */

.plan-resource-card {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid var(--border-ui);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      var(--bg-base),
      var(--surface-card)
    );
}

.featured-resource {
  border-color: rgba(12, 193, 124, 0.22);
  background:
    linear-gradient(
      145deg,
      var(--primary-light),
      var(--surface-card)
    );
}

.resource-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border-ui);
  color: var(--text-main);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.resource-card-title > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.resource-card-title i {
  color: var(--primary);
}

.included-badge {
  flex-shrink: 0;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0;
}

.resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--border-ui);
}

.resource-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.resource-row > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
}

.resource-row > span i {
  color: var(--primary);
  font-size: 0.65rem;
}

.resource-row small {
  flex-shrink: 0;
  padding: 0.18rem 0.38rem;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border-ui);
  color: var(--text-muted);
  font-size: 0.54rem;
  font-weight: 800;
}


/* ==========================================================
   COLLAPSIBLE ADD-ONS
   ========================================================== */

.plan-addons {
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-ui);
  border-radius: 14px;
  background: var(--surface-card);
  overflow: hidden;
}

.plan-addons summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.85rem;
  color: var(--text-main);
  font-size: 0.76rem;
  font-weight: 750;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.plan-addons summary::-webkit-details-marker {
  display: none;
}

.plan-addons summary > span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.plan-addons summary > span i {
  color: var(--primary);
}

.plan-addons summary:hover {
  background: var(--primary-light);
}

.addon-chevron {
  color: var(--text-muted);
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.plan-addons[open] .addon-chevron {
  transform: rotate(180deg);
}

.plan-addons[open] summary {
  border-bottom: 1px solid var(--border-ui);
}


/* ---------- Add-on Options ---------- */

.addon-options {
  padding: 0.45rem;
}

.addon-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.55rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.addon-option:hover {
  background: var(--primary-light);
}

.addon-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.addon-check {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid var(--border-ui);
  border-radius: 5px;
  background: var(--surface);
  transition: all 0.2s ease;
}

.addon-option input:checked + .addon-check {
  border-color: var(--primary);
  background: var(--primary);
}

.addon-option input:checked + .addon-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.addon-option:has(input:checked) {
  background: var(--primary-light);
}

.addon-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.addon-copy strong {
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 700;
}

.addon-copy small {
  color: var(--text-muted);
  font-size: 0.61rem;
  line-height: 1.35;
}

.addon-price {
  flex-shrink: 0;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.57rem;
  font-weight: 800;
}

.website-addon {
  border: 1px solid rgba(12, 193, 124, 0.14);
}


/* ---------- Pricing Buttons ---------- */

.pricing-card .p-btn {
  margin-top: auto;
  min-height: 44px;
}


/* ==========================================================
   CUSTOM PLAN
   ========================================================== */

.custom-plan-wrapper {
  margin-top: 2.5rem;
}

.custom-plan-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
  padding: 1.5rem;
  gap: 1.4rem;
  border-radius: 22px;
}

.custom-plan-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -170px;
  bottom: -170px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.035;
  pointer-events: none;
}

.c-plan-info {
  position: relative;
  z-index: 1;
  padding: 0.8rem;
}

.custom-plan-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.045em;
}

.c-plan-info h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.c-plan-info p {
  max-width: 540px;
}


/* ---------- Calculator Rows ---------- */

.c-plan-controls {
  margin-top: 1.4rem;
}

.calc-row {
  margin-bottom: 1.25rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.calc-label-row label {
  margin: 0;
}

.calc-label-row span {
  color: var(--text-muted);
  font-size: 0.64rem;
  font-weight: 700;
}

.calc-inputs {
  gap: 0.75rem;
}

.range-slider {
  height: 7px;
}

.num-input {
  width: 64px;
  height: 38px;
}


/* ---------- Total Panel ---------- */

.c-plan-total-box {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      var(--primary-light),
      var(--surface-card)
    );
  border: 1px solid rgba(12, 193, 124, 0.3);
}

.custom-total-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(12, 193, 124, 0.22);
}

.c-plan-total-box h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.55rem);
  letter-spacing: -0.04em;
}


/* ==========================================================
   CUSTOM PLAN ADD-ON TOGGLES
   ========================================================== */

.custom-addon-box {
  margin: 0.4rem 0 1rem;
  padding: 0.8rem;
  border: 1px solid var(--border-ui);
  border-radius: 14px;
  background: var(--surface-card);
  text-align: left;
}

.custom-addon-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid var(--border-ui);
}

.custom-addon-title > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 800;
}

.custom-addon-title i {
  color: var(--primary);
}

.custom-addon-title small {
  color: var(--text-muted);
  font-size: 0.57rem;
  font-weight: 700;
}


/* ---------- Toggle Rows ---------- */

.custom-toggle-row {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.2rem;
  border-bottom: 1px solid var(--border-ui);
  cursor: pointer;
}

.custom-toggle-row:last-child {
  border-bottom: 0;
}

.custom-toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.toggle-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
}

.toggle-info > span:last-child {
  display: flex;
  flex-direction: column;
}

.toggle-info strong {
  color: var(--text-main);
  font-size: 0.68rem;
  line-height: 1.3;
}

.toggle-info small {
  margin-top: 0.1rem;
  color: var(--text-muted);
  font-size: 0.56rem;
  line-height: 1.3;
}


/* ---------- Switch ---------- */

.switch-toggle {
  position: relative;
  width: 38px;
  height: 21px;
  flex: 0 0 38px;
  border-radius: 50px;
  background: var(--border-ui);
  transition: background 0.22s ease;
}

.switch-toggle::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease;
}

.custom-toggle-row input:checked + .switch-toggle {
  background: var(--primary);
}

.custom-toggle-row input:checked + .switch-toggle::before {
  transform: translateX(17px);
}

.custom-toggle-row:has(input:checked) .toggle-icon {
  background: var(--primary);
  color: #fff;
}


/* ---------- Bottom Note ---------- */

.custom-price-note {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.57rem;
  line-height: 1.45;
  text-align: center;
}


/* ==========================================================
   DARK MODE REFINEMENTS
   ========================================================== */

[data-theme="dark"] .plan-resource-card,
[data-theme="dark"] .custom-addon-box {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.025),
      var(--surface-card)
    );
}

[data-theme="dark"] .featured-resource {
  background:
    linear-gradient(
      145deg,
      rgba(12, 193, 124, 0.10),
      var(--surface-card)
    );
}

[data-theme="dark"] .resource-row small {
  background: rgba(255,255,255,0.04);
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1000px) {

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

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
  }

  .custom-plan-card {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .pricing-card,
  .pricing-card:last-child {
    grid-column: auto;
    max-width: none;
    width: 100%;
    padding: 1.25rem;
  }

  .pricing-global-features {
    padding: 1rem;
  }

  .global-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .global-feature-list li {
    justify-content: flex-start;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    font-size: 0.67rem;
  }

  .plan-description {
    min-height: auto;
  }

  .custom-plan-card {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .c-plan-info {
    padding: 0.65rem;
  }

  .c-plan-total-box {
    padding: 1rem;
  }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 430px) {

  .global-feature-list {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 1.15rem 1rem;
  }

  .resource-row {
    align-items: flex-start;
  }

  .resource-row > span {
    font-size: 0.68rem;
  }

  .addon-option {
    align-items: flex-start;
  }

  .addon-price {
    margin-top: 1px;
  }

  .custom-addon-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .toggle-info strong {
    font-size: 0.66rem;
  }

  .calc-label-row {
    gap: 0.5rem;
  }
}
/* =====================================================================
   PRICED CARD ADD-ONS / MINI CART CONTROLS
   ===================================================================== */
.priced-addons .priced-addon { position: relative; flex-wrap: wrap; }
.addon-cart-control, .creative-pack-cart {
  display: none;
  width: 100%;
  margin: .45rem 0 0 2.1rem;
}
.priced-addon.addon-selected .addon-cart-control,
.priced-addon.addon-selected .creative-pack-cart { display: flex; }
.addon-cart-control { align-items: center; gap: .35rem; }
.addon-cart-control button, .pack-line button {
  width: 30px; height: 30px; border: 1px solid var(--border-ui);
  background: var(--surface-card); color: var(--text-main); border-radius: 7px;
  cursor: pointer; font-weight: 800;
}
.addon-cart-control input, .pack-line input {
  width: 48px; height: 30px; border: 1px solid var(--border-ui);
  background: var(--surface-card); color: var(--text-main);
  border-radius: 7px; text-align: center; font-weight: 700;
}
.creative-pack-cart { flex-direction: column; gap: .35rem; }
.pack-line { display: grid; grid-template-columns: minmax(100px,1fr) 30px 48px 30px; gap: .35rem; align-items: center; }
.pack-line span { font-size: .72rem; color: var(--text-muted); }
.priced-addon.addon-selected { border-color: rgba(12,193,124,.45); background: var(--primary-light); }
@media (max-width: 640px) {
  .addon-copy { max-width: calc(100% - 80px); }
  .addon-cart-control, .creative-pack-cart { margin-left: 0; }
}


.pricing-card .p-card-head {
    min-height: 205px;
}

.pricing-card .p-features {
    min-height: 155px;
    flex-grow: 0;
}
/* ==========================================================
   FINAL PRICING / LEAD FLOW FIXES
   ========================================================== */
.custom-toggle-row .toggle-info strong {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.custom-toggle-row .toggle-info strong em {
  font-style: normal;
  color: var(--primary);
  font-size: .58rem;
  font-weight: 800;
  white-space: nowrap;
}

.custom-addon-summary {
  margin-top: .75rem;
  padding: .7rem .75rem;
  border: 1px solid var(--border-ui);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: .62rem;
  line-height: 1.45;
}

.custom-addon-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .28rem 0;
}

.custom-addon-summary span + span {
  border-top: 1px solid var(--border-ui);
}

.custom-addon-summary i {
  color: var(--primary);
  margin-right: .35rem;
}

.custom-addon-summary b {
  color: var(--text-main);
  white-space: nowrap;
}

#leadMessage:disabled {
  opacity: .72;
  cursor: not-allowed;
  background: var(--primary-light);
  border-color: rgba(12, 193, 124, .22);
}

@media (max-width: 640px) {
  .custom-toggle-row .toggle-info strong em {
    font-size: .54rem;
  }
  .custom-addon-summary span {
    align-items: flex-start;
  }
}


/* ========================================================================== 
   PRICING DURATION + 3D PRICE COUNTER
   ========================================================================== */
.pricing-duration-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2rem;
  padding: .65rem .75rem .65rem 1rem;
  width: fit-content;
  max-width: 100%;
  //border: 1px solid var(--border-ui);
  //border-radius: 999px;
  //background: var(--surface-card);
  //box-shadow: var(--box-shadow);
}
.pricing-duration-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-main);
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
}
.pricing-duration-label i { color: #0cc17c; }
.card-duration-toggle-global { margin: 0 !important; }
.card-duration-toggle-global .duration-option { min-width: 112px; }
.card-duration-toggle-global .duration-option small {
  display: block;
  font-size: .65rem;
  line-height: 1.1;
  opacity: .72;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .pricing-duration-control { width: 100%; border-radius: 18px; flex-direction: column; gap: .65rem; padding: .8rem; }
  .card-duration-toggle-global { width: 100% !important; }
  .card-duration-toggle-global .duration-option { flex: 1; min-width: 0; }
}

.duration-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin: 0.85rem 0 0;
  border: 1px solid var(--border-ui);
  background: var(--surface);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
}
.card-duration-toggle { width: fit-content; }
.custom-duration-toggle { margin: 0 0 1.35rem; }
.duration-option {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: .48rem .9rem;
  border-radius: 999px;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: .22s ease;
}
.duration-option:hover { color: var(--primary); }
.duration-option.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(12,193,124,.24);
}
.price,
#customTotalDisplay {
  perspective: 700px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.price.price-counting,
#customTotalDisplay.price-counting {
  animation: price3DFlip .42s cubic-bezier(.2,.8,.2,1);
}
@keyframes price3DFlip {
  0% { opacity: .25; transform: rotateX(-72deg) translateY(12px) scale(.92); filter: blur(2px); }
  55% { opacity: 1; transform: rotateX(18deg) translateY(-2px) scale(1.025); filter: blur(0); }
  100% { opacity: 1; transform: rotateX(0) translateY(0) scale(1); }
}
.price .currency { white-space: nowrap; }
.addon-price { white-space: nowrap; }
@media (max-width: 600px) {
  .duration-toggle { width: 100%; }
  .duration-option { flex: 1; text-align: center; padding-inline: .55rem; }
  .custom-duration-toggle { max-width: 320px; }
}

/* Reel videos are presentation-only: autoplay, muted, looping, no interactive controls. */
.reel-frame .sound-btn,
.reel-frame .play-btn { display: none !important; }
.reel-frame .reel-overlay { pointer-events: none; }
.reel-frame video { cursor: default; }

/* ==========================================================================
   MINIMAL GLOBAL DURATION SELECTOR + ODOMETER PRICE COUNTER
   Reference-inspired segmented pill: compact, centered, minimal.
   ========================================================================== */
.pricing-duration-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto 1.55rem;
}

.card-duration-toggle-global {
  position: relative;
  display: inline-grid !important;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  width: auto;
  min-width: 0;
  margin: 0 !important;
  padding: 3px;
  border: 1px solid rgba(0,0,0,.055);
  border-radius: 999px;
  background: var(--surface-card);
  box-shadow: 0 2px 9px rgba(0,0,0,.045), inset 0 1px 0 rgba(255,255,255,.7);
  overflow: hidden;
}

.card-duration-toggle-global::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 2px 7px rgba(12,193,124,.20);
  transition: transform .34s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

/* The markup keeps 1 Month first and 3 Months second; 3 Months is the default active option. */
.card-duration-toggle-global[data-duration="3"]::before {
  transform: translateX(100%);
}

.card-duration-toggle-global .duration-option {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  padding: .28rem .78rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .22s ease, transform .16s ease;
}

.card-duration-toggle-global .duration-option:hover {
  color: var(--text-main);
}

.card-duration-toggle-global .duration-option:active {
  transform: scale(.965);
}

.card-duration-toggle-global .duration-option.active {
  color: #fff;
}

.duration-option-main {
  white-space: nowrap;
}

.card-duration-toggle-global .duration-option small {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: .58rem;
  line-height: 1;
  font-weight: 700;
  opacity: .62;
  white-space: nowrap;
}

.card-duration-toggle-global .duration-option.active small {
  opacity: .88;
}

@media (max-width: 520px) {
  .pricing-duration-control {
    margin-bottom: 1.25rem;
  }
  .card-duration-toggle-global .duration-option {
    min-height: 30px;
    padding-inline: .68rem;
    font-size: .69rem;
  }
}

@media (max-width: 360px) {
  .card-duration-toggle-global .duration-option {
    padding-inline: .56rem;
    font-size: .66rem;
  }
  .card-duration-toggle-global .duration-option small {
    font-size: .54rem;
  }
}

/* Mechanical/odometer-style price wheels. */
.p-card-head .price.price-odometer {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: .08em;
  min-height: 1.12em;
  perspective: 900px;
  transform-style: preserve-3d;
  overflow: visible;
  white-space: nowrap;
}

.price-counter-prefix,
.price-counter-suffix {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

.price-counter-number {
  display: inline-flex;
  align-items: center;
  height: 1em;
  line-height: 1;
  overflow: visible;
  vertical-align: middle;
}

.counter-digit {
  position: relative;
  display: inline-block;
  width: .62em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  vertical-align: middle;
  perspective: 600px;
}

.counter-digit-track {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .72s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--digit-delay, 0ms);
}

.counter-digit-face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1em;
  flex: 0 0 1em;
  line-height: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.counter-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .3em;
  height: 1em;
  line-height: 1;
  transform: translateY(-.01em);
}

.price-counter-refresh {
  animation: priceCounterSettle .62s cubic-bezier(.2,.8,.2,1);
}

@keyframes priceCounterSettle {
  0% { opacity: .7; transform: translateY(.08em) scale(.985); }
  55% { opacity: 1; transform: translateY(-.025em) scale(1.008); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .counter-digit-track,
  .card-duration-toggle-global::before,
  .price-counter-refresh { transition: none !important; animation: none !important; }
}

