/* Navbar & Contact Bar */
.contact-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px; /* Slightly taller for breathing room */
  background: var(--bg-dark); /* Pure Black */
  border-bottom: 1px solid rgba(0, 230, 118, 0.15); /* Very subtle green line */
  display: flex;
  align-items: center;
  z-index: 1001;
  font-family: 'Inter', sans-serif;
}

.contact-bar .container {
  display: flex;
  justify-content: space-between; /* Space between left and right groups */
  width: 100%;
  align-items: center;
}

.contact-bar-group {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-bar a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast);
}

.contact-bar a:hover {
  color: var(--accent-emerald);
}

.contact-bar svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .contact-bar {
    display: none; /* Hide on mobile to save space */
  }
}

.navbar {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  padding: 1.75rem 0;
  z-index: 1000;
  transition: padding var(--transition-normal), background var(--transition-normal), backdrop-filter var(--transition-normal), top var(--transition-normal), box-shadow var(--transition-normal);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 768px) {
  .navbar {
    top: 0; /* contact-bar is hidden on mobile, snap to very top */
    padding: 1.2rem 0;
  }
}

.navbar.scrolled {
  position: fixed; /* Becomes sticky once scrolled */
  top: 0; /* Snap to top when scrolled */
  padding: 1rem 0;
  background: var(--bg-glass); /* True glassmorphism */
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo span {
  color: var(--accent-emerald); /* Emerald logo accent */
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-emerald);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem; /* Wider buttons */
  border-radius: var(--border-radius-pill); /* Pill shaped luxury buttons */
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em; /* Relaxed tracking for small button text */
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  backdrop-filter: blur(8px); /* Embedded glass effect */
  border: 1px solid transparent; /* Prepare for metallic borders */
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #00B85C 100%);
  color: #000000; /* Black text on green */
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  color: #000000;
  background: linear-gradient(135deg, var(--accent-emerald-hover) 0%, var(--accent-emerald) 100%);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.6); /* Translucent black */
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: var(--accent-emerald);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 230, 118, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* High Contrast Cards / Features */
.theme-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-soft);
  padding: 3rem; /* Extra padding for luxury feel */
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
  box-shadow: var(--shadow-glass);
}

.theme-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 230, 118, 0.2); /* Green subtle hover border */
  box-shadow: var(--shadow-soft);
  background: rgba(10, 10, 10, 0.8); /* Slightly lighter black */
}

/* Reviews Marquee Section */
.reviews-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0 4rem; /* Spacing */
  margin-top: 2rem;
  /* Add subtle gradient fades to the edges of the marquee */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-marquee {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scrollLeft 80s linear infinite;
  will-change: transform;
}

.reviews-marquee:hover {
  animation-play-state: paused; /* Pause on hover */
}

/* Base review-grid for non-marquee usages is kept just in case, but marquee controls cards mostly */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem; 
  margin-top: 4rem;
}

.review-card {
  background: rgba(10, 10, 10, 0.6); /* Translucent surface */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-soft);
  padding: 3rem; /* Premium spacing */
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 380px; /* Force minimum height to align them visually */
  width: 400px; /* Fixed width for scroller */
  flex-shrink: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.review-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-soft);
  border-color: rgba(0, 230, 118, 0.2); /* Green subtle hover border */
  background: rgba(10, 10, 10, 0.8);
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-glass);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

.review-stars {
  color: var(--accent-emerald); /* Green stars */
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 400;
}

.review-author {
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto; /* Push author to the bottom */
}

.review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-emerald);
  border: 1px solid var(--border-subtle);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 4rem 0 2rem;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-emerald);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative Separator Bar (Removed for realism) */
.section-bar {
  display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%; /* Partial drawer - feels more native on mobile */
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2rem;
    gap: 2rem;
    transition: right var(--transition-normal);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  /* Show FREE TRIAL as a full-width button inside mobile menu */
  .nav-links li:last-child {
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links li:last-child a {
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile Scroller & Polish */
  .reviews-marquee {
    animation-duration: 120s;
  }

  .review-card {
    width: 280px;
    padding: 2rem;
    min-height: 320px;
  }

  .navbar .container {
    padding: 0 1.25rem;
  }

  .logo {
    font-size: 1.5rem;
  }
}
