/*
 * Vigor Wave - Ultimate Luxury Stylesheet
 * FINAL FIX: Header alignment (Desktop & Mobile)
 */

/* --- Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Inter:wght@300;400;600&display=swap');

:root {
  /* Colors */
  --bg-dark: #050b0e;
  --bg-panel: #0b141a;
  --bg-gradient-body: radial-gradient(circle at top center, #091820 0%, #050b0e 100%);
  
  --text-main: #e0e6ed;
  --text-muted: #94a3b8;
  
  /* Accents */
  --gold-primary: #D4A157;
  --gold-hover: #F2C97C;
  --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
  
  /* UI */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold-subtle: rgba(212, 161, 87, 0.3);
  --shadow-card: 0 15px 40px -10px rgba(0,0,0,0.7);
  --radius-std: 4px;
  
  /* Animation */
  --ease-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Resets --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--ease-smooth); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to bottom right, #ffffff, #b0b5be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 2px; }
h3 { font-size: 1.3rem; font-weight: 600; color: var(--gold-primary); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; color: var(--gold-primary); margin-bottom: 0.5rem; margin-top: 1rem; }

p { color: var(--text-muted); font-weight: 400; margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }

.highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(212, 161, 87, 0.3);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-std);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--ease-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #050b0e;
  box-shadow: 0 4px 20px rgba(212, 161, 87, 0.2);
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 161, 87, 0.4);
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(212, 161, 87, 0.1);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(212, 161, 87, 0.2);
}

/* --- Layout --- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; position: relative; height: 100%; }
section { padding: 7rem 0; border-bottom: 1px solid var(--border-subtle); }

/* --- HEADER FIX (CRITICAL) --- */
header {
  background: rgba(5, 11, 14, 0.85);
  backdrop-filter: blur(20px);
  height: 90px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%; /* Ensure full height for vertical alignment */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
  z-index: 10;
}

.logo img { height: 40px; width: auto; }

/* Desktop Menu - ABSOLUTE CENTERED */
.nav-links {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  display: flex;
  align-items: center; /* Vertical center of the NAV itself */
}

/* The actual list inside the nav */
.nav-links ul {
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center; /* Vertical center of items */
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0%; height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-actions { display: flex; gap: 1rem; align-items: center; z-index: 10; }
.header-actions .btn { padding: 0.8rem 1.5rem; font-size: 0.75rem; }

/* Hamburger - Hidden on Desktop */
.hamburger { 
  display: none; 
  flex-direction: column; 
  gap: 6px; 
  cursor: pointer; 
  z-index: 1001; 
  padding: 10px;
}
.hamburger div { width: 30px; height: 2px; background: var(--gold-primary); transition: 0.3s; }

/* Mobile Menu Overlay */
#mobile-menu {
  display: none;
  background: rgba(5, 11, 14, 0.98);
  backdrop-filter: blur(15px);
  padding: 8rem 2rem 2rem;
  flex-direction: column; 
  gap: 1.5rem;
  align-items: center;
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  z-index: 999;
}
#mobile-menu.open { display: flex; }

#mobile-menu a.menu-link { 
  color: #fff; 
  font-size: 1.5rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
}

/* --- Hero Section --- */
.hero-full {
  min-height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-full::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(5,11,14,1) 0%, rgba(5,11,14,0.9) 35%, rgba(5,11,14,0) 80%);
  z-index: 1;
}

.hero-full .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 600px; text-align: left; }

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Standard Hero */
.hero-bg {
  position: relative; height: 45vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: #000;
}
.hero-bg img.bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5; z-index: 0;
}
.hero-bg .content { position: relative; z-index: 2; max-width: 800px; padding: 0 1rem; }

/* --- Cards & Products --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-std);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--ease-smooth);
}
.card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.card-img-container {
  padding: 3rem;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 70%);
  display: flex; align-items: center; justify-content: center;
}
.card-body { padding: 2.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; }
.card-actions .btn { width: 100%; }

/* --- Benefits --- */
.benefits-section { background: linear-gradient(to bottom, var(--bg-dark), #081216); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }

.benefit-item {
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-std);
  transition: var(--ease-smooth);
  display: flex; flex-direction: column; align-items: center;
}
.benefit-item:hover { background: rgba(255,255,255,0.03); transform: translateY(-5px); }
.benefit-item img {
  width: 80px !important; height: auto !important;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 0 10px rgba(212, 161, 87, 0.2));
  display: block;
}

/* --- Exclusive Deals --- */
.deals-container {
  position: relative; width: 100%; border-radius: var(--radius-std); overflow: hidden;
  margin-bottom: 3rem; box-shadow: var(--shadow-card); border: 1px solid var(--border-subtle);
}
.deals-bg {
  width: 100%; height: 450px; object-fit: cover; display: block;
  transition: transform 10s ease;
}
.deals-container:hover .deals-bg { transform: scale(1.05); }

.deals-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 11, 14, 0.4); 
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 2rem;
}
.deals-overlay p { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.8); max-width: 600px; font-size: 1.1rem; }

