/* =========================================================
   BORROO LANDING PAGE
   Szerkesztesi tippek:
   1. Szinek: a CSS tetejen, a :root blokkban.
   2. Szovegek: az index.html fajlban.
   3. Meretek, terkozok es elrendezes: a szekciokhoz tartozo blokkokban.
   ========================================================= */

/* 1. SZINEK ES ALAPBEALLITASOK */
:root {
  --color-pink: #E30263;
  --color-yellow: #ffc306;
  --color-yellow-light: #fff5d4;
  --color-cream: #fffaf5;
  --color-ink: #2b2027;
  --color-muted: #766b71;
  --color-white: #ffffff;
  --color-border: #eee5e0;

  --page-width: 1160px;
  --page-gutter: 20px;
  --radius-card: 24px;
  --radius-large: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(var(--page-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

/* 2. FEJLEC ES LOGO */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-pink);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
}

.brand-wordmark {
  width: 220px;
  height: auto;
}

.header-slogan {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* 3. GOMBOK ES KIS CIMKEK */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
  background: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 8px 18px rgb(227 2 99 / 18%);
}

.button-primary:hover {
  box-shadow: 0 11px 24px rgb(227 2 99 / 26%);
}

.button-secondary {
  border-color: var(--color-border);
  background: var(--color-white);
  color: var(--color-ink);
}

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

.button:focus-visible,
.section-cta .button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--color-pink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-pink);
  content: "";
}

/* 4. NYITo SZEKCIo */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-block: 58px 90px;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--color-pink);
}

.hero-description {
  max-width: 550px;
  color: var(--color-muted);
  font-size: 1.16rem;
}

/* App-telefon illusztracio */
.hero-illustration {
  position: relative;
  min-height: 400px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgb(227 2 99 / 9%);
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 12% 90%, rgb(227 2 99 / 10%), transparent 42%),
    var(--color-yellow-light);
  box-shadow: 0 24px 60px rgb(48 32 42 / 9%);
}

.illustration-sun {
  position: absolute;
  top: -70px;
  right: -45px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--color-yellow);
  opacity: 0.72;
}

.phone-preview {
  position: relative;
  z-index: 1;
  width: 230px;
  min-height: 330px;
  margin: 25px auto 0;
  padding: 20px 16px;
  transform: rotate(-3deg);
  border: 7px solid var(--color-ink);
  border-radius: 32px;
  background: var(--color-white);
  box-shadow: 0 22px 40px #30202a26;
}

.phone-speaker {
  width: 62px;
  height: 7px;
  margin: 0 auto 22px;
  border-radius: 8px;
  background: #d9dfd7;
}

.app-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--color-yellow);
  color: var(--color-pink);
  font-size: 1.6rem;
  font-weight: 900;
}

.phone-preview h2 {
  margin: 13px 0 3px;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.phone-preview > p {
  margin: 0 0 15px;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.category-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 10px;
  border-radius: 14px;
  background: var(--color-cream);
}

.category-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 11px;
  background: var(--color-yellow-light);
  font-size: 1.5rem;
}

.category-preview strong,
.category-preview small {
  display: block;
}

.category-preview strong {
  font-size: 0.78rem;
}

.category-preview small {
  color: var(--color-muted);
  font-size: 0.68rem;
}

.floating-label {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  border: 1px solid rgb(43 32 39 / 7%);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 10px 25px #30202a18;
  font-size: 0.83rem;
  font-weight: 800;
}

.icon {
  margin-right: 6px;
  font-size: 1.2rem;
}

.label-rent {
  top: 90px;
  left: 18px;
  transform: rotate(-4deg);
}

.label-earn {
  right: 15px;
  bottom: 45px;
  transform: rotate(4deg);
}

/* 5. aLTALaNOS SZEKCIoK */
.section {
  padding-block: 84px;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 35px;
}

.section-heading h2,
.earnings-copy h2,
.download-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.section-heading > p:last-child {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-yellow {
  border-block: 1px solid rgb(255 195 6 / 18%);
  background: var(--color-yellow-light);
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding: 14px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
}

.section-cta p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.section-cta .button {
  gap: 8px;
  padding: 8px 12px;
  border-color: transparent;
  border-radius: 10px;
  color: var(--color-pink);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.section-cta .button:hover {
  background: var(--color-yellow-light);
}

/* 6. BeRLoKNEK eS TULAJDONOSOKNAK */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 12px 35px rgb(48 32 42 / 5%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgb(48 32 42 / 9%);
}

.audience-card-dark {
  border-color: var(--color-pink);
  background: var(--color-ink);
  color: var(--color-white);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.large-icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 17px;
  background: var(--color-cream);
  font-size: 1.8rem;
}

.audience-card-dark .large-icon {
  background: rgb(227 2 99 / 18%);
}

.label-pill {
  padding: 6px 10px;
  border-radius: 99px;
  background: var(--color-yellow-light);
  color: var(--color-pink);
  font-size: 0.75rem;
  font-weight: 800;
}

.audience-card-dark .label-pill {
  background: var(--color-yellow);
  color: var(--color-ink);
}

.audience-card h3 {
  margin: 20px 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

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

.audience-card-dark p {
  color: #e5dce1;
}

/* 7. A BeRLeS NeGY LePeSE */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgb(48 32 42 / 4%);
}

.step-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-pink);
  font-weight: 900;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 20px 10px;
}

