/* ==========================================================================
   Finance Prodigy - Q.Books Support Landing Page Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- CSS Variables & Design System Tokens --- */
:root {
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-primary);

  /* Color Palette */
  --primary-green: #05a865;
  --primary-green-hover: #048c53;
  --primary-green-dark: #036b3f;
  --primary-green-light: #e6f7f0;
  --primary-green-subtle: #f0fdf4;

  --primary-blue: #2563eb;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #eff6ff;

  --neutral-dark: #0f172a;
  --neutral-heading: #1e293b;
  --neutral-body: #475569;
  --neutral-muted: #64748b;
  --neutral-light: #f8fafc;
  --neutral-card: #ffffff;
  --neutral-border: #e2e8f0;
  --neutral-border-hover: #cbd5e1;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #0d1527;
}

body {
  font-family: var(--font-primary);
  color: var(--neutral-body);
  background-color: #0d1527;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--neutral-heading);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--neutral-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.text-center {
  text-align: center;
}

/* --- Buttons & Action Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary-green {
  background-color: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 168, 101, 0.25);
}

.btn-primary-green:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 168, 101, 0.35);
}

.btn-outline-green {
  background-color: transparent;
  color: var(--primary-green);
  border: 1.5px solid var(--primary-green);
}

.btn-outline-green:hover {
  background-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background-color: #f0f5ff;
  color: var(--primary-blue);
  border: 1.5px solid #bfdbfe;
}

.btn-outline-blue:hover {
  background-color: #dbeafe;
  transform: translateY(-2px);
}

.btn-primary-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  width: 100%;
}

.btn-primary-blue:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.arrow-link:hover {
  gap: 0.6rem;
  color: var(--primary-green-dark);
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--neutral-border);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-bars-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.navy-text {
  color: #0b192c;
}

.green-text {
  color: #05a865;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: #52525b;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--neutral-heading);
}

.nav-link:hover {
  color: var(--primary-green);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--neutral-heading);
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero-section {
  padding: 3.5rem 0 4rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--primary-green-light);
  color: var(--primary-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--neutral-heading);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

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

.hero-description {
  font-size: 1.05rem;
  color: var(--neutral-body);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.feature-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-heading);
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.hero-image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Floating Card over Laptop */
.floating-support-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.floating-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-heading);
  margin-bottom: 2px;
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--neutral-muted);
}

.floating-phone {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-top: 2px;
}

/* --- Metrics / Stats Banner --- */
.stats-banner {
  padding: 2.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--neutral-border);
  border-bottom: 1px solid var(--neutral-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

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

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neutral-heading);
  line-height: 1.1;
}

.stat-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neutral-muted);
}

/* --- Services Section --- */
.services-section {
  padding: 5rem 0;
  background-color: #fafbfc;
}

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

.service-card {
  background-color: var(--neutral-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--neutral-border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 168, 101, 0.3);
  box-shadow: var(--shadow-lg);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-heading);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--neutral-body);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* --- Split Section (Why Choose Us + Process) --- */
.split-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.why-column {
  display: flex;
  flex-direction: column;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem 0;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--neutral-heading);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Process Flow */
.process-column {
  display: flex;
  flex-direction: column;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
  gap: 0.5rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.step-icon-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.step-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.step-badge {
  position: absolute;
  bottom: -6px;
  background-color: var(--neutral-heading);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
}

.step-arrow {
  color: #cbd5e1;
  font-size: 1.25rem;
  margin-top: -1.5rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-heading);
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--neutral-muted);
  line-height: 1.4;
}

.process-cta-banner {
  margin-top: auto;
  text-align: center;
}

/* --- Trust / Proof Section --- */
.trust-section {
  padding: 4rem 0;
  background-color: var(--neutral-light);
  border-top: 1px solid var(--neutral-border);
  border-bottom: 1px solid var(--neutral-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neutral-heading);
  line-height: 1.1;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--neutral-muted);
  font-weight: 500;
}

.disclaimer-card {
  background-color: #ffffff;
  padding: 1.1rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
}

.disclaimer-micro-text {
  font-size: 0.68rem;
  color: var(--neutral-muted);
  line-height: 1.3;
  margin-top: 0.4rem;
}

/* --- Customer Reviews Section --- */
.reviews-section {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.carousel-container {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 3rem;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 1.5rem;
}

.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: #ffffff;
  border: 1px solid var(--neutral-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.star-rating {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.review-quote {
  font-size: 0.925rem;
  color: var(--neutral-heading);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-border);
}

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

.author-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-heading);
}

.author-info p {
  font-size: 0.75rem;
  color: var(--neutral-muted);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-md);
  color: var(--neutral-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-arrow:hover {
  background-color: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

.carousel-arrow.prev {
  left: 0;
}

.carousel-arrow.next {
  right: 0;
}

/* --- Special Offer Banner --- */
.promo-banner-section {
  padding: 2.5rem 0;
  background-color: #ffffff;
}

.promo-banner-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6f7f0 100%);
  border: 1.5px dashed rgba(5, 168, 101, 0.4);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.promo-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.promo-gift-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.promo-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neutral-heading);
  margin-bottom: 0.25rem;
}

