/* FloraPura Hungary - Modern Healthcare & Wellness Design System */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-dark: #115e59;
  --primary-light: #ccfbf1;
  --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  --secondary: #0284c7;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --success: #16a34a;
  --warning: #ea580c;
  --danger: #dc2626;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-accent: #f0fdfa;
  --border-light: #e2e8f0;
  --border-focus: #0d9488;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

/* Top Editorial Advisory Banner */
.top-advisory-bar {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.82rem;
  padding: 8px 16px;
  text-align: center;
}
.top-advisory-bar a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 600;
}

/* Header & Nav */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}
.logo span {
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-desktop a:hover {
  color: var(--primary);
}
.nav-desktop a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.mobile-nav {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 20px;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid #f1f5f9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
  transform: translateY(-1px);
}
.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary-light);
}
.btn-accent {
  background: var(--accent);
  color: #ffffff;
}
.btn-accent:hover {
  background: #d97706;
  color: #ffffff;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.badge-teal {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.badge-amber {
  background: var(--accent-light);
  color: #92400e;
}
.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-title span {
  color: var(--primary);
  background: linear-gradient(120deg, #0d9488, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 28px;
}
.hero-features {
  list-style: none;
  margin-bottom: 32px;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}
.hero-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}
.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  text-align: center;
}
.hero-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-accent);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.trust-text {
  text-align: left;
}
.trust-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.trust-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Quiz Section */
.quiz-section {
  padding: 70px 0;
  background: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.section-title {
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.quiz-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.quiz-progress-bar {
  background: #e2e8f0;
  height: 8px;
  border-radius: 9999px;
  margin-bottom: 30px;
  overflow: hidden;
}
.quiz-progress-fill {
  background: var(--primary-gradient);
  height: 100%;
  width: 20%;
  transition: width 0.4s ease;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}
.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.quiz-step.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.question-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #ffffff;
  transition: var(--transition);
  user-select: none;
}
.option-card:hover {
  border-color: var(--primary);
  background: var(--bg-accent);
  transform: translateX(4px);
}
.option-card.selected {
  border-color: var(--primary);
  background: #ccfbf1;
  font-weight: 600;
}
.option-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.option-card.selected .option-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}
.option-label {
  font-size: 1rem;
  color: var(--text-dark);
  flex-grow: 1;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

/* Quiz Result Card */
.result-card {
  display: none;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
.result-card.active {
  display: block;
}
.result-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.result-badge-low {
  background: #dcfce7;
  color: #15803d;
}
.result-badge-medium {
  background: #fef3c7;
  color: #b45309;
}
.result-badge-high {
  background: #fee2e2;
  color: #b91c1c;
}
.result-score-box {
  background: var(--bg-accent);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.result-percentage {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.result-score-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.result-explanation {
  font-size: 0.98rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

.pdf-download-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 30px;
  text-align: center;
}
.pdf-icon {
  font-size: 3rem;
  color: #dc2626;
  margin-bottom: 12px;
}
.pdf-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.pdf-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pdf-features-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #166534;
}

/* Info Cards / Pillars */
.info-section {
  padding: 80px 0;
  background: var(--bg-page);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-title {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.card-text {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Herbs Section */
.herbs-section {
  padding: 80px 0;
  background: #ffffff;
}
.herb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.herb-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.herb-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.herb-title {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.herb-action {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.herb-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
  background: #f8fafc;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  user-select: none;
  transition: var(--transition);
}
.accordion-header:hover {
  background: #f8fafc;
}
.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
  font-weight: bold;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}
.accordion-item.active .accordion-content {
  display: block;
}

/* Testimonials / Social Proof */
.reviews-section {
  padding: 80px 0;
  background: #ffffff;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  color: #f59e0b;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.review-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.author-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Advisory Medical Disclaimer Box */
.medical-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.medical-box-icon {
  font-size: 1.6rem;
  color: #d97706;
  flex-shrink: 0;
}
.medical-box-content p {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: #92400e;
}
.medical-box-content strong {
  color: #78350f;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  padding: 24px;
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cookie-text {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 16px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Articles Layout */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.article-img-box {
  height: 200px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
}
.article-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 {
  color: #ffffff;
  margin-bottom: 12px;
}
.page-banner p {
  color: #ccfbf1;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Content Page */
.legal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}
.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.legal-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.legal-content ul, .legal-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .herb-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .quiz-wrapper { padding: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-actions { flex-direction: column; }
}
