/* LakóTér – marketing landing page.
   Design system derived from the existing app UI. */

:root {
  /* Brand palette */
  --teal:        #00809D;
  --teal-dark:   #046883;
  --magenta:     #9E1C60;

  --bg:          #F5F6F7;
  --card:        #FFFFFF;
  --border:      #E4E7EB;
  --text:        #17202A;
  --text-2:      #4B5563;

  /* Effects */
  --radius:      16px;
  --radius-sm:   12px;
  --shadow-sm:   0 1px 2px rgba(23, 32, 42, .04);
  --shadow-md:   0 8px 28px rgba(23, 32, 42, .07);
  --shadow-lg:   0 24px 60px rgba(23, 32, 42, .12);

  --container:   1160px;
  --focus:       0 0 0 3px rgba(0, 128, 157, .35);

  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head:   "Sora", "Inter", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); margin: 0; line-height: 1.15; letter-spacing: -.01em; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.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;
}

/* Accessible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="tab"]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--card); color: var(--text);
  padding: 10px 16px; border-radius: 8px; z-index: 200;
  border: 1px solid var(--border); transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, transform .05s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }

.link-plain { font-weight: 600; color: var(--text); font-size: 15px; }
.link-plain:hover { color: var(--teal); }

/* ---------- Eyebrow + section titles (magenta underline motif) ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section__title {
  position: relative;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  padding-bottom: 16px;
  margin-bottom: 0;
}
.section__title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; border-radius: 2px;
  background: var(--magenta);
}

.section__head { max-width: 720px; margin-bottom: 44px; }
.section__lead { color: var(--text-2); font-size: 17px; margin-top: 20px; }

/* ---------- Layout helpers ---------- */
.section { padding: 60px 0; position: relative; }
.section--alt { background: #fff; border-block: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 32px; width: auto; }

.nav__links { display: flex; gap: 30px; margin-right: auto; }
.nav__links a {
  color: var(--text); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
}
.nav__links a:hover { color: var(--teal); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--magenta); transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 18px; }

.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}
/* The [hidden] attribute must win over display:flex above. */
.nav__mobile[hidden] { display: none; }
.nav__mobile a { color: var(--text); font-weight: 500; padding: 10px 4px; }
.nav__mobile a:hover { color: var(--teal); }
.nav__mobile .btn { margin-top: 8px; }

