/* ========================================
   MyBilling Software — Light Purple Theme
   ======================================== */

:root {
  /* Brand purple (matched from logo) */
  --purple-900: #2e1065;
  --purple-700: #5b21b6;
  --purple-600: #6c47c8;
  --purple-500: #7c5cd4;
  --purple-400: #9b7fe0;
  --purple-pale: #ede9fe;
  --purple-xpale: #f5f3ff;

  /* Text */
  --navy: #1a1c58;
  --text-dark: #1e1b4b;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f8f7ff;
  --bg-section: #f1eefb;

  /* Utility */
  --border: rgba(108, 71, 200, 0.14);
  --border-mid: rgba(108, 71, 200, 0.25);
  --shadow-sm: 0 2px 12px rgba(108, 71, 200, 0.08);
  --shadow: 0 6px 28px rgba(108, 71, 200, 0.12);
  --shadow-lg: 0 16px 56px rgba(108, 71, 200, 0.16);
  --transition: 0.3s ease;
}

/* ── Global ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.section-tag {
  display: inline-block;
  background: var(--purple-pale);
  color: var(--purple-600);
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.section-subheading {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ── Buttons ─────────────────────────────── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 71, 200, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 71, 200, 0.38);
  color: #fff;
}

.btn-signin {
  background: transparent;
  color: var(--purple-600);
  border: 1.5px solid var(--border-mid);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.btn-signin:hover {
  background: var(--purple-xpale);
  border-color: var(--purple-600);
  color: var(--purple-700);
}

.btn-outline-custom {
  background: transparent;
  color: var(--purple-600);
  border: 2px solid var(--purple-600);
  padding: 11px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--purple-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(108, 71, 200, 0.3);
}

/* ── Navbar ─────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
  background: transparent;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: 0 2px 24px rgba(108, 71, 200, 0.1);
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy) !important;
}

.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(108, 71, 200, 0.3);
}

.navbar-brand .brand-name {
  color: var(--navy);
}

.navbar-brand .brand-accent {
  color: var(--purple-600);
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple-600) !important;
  background: var(--purple-xpale);
}

.navbar-toggler {
  border: 1.5px solid var(--border-mid);
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%236c47c8' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ── Hero Section ─────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #e9e4f8 0%, #eee9fb 20%, #f4f1fc 45%, #f9f7fe 70%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(124, 92, 212, 0.13) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  border-radius: 50%;
}

.hero-gradient-2 {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(155, 127, 224, 0.1) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 71, 200, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 71, 200, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--purple-600);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero-badge .badge-dot {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: #fff;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: inline-flex;
}

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

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple-600);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Phone mockup */
.hero-image-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-float {
  animation: phoneFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(108, 71, 200, 0.22));
  max-width: 340px;
  width: 100%;
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }
}

.hero-glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(108, 71, 200, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 3s ease-in-out infinite;
}

.hero-glow-ring::before {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(108, 71, 200, 0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

/* ── Sections ─────────────────────────────── */
section {
  padding: 90px 0;
}

.section-white {
  background: var(--bg-white);
}

.section-light {
  background: var(--bg-light);
}

.section-tinted {
  background: var(--bg-section);
}

/* ── Features Section ─────────────────────── */
#features {
  background: var(--bg-white);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--purple-600);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: var(--purple-pale);
  border: 1.5px solid var(--border-mid);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--purple-600);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-600);
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ── Why Choose Us ────────────────────────── */
#why-us {
  background: var(--bg-section);
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-icon.purple {
  background: var(--purple-pale);
  color: var(--purple-600);
}

.why-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.why-icon.orange {
  background: #ffedd5;
  color: #ea580c;
}

.why-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.why-icon.rose {
  background: #ffe4e6;
  color: #e11d48;
}

.why-icon.cyan {
  background: #cffafe;
  color: #0891b2;
}

.why-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Demo / Video Section ─────────────────── */
#demo {
  background: var(--bg-light);
}

.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-mid);
}

.video-container iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* ── Pricing (Contact for Pricing) ───────── */
#pricing {
  background: var(--bg-white);
}

.pricing-cta-wrap {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-400) 100%);
  border-radius: 24px;
  padding: 3.5rem 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pricing-cta-wrap::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  top: -200px;
  right: -150px;
}

.pricing-cta-wrap::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
}

.pricing-cta-content {
  position: relative;
  z-index: 1;
}

.pricing-highlight-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.pricing-value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-value-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-value-list li i {
  color: #c4b5fd;
  font-size: 0.85rem;
}

.btn-pricing-white {
  background: #fff;
  color: var(--purple-700);
  border: none;
  padding: 13px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-pricing-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--purple-700);
}

