:root {
  --dv-success: #22c55e; /* Tailwind-ish emerald-500 */
  --dv-success-600: #16a34a;
  --dv-success-100: #dcfce7;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

.fw-extrabold { font-weight: 800; }

/* Navbar */
#mainNav .nav-link {
  color: #4a5568;
}
#mainNav .nav-link.active, #mainNav .nav-link:hover {
  color: var(--dv-success-600);
}

/* Hero */
.hero-section {
  background: radial-gradient(1200px 800px at 20% 10%, rgba(34,197,94,0.18), transparent),
              radial-gradient(900px 600px at 90% 20%, rgba(16,185,129,0.15), transparent),
              linear-gradient(180deg, #fff, #f8fafc);
  padding-top: 96px; /* space for navbar */
}
.hero-section .text-gradient {
  background: linear-gradient(90deg, var(--dv-success) 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section .device-mockup {
  height: 480px;
  background: #fff;
  position: relative;
}
.device-mockup .floating-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
}
.device-mockup .avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.wave-separator svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* Cards */
.feature-card,
.benefit-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 16px;
  padding: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover,
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 10px;
}
.benefit-card { text-align: left; }
.benefit-card i { font-size: 24px; }

/* Testimonial Cards */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 16px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}
.testimonial-content .stars i {
  font-size: 18px;
}
.testimonial-author {
  border-top: 1px solid rgba(15,23,42,0.06);
  padding-top: 16px;
}

/* Pricing Cards */
.pricing-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}
.pricing-card.popular {
  border: 2px solid var(--dv-success);
  transform: scale(1.05);
}
.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-4px);
}
.popular-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--dv-success);
  color: white;
  padding: 4px 32px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
}
.pricing-header {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.price .currency {
  font-size: 18px;
  font-weight: 600;
  color: var(--dv-success);
}
.price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--dv-success);
  line-height: 1;
}
.price .period {
  font-size: 16px;
  color: #6b7280;
}
.pricing-features {
  background: #fff;
}
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(15,23,42,0.04);
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(15,23,42,0.06);
}

/* Pricing Toggle */
.pricing-toggle {
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.04);
}
.pricing-toggle .form-check-input {
  width: 48px;
  height: 24px;
  background-color: #e5e7eb;
  border-color: #d1d5db;
}
.pricing-toggle .form-check-input:checked {
  background-color: var(--dv-success);
  border-color: var(--dv-success);
}
.pricing-toggle .badge {
  font-size: 10px;
  padding: 4px 8px;
}

.pricing-info {
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Yearly Savings */
.yearly-savings {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}
.yearly-savings p {
  margin-bottom: 4px;
}
.yearly-savings i {
  font-size: 14px;
}



/* CTA */
.cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15,23,42,0.08);
}

/* Misc */
.py-6 { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.object-fit-cover { object-fit: cover; }
.text-bg-success-subtle { background-color: var(--dv-success-100) !important; }

/* Back to top */
.back-to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 1040; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-section .device-mockup { height: 360px; }
}