/* Mosaic background motif (brand signature) */
.mosaic-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .5;
  background-image:
    /* teal squares */
    linear-gradient(var(--teal), var(--teal)),
    linear-gradient(var(--magenta), var(--magenta)),
    linear-gradient(var(--magenta), var(--magenta));
  background-repeat: no-repeat;
  /* replaced below by tiled SVG */
}
/* Use a repeating SVG data-mosaic for a crisp offset grid */
.mosaic-bg {
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg%3E%3Crect x='0' y='0' width='22' height='22' rx='3' fill='%2300809D'/%3E%3Crect x='30' y='0' width='22' height='22' rx='3' fill='%239E1C60'/%3E%3Crect x='60' y='30' width='22' height='22' rx='3' fill='%2300809D'/%3E%3Crect x='90' y='30' width='22' height='22' rx='3' fill='%239E1C60'/%3E%3Crect x='0' y='60' width='22' height='22' rx='3' fill='%239E1C60'/%3E%3Crect x='30' y='60' width='22' height='22' rx='3' fill='%2300809D'/%3E%3Crect x='60' y='90' width='22' height='22' rx='3' fill='%239E1C60'/%3E%3Crect x='90' y='90' width='22' height='22' rx='3' fill='%2300809D'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 120% at 100% 0%, #000 0%, transparent 62%);
  opacity: .16;
}
.mosaic-bg--soft {
  -webkit-mask-image: radial-gradient(90% 90% at 0% 100%, #000 0%, transparent 60%);
          mask-image: radial-gradient(90% 90% at 0% 100%, #000 0%, transparent 60%);
  opacity: .12;
}

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero__subhead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero__cta { margin-bottom: 12px; }
.hero__cta-row {
  display: flex; gap: 10px;
  background: #fff; padding: 8px; border-radius: 14px;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  max-width: 540px;
}
.hero__cta input {
  flex: 1; min-width: 0;
  border: none; background: transparent;
  font-size: 16px; font-family: var(--font-body); color: var(--text);
  padding: 10px 14px; border-radius: 10px;
}
.hero__cta input::placeholder { color: #9AA3AD; }
.hero__cta input:focus-visible { box-shadow: var(--focus); outline: none; }
.hero__cta-msg { font-size: 14px; margin-top: 10px; min-height: 1px; }
.hero__cta-msg.is-ok { color: var(--teal-dark); }
.hero__cta-msg.is-error { color: var(--magenta); }

.hero__microcopy { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }

.trust-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px 22px;
}
.trust-row li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.trust-ico { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Browser mock frame */
.hero__visual { position: relative; }
.browser {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: #F1F3F5;
  border-bottom: 1px solid var(--border);
}
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: #D3D8DE; }
.browser__dot:nth-child(1) { background: #E27C7C; }
.browser__dot:nth-child(2) { background: #E9C46A; }
.browser__dot:nth-child(3) { background: #8AC79A; }
.browser__url {
  margin-left: 12px;
  font-size: 12.5px; color: #8A929B;
  background: #fff; border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 20px;
  flex: 1; max-width: 280px;
}
.browser__screen { background: var(--bg); }
.browser__screen img { width: 100%; height: auto; display: block; }

/* Pain points */
.pain-card { padding: 30px 28px; }
.pain-card__ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(158, 28, 96, .08);
  margin-bottom: 18px;
}
.pain-card__ico svg { width: 24px; height: 24px; }
.pain-card__ico path, .pain-card__ico rect {
  fill: none; stroke: var(--magenta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.pain-card h3 { font-size: 18px; margin-bottom: 10px; }
.pain-card p { color: var(--text-2); font-size: 15px; }

/* Features */
.feature-card {
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D6DBE1; }
.feature-card__ico {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(0, 128, 157, .08);
  margin-bottom: 20px;
}
.feature-card__ico svg { width: 26px; height: 26px; }
.feature-card__ico path,
.feature-card__ico rect,
.feature-card__ico circle {
  fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; }

/* Product tour */
.tour__tabs {
  display: inline-flex; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 6px; margin-bottom: 22px;
}
.tour__tab {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--text-2);
  padding: 9px 18px; border-radius: 8px; transition: .18s;
}
.tour__tab:hover { color: var(--text); }
.tour__tab.is-active { background: var(--teal); color: #fff; }

.tour__panel { display: none; }
.tour__panel.is-active { display: block; }

.tour__note {
  display: grid; grid-template-columns: auto 1fr;
  column-gap: 18px; row-gap: 14px; align-items: center;
  padding: 28px 30px; margin-top: 48px;
}
.tour__note-ico {
  grid-column: 1; grid-row: 1;
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(0, 128, 157, .08);
}
.tour__note-ico svg { width: 24px; height: 24px; }
.tour__note-ico path, .tour__note-ico rect {
  fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.tour__note h3 { grid-column: 2; grid-row: 1; font-size: 19px; margin: 0; }
.tour__note p  { grid-column: 1 / -1; grid-row: 2; margin: 0; color: var(--text-2); font-size: 15px; }

/* Differentiation */
.diff-col { padding: 8px 4px; }
.diff-col__num {
  font-family: var(--font-head); font-weight: 800; font-size: 30px;
  color: var(--teal); margin-bottom: 14px;
  position: relative; display: inline-block; padding-bottom: 12px;
}
.diff-col__num::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 3px; border-radius: 2px; background: var(--magenta);
}
.diff-col h3 { font-size: 19px; margin-bottom: 10px; }
.diff-col p { color: var(--text-2); font-size: 15.5px; }

/* Photo banner */
.banner {
  position: relative;
  background: url("assets/brand/unsplash_s6JX2g__QpE.png") center 40% / cover no-repeat;
  min-height: 360px;
  display: flex; align-items: center;
}
.banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 21, 28, .82) 0%, rgba(4, 21, 28, .55) 55%, rgba(4, 21, 28, .25) 100%);
}
.banner__inner { position: relative; z-index: 1; }
.banner__text {
  color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px); line-height: 1.2;
  letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  max-width: 640px;
}

/* Final CTA / registration */
.register { position: relative; overflow: hidden; background: #fff; border-top: 1px solid var(--border); }
.register__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.register__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.register__points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; color: var(--text);
}
.register__points svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.register__card { padding: 32px; box-shadow: var(--shadow-md); }
.register__form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field__optional { font-weight: 400; font-size: 12.5px; color: var(--text-2); }
.field__hint { font-size: 12.5px; color: var(--text-2); margin: -8px 0 0; }
.field input,
.field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:hover,
.field textarea:hover { border-color: #CBD2D9; }
.field input:focus-visible,
.field textarea:focus-visible { border-color: var(--teal); box-shadow: var(--focus); outline: none; }
.field input:invalid:not(:placeholder-shown) { border-color: var(--magenta); }

.register__msg { font-size: 14px; margin: 2px 0 0; min-height: 1px; }
.register__msg.is-ok { color: var(--teal-dark); font-weight: 500; }
.register__msg.is-error { color: var(--magenta); }
.register__billing {
  font-size: 13px; line-height: 1.5; color: var(--text); margin: 0;
  background: rgba(0, 128, 157, .06); border: 1px solid rgba(0, 128, 157, .18);
  border-radius: 12px; padding: 12px 14px;
}
.register__legal { font-size: 12.5px; color: var(--text-2); margin-top: 4px; text-align: center; }

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--border); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding: 56px 24px 44px;
}
.footer__logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--text-2); font-size: 14.5px; max-width: 320px; }
.footer__note { margin-top: 12px; font-size: 13px; color: var(--text-3, var(--text-2)); }
.footer__col h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.footer__col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 5px 0; }
.footer__col a:hover { color: var(--teal); }
.footer__bar { border-top: 1px solid var(--border); }
.footer__bar p { padding: 20px 0; font-size: 13.5px; color: var(--text-2); }

