/* ----------------------------------------------------
   FÉRFI TUDÁS - Stíluslap (Google Ads & UX Optimális)
   Domináns színek: Kellemes kék árnyalatok (#0a2540, #1565c0, #e3f2fd)
---------------------------------------------------- */

:root {
  --primary-color: #1565c0;
  --primary-dark: #0a2540;
  --primary-light: #e3f2fd;
  --secondary-color: #00897b;
  --accent-gold: #f57f17;
  --text-color: #1c2a38;
  --text-muted: #546e7a;
  --bg-light: #f8fbff;
  --bg-white: #ffffff;
  --border-color: #d0e1f9;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 8px 30px rgba(10, 37, 64, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

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

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background-color: var(--primary-dark);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  background: var(--secondary-color);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* HEADER & NAVIGATION */
.site-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none !important;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 2px 6px rgba(21, 101, 192, 0.3);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  background-color: var(--primary-light);
  text-decoration: none;
}

.nav-btn {
  background-color: var(--primary-color);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.25);
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.3);
  text-decoration: none;
}

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

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, #eef6ff 0%, #d8ebff 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.35);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark) !important;
  border: 2px solid var(--primary-color);
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff !important;
  text-decoration: none;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.hero-badge-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.hero-badge-title {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
}

/* SECTION STYLES */
.section {
  padding: 70px 0;
}

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

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

.section-bg-blue {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #103b66 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-bg-blue .section-subtitle {
  color: #81d4fa;
}

.section-title {
  font-size: 2.1rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-bg-blue .section-title {
  color: #ffffff;
}

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

.section-bg-blue .section-desc {
  color: #b0bec5;
}

/* STORY / ABOUT PREVIEW SECTION */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-content h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.story-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.quote-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--primary-dark);
  font-weight: 500;
}

/* BLOG ARTICLES CARDS */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  background-color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--primary-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

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

.blog-card-link {
  font-weight: 700;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* CERTIFICATES & TRUST */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-white);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-3px);
}

.cert-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px auto;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid var(--border-color);
}

.cert-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* OFFER / PRODUCT PAGE & LEAD FORM STYLES */
.offer-section {
  padding: 60px 0;
}

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

.offer-gallery {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.offer-gallery img {
  border-radius: var(--radius-md);
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
}

.offer-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.offer-pill {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
}

.lead-form-card {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-color);
}

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

.form-header h2 {
  font-size: 1.7rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background-color: #fafcfe;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-checkbox input {
  margin-top: 3px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.35);
  transition: all 0.25s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.4);
}

/* FOOTER & DISCLAIMERS */
.site-footer {
  background-color: var(--primary-dark);
  color: #eceff1;
  padding-top: 60px;
  padding-bottom: 30px;
  margin-top: auto;
}

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

.footer-brand h4 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #b0bec5;
  margin-bottom: 16px;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: #b0bec5;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.medical-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: #90a4ae;
  margin-bottom: 30px;
  line-height: 1.5;
}

.medical-disclaimer-box strong {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #78909c;
  flex-wrap: wrap;
  gap: 16px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 20px 24px;
  z-index: 9999;
  border: 1px solid var(--border-color);
  display: none;
  animation: slideUp 0.4s ease forwards;
}

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

.cookie-content h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cookie-accept {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-cookie-decline {
  background-color: #eceff1;
  color: var(--text-color);
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

/* SUCCESS MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px auto;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.modal-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-grid, .story-grid, .offer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-list.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 1.9rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