.btn-pricing-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 11px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pricing-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Testimonials ─────────────────────────── */
#testimonials {
  background: var(--bg-section);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--purple-pale);
  font-family: Georgia, serif;
  font-weight: 900;
  margin-bottom: -0.5rem;
  display: block;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0;
}

.author-biz {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Contact Section ─────────────────────── */
#contact {
  background: var(--bg-light);
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-pale);
  border: 1.5px solid var(--border-mid);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--purple-500);
  color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(108, 71, 200, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ── Toast ───────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.custom-toast {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.9rem;
  color: var(--text-body);
}

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

.custom-toast.success .toast-icon {
  color: #16a34a;
}

.custom-toast.error .toast-icon {
  color: #dc2626;
}

.toast-icon {
  font-size: 1.2rem;
}

/* ── Footer ──────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5 {
  color: #fff;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-brand .navbar-brand {
  color: #fff !important;
  background: #fff;
  padding: 5px 5px;
  border-radius: 5px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-accent {
  color: #c4b5fd;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #c4b5fd;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin-left: 1.5rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #c4b5fd;
}

/* ── Scroll to top ───────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(108, 71, 200, 0.3);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
}

#scrollTop:hover {
  transform: translateY(-3px);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 991.98px) {
  #home {
    padding: 110px 0 60px;
  }

  .hero-image-wrap {
    margin-top: 3rem;
  }

  .phone-float {
    max-width: 260px;
  }

  .hero-glow-ring {
    width: 290px;
    height: 290px;
  }

  .pricing-cta-wrap {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 70px 0;
  }

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

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

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

  .footer-legal {
    margin-top: 0.5rem;
  }

  .footer-legal a:first-child {
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
  }

  .pricing-cta-wrap {
    padding: 2rem 1.5rem;
  }
}

/* ── Trusted By / Logo Marquee ───────────────── */
.section-trusted {
  background: var(--bg-section);
  padding: 70px 0 60px;
  overflow: hidden;
}

.trusted-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.trusted-heading span {
  color: var(--purple-600);
}

.trusted-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* Marquee container with fade edges */
.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

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

.logos-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: logoScroll 32s linear infinite;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Individual logo card */
.logo-card {
  flex-shrink: 0;
  width: 170px;
  min-height: 110px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 1.1rem 1rem;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.logo-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Mark / large initials */
.lc-mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #222;
  line-height: 1;
  letter-spacing: -0.04em;
}

.lc-mark-sm {
  font-size: 2.5rem;
}

/* Styled dual-word mark */
.lc-stylemark {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.lc-hi,
.lc-ally {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--purple-600);
  font-style: italic;
}

.lc-tech,
.lc-pack {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #222;
}

/* Icon */
.lc-icon {
  font-size: 1.6rem;
  color: #555;
  margin-bottom: 2px;
}

/* Company name */
.lc-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #222;
  text-align: center;
  line-height: 1.3;
}

.lc-caps {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.lc-soft {
  font-weight: 400;
  color: #555;
}

/* Tagline / sub */
.lc-sub {
  font-size: 0.6rem;
  color: #888;
  text-align: center;
  line-height: 1.4;
  max-width: 130px;
}

/* ── Hero Dashboard Infographic ──────────────── */
.hero-infographic {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  animation: phoneFloat 4s ease-in-out infinite;
}

.inf-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(108, 71, 200, 0.18), 0 4px 16px rgba(108, 71, 200, 0.08);
  border: 1px solid var(--border);
}

.inf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.inf-card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.inf-dots {
  display: flex;
  gap: 5px;
}

.inf-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.inf-dots span:nth-child(1) {
  background: #ff6b6b;
}

.inf-dots span:nth-child(2) {
  background: #ffd93d;
}

.inf-dots span:nth-child(3) {
  background: #6bcb77;
}

.inf-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.inf-metric {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inf-metric.blue {
  background: #dbeafe;
}

.inf-metric.green {
  background: #dcfce7;
}

.inf-metric.purple {
  background: var(--purple-pale);
}

.inf-metric.teal {
  background: #ccfbf1;
}

.inf-metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.inf-metric-val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.inf-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.inf-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: var(--bg-light);
  border-radius: 8px;
}

.inf-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.inf-list-dot.green {
  background: #16a34a;
}

.inf-list-dot.blue {
  background: #2563eb;
}

.inf-list-dot.purple {
  background: var(--purple-600);
}

.inf-list-name {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 500;
}

.inf-list-amt {
  font-size: 0.78rem;
  font-weight: 700;
}

.inf-list-amt.green {
  color: #16a34a;
}

