/* ==========================================================================
   FÉRFI ÉLETMÓD - FUTURISTIC BLACK & SILVER DESIGN SYSTEM
   ========================================================================== */

:root {
  --bg-dark: #07070a;
  --bg-card: rgba(16, 16, 22, 0.85);
  --bg-card-hover: rgba(26, 26, 36, 0.95);
  --border-silver: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(255, 255, 255, 0.35);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-silver: #cbd5e0;
  --accent-glow: #ffffff;
  --accent-gradient: linear-gradient(135deg, #ffffff 0%, #a1a1aa 50%, #52525b 100%);
  --accent-button: linear-gradient(135deg, #27272a 0%, #09090b 100%);
  --font-heading: 'Syne', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(160, 174, 192, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Futuristic Background Tech Grid */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-silver);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

.nav-cta-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta-btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-silver);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e0 100%);
  color: #050508;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
  background: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-silver);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   HERO & SECTION LAYOUTS
   ========================================================================== */

.hero-section {
  padding: 100px 0 60px;
  position: relative;
}

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

.hero-content h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-image-wrapper {
  position: relative;
}

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

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.95);
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(7,7,10,0.95) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trainer-title {
  font-weight: 700;
  font-size: 18px;
}

.trainer-sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* HUD Stat Badges */
.hud-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.hud-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.hud-number {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
}

.hud-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */

.section {
  padding: 80px 0;
  position: relative;
}

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

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  margin: 16px 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR WIDGET
   ========================================================================== */

.calc-widget {
  background: rgba(13, 13, 18, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-glow);
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-silver);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #0d0d12;
  color: #fff;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px stroke rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.score-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.score-val {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--font-heading);
}

.score-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.macro-split {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.macro-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

.macro-val {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.macro-name {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   RECIPES & ARTICLES
   ========================================================================== */

.recipe-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.recipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-4px);
  border-color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.recipe-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

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

.recipe-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.recipe-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.recipe-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-silver);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

/* ==========================================================================
   CERTIFICATES LIGHTBOX GRID
   ========================================================================== */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: #fff;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.cert-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 14px;
}

.cert-card h4 {
  font-size: 16px;
  font-weight: 700;
}

/* Modal Lightbox */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.modal-content {
  background: #0d0d12;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 30px;
  position: relative;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ==========================================================================
   DEDICATED LEAD FORM (RENDELES.HTML)
   ========================================================================== */

.order-box {
  background: rgba(14, 14, 20, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.order-header {
  text-align: center;
  margin-bottom: 36px;
}

.order-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
}

.price-tag {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 16px 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lead-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  color: #fff;
  font-size: 16px;
  transition: var(--transition);
}

.lead-input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 3px;
  accent-color: #fff;
}

/* ==========================================================================
   COOKIE BANNER (GDPR)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(15, 15, 22, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  z-index: 900;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 13px;
  color: var(--text-silver);
}

.cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER & DISCLAIMER
   ========================================================================== */

.site-footer {
  background: #040406;
  border-top: 1px solid var(--border-silver);
  padding: 60px 0 30px;
  margin-top: 100px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px stroke rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 30px;
  font-size: 12px;
  color: #8a99ad;
  line-height: 1.6;
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .calc-grid, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 34px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
