:root {
  --ms-blue: #1559c7;
  --ms-blue-hover: #0f4cae;
  --ms-blue-dark: #0b2f63;
  --ms-blue-light: #eaf3ff;
  --ms-blue-soft: #f4f8ff;

  --ms-green: #2f9e44;
  --ms-green-light: #eaf8ed;

  --ms-red: #d94841;
  --ms-red-light: #fff0ef;

  --ms-yellow: #ffd43b;
  --ms-yellow-light: #fff8d6;

  --ms-text: #172033;
  --ms-muted: #5f6b7a;
  --ms-border: #dce4ef;
  --ms-soft: #f5f8fc;
  --ms-white: #ffffff;

  --ms-radius-sm: 0.75rem;
  --ms-radius: 1.25rem;
  --ms-radius-lg: 1.75rem;

  --ms-shadow:
    0 18px 50px rgba(20, 49, 89, 0.12);

  --ms-shadow-small:
    0 8px 24px rgba(20, 49, 89, 0.09);

  --ms-width: 1180px;
  --ms-width-narrow: 820px;
}

/* Alapbeállítások */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ms-text);
  background: var(--ms-white);
  font-size: 1.08rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main.content {
  max-width: none;
  padding: 0;
  margin: 0;
}

#quarto-content {
  padding: 0;
}

.quarto-title-block {
  display: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ms-blue-dark);
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.65rem, 5vw, 4.85rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-top: 0;
  font-size: 1.32rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

a {
  text-decoration: none;
}

strong {
  color: var(--ms-blue-dark);
}

hr {
  display: none;
}

/* Általános szakaszok */

.section {
  padding: 5.5rem 1.5rem;
}

.section > * {
  width: min(100%, var(--ms-width));
  margin-right: auto;
  margin-left: auto;
}

.section.narrow > * {
  width: min(100%, var(--ms-width-narrow));
}

.section.soft {
  background: var(--ms-soft);
}

.section.center,
.center {
  text-align: center;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.5rem;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(42, 113, 222, 0.18),
      transparent 28rem
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(21, 89, 199, 0.08),
      transparent 24rem
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4f8ff 100%
    );
}

.hero::before {
  position: absolute;
  top: -7rem;
  right: -7rem;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 1px solid rgba(21, 89, 199, 0.12);
  border-radius: 50%;
}

.hero::after {
  position: absolute;
  bottom: -11rem;
  left: -8rem;
  width: 26rem;
  height: 26rem;
  content: "";
  border: 1px solid rgba(21, 89, 199, 0.1);
  border-radius: 50%;
}

.hero > div {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 3.5rem;
  width: min(100%, var(--ms-width));
  margin: 0 auto;
  align-items: center;
}

.content-box {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.15rem;
  padding: 0.48rem 0.85rem;
  color: var(--ms-blue);
  background: var(--ms-blue-light);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero .content-box > p {
  max-width: 760px;
  color: #354052;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 89, 199, 0.13);
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow);
  backdrop-filter: blur(10px);
}

.hero-card h2 {
  font-size: 1.65rem;
}

.hero-card p:last-child {
  margin-bottom: 0;
}

/* Megértés kontra önálló megoldás */

.comparison-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
  align-items: stretch;
}

.comparison-side {
  padding: 1.5rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
}

.comparison-side.good {
  background: var(--ms-green-light);
  border-color: rgba(47, 158, 68, 0.25);
}

.comparison-side.warning {
  background: var(--ms-yellow-light);
  border-color: rgba(255, 180, 0, 0.35);
}

