:root {
  --bg-red-dark: #2a0004;
  --bg-red: #7a0013;
  --bg-bright: #d1002f;
  --accent: #ff3b3b;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --text: #ececf2;
  --muted: #c7c7d0;
  --card-radius: 18px;
  --transition: 280ms cubic-bezier(.2, .9, .2, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

html.no-js .reveal { opacity: 1; transform: translateY(0); }
#dynamic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0000 0%, #0a0000 100%);
}
.light-trail {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 42, 81, 0.4), transparent);
  animation: moveTrail 10s linear infinite;
}
.trail-1 { width: 100%; height: 2px; top: 20%; }
.trail-2 { width: 100%; height: 2px; top: 50%; animation-delay: 2s; }
.trail-3 { width: 100%; height: 2px; top: 80%; animation-delay: 4s; }
.spiral-trail {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.spiral-inner {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 42, 81, 0.3);
  border-radius: 50%;
  animation: spinSpiral 15s linear infinite;
}
.lens-flare {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 42, 81, 0.2), transparent);
  top: 30%;
  left: 70%;
  animation: flarePulse 5s ease-in-out infinite;
}
@keyframes moveTrail {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes spinSpiral {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes flarePulse {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.2; }
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Topbar */
.topbar {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.topbar .center { display: flex; gap: 16px; align-items: center; color: var(--muted); flex-wrap: wrap; }
.topbar .social { display: flex; gap: 8px; }
.topbar .social a { color: var(--muted); font-size: 14px; }
.topbar .social a:hover { color: var(--accent); transform: translateY(-2px); }

/* Updated Navbar Styles - Fixed for Mobile */
header { position: sticky; top: 0; z-index: 1000; }
.navbar {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.16));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 14px 0;
}
.navbar:after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
  opacity: 0.6;
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.10), rgba(255, 255, 255, 0.04));
  animation: glowSlow 6s ease-in-out infinite;
}
@keyframes glowSlow {
  0% { transform: scale(0.995); opacity: 0.55; }
  50% { transform: scale(1.01); opacity: 0.8; }
  100% { transform: scale(0.995); opacity: 0.55; }
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  z-index: 1003;
}
.brand .logo {
  width: 106px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
}
.brand .title { font-weight: 800; font-size: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  justify-content: center;
}
.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-links li { position: relative; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 160px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.nav-links li:hover .dropdown-content { display: flex; }
.nav-links .dropdown-content a {
  padding: 10px 15px;
  color: var(--muted);
  display: block;
}
.nav-links .dropdown-content a:hover {
  color: var(--text);
  background: rgba(255, 42, 81, 0.1);
}
 /* HIDE TOPBAR ON MOBILE */
      .topbar { 
        display: none; 
      }
      :root {
        --topbar-height: 0px;
      }

/* Auth Buttons - Always Visible */
.auth-buttons {
  display: flex !important;
  gap: 12px;
  align-items: center;
  z-index: 1003;
  flex-shrink: 0;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1003;
  background: none;
  border: none;
  padding: 5px;
  margin-left: 10px;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 3px 0;
  transition: 0.4s;
  border-radius: 2px;
}
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.auth-btn {
  display: inline-block !important;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent), #b3002a);
  color: #fff !important;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 42, 81, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: Poppins, sans-serif;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.auth-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(45deg, #ff6a6a, var(--accent));
}
.auth-btn:before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.12), rgba(255, 255, 255, 0.06));
  filter: blur(10px);
  opacity: 0.85;
  transition: opacity .25s ease, transform .25s ease;
}
.auth-btn:hover:before {
  transform: scale(1.04);
  opacity: 1;
}

