:root {
  --navy: #0b2f57;
  --navy-deep: #071f3a;
  --blue: #1e8fd8;
  --sky: #8fd3f4;
  --ice: #eaf5fc;
  --ink: #0b2340;
  --muted: #51647a;
  --line: #d6e3ef;
  --white: #fff;
  --accent: #f5a524;
  --radius: 18px;
  --shadow: 0 12px 34px rgb(11 47 87 / 12%);
  --font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
section {
  padding: 88px 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  color: var(--navy);
}
.section-lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgb(30 143 216 / 40%);
}
.btn--primary:hover {
  background: #1478b8;
}
.btn--ghost {
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
}
.btn--ghost:hover {
  background: rgb(255 255 255 / 12%);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 36px;
  height: 36px;
  flex: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav__links a:hover {
  color: var(--blue);
}
.nav__links .btn {
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
}
.nav__links .btn:hover {
  color: #fff;
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}

/* hero */
.hero {
  position: relative;
  padding: 110px 0 120px;
  color: #fff;
  background:
    linear-gradient(105deg, rgb(7 31 58 / 96%) 30%, rgb(11 47 87 / 70%) 100%),
    url("../img/hero.jpg") center / cover;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(30 143 216 / 45%), transparent 70%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: var(--sky);
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
}
.hero h1 span {
  color: var(--sky);
}
.hero p {
  max-width: 600px;
  margin: 22px 0 36px;
  font-size: clamp(18px, 2vw, 22px);
  color: #dbe9f6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgb(255 255 255 / 20%);
}
.hero__stats b {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}
.hero__stats span {
  font-size: 14px;
  color: #bcd3e8;
}
.status {
  max-width: 560px;
  margin: 26px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 700;
}
.status--ok {
  background: rgb(34 197 94 / 20%);
  border: 1px solid #4ade80;
}
.status--err {
  background: rgb(239 68 68 / 22%);
  border: 1px solid #f87171;
}

/* features */
.features {
  background: var(--ice);
}
.grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  color: var(--navy);
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ice);
  color: var(--blue);
}
.features .icon {
  background: var(--navy);
  color: #fff;
}
.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* modules */
.module {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.module:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.module .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.module h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.module p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.module__link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue);
}
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #3b2500;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.modules__note {
  margin-top: 32px;
  color: var(--muted);
}

/* tagline band */
.band {
  padding: 70px 0;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.band h2 {
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 44px);
}
.band h2 b {
  display: block;
  font-weight: 800;
}

/* products */
.products .grid {
  grid-template-columns: repeat(2, 1fr);
}
.product {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--ice);
}
.product h3 {
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 10px;
}
.product p {
  color: var(--muted);
  margin: 0 0 20px;
}
.product .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* partners / about */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.partners img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  filter: grayscale(1);
  opacity: 0.8;
  transition: 0.2s;
}
.partners img:hover {
  filter: none;
  opacity: 1;
}
.about p {
  color: var(--muted);
  font-size: 18px;
}

/* contact */
.contact {
  background: var(--ice);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.person {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.person img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex: none;
}
.person b {
  font-size: 20px;
  color: var(--navy);
}
.person div {
  font-size: 15px;
  color: var(--muted);
}
.form {
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 14px;
}
.form .field {
  margin-bottom: 16px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #b9c8d9;
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}
.form .btn {
  width: 100%;
}

/* footer */
.footer {
  padding: 40px 0;
  background: var(--navy-deep);
  color: #b8cce0;
  font-size: 15px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer a {
  color: #fff;
}
.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* consent */
.consent {
  position: fixed;
  z-index: 90;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgb(0 0 0 / 28%);
  font-size: 14px;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0 0 14px;
}
.consent .btn {
  padding: 9px 20px;
  font-size: 14px;
}
.consent .btn--plain {
  border-color: var(--line);
  color: var(--ink);
}

@media (max-width: 960px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links a {
    padding: 12px 0;
  }
  .nav__links .btn {
    margin-top: 8px;
    padding: 13px;
  }
  .grid--3,
  .grid--4,
  .products .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 72px 0 80px;
  }
  .person {
    flex-direction: column;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* képhelyőrző: cseréld <img>-re, ha megvan a kép */
.placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 20px;
  border: 2px dashed #9fc2de;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--ice), var(--ice) 12px, #dff0fb 12px, #dff0fb 24px);
  color: var(--muted);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.placeholder small {
  display: block;
  font-weight: 400;
  margin-top: 4px;
}
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.showcase__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.showcase ul {
  padding: 0;
  list-style: none;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.showcase li {
  padding-left: 32px;
  position: relative;
  color: var(--ink);
  font-weight: 600;
}
.showcase li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
}
@media (max-width: 960px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* termékkártya jelvények */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
}
.badges {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}
.badges .badge {
  position: static;
}
.badge--free {
  background: #22c55e;
  color: #052e16;
}
.product--featured {
  border: 2px solid var(--accent);
}
.product:not(.product--featured) {
  border: 2px solid transparent;
}