.step-illustration {
  flex: 0 0 auto;
  font-size: 1.8rem;
}

.step-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.tip-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgb(227 2 99 / 10%);
  border-radius: 16px;
  background: rgb(255 255 255 / 80%);
  color: var(--color-muted);
  font-size: 0.9rem;
}

.tip-box p {
  margin: 0;
}

.tip-box strong {
  color: var(--color-ink);
}

.tip-icon {
  font-size: 1.4rem;
}

.mono-emoji {
  filter: grayscale(1);
}

/* 8. PeNZKERESeSI PeLDA */
.earnings-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 34px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgb(227 2 99 / 11%);
  border-radius: var(--radius-large);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(255 195 6 / 32%), transparent 38%),
    linear-gradient(135deg, #fff4f8, #fffaf0);
  box-shadow: 0 18px 48px rgb(48 32 42 / 7%);
}

.earnings-copy > p:not(.eyebrow) {
  color: var(--color-muted);
}

.earnings-calculator {
  padding: 25px;
  border: 1px solid rgb(43 32 39 / 6%);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 12px 30px rgb(48 32 42 / 7%);
}

.calculator-title {
  margin-top: 0;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.calculator-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-block: 14px;
}

.calculator-row strong {
  font-size: 1.1rem;
}

.calculator-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.calculator-total strong {
  color: var(--color-pink);
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.calculator-note {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.75rem;
}

/* 9. APP LEToLTeSE eS QR-KoDOK */
.download-section {
  padding-block: 76px 88px;
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 35px;
  padding: 44px;
  border-radius: var(--radius-large);
  background: var(--color-pink);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgb(227 2 99 / 18%);
}

.download-copy .eyebrow {
  color: var(--color-yellow);
}

.download-copy > p {
  max-width: 480px;
  color: #ffe4ed;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qr-card {
  padding: 18px;
  border: 1px solid rgb(43 32 39 / 6%);
  border-radius: 18px;
  background: var(--color-white);
  color: var(--color-ink);
  text-align: center;
  box-shadow: 0 10px 25px rgb(48 32 42 / 8%);
}

.qr-placeholder {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  margin: 0 auto 12px;
  padding: 12px;
  border: 1px dashed #aebcaf;
  border-radius: 12px;
  background: var(--color-cream);
  color: var(--color-pink);
  font-size: 0.8rem;
  font-weight: 800;
}

.qr-card h3 {
  margin: 4px 0;
  font-size: 1rem;
}

.qr-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.store-button {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--color-ink);
}

/* BEMUTATKOZÓ VIDEÓ */
.video-section {
  padding-block: 20px 76px;
}

.video-content {
  overflow: hidden;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid rgb(227 2 99 / 12%);
  border-radius: var(--radius-large);
  background:
    radial-gradient(ellipse at 92% 8%, rgb(255 195 6 / 20%), transparent 32%),
    var(--color-white);
  box-shadow: 0 20px 55px rgb(48 32 42 / 7%);
}

.video-heading {
  max-width: 650px;
  margin: 0 auto 30px;
  text-align: center;
}

.video-heading .eyebrow {
  color: var(--color-pink);
}

.video-heading h2 {
  margin-bottom: 10px;
}

.video-heading > p:last-child {
  margin: 0;
  color: var(--color-muted);
}

.video-frame {
  overflow: hidden;
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  border: 6px solid var(--color-white);
  border-radius: 20px;
  background: var(--color-ink);
  box-shadow: 0 16px 38px rgb(48 32 42 / 20%);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 10. LaBLeC */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-block: 22px 32px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-pink);
}

/* 11. TABLET */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 40px 60px;
  }

  .hero-illustration {
    min-height: 370px;
  }

  .audience-grid,
  .earnings-section,
  .download-content {
    grid-template-columns: 1fr;
  }

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

  .download-content {
    padding: 28px;
  }

  .section {
    padding-block: 55px;
  }

  .section-cta {
    margin-top: 24px;
  }

  .header-slogan {
    display: none;
  }
}

/* 12. MOBIL */
@media (max-width: 480px) {
  :root {
    --page-gutter: 14px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

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

  .step-card {
    min-height: 0;
  }

  .qr-card {
    padding: 12px 8px;
  }

  .qr-placeholder {
    width: 100px;
    height: 100px;
  }

  .hero-illustration {
    min-height: 340px;
  }

  .phone-preview {
    margin-top: 18px;
  }

  .label-rent {
    left: 8px;
  }

  .label-earn {
    right: 8px;
  }

  .earnings-section {
    padding: 24px;
  }

  .site-footer {
    flex-wrap: wrap;
  }
}
