/* Мъжки Баланс - Футуристичен Стил & Уелнес Блог */
:root {
  --bg-dark: #070a12;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --accent-cyan: #00f3ff;
  --accent-emerald: #00ff88;
  --accent-purple: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-cyan: rgba(0, 243, 255, 0.2);
  --border-emerald: rgba(0, 255, 136, 0.2);
  --glow-cyan: 0 0 20px rgba(0, 243, 255, 0.35);
  --glow-emerald: 0 0 20px rgba(0, 255, 136, 0.35);
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 243, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 255, 136, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-emerald);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyan);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a12;
  font-weight: bold;
  box-shadow: var(--glow-cyan);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--border-cyan);
}

.btn-header {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  color: #070a12 !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 30px !important;
  box-shadow: var(--glow-cyan);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-emerald);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  flex: 1;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(0, 243, 255, 0.4);
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-text h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--border-emerald);
  border-radius: 20px;
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-cyan);
  box-shadow: var(--glow-cyan);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.caption-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.caption-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  color: #070a12;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
  color: #070a12;
}

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

.btn-outline:hover {
  background: rgba(0, 243, 255, 0.15);
  box-shadow: var(--glow-cyan);
  color: #fff;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Section Title */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Grid layout for features/cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Interactive Vitality Quiz Widget */
.quiz-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glow-cyan);
  margin: 3rem 0;
}

.quiz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.quiz-question {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.quiz-option-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--text-main);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quiz-option-btn:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--accent-cyan);
  transform: translateX(5px);
}

.quiz-result {
  text-align: center;
}

.quiz-score-badge {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-emerald);
  text-shadow: var(--glow-emerald);
  margin: 1rem 0;
}

/* Certificates Badges & Lightbox */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cert-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.cert-card:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: var(--glow-emerald);
  transform: translateY(-3px);
}

.cert-badge-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 0.75rem auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 243, 255, 0.2));
  border: 1px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-emerald);
}

.cert-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--glow-cyan);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* Product & Order Form Styling */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-emerald);
  box-shadow: var(--glow-emerald);
}

.product-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.order-form-card {
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid var(--accent-emerald);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--glow-emerald);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: var(--glow-emerald);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Article Styling */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.article-content {
  padding: 2rem;
}

.article-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--border-cyan);
  border-radius: 15px;
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.article-body p {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

/* Legal & Compliance Disclaimers */
.compliance-box {
  background: rgba(30, 41, 59, 0.4);
  border: 1px dashed var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
  line-height: 1.5;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(7, 10, 18, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-btns {
  display: flex;
  gap: 0.5rem;
}

/* Site Footer */
.site-footer {
  background: rgba(5, 8, 15, 0.95);
  border-top: 1px solid var(--border-cyan);
  padding: 3rem 0 1.5rem 0;
  margin-top: 4rem;
}

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

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Timeline component for 90-day program */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 2px solid var(--border-cyan);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.timeline-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-emerald);
  margin-bottom: 0.3rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid, .product-hero {
    grid-template-columns: 1fr;
  }
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
