:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --bg-card: rgba(255, 255, 255, 0.06);
  --text: #f5f7fb;
  --muted: #b8c0d4;
  --accent: #ff5a5f;
  --accent-2: #ff757a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 95, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 117, 122, 0.10), transparent 24%),
    linear-gradient(180deg, #121620 0%, #0e111a 40%, #050608 100%);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  z-index: -1;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.03em; }
p, li, a, span { font-family: 'Inter', sans-serif; }
img { max-width: 100%; display: block; }

.container { width: min(1100px, 92%); margin: 0 auto; }

body, .site-header, h1, h2, h3, p, li, span, a, .info-strip {
  transition: background-color 0.5s ease, background 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.why-box *, .situation-box *, .why-us-card *, .faq-item *, .package-card *, .visual-card *, .audit-box *, .portfolio-card * {
  transition: color 0.5s ease;
}

/* Görgetési Sáv */
.scroll-progress { 
  position: fixed; 
  top: 0; 
  left: 0; 
  height: 4px; 
  background: var(--accent);
  width: 0%; 
  z-index: 9999; 
  transition: width 0.1s ease-out;
}

/* Header és Menük */
.site-header {
  background: rgba(10, 12, 18, 0.85); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo-wrap a { text-decoration: none; }
.logo { height: 48px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25)); }
.logo-desktop { display: block; }
.logo-mobile { display: none; }

.menu { display: flex; gap: 24px; align-items: center; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: rgba(255,255,255,0.88); font-weight: 600; position: relative; }
.menu a:hover { color: #fff; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.25s ease; }
.menu a:hover::after { width: 100%; }

/* Header Gombok és Nyelvválasztó */
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-selector {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0 10px;
  height: 44px;
  border-radius: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: 0.3s;
}
.lang-selector:hover { background: rgba(255, 255, 255, 0.2); }

.theme-toggle { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.theme-toggle:hover { background: rgba(255, 255, 255, 0.2); }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Gombok */
.btn {
  display: inline-block; text-decoration: none; padding: 14px 22px; border-radius: 999px;
  font-weight: 700; border: none; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; box-shadow: 0 14px 30px rgba(255, 90, 95, 0.28); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-full { width: 100%; display: block; }

.btn-glow { animation: btnGlow 3s infinite; }
@keyframes btnGlow {
  0% { box-shadow: 0 0 0px rgba(255, 90, 95, 0.4); }
  50% { box-shadow: 0 0 20px rgba(255, 90, 95, 0.7); }
  100% { box-shadow: 0 0 0px rgba(255, 90, 95, 0.4); }
}

/* Általános Szekciók */
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; margin: 0 0 18px; color: #fff; }
.hero-subtitle { font-size: 1.25rem; line-height: 1.4; margin-bottom: 30px; color: var(--muted); max-width: 500px; }

.hero-visual { position: relative; min-height: 560px; }
.hero-image { width: 100%; height: 560px; object-fit: cover; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); animation: heroFloat 7s infinite ease-in-out; }
.floating-card { position: absolute; width: 180px; background: rgba(12, 14, 20, 0.74); border-radius: 14px; padding: 4px; border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(16px); box-shadow: 0 20px 45px rgba(0,0,0,0.32); animation: floatSlow 6s infinite ease-in-out; }
.floating-card img { border-radius: 10px; }
.card-top { top: 10px; left: 10px; }
.card-middle { top: 270px; left: 0; animation-delay: 2s; }
.card-bottom { top: 320px; right: -30px; animation-delay: 4s; }

.info-strip { background: linear-gradient(90deg, rgba(255, 90, 95, 0.16), rgba(255, 117, 122, 0.14)); padding: 20px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(12px); }
.info-strip p { font-size: 1.1rem; line-height: 1.5; margin: 0; }
.info-strip strong { color: #fff; }

.packages, .situations-section, .why-us-section, .faq-section, .audit-section, .visual-section, .portfolio-section { padding: 80px 0; }
.situations-section, .audit-section { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)); }

h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 18px; color: #fff; }
h2::after { content: ""; display: block; width: 84px; height: 4px; margin: 16px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.section-heading { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-heading p { margin: 16px 0 0; color: var(--muted); font-size: 1.1rem; }

/* Közös Kártya Stílusok */
.situation-box, .why-us-card, .faq-item, .package-card, .visual-card, .portfolio-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10); box-shadow: var(--shadow); backdrop-filter: blur(12px);
  color: var(--text); border-radius: 22px; padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.situation-box:hover, .why-us-card:hover, .visual-card:hover, .portfolio-card:hover {
  transform: translateY(-8px); border-color: rgba(255, 117, 122, 0.4); box-shadow: 0 24px 60px rgba(0,0,0,0.38); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
}
.situation-box h3, .why-us-card h3, .visual-card h3 { margin: 0 0 10px; font-size: 1.25rem; color: #fff; }
.situation-box p, .why-us-card p, .visual-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Ikonok */
.visual-icon, .why-us-icon { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 28px rgba(255, 90, 95, 0.28); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; font-size: 1.2rem; }
.card-header-flex { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-header-flex h3 { margin: 0; }

/* Referencia */
.portfolio-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.portfolio-img-placeholder { height: 200px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem; font-style: italic; border-bottom: 1px solid rgba(255,255,255,0.1); }
.portfolio-content { padding: 24px; }
.portfolio-content h3 { margin: 0 0 10px; font-size: 1.25rem; color: #fff; }
.portfolio-content p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Asztali Gridek */
.situations-grid, .why-us-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.visual-grid, .package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }

/* ====== CSOMAGOK DIZÁJN ====== */
.package-card { text-decoration: none; position: relative; display: flex; flex-direction: column; padding: 40px 30px; }
.package-card h3 { font-size: 2.2rem; font-weight: 800; margin-top: 0; color: #fff; }
.package-card h3 span { font-weight: 600; display: block; font-size: 1.1rem; color: var(--accent); margin-top: 5px; text-transform: uppercase; letter-spacing: 1px; }
.package-lead { min-height: 48px; color: var(--muted); margin-bottom: 25px;}
.package-card ul { padding-left: 0; line-height: 1.8; color: var(--text); flex-grow: 1; margin: 0 0 25px 0; list-style: none; }
.package-card li { margin-bottom: 10px; }
.package-card li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: bold; }
.price { font-weight: 800; font-size: 1.5rem; margin-top: auto; color: #fff; margin-bottom: 20px;}

.package-card.popular {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(255, 90, 95, 0.12), rgba(255, 255, 255, 0.03));
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 25px 60px rgba(255, 90, 95, 0.2);
}
.popular-badge {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white;
  padding: 8px 24px; border-radius: 30px; font-weight: 800; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(255, 90, 95, 0.4);
}

/* FAQ */
.faq-accordion { max-width: 800px; margin: 40px auto 0; display: grid; gap: 16px; }
.faq-item { border-radius: 22px; overflow: hidden; padding: 0; }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px; font-size: 1.15rem; font-weight: 700; color: #fff; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: #ff8a65; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary ~ * { animation: faqSlideDown 0.4s ease-out forwards; }
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { margin: 0; color: var(--muted); line-height: 1.7; }
@keyframes faqSlideDown {
  0% { opacity: 0; max-height: 0; padding-bottom: 0; transform: translateY(-10px); }
  100% { opacity: 1; max-height: 500px; padding-bottom: 24px; transform: translateY(0); }
}

/* Kapcsolat / Audit */
.styled-audit { padding: 50px 40px; background: radial-gradient(circle at 90% 10%, rgba(255, 90, 95, 0.25), transparent 40%), linear-gradient(135deg, #111827, #1f2937 60%, #0f1117); border: 1px solid rgba(255, 90, 95, 0.3); border-radius: 28px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; }
.audit-text h2 { text-align: left; background: linear-gradient(90deg, #ffffff, #ffd6d8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.audit-text p { text-align: left; color: rgba(255, 255, 255, 0.95); font-size: 1.1rem; }
.audit-list { list-style: none; padding: 0; margin: 0 0 24px; }
.audit-list li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; margin-bottom: 12px; color: #fff;}
.audit-list i { color: #ff5a5f; }
.audit-action { text-align: left; }

/* LÁBLÉC (FOOTER) */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 30px 0; background: rgba(10, 12, 18, 0.4); backdrop-filter: blur(10px); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-copyright { color: var(--muted); font-size: 0.95rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }

/* UI Elemek mobil alapállapot */
.mobile-menu, .menu-overlay { display: none; }
.mobile-sticky-cta {
  position: fixed; bottom: -100px; left: 0; width: 100%; padding: 15px;
  background: rgba(11, 13, 18, 0.9); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: none;
}
.mobile-sticky-cta.visible { transform: translateY(-100px); bottom: 0; }

/* Animációk */
@keyframes floatSlow { 0% { transform: translate(0, 0); } 50% { transform: translate(6px, -12px); } 100% { transform: translate(0, 0); } }
@keyframes heroFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ===== VILÁGOS TÉMA (CSAK ASZTALON - 961px felett!) ===== */
@media (min-width: 961px) {
  body.light-theme { --bg: #f8fafc; --bg-soft: #ffffff; --text: #0f172a; --muted: #475569; background: #f8fafc; }
  body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme .menu a, body.light-theme .faq-item summary { color: #0f172a; }
  body.light-theme .site-header { background: rgba(255, 255, 255, 0.85); border-color: #e2e8f0; }
  body.light-theme .theme-toggle { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
  body.light-theme .lang-selector { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
  body.light-theme .situation-box, body.light-theme .why-us-card, body.light-theme .faq-item, body.light-theme .package-card, body.light-theme .visual-card, body.light-theme .portfolio-card { background: #ffffff; border-color: #e2e8f0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); color: #0f172a; }
  body.light-theme .package-card.popular { background: linear-gradient(180deg, rgba(255, 90, 95, 0.05), #ffffff); border-color: var(--accent); }
  body.light-theme .situation-box p, body.light-theme .visual-card p, body.light-theme .why-us-card p, body.light-theme .portfolio-content p, body.light-theme .faq-answer p, body.light-theme .hero-subtitle { color: #475569; }
  body.light-theme .portfolio-img-placeholder { background: #f1f5f9; border-color: #e2e8f0; }
  body.light-theme .info-strip { background: #fff1f2; border-color: #ffe4e6; }
  body.light-theme .info-strip p, body.light-theme .audit-list li { color: #0f172a; }
  body.light-theme .styled-audit { background: #ffffff; }
  body.light-theme .audit-text h2 { -webkit-text-fill-color: initial; color: #0f172a; }
  body.light-theme .audit-text p { color: #475569; }
  body.light-theme .site-footer { background: #f8fafc; border-top-color: #e2e8f0; }
  body.light-theme .footer-links a:hover { color: var(--accent); }
}


/* ===== MOBIL NÉZET ===== */
@media (max-width: 960px) {
  .styled-audit { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .audit-text h2, .audit-text p, .audit-action { text-align: center; }
  .audit-list { display: flex; flex-direction: column; align-items: center; }
  
  .nav { padding: 12px 0; position: relative; min-height: 60px; }
  .logo-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  
  /* Fejléc elrendezés mobilon */
  .header-actions { position: static; }
  .theme-toggle { display: none !important; } /* Sötét/világos gomb eltüntetése */
  .lang-selector { position: absolute; left: 0; top: 50%; transform: translateY(-50%); margin: 0; }
  .menu-toggle { display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0; }
  
  .logo-desktop { display: none; }
  .logo-mobile { display: block; height: 40px; }
  .menu, .desktop-btn { display: none !important; }
  
  /* Csomagok: Szépen egymás alá rendezve! */
  .package-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 60px; }
  .package-card.popular { transform: scale(1); border-width: 2px; }
  
  /* Mobil Menü Slide */
  .mobile-menu {
    display: flex; flex-direction: column; position: fixed; top: 0; left: 0;
    transform: translateX(-100%); width: 75%; max-width: 300px; height: 100vh;
    background: rgba(10, 12, 18, 0.98); z-index: 2000; transition: transform 0.3s ease; padding-top: 80px;
  }
  .mobile-menu.active { transform: translateX(0); }
  .mobile-menu a { display: block; padding: 16px 24px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .mobile-cta-btn { margin: 20px 16px; border-radius: 99px; text-align: center;}
  
  .menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; }
  .menu-overlay.active { display: block; }
  .mobile-sticky-cta { display: block; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  
  .hero-visual { min-height: 250px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px;}
  .hero-image { display: none; }
  .floating-card { position: static; animation: none; width: 120px; }
  .card-top, .card-middle, .card-bottom { top: auto; left: auto; right: auto; }

  h2 { font-size: 1.6rem; }
  .packages, .situations-section, .why-us-section, .faq-section, .audit-section, .visual-section, .portfolio-section { padding: 50px 0; }

  /* Vízszintes görgetés A TÖBBI ELEMNEK (kivéve csomagok) */
  .scroll-snap-grid {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 16px; padding-bottom: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .scroll-snap-grid::-webkit-scrollbar { display: none; }
  
  .situation-box, .visual-card, .why-us-card, .portfolio-card {
    flex: 0 0 85%; scroll-snap-align: center; margin-top: 0;
  }

  .faq-accordion { gap: 12px; }
  .faq-item summary { font-size: 1.05rem; padding: 16px; }
  .faq-answer { padding: 0 16px 16px; font-size: 0.95rem; }
  
  .footer-content { flex-direction: column-reverse; text-align: center; }
  .footer-links { gap: 16px; margin-bottom: 10px; }
}