/* Mobile Styles - FIXED */
@media (max-width: 980px) {
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    gap: 10px;
  }
  .brand {
    flex: 0 0 auto;
    order: 1;
  }
  .brand .logo { 
    width: 80px; 
    height: 42px; 
  }
  .brand .title { 
    font-size: 16px; 
  }
  .auth-buttons {
    display: flex !important;
    gap: 8px;
    align-items: center;
    z-index: 1003;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;
  }
  .auth-btn { 
    padding: 8px 12px !important; 
    font-size: 13px !important;
    min-width: 60px;
  }
  .menu-toggle { 
    display: flex !important;
    flex: 0 0 auto;
    order: 3;
  }
  .menu-toggle .bar { 
    width: 22px; 
    height: 2px; 
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    order: 4;
    flex-basis: 100%;
    justify-content: center;
    gap: 0;
  }
  .nav-links.active { 
    display: flex !important; 
  }
  .nav-links ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  .nav-links .dropdown-content {
    position: static;
    background: rgba(255, 42, 81, 0.1);
    border-radius: 0;
    box-shadow: none;
    display: none;
    margin: 0;
    padding: 0;
  }
  .nav-links .dropdown.active .dropdown-content {
    display: flex;
  }
  .nav-links .dropdown-content a {
    padding: 12px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .auth-buttons { 
    gap: 6px;
  }
  .auth-btn { 
    padding: 6px 10px !important; 
    font-size: 12px !important;
    min-width: 55px;
  }
  .brand .logo { 
    width: 70px; 
    height: 36px; 
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding: 0 8px;
    gap: 8px;
  }
  .auth-buttons { 
    gap: 4px;
  }
  .auth-btn { 
    padding: 5px 8px !important; 
    font-size: 11px !important;
    min-width: 50px;
  }
  .brand .logo { 
    width: 60px; 
    height: 32px; 
  }
}


/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 35vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 80px 0 32px; /* Adjusted margin to account for fixed navbar height */
  background: linear-gradient(to right, #a80529, #61000f);
  border-radius: 12px;
  overflow: hidden;
  z-index: 10; /* Ensure banner is below navbar */
}
.banner h1 {
  font-size: 36px;
  margin: 0;
  font-family: Poppins, sans-serif;
  color: var(--text);
}
.banner p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}

/* FAQ Content */
.faq-section {
  padding: 32px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-item {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 16px;
  margin-bottom: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 42, 81, 0.1);
}
.faq-question {
  font-size: 18px;
  color: var(--text);
  font-family: Poppins, sans-serif;
  margin-bottom: 8px;
  cursor: pointer;
}
.faq-answer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: none;
}
.faq-answer.active { display: block; }
.faq-section .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms cubic-bezier(.2, .9, .2, 1), transform 600ms cubic-bezier(.2, .9, .2, 1); }
.faq-section .reveal.visible { opacity: 1; transform: translateY(0); }

