/* FÉRFI EGÉSZSÉG KALAUZ - FUTURISTIC HUNGARIAN THEME CSS */
:root {
  --bg-dark: #0B0F17;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow-red: rgba(227, 29, 35, 0.4);
  --border-glow-green: rgba(16, 185, 129, 0.4);
  
  /* Hungary Flag Inspired Color Palette */
  --hu-red: #E31D23;
  --hu-red-neon: #FF3B44;
  --hu-white: #FFFFFF;
  --hu-green: #10B981;
  --hu-green-neon: #00E676;
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Rajdhani', 'Montserrat', -apple-system, sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

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

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

/* Background Cyber Grid Lines */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(rgba(227, 29, 35, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hu-white);
  font-weight: 700;
}

a {
  color: var(--hu-green-neon);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #34D399;
}

.text-gradient-hu {
  background: linear-gradient(135deg, var(--hu-red-neon) 0%, var(--hu-white) 50%, var(--hu-green-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-red {
  background: linear-gradient(135deg, #FF6B6B 0%, var(--hu-red-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #6EE7B7 0%, var(--hu-green-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hu-white);
  text-decoration: none;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--hu-red) 0%, var(--hu-green) 100%);
  border-radius: var(--radius-sm);
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(227, 29, 35, 0.4);
}

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

.nav-links a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hu-red), var(--hu-green));
  transition: width var(--transition-normal);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--hu-red) 0%, #B91C1C 100%);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(227, 29, 35, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(227, 29, 35, 0.8);
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--hu-red) 0%, #C51117 100%);
  color: white;
  box-shadow: 0 0 20px rgba(227, 29, 35, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF2E35 0%, var(--hu-red) 100%);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(227, 29, 35, 0.8);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--hu-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hu-green-neon);
  color: var(--hu-green-neon);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--hu-green) 0%, #059669 100%);
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-green:hover {
  background: linear-gradient(135deg, var(--hu-green-neon) 0%, var(--hu-green) 100%);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.7);
  color: white;
}

/* Section Styling */
section {
  padding: 80px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-glow-green);
  border-radius: var(--radius-pill);
  color: var(--hu-green-neon);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
  margin-bottom: 40px;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.glass-card.glow-red:hover {
  border-color: var(--border-glow-red);
  box-shadow: 0 0 25px rgba(227, 29, 35, 0.2);
}

.glass-card.glow-green:hover {
  border-color: var(--border-glow-green);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--hu-green-neon);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(227, 29, 35, 0.3);
  box-shadow: 0 0 40px rgba(227, 29, 35, 0.25);
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow-green);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-badge-overlay .badge-icon {
  font-size: 2rem;
}

.hero-badge-overlay .badge-title {
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.hero-badge-overlay .badge-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Calculator Section */
.calculator-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(11, 15, 23, 0.95) 100%);
  border: 1px solid var(--border-glow-green);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1rem;
  font-family: var(--font-family);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--hu-green-neon);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

select.form-control option {
  background-color: #111827;
  color: white;
}

.calc-result-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.result-meter {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(var(--hu-green-neon) 0% 75%, rgba(255, 255, 255, 0.1) 75% 100%);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.result-meter-inner {
  width: 130px;
  height: 130px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-score {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--hu-green-neon);
  line-height: 1;
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.result-details {
  text-align: left;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.result-detail-item span:first-child {
  color: var(--text-muted);
}

.result-detail-item span:last-child {
  font-weight: 700;
  color: var(--hu-white);
}

/* Product Section Highlights */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.product-image-container {
  position: relative;
  text-align: center;
}

.product-image-container img {
  max-width: 100%;
  max-height: 480px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow-green);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.2);
}

.product-badge-pill {
  display: inline-block;
  background: rgba(227, 29, 35, 0.2);
  border: 1px solid var(--hu-red-neon);
  color: var(--hu-red-neon);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.ingredient-list {
  list-style: none;
  margin: 24px 0;
}

.ingredient-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.ingredient-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hu-green-neon);
  font-weight: 900;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-normal);
}

.cert-card:hover {
  border-color: var(--hu-green-neon);
  background: rgba(16, 185, 129, 0.05);
  transform: translateY(-4px);
}

.cert-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.15);
  color: var(--hu-green-neon);
  border-radius: 50%;
  font-size: 1.6rem;
}

.cert-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* Blog / Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--hu-green-neon);
  margin-bottom: 10px;
}

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

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Lead Order Page Form */
.order-box {
  max-width: 650px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 15, 23, 0.98) 100%);
  border: 2px solid var(--hu-red);
  box-shadow: 0 0 50px rgba(227, 29, 35, 0.3);
  border-radius: var(--radius-lg);
  padding: 45px;
}

.order-price-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(227, 29, 35, 0.1);
  border: 1px solid var(--border-glow-red);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
}

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

.new-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--hu-green-neon);
  font-family: var(--font-heading);
}

.form-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Thank You Page */
.thank-you-box {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
}

.thank-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px auto;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--hu-green-neon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--hu-green-neon);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.order-id-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--hu-green-neon);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--hu-green-neon);
  margin: 20px 0;
}

/* Legal Pages Styling */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 20px;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 28px 0 12px 0;
  color: var(--hu-green-neon);
}

.legal-content p, .legal-content ul {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Disclaimer Box */
.disclaimer-box {
  background: rgba(227, 29, 35, 0.08);
  border: 1px solid rgba(227, 29, 35, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 30px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.disclaimer-box strong {
  color: var(--hu-white);
}

/* Footer */
footer {
  background: #070A0F;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--hu-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--hu-green-neon);
}

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

/* Cookie Banner - Google Consent Mode v2 style */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: rgba(17, 24, 39, 0.98);
  border: 1px solid var(--hu-green-neon);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 9999;
  backdrop-filter: blur(16px);
  display: none; /* Controlled by JS */
}

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

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

.cookie-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--hu-white);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  font-weight: 700;
}

.cookie-btn-accept {
  background: var(--hu-green-neon);
  color: #000;
}

.cookie-btn-settings {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .calc-grid, .product-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B0F17;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.mobile-open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
