/* ==========================================================================
   CoreLiving — Životní styl, funkční trénink & vitalita zralého muže
   Paleta: Teplý béžový podklad (#fbf9f5, #f5efe6, #f3ede2), 
   elegantní hluboká fialová (#581c87, #6b21a8, #7e22ce) & sluneční žlutá (#eab308, #facc15)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700;800&display=swap');

:root {
  --bg-beige: #fbf9f5;
  --bg-beige-card: #ffffff;
  --bg-beige-light: #f5efe6;
  --bg-beige-accent: #ede4d5;
  --primary-purple: #6b21a8;
  --primary-purple-dark: #3b0764;
  --primary-purple-hover: #581c87;
  --primary-purple-light: #f3e8ff;
  --accent-yellow: #facc15;
  --accent-yellow-dark: #ca8a04;
  --accent-yellow-light: #fef9c3;
  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-light: #78716c;
  --border-color: #e7e0d3;
  --shadow-sm: 0 1px 3px rgba(88, 28, 135, 0.06);
  --shadow-md: 0 4px 14px -2px rgba(88, 28, 135, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 28px -6px rgba(88, 28, 135, 0.12);
  --shadow-xl: 0 20px 40px -10px rgba(59, 7, 100, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-beige);
  color: var(--text-main);
  line-height: 1.68;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.25);
}
.logo-text-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-purple-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.logo-text-title span {
  color: var(--accent-yellow-dark);
}
.logo-text-sub {
  font-size: 0.72rem;
  color: var(--primary-purple);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation with reordered tabs */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.2s;
  padding: 10px 0;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-purple);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
}

.header-cta-btn {
  background: var(--primary-purple);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(107, 33, 168, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-cta-btn:hover {
  background: var(--primary-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107, 33, 168, 0.35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-purple-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #3b0764 0%, #581c87 100%);
  color: #ffffff;
  padding: 75px 0 85px 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title span {
  color: var(--accent-yellow);
}
.hero-subtitle {
  font-size: 1.12rem;
  color: #f3e8ff;
  margin-bottom: 34px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--primary-purple-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35);
}
.btn-primary:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 179, 8, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.15);
}
.hero-main-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.hero-photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(59, 7, 100, 0.92);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-badge-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: var(--primary-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.98rem;
}
.hero-badge-sub {
  font-size: 0.8rem;
  color: var(--accent-yellow);
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-beige);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}
.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border-color: var(--primary-purple);
}
.trust-icon-box {
  width: 46px;
  height: 46px;
  background: var(--primary-purple-light);
  color: var(--primary-purple);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.trust-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-purple-dark);
}
.trust-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 75px 0;
}
.section-beige {
  background: var(--bg-beige);
}
.section-white {
  background: #ffffff;
}
.section-accent {
  background: var(--bg-beige-light);
}
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 45px auto;
}
.section-subtitle {
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: inline-block;
  background: var(--accent-yellow-light);
  padding: 4px 14px;
  border-radius: 30px;
  border: 1px solid #fef08a;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Interactive Routine & Calisthenics Tabs */
.routine-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 950px;
  margin: 0 auto;
}
.routine-tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--bg-beige-light);
  padding-bottom: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.routine-tab-btn {
  background: var(--bg-beige);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.routine-tab-btn:hover {
  background: var(--primary-purple-light);
  color: var(--primary-purple);
}
.routine-tab-btn.active {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.25);
}
.routine-content-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.routine-content-pane.active {
  display: block;
}
.routine-grid-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.routine-checklist {
  list-style: none;
}
.routine-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--text-main);
}
.routine-checklist li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-yellow-dark);
  font-size: 1.1rem;
}

/* Product Showcase */
.product-showcase {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.product-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}
.product-photo-wrapper {
  background: linear-gradient(180deg, var(--bg-beige) 0%, var(--bg-beige-light) 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
}
.product-photo-img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.product-badge-no-price {
  background: var(--primary-purple);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.product-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}
.product-features-list {
  list-style: none;
  margin: 25px 0;
}
.product-features-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.02rem;
}
.product-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: var(--primary-purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Certificate Cards */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 25px;
}
.cert-card {
  background: var(--bg-beige);
  border: 1px solid var(--border-color);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cert-card:hover {
  border-color: var(--primary-purple);
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.cert-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px auto;
  display: block;
}
.cert-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  line-height: 1.2;
}

/* Lead Consultation Form */
.lead-form-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-beige-light) 100%);
  border: 2px solid var(--primary-purple);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  max-width: 580px;
  margin: 0 auto;
}
.form-header {
  text-align: center;
  margin-bottom: 28px;
}
.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 10px;
}
.form-header p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-purple-dark);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 15px 18px;
  font-size: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.2s;
  font-family: var(--font-body);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(107, 33, 168, 0.15);
}
.form-disclaimer-check {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 26px;
  line-height: 1.5;
}
.form-disclaimer-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--primary-purple);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-submit {
  width: 100%;
  background: var(--accent-yellow);
  color: var(--primary-purple-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  padding: 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35);
  letter-spacing: 0.5px;
}
.btn-submit:hover {
  background: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 179, 8, 0.45);
}

