@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Vibrant & Modern Palette */
  --primary-color: #4f46e5;
  /* Indigo */
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --secondary-color: #0ea5e9;
  /* Sky Blue */
  --accent-color: #f59e0b;
  /* Amber */
  --success-color: #10b981;
  /* Emerald */

  /* Light Theme Backgrounds */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Text Colors */
  --text-main: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  /* For dark backgrounds/buttons */

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
  --gradient-hover: linear-gradient(135deg, #4338ca 0%, #0284c7 100%);
  --gradient-hero: linear-gradient(135deg, #e0e7ff 0%, #f0f9ff 100%);

  /* Shadows */
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.text-muted {
  color: var(--text-secondary) !important;
}

/* Navbar */
.navbar-custom {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(79, 70, 229, 0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: auto;
  /* Changed from 100vh to auto */
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 140px 0 80px 0;
  /* Increased top padding, reduced bottom */
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: slideUpFade 0.8s ease-out;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: slideUpFade 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  animation: slideUpFade 0.8s ease-out 0.4s backwards;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
  color: white;
}

.btn-secondary {
  background: white;
  border: 2px solid #e2e8f0;
  color: var(--text-main);
  overflow: visible;
  /* Important for badge */
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  /* Increased shadow */
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
  /* Stronger hover shadow */
  border-color: rgba(79, 70, 229, 0.2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Card */
.pricing-card {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  margin: 0 auto;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.25);
  border-color: var(--primary-light);
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price-old {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.5rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 500;
}

.pricing-features li i {
  color: var(--success-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  background: #f8fafc;
}

.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

details[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* Terms of Service */
.terms-section {
  background: white;
  border-top: 1px solid #e2e8f0;
}

.terms-details {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.terms-summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
}

.terms-summary::-webkit-details-marker {
  display: none;
}

.terms-summary::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

details[open] .terms-summary::after {
  transform: rotate(180deg);
}

.terms-content {
  padding: 2rem;
  color: var(--text-secondary);
  border-top: 1px solid #e2e8f0;
  background: white;
}

.terms-content h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.terms-content ul {
  padding-left: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e2e8f0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge */
.badge-windows {
  background: linear-gradient(135deg, #0078d7 0%, #00bcf2 100%);
  color: white;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  position: absolute;
  top: -25px;
  right: -12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: bounce 2s infinite;
  z-index: 10;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px solid white;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

/* Gallery Modal */
.modal-content {
  border-radius: 24px;
  overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 2rem;
  background-size: 50%;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-content {
    margin-bottom: 3rem;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}