/* Hívásgomb: közös stíluslap (landing, regisztráció, adatkezelés, 404) */

:root {
  --bg: #f4f6f2;
  --surface: #ffffff;
  --ink: #08130d;
  --ink-2: #24342b;
  --muted: #5a6960;
  --line: #e1e7e0;
  --green: #16b85a;
  --green-2: #0e9a49;
  --green-3: #0b7d3b;
  --green-soft: #e2f6e9;
  --deep: #03100a;
  --warn: #b45309;
  --max: 1180px;
  --display: "Bricolage Grotesque", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px rgba(8, 19, 13, .06), 0 2px 8px -2px rgba(8, 19, 13, .06);
  --shadow-md: 0 1px 2px rgba(8, 19, 13, .05), 0 18px 40px -18px rgba(8, 19, 13, .22);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--green-3); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- fejléc ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 242, .78);
  backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, #3ee07f, var(--green-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -6px rgba(22, 184, 90, .7);
}
.brand-mark svg { width: 18px; height: 18px; fill: #fff; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav .btn { color: #fff; }
.top.on-dark { background: transparent; }
.top.on-dark .brand { color: #fff; }
.top.on-dark.scrolled { background: rgba(3, 16, 10, .72); border-bottom-color: rgba(255, 255, 255, .08); }

/* ---------- gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #22c867, var(--green-2)); color: #fff;
  font: 600 16px/1 Inter, sans-serif; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -12px rgba(14, 154, 73, .9);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.small { padding: 11px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid #cdd6cd; box-shadow: none; }
.btn.ghost:hover { background: var(--surface); filter: none; }
.btn.big { padding: 18px 32px; font-size: 17px; }
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -72px; padding: 160px 0 130px;
  background: var(--deep); color: #e9f6ee;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 55% at 78% 45%, rgba(34, 197, 94, .30), transparent 62%),
    radial-gradient(30% 40% at 6% 92%, rgba(16, 185, 129, .14), transparent 65%),
    linear-gradient(180deg, var(--deep) 0%, #04160d 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 40%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 55% 40%, #000 25%, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(46px, 6vw, 78px); letter-spacing: -0.035em; line-height: 1; color: #fff; text-wrap: balance; }
.grad {
  background: linear-gradient(92deg, #b6fbc9 0%, #4ade80 45%, #22c55e 70%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 26px; font-size: 21px; line-height: 1.5; color: rgba(233, 246, 238, .74); max-width: 26em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; animation: blip 2s infinite; flex: none; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 127, .7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(62, 224, 127, 0); } }

/* a zöld gomb kártyája */
.try {
  position: relative; border-radius: 32px; padding: 34px 30px 30px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 90px -30px rgba(0, 0, 0, .7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.try-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #d8f7e2;
}
.try h2 { font-size: 28px; letter-spacing: -0.03em; color: #fff; margin: 16px 0 8px; }
.try-sub { color: rgba(233, 246, 238, .66); font-size: 16px; max-width: 23em; margin: 0 auto; }
.call-zone { position: relative; width: 176px; height: 176px; margin: 24px auto 0; display: grid; place-items: center; }
.call-zone .rip { position: absolute; inset: 22px; border-radius: 50%; border: 2px solid rgba(74, 222, 128, .55); opacity: 0; animation: rip 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.call-zone .rip:nth-child(2) { animation-delay: .85s; }
.call-zone .rip:nth-child(3) { animation-delay: 1.7s; }
@keyframes rip { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.75); opacity: 0; } }
.call {
  position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at 35% 28%, #5af093 0%, #1fc463 38%, #0c9a47 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), inset 0 -8px 18px rgba(0, 0, 0, .18), 0 0 0 10px rgba(34, 197, 94, .12), 0 24px 60px -12px rgba(34, 197, 94, .75);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.call:hover { transform: scale(1.04); }
.call:active { transform: scale(.97); }
.call:focus-visible { outline: 3px solid #bbf7d0; outline-offset: 6px; }
.call svg { width: 54px; height: 54px; fill: currentColor; transition: transform .25s; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)); }
.call.hang { background: radial-gradient(circle at 35% 28%, #ff8a8a 0%, #ef4444 40%, #b91c1c 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 0 0 10px rgba(239, 68, 68, .14), 0 24px 60px -12px rgba(239, 68, 68, .7); }
.call.hang svg { transform: rotate(135deg); }
.try.busy .rip { border-color: rgba(248, 113, 113, .5); }
.try.open .rip { animation-play-state: paused; opacity: 0; }
.try-status { margin-top: 16px; min-height: 26px; font-weight: 650; font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; }
.try-note { margin-top: 4px; min-height: 22px; font-size: 14.5px; color: rgba(233, 246, 238, .62); }
.try-note.err { color: #fcd34d; }
.try-row { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.pill { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; font: 500 14px Inter, sans-serif; cursor: pointer; }
.pill[aria-pressed="true"] { background: #fff; color: var(--ink); }
.try-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #86efac; font-weight: 600; text-decoration: none; }
.try-cta:hover { color: #bbf7d0; }
.try-cta svg { width: 18px; height: 18px; }

/* ---------- így működik ---------- */
section { padding: 104px 0; }
.sec-title { text-align: center; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px 14px 26px; box-shadow: var(--shadow-sm); }
.step .vis { height: 160px; border-radius: 16px; background: linear-gradient(180deg, #f0f5ef, #e8f0e8); display: grid; place-items: center; overflow: hidden; }
.step .num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--green-2); margin: 22px 14px 6px; display: block; }
.step h3 { font-size: 22px; margin: 0 14px 6px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; margin: 0 14px; }
.flag { width: 22px; height: 15px; border-radius: 3px; background: linear-gradient(#ce2939 0 33.4%, #fff 33.4% 66.6%, #477050 66.6%); box-shadow: 0 0 0 1px var(--line); flex: none; }
.mini-input { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-sm); }
.sms { margin-top: 10px; background: var(--ink); color: #e9f6ee; border-radius: 16px 16px 16px 4px; padding: 9px 14px; font-size: 13.5px; box-shadow: var(--shadow-md); }
.sms b { color: #86efac; letter-spacing: .08em; }
.chips { display: flex; flex-direction: column; gap: 8px; }
.chip { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 14px; font-weight: 600; font-size: 14px; min-width: 210px; box-shadow: var(--shadow-sm); }
.chip i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--green-3); background: var(--green-soft); padding: 4px 9px; border-radius: 8px; }
.ringing { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow-md); }
.ringing .ava { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, #3ee07f, var(--green-2)); display: grid; place-items: center; }
.ringing .ava svg { width: 18px; height: 18px; fill: #fff; }
.ringing small { display: block; font-size: 12px; color: rgba(233, 246, 238, .6); }
.ringing b { font-size: 15px; }
.ringing .acc { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-left: 10px; animation: ringpulse 1.4s ease-in-out infinite; }
.ringing .acc svg { width: 16px; height: 16px; fill: #fff; }
@keyframes ringpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(22, 184, 90, .6); } 60% { box-shadow: 0 0 0 12px rgba(22, 184, 90, 0); } }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- mintaoldalak ---------- */
section.mintak { padding-top: 0; }
.minta-sor {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 20px; margin: 0 -2px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.minta-sor::-webkit-scrollbar { display: none; }
.minta-sor:focus-visible { outline: 3px solid rgba(22, 184, 90, .45); outline-offset: 6px; border-radius: 24px; }
.minta {
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: 24px; padding: 12px 12px 24px; box-shadow: var(--shadow-sm);
}
.bongeszo { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #e9eee8; border-radius: 14px 14px 0 0; }
.bongeszo i { width: 9px; height: 9px; border-radius: 50%; background: #c7d0c7; }
.minta img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 0 14px 14px; background: #eef2ed; }
.minta h3 { font-size: 22px; letter-spacing: -0.02em; margin: 22px 12px 8px; }
.minta p { color: var(--muted); font-size: 16px; margin: 0 12px; }
.minta-nav { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.minta-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .15s, opacity .15s;
}
.minta-nav button:hover:not(:disabled) { background: var(--green-soft); }
.minta-nav button:disabled { opacity: .35; cursor: default; }
.minta-nav svg { width: 20px; height: 20px; }
#mintaElozo svg { transform: rotate(180deg); }
section.mintak .center-cta { margin-top: 40px; }
@media (max-width: 1060px) { .minta { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 640px) {
  .minta-sor { gap: 14px; margin: 0 -16px; padding: 4px 16px 20px; scroll-padding-inline: 16px; }
  .minta { flex-basis: 84%; }
  .minta h3 { font-size: 20px; margin-top: 18px; }
}

/* lábléc */
.foot { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.foot a { color: var(--ink-2); }
.foot address { font-style: normal; line-height: 1.75; }
.foot .brand { display: flex; width: max-content; font-size: 18px; margin-bottom: 10px; }
.foot .brand-mark { width: 30px; height: 30px; border-radius: 10px; }
.foot .brand-mark svg { width: 15px; height: 15px; }

/* ---------- űrlap és dokumentum oldalak ---------- */
.page { padding: 56px 0 80px; }
.panel { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow-md); }
.panel h1 { font-size: 34px; letter-spacing: -0.035em; }
.panel .sub { color: var(--muted); margin-top: 10px; }
.field { margin-top: 22px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid #cdd6cd; background: #fff;
  font: 500 17px/1.3 Inter, sans-serif; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(22, 184, 90, .15); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.code-input { letter-spacing: .5em; font-size: 26px !important; text-align: center; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.msg { margin-top: 16px; font-size: 15px; min-height: 22px; }
.msg.err { color: var(--warn); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--green-3); font: inherit; font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.legal { font-size: 13px; color: var(--muted); margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.out { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.out:first-of-type { border-top: 0; padding-top: 0; }
.out h2 { font-size: 21px; letter-spacing: -0.02em; }
.out p.d { color: var(--muted); font-size: 15px; margin-top: 6px; }
.copyrow { display: flex; gap: 8px; margin-top: 14px; }
.copyrow input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid #cdd6cd; background: var(--bg); font: 500 15px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
pre.code { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--deep); color: #d7f5e1; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-all; }
.preview { margin-top: 14px; padding: 24px; border-radius: 16px; border: 1px dashed #cdd6cd; background: #fff; }
.preview-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.success { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--green-soft); margin-top: 22px; }
.success svg { width: 26px; height: 26px; flex: none; fill: var(--green-3); }
.doc { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow-sm); }
.doc h1 { font-size: 36px; letter-spacing: -0.035em; margin-bottom: 8px; }
.doc h2 { font-size: 21px; margin: 30px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc .meta { color: var(--muted); font-size: 14px; }

/* ---------- reszponzív ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .try-wrap { max-width: 500px; width: 100%; margin: 0 auto; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: 64px; }
  .hero { margin-top: -64px; padding: 104px 0 76px; }
  .lead { margin-top: 20px; font-size: 18px; }
  .cta-row { margin-top: 28px; }
  .cta-row .btn { flex: 1 1 auto; }
  .try { padding: 26px 18px 22px; border-radius: 26px; }
  .try h2 { font-size: 24px; }
  .call-zone { width: 156px; height: 156px; }
  .call { width: 116px; height: 116px; }
  .call svg { width: 48px; height: 48px; }
  section { padding: 72px 0; }
  .sec-title { margin-bottom: 32px; }
  .panel, .doc { padding: 26px 18px; border-radius: 22px; }
  .page { padding: 28px 0 48px; }
  .copyrow { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- fiókoldal ---------- */
.switch { margin-top: 14px; font-size: 15px; color: var(--muted); }
.muted-s { color: var(--muted); font-size: 15px; }
.success.warn { background: #fff7e6; }
.success.warn svg { fill: var(--warn); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid2 .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-2); flex: none; }
.calls { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.calls li { display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calls .ok { color: var(--green-3); font-weight: 600; }
.calls .nem { color: var(--muted); }
.calls .vhk { grid-column: 1 / -1; margin-top: -4px; font-size: 14px; color: var(--ink); }
.calls .vhk a { color: var(--green-3); font-weight: 600; }
#elofiz .actions { margin-top: 14px; }
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .calls li { grid-template-columns: 1fr 1fr; }
  .calls li span:last-child { grid-column: 2; }
  .calls li span.vhk { grid-column: 1 / -1; }
}

/* landing: belépés link, ár */
.navlink { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top.on-dark .navlink { color: rgba(236, 248, 240, .86); }
.top.on-dark .navlink:hover { color: #fff; }
.ar { margin-top: 16px; font-size: 15px; color: rgba(233, 246, 238, .55); }
@media (max-width: 640px) { .nav { gap: 16px; } }
.success .ic-warn { display: none; }
.success.warn .ic-ok { display: none; }
.success.warn .ic-warn { display: block; }
@media (max-width: 640px) { .top.on-dark .nav .btn { display: none; } }