/* line break helpers */
.br-desktop { display: inline; }

/* Contextual inline CTA (text + arrow) */
.cta-inline {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font-weight: 600; font-size: 15px; color: var(--teal);
}
.cta-inline svg { width: 18px; height: 18px; transition: transform .18s ease; }
.cta-inline svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta-inline:hover { color: var(--teal-dark); }
.cta-inline:hover svg { transform: translateX(3px); }

/* Light button variant (used on the dark photo banner) */
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: #EEF1F4; color: var(--text); }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--border); }
.btn--outline:hover { border-color: var(--teal); background: rgba(0, 128, 157, .06); color: var(--teal-dark); }
.banner__cta { margin-top: 26px; }

/* Feature section closing line */
.feature-foot { margin-top: 34px; font-size: 15.5px; color: var(--text-2); max-width: 780px; }
.feature-foot .cta-inline { margin-top: 0; vertical-align: middle; }

/* Standalone section CTA button */
.section-cta { margin-top: 28px; }
.section-cta--center { text-align: center; }

/* Flexibility note in "Miért mi" */
.miert__flex {
  margin: 40px 0 0; max-width: 720px;
  font-size: 15px; color: var(--text-2);
  padding-left: 18px; border-left: 3px solid var(--border);
}

/* AI assist band */
.ai-band { background: #EFF5F7; }
.ai__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 60px; align-items: center;
}
.ai__intro .section__title { margin-bottom: 0; }

