/* VitalMen Max - Premium Male Vitality Website Styles */

:root {
  --primary-dark: #0f172a;
  --primary-navy: #1e293b;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-cyan: #0284c7;
  --accent-gold: #f59e0b;
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --font-heading: 'Outfit', 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent-emerald-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-bg-dark {
  background-color: var(--primary-dark);
  color: #f8fafc;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3 {
  color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 50px 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-emerald-dark);
  color: var(--accent-emerald-dark);
}

.btn-outline:hover {
  background-color: var(--accent-emerald-dark);
  color: #ffffff;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent-emerald);
}

.logo-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-menu.active {
    display: flex;
  }
}

/* Top Notification Bar */
.top-bar {
  background: linear-gradient(90deg, #064e3b 0%, #065f46 100%);
  color: #ecfdf5;
  text-align: center;
  font-size: 0.875rem;
  padding: 8px 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-bar span.highlight {
  background: var(--accent-gold);
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 90px 0 100px 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  color: var(--accent-emerald);
}

.hero-text {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  margin: 0 auto;
  max-height: 480px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-gold);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.hero-badge-title {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-badge-text {
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Feature Cards */
.feature-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-emerald);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-main);
  font-size: 0.98rem;
}

/* Ingredient Cards */
.ingredient-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.ingredient-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ingredient-tag {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ingredient-body {
  padding: 24px;
}

.ingredient-body h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ingredient-body p {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Interactive Quiz Widget */
.quiz-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.quiz-dot {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  transition: all 0.3s ease;
}

.quiz-dot.active {
  background: var(--accent-emerald);
  width: 48px;
}

.quiz-question {
  font-size: 1.35rem;
  margin-bottom: 24px;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.quiz-option-btn {
  padding: 16px 20px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover, .quiz-option-btn.selected {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.05);
}

.quiz-result-box {
  display: none;
  text-align: center;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyan) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.score-number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Certificate Badges Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.cert-card {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.cert-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid var(--accent-gold);
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cert-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.cert-info p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Lead Form Styling (On Order Page) */
.order-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.order-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-body {
  padding: 40px 32px;
}

.price-tag-wrapper {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.old-price {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.new-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-emerald-dark);
}

.discount-badge {
  background: #fee2e2;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-label span.required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.form-control:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}

.package-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.package-option:hover, .package-option.active {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.04);
}

.package-radio {
  accent-color: var(--accent-emerald-dark);
  width: 20px;
  height: 20px;
}

.package-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.package-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.package-price {
  font-weight: 800;
  color: var(--accent-emerald-dark);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-main);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

/* Review Cards */
.review-card {
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 0.98rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.reviewer-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.reviewer-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Footer & Compliance */
.footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 360px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

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

.footer-disclaimer-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 32px;
  font-size: 0.825rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: var(--primary-dark);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Thank you page styles */
.thank-you-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 40px auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px auto;
}

.order-ref {
  background: var(--bg-light);
  border: 1px dashed var(--accent-emerald-dark);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin: 16px 0 24px 0;
}
