/* safesignal.hu — világos, kék-zöld dizájn */
:root {
  --bg: #F6F8FD;
  --bg-tint: #EEF3FD;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-2: #475569;
  --text-dim: #64748B;
  --border: #E2E8F0;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-soft: #DBEAFE;
  --green: #16924F;
  --green-hover: #127A42;
  --green-soft: #DCFCE7;
  --red: #DC2626;
  --amber: #D97706;
  --accent: #2563EB;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 24px 60px rgba(37,99,235,.14), 0 4px 16px rgba(15,23,42,.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: 'Outfit', 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.12; margin: 0; }
code { font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-tint); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; border: 1px solid transparent;
  font: 500 16px/1.2 'Inter', system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #CBD5E1; }
.btn-sm { padding: 9px 16px; font-size: 15px; }

/* ---------- Fejléc ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 19px 'Inter', sans-serif; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #3B82F6, #1D4ED8); display: grid; place-items: center; }
.main-nav { display: flex; gap: 26px; margin: 0 auto; }
.main-nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .link { color: var(--text); text-decoration: none; font-size: 15px; margin-right: 4px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-soft); color: #1E40AF; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 18px; }
.hero h1 .hl { color: var(--blue); }
.hero-sub { font-size: 18px; color: var(--text-2); max-width: 540px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--text-2); }
.hero-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid #fff; aspect-ratio: 16 / 9; background: var(--bg-tint); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Előnysáv ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; font-size: 15px; color: var(--text-2); }
.strip-grid div { display: flex; align-items: center; gap: 10px; }

/* ---------- Szekciók ---------- */
.section { padding: 84px 0; }
.section.tint { background: var(--bg-tint); }
.section.white { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; }
.section-head p { color: var(--text-2); font-size: 18px; margin: 14px 0 0; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 20px; font-weight: 600; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 16px; }
.step-num { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font: 700 17px 'Outfit', sans-serif; color: #fff; background: var(--blue); }
.step-num.g { background: var(--green); }
.addr { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; background: var(--bg-tint); border: 1px solid var(--blue-soft); border-radius: 10px; padding: 10px 12px; font: 500 15px ui-monospace, monospace; color: var(--text); overflow-wrap: anywhere; }
.copy-btn { flex-shrink: 0; border: 0; background: var(--blue); color: #fff; font: 500 13px 'Inter', sans-serif; padding: 7px 12px; border-radius: 7px; cursor: pointer; }

/* Példa-értékelés */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.verdict { border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.verdict .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; }
.verdict.bad .tag { background: #FEE2E2; color: #991B1B; }
.verdict.ok .tag { background: var(--green-soft); color: #166534; }
.verdict .from { font: 500 14px ui-monospace, monospace; color: var(--text-dim); margin: 12px 0 10px; overflow-wrap: anywhere; }
.verdict ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 15px; }

/* ---------- Árak ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.price.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.price .badge { position: absolute; top: -12px; left: 22px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.price h3 { font-size: 18px; font-weight: 600; }
.amount { font: 800 34px/1 'Outfit', sans-serif; margin: 14px 0 4px; letter-spacing: -.01em; white-space: nowrap; }
.amount small { font: 400 14px 'Inter', sans-serif; color: var(--text-dim); }
.price .count { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 15px; color: var(--text-2); flex: 1; }
.price li { padding: 5px 0 5px 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price .btn { width: 100%; }
.price-note { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 22px; }

/* ---------- Nyelvek ---------- */
.langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.lang { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); }
.lang.primary { border-color: var(--green); }
.lang svg { margin: 0 auto 12px; border-radius: 3px; }
.lang strong { display: block; font-size: 17px; margin-bottom: 4px; }
.lang span { color: var(--text-dim); font-size: 14px; }
.info-box { max-width: 900px; margin: 22px auto 0; background: var(--blue-soft); color: #1E3A8A; border-radius: 12px; padding: 14px 20px; text-align: center; font-size: 15px; }

/* ---------- GYIK ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- CTA sáv ---------- */
.cta-band { background: linear-gradient(135deg, #1D4ED8, #2563EB 55%, #16924F); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-band p { color: #DBEAFE; margin: 14px auto 26px; max-width: 560px; }
.cta-band .addr { max-width: 420px; margin: 0 auto 24px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-band .copy-btn { background: #fff; color: var(--blue); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Lábléc ---------- */
.site-footer { background: #0F172A; color: #94A3B8; padding: 48px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1E293B; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Aloldalak (cikkek, jogi oldalak) ---------- */
.page-hero { background: var(--bg-tint); padding: 56px 0 44px; border-bottom: 1px solid var(--border); }
.page-hero .wrap, .prose-wrap { max-width: 820px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-top: 14px; }
.page-hero .meta { color: var(--text-dim); font-size: 15px; margin-top: 14px; }
.prose-wrap { margin: 0 auto; padding: 48px 24px 72px; }
.prose h2 { font-size: 26px; font-weight: 700; margin: 44px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.legal-highlight { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; padding: 18px 22px; margin: 24px 0; color: var(--text-2); box-shadow: var(--shadow); }
.legal-contact { background: var(--green-soft); border: 1px solid #BBF7D0; border-radius: 12px; padding: 20px 24px; margin: 32px 0; }
.legal-contact p { margin: 4px 0; color: #14532D; }
.article-list { display: grid; gap: 18px; }
.article-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.article-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.article-card .eyebrow { margin-bottom: 6px; }
.article-card h2 { font-size: 22px; margin: 0 0 8px; }
.article-card p { color: var(--text-2); margin: 0; }
.article-card .more { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 500; }
.about-head { display: flex; gap: 28px; align-items: center; margin-bottom: 8px; }
.about-head img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid #fff; box-shadow: var(--shadow-lg); flex-shrink: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .main-nav, .header-actions { display: none; }
  .menu-btn { display: block; }
  .site-header.open .main-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  .site-header.open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .prices { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .strip-grid, .langs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 52px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .section { padding: 60px 0; }
  .prices, .demo, .footer-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .about-head { flex-direction: column; align-items: flex-start; }
  .prose-wrap { padding: 36px 16px 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
