/* ===== DESIGN TOKENS ===== */
:root {
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD23F 100%);
  --gradient-secondary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --gradient-text: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);

  --bg-primary: #0A0E27;
  --bg-secondary: #ffffff;
  --bg-soft: #F8F7F4;
  --bg-card-dark: rgba(255, 255, 255, 0.05);
  --bg-card-glass: rgba(255, 255, 255, 0.07);

  --text-on-dark: #F5F5F7;
  --text-on-light: #1A1D2E;
  --text-muted: #6B7280;
  --text-muted-dark: rgba(245, 245, 247, 0.6);

  --accent-coral: #FF6B35;
  --accent-gold: #FFD23F;
  --accent-purple: #764BA2;
  --accent-blue: #667EEA;

  --border-dark: rgba(255, 255, 255, 0.1);
  --border-light: rgba(26, 29, 46, 0.1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.35);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  --section-padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 80px);
  --content-max: 1200px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== NOISE TEXTURE OVERLAY ===== */
.noise-overlay {
  position: relative;
  isolation: isolate;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 1;
}
.noise-overlay > * { position: relative; z-index: 2; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SCROLL FADE-IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-label--dark {
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent-coral);
  border: 1px solid rgba(255, 107, 53, 0.25);
}
.section-label--light {
  background: rgba(26, 29, 46, 0.08);
  color: var(--text-on-light);
  border: 1px solid rgba(26, 29, 46, 0.12);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #1A1D2E;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}
.btn-secondary:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

.btn-primary-dark {
  background: var(--gradient-primary);
  color: #1A1D2E;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}
.btn-primary-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.45);
}
.btn-primary-dark:focus-visible {
  outline: 3px solid var(--accent-coral);
  outline-offset: 3px;
}

/* ===== PULSING GLOW ===== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4), 0 0 0 0 rgba(255, 107, 53, 0); }
  50% { box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4), 0 0 0 10px rgba(255, 107, 53, 0); }
}
.btn-primary { animation: pulse-glow 3s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent-coral);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}
.navbar.scrolled {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}
.navbar-logo {
  font-family: var(--font-display);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 58% 32%, #FFB84A 0%, #F08528 45%, #C05010 100%);
  box-shadow: 0 0 18px rgba(240, 120, 30, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.navbar-logo-icon svg {
  width: 22px;
  height: 22px;
}
.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.navbar-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.navbar-logo-lab {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #FFB830;
  text-transform: uppercase;
}
.navbar-cta {
  padding: 10px 22px;
  font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 35%, rgba(255, 107, 53, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 65%, rgba(102, 126, 234, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 210, 63, 0.1) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-coral);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: 28px;
  max-width: 860px;
}
.hero-title em {
  font-style: normal;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-microinfo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}
.hero-microinfo-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-microinfo-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
  position: relative;
  overflow: hidden;
}
.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-coral);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===== KINEK SZÓL ===== */
.kinek-szol {
  background: var(--bg-soft);
  padding: var(--section-padding);
}
.kinek-szol-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-title--dark { color: var(--text-on-light); }
.section-title--light { color: var(--text-on-dark); }

.kinek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.kinek-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}
.kinek-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.kinek-card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.kinek-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: 14px;
  line-height: 1.3;
}
.kinek-card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== MIT TANULSZ ===== */
.mit-tanulsz {
  background: var(--bg-primary);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}
.mit-tanulsz-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(118, 75, 162, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.mit-tanulsz-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.mit-tanulsz-subtitle {
  font-size: 1rem;
  color: var(--text-muted-dark);
  max-width: 580px;
  line-height: 1.65;
  margin-top: 16px;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.topic-card {
  background: var(--bg-card-glass);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px 28px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  cursor: default;
}
.topic-card:hover {
  transform: translateY(-4px) rotate(0.3deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
}
.topic-card-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.topic-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.topic-card-body {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
}

/* ===== A NAP VÉGÉRE ===== */
.nap-vegere {
  background: var(--bg-secondary);
  padding: var(--section-padding);
}
.nap-vegere-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.nap-vegere-content .section-title { margin-bottom: 36px; }
.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-on-light);
  line-height: 1.55;
}
.outcome-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.outcome-check svg { width: 14px; height: 14px; color: #1A1D2E; }

.nap-vegere-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.day-badge {
  text-align: center;
  position: relative;
}
.day-badge-main {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.day-badge-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-on-light);
  opacity: 0.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== RÉSZLETEK ===== */
.reszletek {
  background: var(--bg-soft);
  padding: var(--section-padding);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(26, 29, 46, 0.07);
}
.reszletek-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.info-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.info-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card-icon svg { width: 22px; height: 22px; color: var(--accent-coral); }
.info-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.info-card-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-light);
  line-height: 1.4;
}