.comparison-symbol {
  display: flex;
  color: var(--ms-blue);
  font-size: 2.5rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

/* Ár */

.price-box {
  display: inline-block;
  margin: 0.55rem 0 1.4rem;
  padding: 0.8rem 1.15rem;
  color: var(--ms-blue-dark);
  background: var(--ms-yellow-light);
  border: 1px solid rgba(214, 159, 0, 0.25);
  border-radius: var(--ms-radius-sm);
  font-size: 1.25rem;
}

.price-box strong {
  font-size: 1.55rem;
}

.price-final {
  margin: 1rem 0 1.5rem;
  color: var(--ms-blue-dark);
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
}

/* Gombok */

.ms-button {
  display: inline-flex;
  min-height: 3.2rem;
  margin: 0.35rem 0.45rem 0.35rem 0;
  padding: 0.82rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
  align-items: center;
  justify-content: center;
}

.ms-button:hover {
  transform: translateY(-2px);
}

.ms-button-primary {
  color: var(--ms-white);
  background: var(--ms-blue);
  box-shadow: 0 9px 24px rgba(21, 89, 199, 0.24);
}

.ms-button-primary:hover {
  color: var(--ms-white);
  background: var(--ms-blue-hover);
  box-shadow: 0 12px 30px rgba(21, 89, 199, 0.3);
}

.ms-button-secondary {
  color: var(--ms-blue-dark);
  background: var(--ms-white);
  border-color: var(--ms-border);
}

.ms-button-secondary:hover {
  color: var(--ms-blue);
  border-color: var(--ms-blue);
}

.ms-button-large {
  min-height: 3.7rem;
  padding: 1rem 1.65rem;
  font-size: 1.13rem;
}

/* Kiemelések */

.kiemeles {
  margin: 2rem 0;
  padding: 1.45rem 1.55rem;
  color: var(--ms-blue-dark);
  background: var(--ms-blue-light);
  border-left: 5px solid var(--ms-blue);
  border-radius: 0 var(--ms-radius) var(--ms-radius) 0;
  font-size: 1.16rem;
  font-weight: 700;
}

.kiemeles p:last-child {
  margin-bottom: 0;
}

.info-card {
  height: 100%;
  padding: 1.75rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-small);
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* Oszlopok */

.columns {
  gap: 2.5rem;
  align-items: center;
}

.column {
  min-width: 0;
}

/* Funkciókártyák */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.feature {
  height: 100%;
  padding: 1.5rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-small);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 89, 199, 0.34);
  box-shadow: var(--ms-shadow);
}

.feature h3 {
  color: var(--ms-blue-dark);
}

.feature p:last-child {
  margin-bottom: 0;
}

/* Listák */

.section ul,
.section ol {
  padding-left: 1.25rem;
}

.section li {
  margin-bottom: 0.55rem;
}

.section li::marker {
  color: var(--ms-blue);
  font-weight: 800;
}

/* CTA blokkok */

.cta-inline {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--ms-blue-dark);
}

.cta-inline .ms-button {
  margin: 0;
}

.buy {
  color: var(--ms-white);
  text-align: center;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(69, 139, 237, 0.45),
      transparent 28rem
    ),
    linear-gradient(
      135deg,
      var(--ms-blue-dark),
      #124d9e
    );
}

.buy h2,
.buy h3,
.buy strong {
  color: var(--ms-white);
}

.buy > * {
  width: min(100%, 880px);
}

.buy ul {
  display: inline-block;
  max-width: 760px;
  margin: 1rem auto 2rem;
  text-align: left;
}

.buy .kiemeles {
  color: var(--ms-blue-dark);
  background: var(--ms-white);
  border-left-color: var(--ms-yellow);
}

.buy .price-final {
  color: var(--ms-white);
}

.order-bump-note {
  max-width: 700px;
  margin: 1.5rem auto;
  padding: 1.15rem 1.35rem;
  color: var(--ms-blue-dark);
  background: var(--ms-yellow-light);
  border: 1px dashed #d6a500;
  border-radius: var(--ms-radius);
}

/* Bizalmi elemek */

.portrait {
  display: block;
  width: min(100%, 290px);
  margin: 0 auto;
  border: 8px solid var(--ms-white);
  border-radius: 50%;
  box-shadow: var(--ms-shadow);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 2rem 0;
}

.trust-item {
  padding: 1rem;
  color: var(--ms-muted);
  text-align: center;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-sm);
}

.trust-item strong {
  display: block;
  color: var(--ms-blue);
  font-size: 1.3rem;
}

/* Vélemények */

.testimonial {
  position: relative;
  margin: 1.3rem 0;
  padding: 1.75rem 1.75rem 1.4rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow-small);
}

.testimonial::before {
  position: absolute;
  top: 0.25rem;
  left: 0.8rem;
  color: var(--ms-blue-light);
  content: "“";
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.testimonial p {
  position: relative;
  z-index: 1;
}

/* Quarto calloutok */

.callout {
  margin: 2rem 0;
  border-radius: var(--ms-radius);
  box-shadow: none;
}

.callout.callout-style-simple {
  padding: 0.4rem;
}

.callout-title-container {
  font-weight: 800;
}

.callout-important {
  border-left-color: var(--ms-blue);
}

.callout-warning {
  border-left-color: #e6a700;
}

.callout-tip {
  border-left-color: var(--ms-green);
}

.callout-note {
  border-left-color: #6c7f99;
}

/* FAQ */

.faq-item {
  margin-bottom: 1rem;
  padding: 1.35rem 1.5rem;
  background: var(--ms-white);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius);
}

.faq-item h3 {
  margin-bottom: 0.65rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* Záró rész */

.final {
  color: var(--ms-white);
  text-align: center;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(62, 137, 235, 0.38),
      transparent 25rem
    ),
    var(--ms-blue-dark);
}

.final h2,
.final strong {
  color: var(--ms-white);
}

.final p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