/* Footer Styling */
.footer { 
  background: linear-gradient(135deg, #000, var(--bg-red-dark), var(--bg-red)); 
  color: var(--text); 
  padding: 48px 16px 16px; 
  font-family: Inter, system-ui, Arial, sans-serif; 
}
.footer .container { 
  max-width: 1200px; 
  margin: auto; 
}
.footer-box { 
  background: var(--glass-strong); 
  border: 1px solid var(--glass-border); 
  border-radius: 10px; 
  padding: 24px; 
  backdrop-filter: blur(14px); 
  position: relative; 
  overflow: hidden;
}
.footer-box:before { 
  content: ''; 
  position: absolute; 
  inset: -6px; 
  border-radius: 16px; 
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.06), rgba(255, 255, 255, 0.02)); 
  filter: blur(10px); 
  opacity: 0.8; 
  z-index: -1; 
}
.footer-row { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 24px; 
  align-items: start; 
  justify-content: center; 
}
.footer-col { 
  padding: 8px; 
  word-wrap: break-word;
}
.footer-col h2.logo { 
  font-size: 22px; 
  font-weight: 800; 
  margin-bottom: 12px; 
  font-family: Poppins, sans-serif; 
}
.footer-col h2.logo span { 
  color: var(--accent); 
}
.footer-col h4 { 
  font-size: 16px; 
  margin-bottom: 16px; 
  position: relative; 
  font-family: Poppins, sans-serif; 
  color: var(--text); 
}
.footer-col h4::after { 
  content: ''; 
  width: 32px; 
  height: 2px; 
  background: var(--accent); 
  position: absolute; 
  left: 0; 
  bottom: -6px; 
}
.footer-col p { 
  color: var(--muted); 
  font-size: 13px; 
  line-height: 1.5; 
  margin-bottom: 8px; 
  word-wrap: break-word;
}
.footer-col ul { 
  list-style: none; 
  padding: 0; 
}
.footer-col ul li { 
  margin-bottom: 8px; 
}
.footer-col ul li a { 
  color: var(--muted); 
  text-decoration: none; 
  transition: color var(--transition); 
  font-size: 13px; 
}
.footer-col ul li a:hover { 
  color: var(--text); 
}
.footer form { 
  display: flex; 
  flex-direction: column; 
}
.footer form input { 
  padding: 10px 12px; 
  border-radius: 8px; 
  border: 1px solid var(--glass-border); 
  background: rgba(0, 0, 0, 0.35); 
  color: var(--text); 
  margin-bottom: 8px; 
  font-family: Inter, system-ui, Arial, sans-serif; 
  font-size: 13px; 
}
.footer form input:focus { 
  outline: 2px solid rgba(255, 42, 81, 0.18); 
}
.footer form button { 
  padding: 10px 16px; 
  border-radius: 8px; 
  background: linear-gradient(180deg, var(--accent), #b3002a); 
  border: none; 
  color: #fff; 
  font-weight: 800; 
  cursor: pointer; 
  transition: transform var(--transition), background var(--transition); 
  font-family: Poppins, sans-serif; 
  font-size: 13px; 
  position: relative; 
}
.footer form button:hover { 
  transform: translateY(-4px) rotateX(4deg); 
  background: linear-gradient(45deg, #ff6a6a, var(--accent)); 
}
.footer form button:before { 
  content: ''; 
  position: absolute; 
  inset: -4px; 
  border-radius: 10px; 
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.12), rgba(255, 255, 255, 0.06)); 
  filter: blur(10px); 
  opacity: 0.85; 
  transition: opacity .25s ease, transform .25s ease; 
  z-index: -1; 
}
.footer form button:hover:before { 
  transform: scale(1.04); 
  opacity: 1; 
}
.social-links { 
  margin-top: 12px; 
  display: flex; 
  gap: 8px; 
  justify-content: flex-start; 
}
.social-links a { 
  color: var(--muted); 
  font-size: 16px; 
  transition: color var(--transition), transform var(--transition); 
}
.social-links a:hover { 
  color: var(--accent); 
  transform: scale(1.2); 
}
.footer-bottom { 
  text-align: center; 
  margin-top: 24px; 
  border-top: 1px solid var(--glass-border); 
  padding-top: 12px; 
  font-size: 13px; 
}
.footer-bottom span { 
  color: var(--accent); 
}

/* Floating WhatsApp Button */
.whatsapp-float { 
  position: fixed; 
  width: 56px; 
  height: 56px; 
  bottom: 16px; 
  right: 16px; 
  background: linear-gradient(180deg, var(--accent), #b3002a); 
  color: var(--text); 
  border-radius: 50%; 
  text-align: center; 
  font-size: 28px; 
  box-shadow: 0 8px 24px rgba(255, 42, 81, 0.2); 
  z-index: 1000; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  animation: bounce 2.2s ease-in-out infinite; 
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none; 
}
.whatsapp-float:hover { 
  transform: scale(1.1); 
  box-shadow: 0 10px 40px rgba(255, 42, 81, 0.3); 
}
.whatsapp-float i { 
  line-height: 56px; 
}
.whatsapp-float:before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  border-radius: 50%; 
  background: linear-gradient(90deg, rgba(255, 42, 81, 0.12), rgba(255, 255, 255, 0.06)); 
  filter: blur(10px); 
  opacity: 0; 
  transition: opacity .25s ease, transform .25s ease; 
  z-index: -1; 
}
.whatsapp-float:hover:before { 
  transform: scale(1.04); 
  opacity: 0.85; 
}
@keyframes bounce { 
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
  40% { transform: translateY(-8px); } 
  60% { transform: translateY(-4px); } 
}