/* ===== RÓLAM ===== */
.rolam {
  background: var(--bg-primary);
  padding: var(--section-padding);
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.rolam::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(255, 107, 53, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 55%);
  pointer-events: none;
}
.rolam-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.rolam-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.rolam-photo {
  width: clamp(160px, 20vw, 220px);
  height: clamp(160px, 20vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rolam-photo-placeholder {
  width: clamp(160px, 20vw, 220px);
  height: clamp(160px, 20vw, 220px);
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}
.rolam-photo-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}
.rolam-photo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: 0;
  opacity: 0.6;
}
.rolam-content-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}
.rolam-content-tagline {
  font-size: 1rem;
  color: var(--accent-coral);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}
.rolam-content-bio {
  font-size: 1rem;
  color: var(--text-muted-dark);
  line-height: 1.75;
  max-width: 560px;
}
.rolam-content-bio p + p { margin-top: 12px; }

/* ===== FORM SECTION ===== */
.form-section {
  background: var(--bg-primary);
  padding: var(--section-padding);
  padding-top: clamp(40px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.form-section-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 55%);
  pointer-events: none;
}
.form-section-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.form-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  margin-top: 16px;
  margin-bottom: 44px;
  line-height: 1.65;
}

#ghl-form-container {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  text-align: left;
  min-height: 520px;
}

.ghl-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: white;
  padding: 44px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease;
}
.ghl-skeleton.hidden {
  display: none;
}
.skeleton-line {
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.skeleton-line--short { height: 16px; width: 40%; }
.skeleton-line--medium { height: 16px; width: 70%; }
.skeleton-line--full { height: 48px; width: 100%; border-radius: 12px; }
.skeleton-line--btn { height: 48px; width: 60%; border-radius: 999px; background: linear-gradient(90deg, #FF6B3520 25%, #FF6B3535 50%, #FF6B3520 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-secondary);
  padding: var(--section-padding);
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-light);
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-on-light);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--accent-coral); }
.faq-question:focus-visible { outline: 2px solid var(--accent-coral); outline-offset: 4px; border-radius: 4px; }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  color: var(--text-muted);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform var(--transition-base); }
.faq-item.open .faq-icon { background: var(--gradient-primary); border-color: transparent; color: #1A1D2E; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ===== FOOTER ===== */
.footer {
  background: #060917;
  padding: 56px clamp(20px, 5vw, 80px) 40px;
  border-top: 1px solid var(--border-dark);
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}
.footer-brand-tax {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
}
.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: 6px;
}
.footer-contact a:hover { color: var(--accent-coral); }
.footer-contact a:focus-visible { outline: 2px solid var(--accent-coral); border-radius: 2px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-nav a:focus-visible { outline: 2px solid var(--accent-coral); border-radius: 2px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(245, 245, 247, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .topics-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-cta { display: none; }

  /* Hero */
  .hero { padding: 100px 20px 64px; }
  .hero-subtitle { margin-bottom: 32px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Topics */
  .topics-grid { grid-template-columns: 1fr; }

  /* Nap végére */
  .nap-vegere-inner { grid-template-columns: 1fr; }
  .nap-vegere-visual { order: -1; padding-bottom: 8px; }

  /* Rólam */
  .rolam-inner { grid-template-columns: 1fr; }
  .rolam-photo-wrap { margin: 0 auto; }
  .rolam-photo-placeholder { margin: 0 auto; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 16px; }

  /* Scroll indicator */
  .scroll-indicator { display: none; }

  /* FAQ válaszok – hosszabb szöveghez */
  .faq-item.open .faq-answer { max-height: 600px; }
}

@media (max-width: 480px) {
  /* Section paddings */
  :root { --section-padding: 56px 20px; }

  /* Kinek grid */
  .kinek-grid { grid-template-columns: 1fr; }
  .kinek-card { padding: 28px 24px; }

  /* Topics */
  .topic-card { padding: 22px 20px 26px; }

  /* Info grid */
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 22px 20px; }

  /* Hero: elválasztó pontokat elrejti column layoutban */
  .hero-microinfo { flex-direction: column; gap: 10px; }
  .hero-microinfo li[aria-hidden="true"] { display: none; }

  /* Dekoratív „01 nap" badge elrejtése kis képernyőn */
  .nap-vegere-visual { display: none; }

  /* Form container border-radius kisebb mobilon */
  #ghl-form-container { border-radius: var(--radius-lg); }

  /* Form section belső elem kisebb padding */
  .form-section-inner { padding: 0 4px; }

  /* Rolam */
  .rolam { padding: 40px 20px; }
  .rolam-content-bio { font-size: 0.95rem; }
}

/* ===== TOUCH PERFORMANCE ===== */
.btn,
.faq-question,
.kinek-card,
.topic-card,
.info-card {
  touch-action: manipulation;
}
