/* CSS Variables */
:root {
  --primary-color: #9647ff; /* Updated Violet */
  --primary-dark: #7c3aed;
  --primary-light: #a78bfa;
  --secondary-color: #f3f4f6;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-alt: #f9fafb;
  --accent-color: #c4b5fd;
  --gradient-hero: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  --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);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --font-sans: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: #111827;
}

h2 {
  font-size: 2rem;
  color: #111827;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.center-text {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
}

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

.btn-outline {
  background-color: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 2rem;
}

.full-width {
  width: 100%;
  text-align: center;
}

/* Loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--secondary-color);
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 2.25rem; /* Moved down to show purple on top */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1100px;
  background-color: #f9f7ff; /* Light purple tint from image */
  border-radius: 100px;
  padding: 0.75rem 2rem;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.navbar.scrolled {
  width: 100%;
  max-width: 100%;
  top: 0;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 2rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 1001; /* Ensure logo stays above if needed */
  color: #111827;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Button Overrides for Header */
.navbar .btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
}

.navbar .btn-outline {
  border-color: #1f2937;
  color: #1f2937;
}

.navbar .btn-outline:hover {
  background-color: #d3f36a;
  color: #111827;
  border-color: #d3f36a;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background-color: #d8b4fe; /* Fallback */
  background: linear-gradient(
    180deg,
    #d8b4fe 0%,
    #f3e8ff 80%,
    #ffffff 100%
  ); /* Extended gradient */
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0.75rem 0.75rem 0 0.75rem; /* Reduced margins */
  border-radius: 2.5rem 2.5rem 0 0; /* Rounded top corners */
}

.hero::before {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.badge {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    var(--primary-color) 100%
  ); /* White to transparent for natural fade */
  color: #111827; /* Dark text */
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.05);
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.badge::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 2rem;
  padding: 2px;
  background: linear-gradient(90deg, #ffffff, #ffffff00, #ffffff);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  background-size: 300% 300%;
  animation: shimmerRotate 3s linear infinite;
  z-index: -1;
}

@keyframes shimmerRotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #111827; /* Solid dark color, removed gradient text */
  background: none;
  -webkit-text-fill-color: initial;
  line-height: 1.1;
}

.hero p {
  font-size: 1.125rem;
  max-width: 750px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: #4b5563;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 5rem;
}

/* Hero Buttons Specific Styles */
.hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 8px; /* Slightly less rounded than pill */
}

.hero-buttons .btn-outline {
  background-color: white;
  border: 1px solid white;
  color: #111827;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hero-buttons .btn-outline:hover {
  background-color: #f9fafb;
  color: #111827;
  transform: translateY(-2px);
}

.hero-buttons .btn-primary {
  background-color: #9333ea; /* Vibrant Purple */
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(147, 51, 234, 0.3);
}

.hero-buttons .btn-primary:hover {
  background-color: #7c3aed; /* Darker purple on hover */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -1px rgba(147, 51, 234, 0.4);
}

.hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Increased width */
  position: relative;
  border-radius: 24px; /* Matches image radius */
  padding: 0; /* Remove padding */
  background: transparent; /* Remove background */
  border: none; /* Remove border */
  overflow: hidden; /* Clip the fade overlay */
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Cover bottom half */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 30%,
    #ffffff 100%
  );
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

/* Mockup styles removed as images are now used */

/* Stats Section */
.stats-section {
  background-color: transparent;
  padding: 0 0 4rem;
  margin-top: -4rem; /* Pull up to overlap with the faded image area */
  position: relative;
  z-index: 20;
}

.stats-section .container {
  max-width: 1400px; /* Significantly wider than the hero's 1200px */
  width: 95%; /* Occupy most of the screen width */
  padding: 0;
}

.stats-card-container {
  background-color: #e9d5ff; /* Light purple from image */
  border-radius: 16px; /* Slightly tighter radius */
  padding: 1.5rem 2rem; /* Reduced height */
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%; /* Increased width */
  margin: 0 auto;
  box-shadow: none; /* Removed shadow as per flat look in image */
}

