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

:root {
  /* Color Palette */
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;

  /* Neutral Colors */
  --gray-50: #f8fafc;
  --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;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 2rem;

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Account for fixed navbar height */
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

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

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900) !important;
}

.navbar-toggler {
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.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='rgba%2833, 65, 85, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-text {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Image */
.hero-image {
  position: relative;
  padding: 2rem 0;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gif {
  max-width: 300px;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.hero-gif:hover {
  transform: scale(1.05);
}

.floating-card {
  position: absolute;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: -20%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 10%;
  left: -15%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: rgba(51, 136, 255, 0.1);
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  color: #1a1a1a;
  border: 2px solid #ffd93d;
  background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-outline-light:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
  color: #1a1a1a;
  border-color: #ff6b6b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Sections */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Features Section */
.features-section {
  background: var(--gray-50);
  padding: var(--section-padding);
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.feature-card p {
  color: var(--gray-600);
  margin: 0;
}

/* How it Works Section */
.how-it-works-section {
  padding: var(--section-padding);
}

.step-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.step-number {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #f97316 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.step-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Pricing Section */
.pricing-section {
  background: var(--gray-50);
  padding: var(--section-padding);
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-600);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0.25rem;
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
}

.pricing-description {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

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

.pricing-features li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.pricing-features .fas {
  color: var(--success-color);
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

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

.btn-block {
  width: 100%;
  margin-bottom: 1rem;
}

.trial-info {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

.pricing-note {
  background: rgba(var(--primary-color), 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  margin: 0;
  border: 1px solid rgba(var(--primary-color), 0.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: var(--section-padding);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white !important;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-title {
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

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

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-800);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.newsletter-form .input-group {
  max-width: 300px;
}

.newsletter-form .form-control {
  border: 1px solid var(--gray-700);
  background: var(--gray-800);
  color: white;
  border-radius: 0.5rem 0 0 0.5rem;
}

.newsletter-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
  background: var(--gray-800);
  color: white;
}

.newsletter-form .btn {
  border-radius: 0 0.5rem 0.5rem 0;
}

.footer-divider {
  border-color: var(--gray-800);
  margin: 2rem 0 1rem;
}

.footer-copyright,
.footer-tagline {
  margin: 0;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Tablet and small desktop adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding-top: 90px; /* Account for navbar on tablets */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
  }

  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background: var(--gray-100);
  }

  .navbar-nav .btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  .hero-section {
    text-align: center;
    padding-top: 80px; /* Add padding to account for fixed navbar on mobile */
  }

  .hero-stats {
    justify-content: center;
  }

  .floating-card {
    position: static;
    display: inline-flex;
    margin: 0.5rem;
    animation: none;
  }

  .image-container {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-gif {
    transform: none;
    max-width: 250px;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .hero-buttons .me-3 {
    margin-right: 0 !important;
  }

  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .cta-buttons .me-3 {
    margin-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .feature-card,
  .step-card {
    padding: 1.5rem 1rem;
  }

  .floating-card {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-muted {
  color: var(--gray-500) !important;
}

.bg-light {
  background-color: var(--gray-50) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

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

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-icon {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  flex-grow: 1;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--gray-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.author-info h5 {
  margin: 0;
  font-weight: 600;
  color: var(--gray-900);
}

.author-info .social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.author-info .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  color: #6c757d;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}

.author-info .social-link:hover {
  color: #495057;
}

.map-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.map-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Pricing */
.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  height: 100%;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.price {
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-600);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
}

.period {
  font-size: 1rem;
  color: var(--gray-600);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--success-color);
  font-size: 0.875rem;
}

/* Video Container */
.video-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.video-container iframe {
  border-radius: 1rem;
}

/* YouTube Embed Container */
.youtube-embed-container {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.youtube-embed-container iframe {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Badge */
.badge {
  border-radius: 2rem;
  font-weight: 500;
}