/* Satellite Map Container */
.satellite-map-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  margin-top: 40px;
}
.satellite-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.satellite-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3b0764;
  color: #facc15;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pulsing-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.satellite-map-frame-box {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--primary-purple);
  box-shadow: var(--shadow-md);
}
.satellite-map-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.satellite-overlay-card {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(59, 7, 100, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  max-width: 340px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}
.satellite-overlay-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 6px;
}
.satellite-overlay-card p {
  font-size: 0.88rem;
  color: #f3e8ff;
  line-height: 1.5;
  margin-bottom: 12px;
}
.satellite-coords {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Interactive Quiz */
.quiz-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-purple-light);
  max-width: 820px;
  margin: 0 auto;
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--bg-beige);
}
.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-purple-dark);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}
.quiz-step-indicator {
  background: var(--primary-purple-light);
  color: var(--primary-purple);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 30px;
}
.quiz-question-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 24px;
  line-height: 1.4;
}
.quiz-options-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}
.quiz-option-btn {
  background: var(--bg-beige);
  border: 2px solid var(--border-color);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.quiz-option-btn:hover {
  border-color: var(--primary-purple);
  background: var(--primary-purple-light);
  color: var(--primary-purple-dark);
  transform: translateX(4px);
}
.quiz-result-box {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.quiz-result-score {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--primary-purple);
  margin: 15px 0;
}
.quiz-result-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 12px;
}
.quiz-result-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.article-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-purple);
}
.article-header-visual {
  height: 130px;
  background: linear-gradient(135deg, #581c87, #6b21a8);
  padding: 20px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  position: relative;
}
.article-header-visual.visual-nutrition {
  background: linear-gradient(135deg, #3b0764, #581c87);
}
.article-header-visual.visual-wellness {
  background: linear-gradient(135deg, #713f12, #ca8a04);
}
.article-icon-large {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3.2rem;
  opacity: 0.3;
}
.article-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.article-tag {
  color: var(--primary-purple);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.article-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.6;
}
.article-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-link {
  color: var(--primary-purple);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.article-link:hover {
  color: var(--primary-purple-hover);
}

/* Interactive Floating Quick-Help Bar (New Bottom Bar) */
.floating-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent-yellow);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(59, 7, 100, 0.12);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}
.floating-bar-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.floating-bar-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-purple-light);
  color: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.floating-bar-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.3;
}
.floating-bar-text strong {
  color: var(--primary-purple-dark);
  display: block;
}
.floating-bar-btn {
  background: var(--primary-purple);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.floating-bar-btn:hover {
  background: var(--primary-purple-hover);
  transform: translateY(-2px);
}

/* Success Pop-up Modal (Thank You Modal) */
.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 7, 100, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  padding: 20px;
}
.thank-you-popup-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border-top: 6px solid var(--accent-yellow);
  position: relative;
  animation: scaleIn 0.3s ease;
}
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-light);
  cursor: pointer;
}
.popup-icon-check {
  width: 72px;
  height: 72px;
  background: var(--accent-yellow-light);
  color: var(--accent-yellow-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 auto 20px auto;
}
.popup-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 12px;
}
.popup-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Footer */
.footer-main {
  background: #2e0854;
  color: #f3e8ff;
  padding: 65px 0 85px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #d8b4fe;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent-yellow);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #d8b4fe;
  flex-wrap: wrap;
  gap: 15px;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 7, 100, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 992px) {
  .hero-grid, .product-grid, .footer-grid, .routine-grid-detail {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .product-showcase, .quiz-card, .routine-card {
    padding: 28px 20px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 25px 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-purple);
    gap: 16px;
  }
  .main-nav.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Zdravotní disclaimer v patičce & Cookie lišta & Serverové stavy formuláře
   ========================================================================== */

/* Footer Health Disclaimer */
.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-left: 4px solid var(--accent-yellow);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 30px 0 25px 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #e9d5ff;
}
.footer-disclaimer-box strong {
  color: var(--accent-yellow);
}

/* Interactive Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46, 16, 101, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 18px 24px;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: none;
  animation: slideUp 0.35s ease;
  border-top: 2px solid var(--accent-yellow);
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #f3e8ff;
  flex: 1;
}
.cookie-banner-text a {
  color: var(--accent-yellow);
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
  color: var(--primary-purple-dark);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
}
.cookie-btn-essential {
  background: transparent;
  color: #e9d5ff;
  border: 1px solid rgba(233, 213, 255, 0.4);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn-essential:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.cookie-btn-reject {
  background: rgba(244, 63, 94, 0.15);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.5);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn-reject:hover {
  background: #e11d48;
  color: #ffffff;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  .cookie-btn-accept, .cookie-btn-essential {
    width: 100%;
    text-align: center;
  }
}

/* Form Alert Boxes (Server errors / success) */
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  display: none;
}
.form-alert.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #f87171;
  color: #991b1b;
  border-left: 5px solid #dc2626;
}
.form-alert.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  border-left: 5px solid #16a34a;
}

/* Submit button loading state */
.btn-submit.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
  color: transparent !important;
}
.btn-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 3px solid rgba(76, 29, 149, 0.3);
  border-top-color: var(--primary-purple-dark);
  border-radius: 50%;
  animation: btnSpinner 0.8s linear infinite;
}
@keyframes btnSpinner {
  to { transform: rotate(360deg); }
}