.stat-item {
  text-align: center;
  min-width: 150px;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #374151; /* Dark grey */
  margin-bottom: 0.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-item p {
  font-weight: 500;
  color: #6b7280; /* Lighter grey */
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-alt);
  padding: 0.5rem; /* Further decreased padding */
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
  background: white;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.feature-image-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Fade covers bottom 40% */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  pointer-events: none;
}

/* Adjust fade for card hover state if background changes to white, but gradient uses white so it's fine */

.feature-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch; /* Makes all cards equal height */
}

.pricing-card {
  background: linear-gradient(
    180deg,
    #e8e4f8 0%,
    #f0edf9 100%
  ); /* Very subtle lavender */
  padding: 2.5rem 2rem;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Launch Card - Subtle Lavender */
.pricing-card:nth-child(1) {
  background: linear-gradient(180deg, #e8e4f8 0%, #f0edf9 100%);
}

.pricing-card:nth-child(1):hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.12);
  border-color: #a78bfa;
}

/* Boost Card (Popular) - Subtle Cream */
.pricing-card.popular {
  background: linear-gradient(180deg, #fef5e7 0%, #fff9f0 100%);
  border: 2px solid transparent;
  transform: scale(1);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.12);
  border-color: #fcd34d;
}

/* Scale Card (Best Value) - Subtle Blue */
.pricing-card.best-value {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
  border: 2px solid transparent;
}

.pricing-card.best-value:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
  border-color: #60a5fa;
}

.popular-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fef3c7;
  color: #92400e;
  padding: 0.4rem 1rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  box-shadow: none;
}

.best-value-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #bfdbfe;
  color: #1e40af;
  padding: 0.4rem 1rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
  box-shadow: none;
}

.plan-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  display: block;
  object-fit: contain;
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #111827;
  font-weight: 700;
}

.plan-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.price {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  color: #9ca3af;
  font-weight: 400;
}

/* Card-specific button styles */
.pricing-card .btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.pricing-card:nth-child(1) .btn {
  background: white;
  border: 2px solid #8b5cf6;
  color: #8b5cf6;
}

.pricing-card:nth-child(1) .btn:hover {
  background: #8b5cf6;
  color: white;
}

.pricing-card.popular .btn {
  background: #111827;
  border: 2px solid #111827;
  color: white;
}

.pricing-card.popular .btn:hover {
  background: #000000;
  border-color: #000000;
  transform: none;
}

.pricing-card.best-value .btn {
  background: white;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.pricing-card.best-value .btn:hover {
  background: #3b82f6;
  color: white;
}

.features-list {
  margin-top: 0;
  text-align: left;
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.features-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Launch card checkmarks */
.pricing-card:nth-child(1) .features-list li::before {
  background: #ddd6fe;
  color: #7c3aed;
}

/* Boost/Popular card checkmarks */
.pricing-card.popular .features-list li::before {
  background: #fef3c7;
  color: #d97706;
}

/* Scale card checkmarks */
.pricing-card.best-value .features-list li::before {
  background: #dbeafe;
  color: #2563eb;
}

.features-list h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  margin-top: 0;
}

.features-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.features-list li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 280px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #c4b5fd;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.quote-icon {
  width: 48px;
  height: 48px;
  opacity: 0.85;
  object-fit: contain;
}

.stars {
  color: #ff6b35;
  font-size: 1rem;
  letter-spacing: 3px;
  line-height: 1;
}

/* SVG star styling */
.stars {
  display: flex;
  gap: 6px;
  align-items: center;
}
.star {
  width: 16px;
  height: 16px;
  display: block;
}
.star path {
  vector-effect: non-scaling-stroke;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
}

/* Avatar image inside circular container */
.avatar img.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.user-info p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* FAQ */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px; /* Adjust as needed */
}

/* Footer */
footer {
  background-color: #f9fafb; /* Light grey background */
  padding: 4rem 0 12rem; /* Increased bottom padding for watermark */
  border-top: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem; /* Increased spacing before watermark */
  position: relative;
  z-index: 10;
}

