/* pricing.css */
:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --primary-lighter: rgba(99, 102, 241, 0.1);
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: rgba(16, 185, 129, 0.1);
  --accent-color: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: rgba(245, 158, 11, 0.1);
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-50: #f9fafb;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-md: 0.75rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-full: 9999px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === GLOBAL SCALE FIX (Pricing page) ===========================
   Keep scaling on desktops only. Disable on tablets/phones so
   layout, scroll, and AOS visibility work correctly.             */
html {
  overflow-x: hidden; /* prevent horizontal scroll bar  */
}

/* Desktop (keep scale) */
@media (min-width: 1025px) {
  html {
    zoom: 0.67; /* scale everything down to 67 %  */
  }

  /* Firefox / Safari fallback */
  @supports not (zoom: 1) {
    body {
      transform: scale(0.67);
      transform-origin: top left;
      width: 149.2537%; /* 100 / 0.67 */
    }
  }
}

/* Tablet & Mobile (reset scale) */
@media (max-width: 1024px) {
  html {
    zoom: 1 !important;
  }
  @supports not (zoom: 1) {
    body {
      transform: none !important;
      transform-origin: initial !important;
      width: 100% !important;
    }
  }
}

body {
  min-height: 100vh;
  height: auto;
  font-family: "Poppins", sans-serif;
  color: var(--gray-700);
  background-color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo i {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.logo-accent {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius-full);
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  font-weight: 500;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.btn-login:hover {
  background-color: var(--primary-lighter);
}

.btn-signup {
  font-weight: 500;
  color: white;
  background-color: var(--primary-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.15);
  transition: var(--transition-fast);
}

.btn-signup:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(99, 102, 241, 0.2);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Page Container */
.page-container {
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

/* Background and Decorative Elements */
.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(60px);
}

.shape-1 {
  top: 10%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(99, 102, 241, 0) 70%
  );
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  bottom: 20%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.3) 0%,
    rgba(16, 185, 129, 0) 70%
  );
  animation: float 9s ease-in-out infinite 1s;
}

.shape-3 {
  top: 40%;
  left: 20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.2) 0%,
    rgba(245, 158, 11, 0) 70%
  );
  animation: float 7s ease-in-out infinite 0.5s;
}

.shape-4 {
  bottom: 30%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    rgba(99, 102, 241, 0) 70%
  );
  animation: float 10s ease-in-out infinite 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Header Styles */
.pricing-header {
  text-align: center;
  margin: 5rem 0 4rem;
}

.subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--primary-lighter);
  padding: 0.4rem 1.2rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header h1 {
  font-size: 3rem;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.accent {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.accent:after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.2em;
  background-color: rgba(99, 102, 241, 0.2);
  z-index: -1;
  border-radius: 0.1em;
}

.pricing-header p {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 750px;
  margin: 0 auto;
}

/* Plans Container */
.pricing-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

/* Individual Plan */
.pricing-plan {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  position: relative;
  transition: var(--transition);
  transform: translateY(0);
}

.plan-inner {
  background-color: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}

.pricing-plan.hover .plan-inner,
.pricing-plan:hover .plan-inner {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-lighter);
}

/* Popular Plan Badge */
.plan-popular {
  z-index: 2;
}

.plan-popular .plan-inner {
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: var(--border-radius-full);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popular-badge i {
  font-size: 0.8rem;
}

/* Plan Header */
.plan-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}

.plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--primary-lighter);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.pricing-plan:hover .plan-icon {
  transform: scale(1.1);
}

.plan-icon i {
  font-size: 1.75rem;
  color: var(--primary-color);
}

.popular-icon {
  background-color: var(--primary-lighter);
}