.promo-text p {
  font-size: 0.875rem;
  color: var(--neutral-body);
}

.promo-center {
  text-align: center;
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(5, 168, 101, 0.2);
}

.promo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neutral-muted);
}

.promo-offer-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-green);
}

.promo-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.promo-disclaimer {
  font-size: 0.7rem;
  color: var(--neutral-muted);
}

/* --- FAQ & Callback Form Section --- */
.faq-form-section {
  padding: 5rem 0;
  background-color: var(--neutral-light);
}

.faq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

/* FAQ Accordion */
.faq-column {
  display: flex;
  flex-direction: column;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--neutral-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--neutral-heading);
}

.faq-icon {
  font-size: 1rem;
  color: var(--neutral-muted);
  transition: transform 0.3s ease;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.25rem;
  background-color: #ffffff;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem 1.25rem;
  transition: max-height 0.3s ease-in-out;
}

.faq-body p {
  font-size: 0.875rem;
  color: var(--neutral-body);
  line-height: 1.5;
  border-top: 1px solid var(--neutral-border);
  padding-top: 0.85rem;
}

/* Callback Form */
.form-card {
  background-color: #ffffff;
  border: 1px solid var(--neutral-border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neutral-heading);
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.875rem;
  color: var(--neutral-muted);
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--neutral-heading);
  background-color: #ffffff;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--neutral-muted);
  margin-top: 0.5rem;
}

.form-privacy i {
  color: var(--primary-green);
  margin-top: 2px;
}

/* --- Floating Bottom Widget --- */
.floating-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 320px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-border);
  padding: 1.25rem;
  z-index: 999;
  transition: var(--transition-normal);
  animation: widgetSlide 0.5s ease-out;
}

@keyframes widgetSlide {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.widget-close {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--neutral-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.widget-close:hover {
  color: var(--neutral-heading);
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.widget-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.widget-title h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--neutral-heading);
}

.widget-title p {
  font-size: 0.725rem;
  color: var(--neutral-muted);
}

.widget-offer-badge {
  background-color: var(--primary-green-light);
  color: var(--primary-green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 0.85rem;
}

.widget-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.widget-privacy {
  font-size: 0.675rem;
  color: var(--neutral-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Minimize Toggle trigger button when closed */
.widget-minimized-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 998;
}

/* --- Mobile Bottom Sticky Bar --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #05a865 0%, #03844d 100%);
  color: #ffffff;
  padding: 0.85rem 1rem;
  z-index: 1001;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-bottom-bar:active {
  background: #036b3f;
}

.mobile-call-text {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.mobile-call-subtext {
  font-size: 0.725rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 9999px;
  color: #ffffff;
  white-space: nowrap;
}

.phone-anim-icon {
  font-size: 1.05rem;
  animation: phoneRing 2s infinite ease-in-out;
}

@keyframes phoneRing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-15deg);
  }

  20%,
  40% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

/* --- Footer --- */
.site-footer {
  background-color: #0d1527;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
}

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

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 1rem 0;
  color: #64748b;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary-green);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary-green);
  padding-left: 3px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.contact-item i {
  color: var(--primary-green);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* Toast Message */
.toast-msg {
  position: fixed;
  top: 100px;
  right: 20px;
  background-color: #ffffff;
  border-left: 4px solid var(--primary-green);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.3s ease-in-out;
}

.toast-msg.show {
  transform: translateX(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .stats-grid,
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .split-grid,
  .faq-form-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {

  .nav-menu,
  .header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Drawer Menu */
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--neutral-border);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-features-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

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

  .review-card {
    flex: 0 0 100%;
  }

  .promo-banner-card {
    flex-direction: column;
    text-align: center;
  }

  .promo-left {
    flex-direction: column;
  }

  .promo-right {
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .floating-widget {
    display: none;
  }

  /* Hide floating widget on mobile to avoid overlap */
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

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

  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* --- Auto Popup Lead Callback Modal --- */
.popup-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.popup-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.popup-modal-card {
  background-color: #ffffff;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-overflow-scrolling: touch;
}

.popup-modal-backdrop.show .popup-modal-card {
  transform: translateY(0) scale(1);
}

.popup-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: var(--neutral-heading);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--neutral-border);
  transition: var(--transition-fast);
  z-index: 10;
}

.popup-modal-close:hover {
  background-color: #e2e8f0;
  color: #000000;
}

@media (max-width: 576px) {
  .popup-modal-backdrop {
    padding: 0.75rem;
  }

  .popup-modal-card {
    padding: 1.35rem 1rem 1.15rem 1rem;
    max-height: 85vh;
    border-radius: 16px;
  }

  .popup-modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
}