.inf-list-amt.blue {
  color: #2563eb;
}

.inf-list-amt.purple {
  color: var(--purple-600);
}

/* Floating badges */
.inf-badge {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--purple-700);
  box-shadow: 0 4px 16px rgba(108, 71, 200, 0.12);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.inf-badge i {
  color: #16a34a;
}

.inf-badge-1 {
  top: -18px;
  left: -10px;
  animation: badgeFloat 3.2s ease-in-out infinite;
}

.inf-badge-2 {
  bottom: 60px;
  right: -18px;
  animation: badgeFloat 3.8s ease-in-out infinite 0.6s;
}

.inf-badge-3 {
  bottom: -18px;
  left: 20px;
  animation: badgeFloat 4.1s ease-in-out infinite 1.2s;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ── CSS Phone Mockup (app section) ──────────── */
.css-phone {
  display: flex;
  justify-content: center;
  animation: phoneFloat 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.css-phone-frame {
  width: 240px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(108, 71, 200, 0.25),
    0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  position: relative;
}

.css-phone-notch {
  width: 80px;
  height: 22px;
  background: #1a1a2e;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
  position: relative;
  z-index: 2;
}

.css-phone-screen {
  background: #f8f7ff;
  border-radius: 26px;
  overflow: hidden;
  padding: 0 0 12px;
}

.cps-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

.cps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.cps-header-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
}

.cps-header-icon {
  width: 26px;
  height: 26px;
  background: var(--purple-pale);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-600);
}

.cps-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 10px 6px;
}

.cps-metric {
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cps-metric.blue {
  background: #dbeafe;
}

.cps-metric.green {
  background: #dcfce7;
}

.cps-metric.lavender {
  background: var(--purple-pale);
}

.cps-metric.teal {
  background: #ccfbf1;
}

.cps-mlabel {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cps-mval {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}

.cps-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.cps-invoice-list {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cps-inv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  border: 1px solid var(--border);
}

.cps-inv-name {
  font-size: 0.7rem;
  color: var(--text-body);
  font-weight: 500;
}

.cps-inv-amt {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
}

.cps-inv-amt.green {
  color: #16a34a;
}

@media (max-width: 991.98px) {
  .hero-infographic {
    max-width: 340px;
  }

  .inf-badge-1,
  .inf-badge-2,
  .inf-badge-3 {
    display: none;
  }

  .css-phone-frame {
    width: 200px;
  }
}

/* ── About Us Section ───────────────────────── */
.about-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.about-body {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid var(--border-mid);
  color: var(--purple-600);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.a2s-card {
  background: #fff;
  border-radius: 22px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.a2s-logo {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.a2s-mark {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  flex-shrink: 0;
}

.a2s-a {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: var(--purple-600);
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 1;
}

.a2s-two {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--purple-600);
  margin-top: 4px;
  line-height: 1;
}

.a2s-s {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  color: #1a1a2e;
  letter-spacing: -0.04em;
  line-height: 1;
}

.a2s-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.a2s-company {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  color: #1a1a2e;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.a2s-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Logo Brand (SVG icon + stacked text) ─── */
.brand-svg-icon {
  display: block;
  width: 38px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1a1a3e;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--purple-600);
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: #c4b5fd;
}

/* ── YouTube Facade ───────────────────────── */
.yt-facade {
  position: relative;
  cursor: pointer;
  display: block;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.88);
}

.yt-facade:hover .yt-thumb {
  transform: scale(1.03);
  filter: brightness(0.65);
}

.yt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.45) 100%);
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 78px;
  height: 78px;
  background: rgba(255, 255, 255, 0.14);
  border: 2.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(4px);
}

.yt-facade:hover .yt-play {
  background: #ff0000;
  border-color: #ff0000;
  transform: translate(-50%, -60%) scale(1.12);
}

.yt-label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  white-space: nowrap;
  margin: 0;
}

.yt-facade:focus-visible {
  outline: 3px solid var(--purple-400);
  outline-offset: 3px;
}

/* ── App Download Section ─────────────────── */
#app-download {
  background: var(--bg-light);
}

.app-section-heading {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.app-section-heading span {
  color: var(--purple-600);
}

.app-section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 480px;
  margin-bottom: 2.2rem;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  color: #fff;
  padding: 12px 26px 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  border: 1.5px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.google-play-btn:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.gp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gp-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.gp-small {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.gp-large {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.app-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-phone-img {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 20px 50px rgba(108, 71, 200, 0.22));
  animation: phoneFloat 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

@media (max-width: 991.98px) {
  .app-phone-wrap {
    margin-top: 2.5rem;
  }

  .app-phone-img {
    max-width: 240px;
  }
}