.popular-icon i {
  color: var(--primary-color);
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.plan-price {
  margin-bottom: 0.75rem;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
}

.currency {
  font-size: 2rem;
  font-weight: 600;
  vertical-align: top;
  margin-right: 0.2rem;
}

.plan-billing {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.plan-savings {
  margin-top: 1rem;
}

.save-tag {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  padding: 0.3rem 0.85rem;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.save-amount {
  font-weight: 700;
}

/* Divider */
.divider {
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    var(--gray-200),
    transparent
  );
  margin: 0 2rem;
}

/* Plan Features */
.plan-features {
  padding: 2rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-icon {
  display: inline-flex;
  color: var(--secondary-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

.feature-item span:last-child {
  font-size: 1.05rem;
  color: var(--gray-700);
}

/* Plan CTA */
.plan-cta {
  padding: 0 2rem 2.5rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.75rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  background-color: var(--primary-lighter);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.1);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(4px);
}

/* Footer */
.pricing-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.satisfaction-guarantee {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  max-width: 650px;
  width: 100%;
  border: 1px solid var(--gray-200);
}

.guarantee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--accent-light);
  border-radius: 50%;
  margin-right: 2rem;
  flex-shrink: 0;
}

.guarantee-icon i {
  font-size: 1.75rem;
  color: var(--accent-color);
}

.guarantee-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
}

/* FAQ Section */
.pricing-faq {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-faq h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 2.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-lighter);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.faq-item h3 i {
  color: var(--primary-color);
}

.faq-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  padding: 5rem 0;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-primary {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo i {
  font-size: 1.75rem;
  color: var(--primary-light);
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column ul li a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
}

.copyright {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--gray-800);
  color: var(--gray-300);
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Ensure elements are visible on mobile where body scaling is disabled */
@media (max-width: 1024px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .pricing-plans {
    gap: 1.5rem;
  }

  .pricing-plan {
    min-width: 280px;
  }

  .pricing-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 960px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    padding: 1rem 2rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-toggle.active i::before {
    content: "\f00d";
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .pricing-header {
    margin: 3rem 0 2.5rem;
  }

  .pricing-header h1 {
    font-size: 2.25rem;
  }

  .pricing-header p {
    font-size: 1.1rem;
  }

  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }

  .pricing-plan {
    max-width: 100%;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .nav-actions {
    gap: 0.5rem;
  }

  .btn-login,
  .btn-signup {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }

  .pricing-header h1 {
    font-size: 1.85rem;
  }

  .pricing-header p {
    font-size: 1rem;
  }

  .plan-header {
    padding: 1.75rem 1.5rem 1.25rem;
  }

  .plan-features,
  .plan-cta {
    padding: 1.5rem;
  }

  .satisfaction-guarantee {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .guarantee-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* DARK THEME  –  auto-applies when the user’s OS is set to dark mode */
/* ------------------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
  /* 2-A  ›› Variable overrides */
  :root {
    /* Brand colors – keep hue but brighten for dark bg */
    --primary-color: #8b8dff;
    --primary-dark: #6a6cf1;
    --primary-light: #a7a9ff;
    --primary-lighter: rgba(139, 141, 255, 0.12);

    --secondary-color: #34d399;
    --secondary-dark: #059669;
    --secondary-light: rgba(52, 211, 153, 0.12);

    --accent-color: #fbbf24;
    --accent-dark: #f59e0b;
    --accent-light: rgba(251, 191, 36, 0.12);

    /* Neutral palette flipped for contrast */
    --dark-color: #0f172a; /* new page background */
    --light-color: #1e293b; /* cards / inner surfaces */

    --gray-50: #1e293b;
    --gray-100: #1f2937;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-400: #9ca3af;
    --gray-500: #d1d5db;
    --gray-600: #e5e7eb;
    --gray-700: #f3f4f6;
    --gray-800: #fafafa;
    --gray-900: #ffffff;
  }

  /* 2-B  ›› Global surface + text */
  body {
    background-color: var(--dark-color);
    color: var(--gray-500);
  }

  /* 2-C  ›› Navigation */
  .navbar,
  .nav-menu.active {
    background-color: rgba(15, 23, 42, 0.95);
  }
  .navbar-scrolled {
    background-color: rgba(15, 23, 42, 0.98);
  }
  .nav-link {
    color: var(--gray-400);
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
  }

  /* 2-D  ›› Cards & inner containers */
  .plan-inner,
  .faq-item,
  .satisfaction-guarantee,
  .footer,
  .pricing-plan.hover .plan-inner,
  .pricing-plan:hover .plan-inner {
    background-color: var(--light-color);
  }
  .divider {
    background-image: linear-gradient(
      to right,
      transparent,
      var(--gray-300),
      transparent
    );
  }

  /* 2-E  ›› Buttons */
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
  }
  .btn-outline {
    color: var(--primary-color);
    border-color: var(--gray-400);
  }
  .btn-outline:hover {
    background-color: var(--primary-lighter);
    border-color: var(--primary-light);
  }

  /* 2-F  ›› Footer text tweaks */
  .footer-link,
  .copyright {
    color: var(--gray-400);
  }
  .footer-link:hover {
    color: #ffffff;
  }
}
/* Decorative Background – solid colour with soft geometry
   ------------------------------------------------------- */
.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -2; /* sits behind everything */
  pointer-events: none;
  background: var(--light-color); /* solid base in light mode   */
  transition: background 0.4s ease;
}

/* Base circles (brand accent colours) */
.bg-decoration .accent-circle-1,
.bg-decoration .accent-circle-2,
.bg-decoration .accent-circle-3 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.accent-circle-1 {
  top: 18%;
  left: 10%;
  width: 220px;
  height: 220px;
  background: var(--primary-color);
}
.accent-circle-2 {
  top: 65%;
  right: 15%;
  width: 160px;
  height: 160px;
  background: var(--secondary-color);
}
.accent-circle-3 {
  bottom: 30%;
  left: 58%;
  width: 120px;
  height: 120px;
  background: var(--accent-color);
}

/* Organic floating blobs */
.bg-decoration .floating-shape-1,
.bg-decoration .floating-shape-2 {
  position: absolute;
  opacity: 0.045;
  animation: float 16s ease-in-out infinite;
}

.floating-shape-1 {
  top: 12%;
  right: 24%;
  width: 320px;
  height: 320px;
  background: var(--primary-light);
  border-radius: 35% 65% 60% 40% / 35% 40% 60% 65%;
}

.floating-shape-2 {
  bottom: 18%;
  right: 42%;
  width: 260px;
  height: 260px;
  background: var(--secondary-light);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Subtle grid texture */
.bg-decoration .grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 52px 52px;
}

/* Float animation reused from the old design */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-22px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ───────────────────────────────
   Dark-mode overrides (same logic)
   ─────────────────────────────── */
@media (prefers-color-scheme: dark) {
  .bg-decoration {
    background: var(--dark-color);
  }
  .bg-decoration .accent-circle-1,
  .bg-decoration .accent-circle-2,
  .bg-decoration .accent-circle-3 {
    opacity: 0.08;
  }
  .bg-decoration .floating-shape-1,
  .bg-decoration .floating-shape-2 {
    opacity: 0.06;
  }
  .bg-decoration .grid-overlay {
    opacity: 0.035;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .accent-circle-1 {
    width: 140px;
    height: 140px;
  }
  .accent-circle-2 {
    width: 120px;
    height: 120px;
  }
  .accent-circle-3 {
    width: 90px;
    height: 90px;
  }

  .floating-shape-1,
  .floating-shape-2 {
    display: none;
  } /* keep mobile light */
}