.footer-brand p {
  margin: 1rem 0;
  color: #6b7280;
  max-width: 350px; /* Limit description width */
}

.footer-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem !important;
  margin-top: 1.5rem !important;
}

.footer-brand .btn-primary {
  background-color: #d3f36a; /* Lime green */
  color: #111827; /* Dark text */
  border: none;
}

.footer-brand .btn-primary:hover {
  background-color: #c4e65a; /* Slightly darker on hover */
  transform: translateY(-2px);
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 1.5rem;
  color: #111827;
  font-weight: 600;
}

.footer-links ul li,
.footer-social ul li {
  margin-bottom: 0.5rem; /* Reduced spacing between items */
}

.footer-links a,
.footer-social a {
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--primary-color);
}

.underlined-link {
  text-decoration: underline;
}

.footer-watermark {
  position: absolute;
  top: auto;
  bottom: 0; /* Position at the bottom */
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(4rem, 15vw, 16rem); /* Responsive font size */
  font-weight: 900;
  background: linear-gradient(
    180deg,
    rgba(190, 144, 255, 0.65) 0%,
    rgba(216, 180, 254, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  ); /* Top more visible */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  width: 100%;
  text-align: center;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

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

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

/* Scroll Reveal Class (handled by JS) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Desktop - Ensure navigation is visible */
@media (min-width: 1015px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Mobile Responsive */
/* Tablet/iPad Responsive - Enable Hamburger Menu */
@media (max-width: 1014px) and (min-width: 761px) {
  .navbar {
    width: 95%;
    padding: 0.75rem 1rem;
  }

  .navbar.scrolled {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-container {
    justify-content: space-between;
    position: static;
  }

  .logo {
    order: 0;
  }

  /* Show hamburger menu on tablet */
  .mobile-menu-toggle {
    display: flex !important;
    order: 2;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Hide nav menu by default, show when active */
  .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f9f7ff;
    flex-direction: column;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    z-index: 999;
    gap: 1.5rem;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
  }

  .nav-menu.mobile-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar.scrolled .nav-menu {
    margin-top: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }

  .nav-list {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

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

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

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

  .stats-card-container {
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* Mobile Responsive */
@media (max-width: 760px) {
  /* Fix container padding on mobile */
  .container {
    padding: 0 1rem;
  }

  /* Fix navbar on mobile - adjust grid for logo left, hamburger right */
  /* Fix navbar on mobile */
  .navbar {
    width: 95%;
    padding: 0.75rem 1rem;
  }

  .navbar.scrolled {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-container {
    /* Flex is already set, just ensure justify-content is correct */
    justify-content: space-between;
    position: static; /* Allow nav-menu to position relative to navbar */
  }

  .logo {
    /* No grid, so no order needed, but keep it first */
    order: 0;
  }

  .mobile-menu-toggle {
    display: flex; /* Ensure it's visible */
    order: 2; /* After logo */
    z-index: 1001;
  }

  /* Fix hero section overflow */
  .hero {
    margin: 0;
    border-radius: 0;
    padding: 8rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    margin-bottom: 3rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }
  .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #f9f7ff; /* Match default navbar color */
    flex-direction: column;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    z-index: 999;
    gap: 1.5rem;
    align-items: center;

    /* Hidden state for smooth transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px; /* Slight spacing from the pill navbar */
  }

  .nav-menu.mobile-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Dynamic style when navbar is scrolled (full width) */
  .navbar.scrolled .nav-menu {
    margin-top: 0;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Subtle separator */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
  }

  .nav-list {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .nav-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1rem;
  }

  .nav-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stats section mobile fixes */
  .stats-section .container {
    width: 100%;
    padding: 0 1rem;
  }

  .stats-card-container {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  /* Features grid mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Pricing grid mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonials grid mobile */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }

  /* Footer mobile fixes */
  footer {
    padding-bottom: 8rem;
  }

  .footer-content {
    margin-bottom: 2rem;
  }
}

/* Footer Icons */
.footer-social i {
  color: var(--primary-color); /* Updated to match theme */
  margin-right: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.footer-social a:hover i {
  transform: scale(1.1);
}