.ai__list { list-style: none; margin: 0; padding: 0; }
.ai__item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 32, 42, .09);
}
.ai__item:first-child { padding-top: 0; }
.ai__item:last-child { border-bottom: none; padding-bottom: 0; }
.ai__ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(0, 128, 157, .10);
}
.ai__ico svg { width: 22px; height: 22px; }
.ai__ico svg path { fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai__item h3 { font-size: 16.5px; margin-bottom: 5px; }
.ai__item p { color: var(--text-2); font-size: 14.5px; }

/* Owner perspective + mobile preview */
.owner__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.owner__copy .section__title { margin-bottom: 0; }

.owner__benefits { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.owner__benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.owner__benefits svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.owner__highlight {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 28px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.owner__highlight-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(158, 28, 96, .08);
}
.owner__highlight-ico svg { width: 24px; height: 24px; }
.owner__highlight-ico path { fill: none; stroke: var(--magenta); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.owner__highlight h3 { font-size: 16.5px; margin-bottom: 6px; }
.owner__highlight p { color: var(--text-2); font-size: 14.5px; }

.owner__visual { display: flex; justify-content: center; }

/* --- Smartphone frame --- */
.phone {
  position: relative;
  width: 300px; max-width: 84vw;
  background: #10161F; border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(23, 32, 42, .08);
}
.phone__speaker {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .18); z-index: 3;
}
.phone__screen { position: relative; border-radius: 35px; overflow: hidden; background: var(--bg); }

/* Mock incoming push notification, overlaid near the top of the screen */
.pnotif {
  position: absolute; top: 40px; left: 10px; right: 10px; z-index: 4;
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(23, 32, 42, .06); border-radius: 16px;
  padding: 11px 13px; box-shadow: 0 12px 30px rgba(16, 22, 31, .22);
}
.pnotif__ico { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; overflow: hidden; }
.pnotif__ico svg { width: 100%; height: 100%; display: block; }
.pnotif__body { flex: 1; min-width: 0; }
.pnotif__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.pnotif__app { font-size: 12px; font-weight: 700; color: var(--text); }
.pnotif__time { font-size: 10.5px; color: var(--text-2); }
.pnotif__msg { margin: 0; font-size: 12px; line-height: 1.3; color: var(--text); }

.papp { padding: 34px 15px 20px; background: var(--bg); min-height: 552px; }
.papp__bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 6px 14px; font-size: 12px; font-weight: 600; color: var(--text);
}
.papp__sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.papp__sig i { width: 3px; background: var(--text); border-radius: 1px; }
.papp__sig i:nth-child(1) { height: 4px; }
.papp__sig i:nth-child(2) { height: 6px; }
.papp__sig i:nth-child(3) { height: 8px; }
.papp__sig i:nth-child(4) { height: 10px; }

.papp__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.papp__mark { width: 30px; height: 30px; flex-shrink: 0; }
.papp__mark svg { width: 100%; height: 100%; display: block; }
.papp__greet { flex: 1; line-height: 1.25; }
.papp__greet span { display: block; font-size: 11px; color: var(--text-2); }
.papp__greet strong { font-family: var(--font-head); font-size: 14px; }
.papp__bell { width: 20px; height: 20px; color: var(--text-2); flex-shrink: 0; }
.papp__bell svg { width: 100%; height: 100%; }
.papp__bell svg path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pcard--balance {
  position: relative; display: grid;
  background: var(--teal); color: #fff;
  border-radius: 16px; padding: 18px; margin-bottom: 16px;
  box-shadow: 0 12px 26px rgba(0, 128, 157, .30);
}
.pcard__label { font-size: 12px; opacity: .85; }
.pcard__value { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin-top: 2px; }
.pcard__badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 10.5px; font-weight: 600;
  background: rgba(255, 255, 255, .22); padding: 4px 10px; border-radius: 20px;
}

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.ptile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; font-size: 12.5px; font-weight: 600; color: var(--text);
}
.ptile svg { width: 20px; height: 20px; }
.ptile svg path, .ptile svg circle { fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ptile--accent { background: rgba(158, 28, 96, .06); border-color: rgba(158, 28, 96, .28); color: var(--magenta); }
.ptile--accent svg path, .ptile--accent svg circle { stroke: var(--magenta); }

.prow-title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin: 4px 4px 8px; }
.prow {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; font-size: 12.5px;
}
.prow__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.prow__dot--ok { background: #2E9E6B; }
.prow__dot--wait { background: var(--magenta); }
.prow__text { flex: 1; color: var(--text); }
.prow__meta { font-size: 11px; color: var(--text-2); }

/* Pricing cards */
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px; }
.pricing-card h3 { font-size: 19px; margin-bottom: 10px; }
.pricing-card__price { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin-bottom: 12px; }
.pricing-card__price span { color: var(--teal); }
.pricing-card__desc { color: var(--text-2); font-size: 14.5px; }
.pricing-card__custom { margin-top: 12px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.pricing-card__cta { margin-top: 16px; align-self: flex-start; }
.pricing-card--featured { border-color: var(--teal); box-shadow: var(--shadow-md); }
.pricing-card__flag {
  position: absolute; top: -11px; left: 26px;
  background: var(--teal); color: #fff;
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
}

/* Alap + Prémium sit side by side; Egyedi becomes a full-width horizontal strip below. */
.pricing-main-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.pricing-card--custom {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px; margin-top: 24px;
}
.pricing-card--custom .pricing-card__price { margin-bottom: 0; }
.pricing-card--custom .pricing-card__custom { margin-top: 8px; }
.pricing-card--custom .pricing-card__cta { margin-top: 0; align-self: center; white-space: nowrap; }

/* Responsive */
@media (max-width: 960px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }

  .hero__grid,
  .register__grid,
  .ai__grid,
  .owner__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .register__card { order: 2; }
  .owner__visual { margin-top: 8px; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }

  /* Pricing stacks: 2-col row → single column, Egyedi strip → vertical card. */
  .pricing-main-row { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .pricing-card--custom {
    display: flex; flex-direction: column;
    max-width: 460px; margin-inline: auto;
  }
  .pricing-card--custom .pricing-card__cta { align-self: flex-start; margin-top: 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .hero { padding: 48px 0 60px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__cta-row { flex-direction: column; }
  .hero__cta-row .btn { width: 100%; }
  .br-desktop { display: none; }
  .tour__tabs { display: flex; width: 100%; }
  .tour__tab { flex: 1; padding: 9px 10px; }
  .banner__overlay { background: linear-gradient(180deg, rgba(4,21,28,.72), rgba(4,21,28,.55)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .feature-card:hover { transform: none; }
}

/* Pricing placeholder note (small, muted, centered) */
.pricing-note {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin-top: 28px;
}

/* Login page (login.html) – reuses .card / .field / .btn */
.login-main {
  min-height: calc(100vh - 69px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.login-card { width: 100%; max-width: 420px; padding: 32px; }
.login-card h1 { font-size: 26px; margin-bottom: 20px; }
.login-form { display: grid; gap: 16px; }
.login-note {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
  margin-top: 18px;
}

/* Cookie consent bar */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px;
  padding: 16px 20px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { flex: 1; min-width: 240px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.cookie-bar__actions { display: flex; align-items: center; gap: 10px; }

/* Legal pages (aszf.html, adatvedeles.html) */
.legal-main { padding: 48px 0 72px; }
.legal-card { max-width: 820px; margin: 0 auto; padding: 40px 44px; }
.legal-card h1 { font-size: 30px; margin-bottom: 8px; }
.legal-card h2 { font-size: 19px; margin: 30px 0 8px; }
.legal-card p { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 0 0 8px; }
.legal-updated { font-size: 13px; color: var(--text-2); margin-bottom: 24px; }
.legal-notice {
  background: rgba(158, 28, 96, .06); border: 1px solid rgba(158, 28, 96, .28);
  color: var(--magenta); border-radius: 12px; padding: 14px 16px;
  font-size: 14px; line-height: 1.55; margin-bottom: 28px;
}
@media (max-width: 640px) {
  .legal-card { padding: 28px 22px; }
}
