:root {
  --navy: #10243b;
  --navy-dark: #091828;
  --blue: #235f94;
  --blue-light: #eaf4fb;
  --red: #c84535;
  --red-dark: #9f3025;
  --cream: #f4efe6;
  --cream-light: #fbf8f2;
  --green: #34795e;
  --yellow: #efba45;
  --text: #18202a;
  --muted: #5e6874;
  --white: #ffffff;
  --border: #d9d3c8;
  --shadow: 0 18px 50px rgba(16, 36, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream-light);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

main {
  margin: 0;
  padding: 0;
}

#quarto-content {
  padding: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin: 18px 0 24px;
  font-size: clamp(2.55rem, 5.5vw, 5.1rem);
  font-weight: 900;
}

h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
}

h3 {
  margin: 10px 0;
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  margin: 0 0 18px;
}

a {
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: rgba(9, 24, 40, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-inner strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.topbar-cta {
  padding: 10px 17px;
  color: var(--white);
  background: var(--red);
  border-radius: 7px;
  font-weight: 800;
  transition: 0.2s ease;
}

.topbar-cta:hover {
  color: var(--white);
  background: var(--red-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 82px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(239, 186, 69, 0.16), transparent 25%),
    linear-gradient(135deg, var(--navy-dark), var(--navy) 65%, #153c5f);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 420px;
  height: 420px;
  content: "";
  border: 60px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 58px;
  align-items: center;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}

.hero-copy > p {
  max-width: 710px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-copy > p strong {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: #ffe1d8;
  background: rgba(200, 69, 53, 0.18);
  border: 1px solid rgba(255, 174, 157, 0.25);
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0;
}

.hero-facts span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual img {
  width: 100%;
  display: block;
  border: 8px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1.2deg);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 850;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 25px rgba(200, 69, 53, 0.28);
}

.button-primary:hover {
  color: var(--white);
  background: var(--red-dark);
  box-shadow: 0 16px 32px rgba(200, 69, 53, 0.34);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.15);
}

.button-light:hover {
  color: var(--navy);
  background: #fff7ef;
}

.button-full {
  width: 100%;
}

.cta-note,
.final-note {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 650;
  opacity: 0.78;
}

.problem-section,
.solution-section,
.how-section,
.audience-section,
.faq-section {
  padding: 90px 0;
}

.problem-section {
  background: var(--cream-light);
  text-align: center;
}

.problem-section > .container > p {
  font-size: 1.08rem;
  color: var(--muted);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
  text-align: left;
}

.problem-card {
  padding: 25px;
  background: var(--white);
  border-top: 5px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 36, 59, 0.07);
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.solution-section {
  color: var(--white);
  background: var(--navy);
}

.solution-section h2,
.solution-section h3 {
  color: var(--white);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

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

.feature-card {
  padding: 27px 23px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.feature-icon {
  font-size: 2rem;
}

.quote-section {
  padding: 92px 0;
  background:
    linear-gradient(rgba(244, 239, 230, 0.94), rgba(244, 239, 230, 0.94)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 14px,
      rgba(16, 36, 59, 0.03) 14px,
      rgba(16, 36, 59, 0.03) 28px
    );
  text-align: center;
}

.quote-section blockquote {
  margin: 0 0 25px;
  padding: 0;
  color: var(--navy);
  border: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.quote-section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.how-section {
  background: var(--white);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 45px;
}

.step {
  position: relative;
  padding: 30px 22px 24px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-section {
  background: var(--blue-light);
}

.audience-section > .container > h2 {
  text-align: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.audience-card {
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(16, 36, 59, 0.07);
}

.audience-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.audience-card-red {
  border-bottom: 5px solid var(--red);
}

.audience-card-green {
  border-bottom: 5px solid var(--green);
}

.audience-card-blue {
  border-bottom: 5px solid var(--blue);
}

.offer-section {
  padding: 90px 0;
  background:
    linear-gradient(rgba(9, 24, 40, 0.94), rgba(9, 24, 40, 0.94)),
    repeating-linear-gradient(
      -45deg,
      #0a1d31,
      #0a1d31 16px,
      #10243b 16px,
      #10243b 32px
    );
}

.offer-box {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 55px;
  align-items: center;
  padding: 50px;
  background: var(--cream);
  border: 4px solid var(--yellow);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.offer-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.offer-copy ul {
  margin: 25px 0 0;
  padding-left: 0;
  list-style: none;
}

.offer-copy li {
  position: relative;
  margin: 9px 0;
  padding-left: 27px;
}

.offer-copy li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.price-card {
  padding: 30px;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 15px 36px rgba(16, 36, 59, 0.12);
  text-align: center;
}

.price-caption,
.price-note {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.price {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price-note {
  margin-bottom: 22px;
}

.dates {
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid #e5e5e5;
  font-size: 0.9rem;
}

.faq-section {
  background: var(--white);
}

.faq-section h2 {
  text-align: center;
}

.faq-item {
  margin: 14px 0;
  padding: 23px 25px;
  background: var(--cream-light);
  border-left: 5px solid var(--blue);
  border-radius: 8px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.final-cta {
  padding: 90px 0;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta .button {
  margin-top: 10px;
}

.footer {
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.67);
  background: var(--navy-dark);
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Quarto alapértelmezések felülírása */
.quarto-title-block,
#title-block-header {
  display: none;
}

.page-columns {
  display: block;
}

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

img {
  max-width: 100%;
}

@media (max-width: 980px) {
  .hero-grid,
  .offer-box {
    grid-template-columns: 1fr;
  }

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

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

  .problem-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .offer-box {
    padding: 35px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner {
    min-height: 60px;
  }

  .topbar-cta {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 48px 0 58px;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

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

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .problem-section,
  .solution-section,
  .how-section,
  .audience-section,
  .faq-section,
  .offer-section,
  .final-cta {
    padding: 62px 0;
  }

  .quote-section {
    padding: 65px 0;
  }

  .offer-box {
    width: calc(100% - 22px);
    padding: 25px 20px;
    border-width: 3px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