/* Mobil és tablet */

@media (max-width: 1050px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero > div {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .hero {
    padding: 3.7rem 1.15rem;
  }

  .section {
    padding: 4rem 1.15rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .columns {
    display: block;
  }

  .column {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

  .comparison-card {
    grid-template-columns: 1fr;
  }

  .comparison-symbol {
    min-height: 2rem;
    transform: rotate(90deg);
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .ms-button {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .info-card,
  .feature,
  .testimonial {
    padding: 1.3rem;
  }

  .price-box {
    display: block;
    text-align: center;
  }
}

/* Akadálymentesség */

.ms-button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ms-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* =========================================================
   HERO JAVÍTÁS
   ========================================================= */

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 4rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  box-sizing: border-box;

  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;

  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(72, 137, 221, 0.18),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #f8fbff 0%,
      #edf5ff 55%,
      #e4efff 100%
    );

  border: 1px solid rgba(18, 78, 140, 0.1);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

/* Megakadályozza, hogy a content-box két oszlopra törjön */
.hero .content-box {
  display: block !important;
  width: 100%;
  max-width: 680px;
  padding: 0;
  margin: 0;
}

/* A világos háttéren sötét szöveg jelenjen meg */
.hero h1,
.hero h2,
.hero p,
.hero strong,
.hero li {
  color: #102f53 !important;
}

.hero h1 {
  margin: 1rem 0 1.4rem;
  padding: 0;
  border: 0;

  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero .content-box > p {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

/* Kék címke */
.eyebrow {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.65rem 1rem;

  color: #0b62b9 !important;
  background: #deecff;
  border-radius: 999px;

  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Árblokk */
.price-box {
  display: inline-block;
  width: auto;
  margin: 1.2rem 0 1rem;
  padding: 1rem 1.3rem;

  color: #102f53;
  background: #fff6ce;
  border: 1px solid #efd88b;
  border-radius: 14px;

  font-size: 1.15rem;
  line-height: 1.4;
}

.price-box strong {
  color: #102f53 !important;
  font-size: 1.35rem;
}

/* Hero metaadatok */
.hero-meta {
  margin: 0.5rem 0 1.4rem !important;
  font-size: 0.96rem !important;
  font-weight: 700;
  line-height: 1.65 !important;
  color: #24496f !important;
}

/* Gombok */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.25rem;
}

.hero-buttons p {
  display: contents;
}

.ms-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;

  border-radius: 12px;
  text-decoration: none !important;

  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.ms-button:hover {
  transform: translateY(-2px);
}

.ms-button-primary {
  color: #ffffff !important;
  background: #0967cc;
  border: 2px solid #0967cc;
  box-shadow: 0 10px 24px rgba(9, 103, 204, 0.22);
}

.ms-button-primary:hover {
  color: #ffffff !important;
  background: #0758ae;
  border-color: #0758ae;
}

.ms-button-secondary {
  color: #12385f !important;
  background: #ffffff;
  border: 2px solid #cfdae8;
}

.ms-button-secondary:hover {
  color: #0a5db6 !important;
  background: #f6faff;
  border-color: #91b9e4;
}

/* Jobb oldali kártya */
.hero-card {
  width: 100%;
  min-height: 0 !important;
  box-sizing: border-box;
  margin: 0;
  padding: clamp(1.7rem, 3vw, 2.5rem);

  color: #102f53;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(25, 82, 139, 0.13);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(31, 72, 114, 0.13);
}

.hero-card h2 {
  margin: 0 0 1.6rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid #d9e2ec;

  color: #102f53 !important;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.example-block {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;

  background: #f4f8fd;
  border-left: 5px solid #2474c6;
  border-radius: 8px 14px 14px 8px;
}

.example-label {
  margin: 0 0 0.35rem !important;
  color: #41617f !important;
  font-size: 0.9rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.example-quote {
  margin: 0 !important;
  color: #102f53 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important;
  font-weight: 700;
  line-height: 1.3 !important;
}

.hero-card-summary {
  margin: 0.8rem 0 0 !important;
  color: #294c6d !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

/* A Cosmo téma automatikus címsorvonalának finomítása */
.section > h2,
.narrow > h2 {
  border-bottom: 0;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.3rem;
  }

  .hero .content-box {
    max-width: none;
  }

  .hero-card {
    max-width: none;
  }
}

/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 600px) {
  .hero {
    width: min(100% - 20px, 1180px);
    margin-bottom: 2.5rem;
    padding: 1.4rem;
    gap: 1.6rem;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.1rem);
  }

  .eyebrow {
    border-radius: 12px;
    font-size: 0.72rem;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ms-button {
    width: 100%;
  }

  .hero-card {
    padding: 1.35rem;
    border-radius: 17px;
  }
}