.deals-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.deal-option {
  background: var(--bg-panel); padding: 3rem; text-align: center;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-std);
}
.deal-option:hover { border-color: var(--gold-primary); transform: translateY(-5px); }

/* --- Split & Feature Sections --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-section img { border-radius: var(--radius-std); box-shadow: var(--shadow-card); border: 1px solid var(--border-subtle); }

.feature-list { list-style: none; margin-top: 2rem; text-align: left; }
.feature-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: var(--text-main); }
.feature-list li::before { content: "•"; color: var(--gold-primary); font-size: 2rem; position: absolute; left: 0; top: -12px; }

/* --- PREMIUM FAQ ACCORDION --- */
.faq-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }

.faq-item {
  background: linear-gradient(145deg, var(--bg-panel), #0e1a22);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid transparent;
  border-radius: var(--radius-std);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.faq-item:hover {
  background: linear-gradient(145deg, #0e1a22, var(--bg-panel));
  border-color: var(--border-gold-subtle);
}

.faq-item.active {
  border-color: var(--gold-primary);
  border-left-color: var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.15rem;
  user-select: none;
}

.faq-question::after {
  content: '+';
  color: var(--gold-primary);
  font-size: 1.8rem;
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
  line-height: 1.7;
  opacity: 0;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem 2rem;
  opacity: 1;
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* --- Support Form --- */
.support-section { margin-top: 5rem; }
.support-form-container {
  background: var(--bg-panel);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-std);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s ease;
}

.support-form-container:hover {
  box-shadow: 0 0 25px rgba(212, 161, 87, 0.15);
}

/* --- Video Tutorials --- */
.video-preview-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-std);
  overflow: hidden;
  transition: var(--ease-smooth);
}

.video-preview-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
}

.video-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-preview-card:hover .video-thumb img { transform: scale(1.05); }

.video-play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; 
  background: rgba(0,0,0,0.6);
  border: 2px solid var(--gold-primary); 
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center; 
}
.video-play-icon::after {
  content: ''; display: block; width: 0; height: 0;
  border-left: 15px solid var(--gold-primary);
  border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px;
}

.video-info { padding: 1.5rem; text-align: center; }

/* --- E-Book Fix --- */
.ebook-split { align-items: center; }
.ebook-img-container { text-align: center; }
.ebook-img-container img {
  max-width: 300px; margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); border-radius: 4px;
}

/* --- Footer & Popups --- */
footer { background: #020507; padding: 6rem 0 3rem; border-top: 1px solid var(--gold-primary); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--gold-primary); margin-bottom: 1.5rem; letter-spacing: 2px; }
.footer-col ul a:hover { color: var(--gold-primary); padding-left: 5px; }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-subtle); font-size: 0.85rem; opacity: 0.6; }

/* Forms */
input, textarea {
  width: 100%; padding: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: #fff; margin-bottom: 1rem; border-radius: 4px;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold-primary); background: rgba(255,255,255,0.05); }

/* Popup Overlay */
.popup-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); z-index: 2000;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; visibility: hidden; transition: all 0.5s ease;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content {
  background: var(--bg-panel); border: 1px solid var(--gold-primary);
  width: 90%; max-width: 900px; display: flex; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.popup-image { flex: 1.2; background: #000; }
.popup-image img { width: 100%; height: 100%; object-fit: cover; }
.popup-form { flex: 1; padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; }

.close-popup {
  position: absolute; top: 20px; right: 20px;
  color: var(--text-muted); cursor: pointer; font-size: 2.5rem;
  line-height: 0.8; z-index: 10;
  transition: all 0.4s ease;
}
.close-popup:hover {
  color: var(--gold-primary);
  transform: rotate(90deg);
}

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 1024px) {
  /* HIDE DESKTOP NAV & ACTIONS */
  .nav-links, .header-actions { display: none; }
  
  /* SHOW HAMBURGER (Fixed placement) */
  .hamburger { display: flex; margin-left: auto; }
  
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  
  /* Tablet Grid Optimizations */
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  
  .deals-columns, .split-section { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .split-section img { order: -1; margin-bottom: 1rem; }
  
  /* Hero Mobile Logic */
  .hero-full { background-position: center; }
  .hero-full::before { background: rgba(5,11,14,0.65); }
  .hero-content { text-align: center; margin: 0 auto; padding: 0 1rem; }
  
  /* Centered and Sized Buttons on Mobile */
  .hero-btns { justify-content: center; }
  .hero-btns .btn { flex: 1; min-width: 140px; text-align: center; }
  
  h1 { font-size: 2.2rem; }
  section { padding: 4rem 0; }
  
  /* POPUP MOBILE OPTIMIZATION */
  .popup-content { flex-direction: column; width: 95%; }
  .popup-image { display: none; }
  .popup-form { padding: 2.5rem 1.5rem; }
  .close-popup { top: 10px; right: 10px; font-size: 2rem; }
}

@media (max-width: 768px) {
  /* Specific Mobile Adjustments */
  .hero-full { background-position: 75% center; } /* Show man on right */
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-bg { height: 40vh; }
  .container { padding: 0 1.5rem; }
  .product-grid { grid-template-columns: 1fr; } 
}