/* Mobile Styles for WhatsApp Button */
@media (max-width: 980px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 12px;
    right: 12px;
  }
  .whatsapp-float i {
    line-height: 48px;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 44px;
    height: 44px;
    font-size: 22px;
    bottom: 12px;
    right: 12px;
  }
  .whatsapp-float i {
    line-height: 44px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 72px;
    height: 72px;
    font-size: 20px;
    bottom: 10px;
    right: 10px;
  }
  .whatsapp-float i {
    line-height: 40px;
  }
}

/* Entrance Animations */
.reveal { 
  opacity: 0; 
  transform: translateY(16px); 
  transition: opacity 600ms cubic-bezier(.2, .9, .2, 1), transform 600ms cubic-bezier(.2, .9, .2, 1); 
}
.reveal.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
  .banner { height: 32vh; }
  .banner h1 { font-size: 32px; }
  .banner p { font-size: 15px; }
  .footer-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .banner { height: 30vh; margin-top: 60px; } /* Adjusted margin for mobile */
  nav.nav-links { 
    display: none; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: rgba(0, 0, 0, 0.95); 
    padding: 16px; 
    width: 100%; 
    border-radius: 0; 
    z-index: 1; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-height: 70vh; /* Limit the height of the nav menu */
    overflow-y: auto; /* Enable vertical scrolling */
  }
  nav.nav-links.active { display: flex; }
  .menu-toggle { display: flex; }
  .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-4px, 5px); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-4px, -5px); }
  nav.nav-links a { margin: 8px 0; font-size: 15px; }
  .footer-row { grid-template-columns: repeat(2, 1fr); }
  .footer-box { padding: 16px; }
  .footer-col { text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .social-links { justify-content: center; }
}
@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 12px; }
  .banner { height: 28vh; margin-top: 60px; } /* Adjusted margin for smaller screens */
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 14px; }
  .faq-section { padding: 24px 0; }
  .faq-question { font-size: 16px; }
  .faq-answer { font-size: 13px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-box { padding: 12px; }
}
@media (max-width: 600px) {
  .banner { height: 25vh; margin-top: 50px; } /* Adjusted margin for smaller screens */
  .banner h1 { font-size: 24px; }
  .banner p { font-size: 13px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 24px; bottom: 12px; right: 12px; }
  .whatsapp-float i { line-height: 48px; }
  .faq-section { padding: 20px 0; }
  .footer-box { padding: 10px; }
}
@media (max-width: 480px) {
  .banner { height: 22vh; margin-top: 50px; } /* Adjusted margin for smaller screens */
  .banner h1 { font-size: 20px; }
  .banner p { font-size: 12px; }
  .whatsapp-float { width: 60px; height: 60px; font-size: 30px; bottom: 10px; right: 10px; }
  .whatsapp-float i { line-height: 40px; }
  .faq-question { font-size: 15px; }
  .faq-answer { font-size: 12px; }
  .footer-box { padding: 8px; }
}
@media (max-width: 360px) {
  .banner { height: 22vh; margin-top: 50px; } /* Adjusted margin for smallest screens */
  .banner h1 { font-size: 18px; }
  .banner p { font-size: 11px; }
  .navbar .container { padding: 0 8px; }
  .brand .logo { width: 150px; height: 32px; }
  .brand .title { font-size: 14px; }
  .menu-toggle .bar { width: 20px; height: 2px; }
  .footer-box { padding: 6px; }
}