:root {
  --cf-bg-main: #111111;
  --cf-bg-surface: #222222;
  --cf-color-accent: #DEB887;
  --cf-text-primary: #FFFFFF;
  --cf-text-muted: #8A8A8A;
  --cf-border-color: rgba(255,255,255,0.05);
  --cf-font-main: 'Montserrat', 'Poppins', Inter, sans-serif;
  --cf-radius-md: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cf-font-main); font-size: 14px; color: var(--cf-text-primary); background: var(--cf-bg-main); line-height: 1.6; }
a { color: var(--cf-color-accent); text-decoration: none; }
a:hover { opacity: 0.9; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { color: var(--cf-text-primary); font-weight: 600; margin: 0 0 0.75em; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.cf-skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  padding: 10px 16px;
  background: var(--cf-bg-surface);
  color: var(--cf-color-accent);
  z-index: 1000;
  transition: top 0.3s;
}
.cf-skip-link:focus { top: 10px; outline: 2px solid var(--cf-color-accent); }

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

.cf-header {
  background: var(--cf-bg-main);
  border-bottom: 1px solid var(--cf-border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.cf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.cf-logo.cf-logo-text { font-size: 1.25rem; font-weight: 700; color: var(--cf-color-accent); }
.cf-nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; font-weight: 600; }
.cf-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.cf-burger-line { width: 24px; height: 2px; background: var(--cf-color-accent); }

.cf-header-actions { display: flex; gap: 12px; }
.cf-btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--cf-radius-md);
  cursor: pointer;
  transition: opacity 0.2s;
}
.cf-btn-primary { background: var(--cf-color-accent); color: var(--cf-bg-main); border: none; }
.cf-btn-outline { background: transparent; color: var(--cf-color-accent); border: 2px solid var(--cf-color-accent); }
.cf-btn-lg { padding: 14px 32px; font-size: 14px; }

.cf-breadcrumbs { padding: 12px 0; background: var(--cf-bg-main); }
.cf-breadcrumb-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 8px; font-size: 13px; }
.cf-breadcrumb-list a { color: var(--cf-text-muted); }
.cf-breadcrumb-list a:hover { color: var(--cf-color-accent); }
.cf-breadcrumb-sep { color: var(--cf-text-muted); }

.cf-hero { position: relative; margin-bottom: 32px; min-height: 300px; }
.cf-hero-picture { display: block; }
.cf-hero-img { width: 100%; height: auto; min-height: 300px; object-fit: cover; display: block; }
.cf-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.cf-hero-cta { text-align: center; padding: 24px; max-width: 600px; }
.cf-hero-title { color: #fff; margin-bottom: 12px; }
.cf-hero-subtitle { color: rgba(255,255,255,0.95); margin-bottom: 20px; font-size: 1rem; }
.cf-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.cf-slots { padding: 40px 0; }
.cf-slots-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.cf-slots-title { margin: 0; }
.cf-view-all { font-weight: 600; }
.cf-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf-slot-card { margin: 0; }
.cf-slot-link { display: block; }
.cf-slot-img-wrap { overflow: hidden; border-radius: 12px; aspect-ratio: 1; max-width: 150px; margin: 0 auto; background: #1a1a1a; }
.cf-slot-img-wrap img { width: 100%; height: 100%; object-fit: contain; }

.cf-content { padding: 40px 0 60px; }
.cf-article { max-width: 800px; }
.cf-article p { margin: 0 0 1em; }
.cf-article h3 { margin-top: 1.5em; }

.cf-table-wrap { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; max-width: 100%; }
.cf-data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cf-bg-surface);
  border-radius: var(--cf-radius-md);
  overflow: hidden;
  min-width: 300px;
}
.cf-data-table th, .cf-data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--cf-border-color); }
.cf-data-table th { background: rgba(0,0,0,0.3); color: var(--cf-color-accent); font-weight: 600; }

.cf-cta-block { margin-top: 40px; padding: 32px; background: var(--cf-bg-surface); border-radius: var(--cf-radius-md); text-align: center; }

.cf-footer { background: var(--cf-bg-surface); border-top: 1px solid var(--cf-border-color); padding: 40px 0 24px; }
.cf-footer-payments { margin-bottom: 24px; }
.cf-footer-payments-title { font-size: 14px; margin-bottom: 16px; color: var(--cf-color-accent); }
.cf-footer-pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.cf-footer-pay-logos img { height: 32px; width: auto; max-width: 60px; object-fit: contain; opacity: 0.9; }
.cf-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--cf-border-color); }
.cf-age-badge { background: var(--cf-color-accent); color: var(--cf-bg-main); padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 12px; }
.cf-copyright { margin: 0; font-size: 12px; color: var(--cf-text-muted); }

.cf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .cf-article { overflow-x: hidden; }
  .cf-table-wrap { min-width: 0; width: 100%; overflow-x: visible; }
  .cf-data-table { min-width: 0; width: 100%; display: block; }
  .cf-data-table thead { display: none; }
  .cf-data-table tbody tr:first-child { display: none; }
  .cf-data-table tbody tr { display: block; margin-bottom: 20px; border: 1px solid var(--cf-border-color); border-radius: 8px; overflow: hidden; background: var(--cf-bg-surface); }
  .cf-data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--cf-border-color);
  }
  .cf-data-table td:last-child { border-bottom: none; }
  .cf-data-table td p { margin: 0; }
  .cf-data-table td::before { font-weight: 600; color: var(--cf-color-accent); flex-shrink: 0; }
  .cf-data-table td:nth-child(1)::before { content: "Funkció"; }
  .cf-data-table td:nth-child(2)::before { content: "Megoldás"; }
  .cf-data-table td:nth-child(3)::before { content: "Előny"; }
  .cf-data-table td > * { text-align: right; min-width: 0; }

  html, body { overflow-x: hidden; max-width: 100vw; }
  .cf-burger { display: flex; }
  .cf-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cf-bg-surface);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .cf-nav-list.cf-open { display: flex; }
  .cf-header-actions .cf-btn-outline { display: none; }
  html, body { overflow-x: hidden; max-width: 100vw; }
}

@media (min-width: 769px) {
  .cf-slots-grid { grid-template-columns: repeat(3, 1fr); }
}
