/* ── GMP Homepage Sections ── */

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.gmp-hero {
  position: relative;
  min-height: 100vh;  /* fuld skærmhøjde på desktop — fotoet fylder viewporten ved åbning */
  min-height: 100svh; /* moderne enheder: korrekt højde uanset browser-UI */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gmp-pad) 100px;
  overflow: hidden;
}
.gmp-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #0a1628; /* fallback mens fotoet loader */
  /* Hero-foto (juli 2026) — .gmp-hero__overlay ovenpå sikrer tekstkontrast.
     Relativ sti så det virker på både staging og produktion. */
  background-image: url('/wp-content/uploads/2026/07/pexels-photo-16039483-16039483-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gmp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,22,40,.4) 0%, rgba(10,22,40,.7) 100%);
}
.gmp-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}
.gmp-hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.gmp-hero__title {
  font-family: var(--gmp-font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.5px;
  margin-bottom: 28px; /* luft mellem overskrift og undertekst */
}
.gmp-hero__title em {
  font-style: italic;
  color: #7db4ff;
}
/* Dobbelt selector med vilje: temaet (Astra) har "p, .entry-content p { margin-bottom: 0 }"
   som ellers vinder over en enkelt klasse og æder al afsnits-luft. */
.gmp-hero .gmp-hero__subtitle,
.gmp-hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto 64px; /* luft mellem undertekst og knapper */
}
.gmp-hero__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.gmp-hero__btn {
  padding: 14px 28px;
  font-size: 15px;
}
.gmp-hero__btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.gmp-hero__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* Hero featured cards */
.gmp-hero__cards {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.gmp-hero__card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16294a;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 16px 10px 10px;
  text-decoration: none;
  transition: border-color .2s;
  max-width: 260px;
}
.gmp-hero__card:hover {
  border-color: rgba(255,255,255,.28);
}
.gmp-hero__card-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.gmp-hero__card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.gmp-hero__card-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.gmp-hero__card-price {
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

/* ══════════════════════════════
   STATS TICKER
   ══════════════════════════════ */
.gmp-stats {
  padding: 48px 0;
  background: var(--gmp-bg-white);
  border-bottom: 1px solid var(--gmp-border);
}
.gmp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.gmp-stats__number {
  font-family: var(--gmp-font-heading);
  font-size: 40px;
  color: var(--gmp-ink);
  display: block;
  line-height: 1.1;
}
.gmp-stats__label {
  font-size: 13px;
  color: var(--gmp-muted);
  margin-top: 4px;
  display: block;
}

/* ══════════════════════════════
   FEATURES GRID
   ══════════════════════════════ */
.gmp-features {
  padding: 80px 0;
}
.gmp-features .gmp-section-title {
  margin-bottom: 48px;
}
.gmp-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* Bento-variant: bryder 3×2-symmetrien med to diagonale anker-felter (anti-AI) */
.gmp-features__grid--bento {
  grid-template-columns: repeat(4, 1fr);
}
.gmp-features__grid--bento .gmp-features__card:nth-child(1),
.gmp-features__grid--bento .gmp-features__card:nth-child(6) {
  grid-column: span 2;
}
.gmp-features__grid--bento .gmp-features__card:nth-child(1) .gmp-features__title,
.gmp-features__grid--bento .gmp-features__card:nth-child(6) .gmp-features__title {
  font-size: 20px;
}
.gmp-features__card {
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
  cursor: default;
}
.gmp-features__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gmp-shadow-elevated);
}
.gmp-features__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gmp-blue-light);
  border-radius: 10px;
  color: var(--gmp-blue);
  margin-bottom: 20px;
}
.gmp-features__title {
  font-family: var(--gmp-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--gmp-ink);
  margin-bottom: 8px;
}
.gmp-features__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gmp-muted);
}

/* ══════════════════════════════
   HOW IT WORKS
   ══════════════════════════════ */
.gmp-how-it-works {
  padding: 80px 0;
  background: var(--gmp-bg-white);
}
.gmp-how-it-works .gmp-section-title {
  margin-bottom: 48px;
}
.gmp-how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gmp-how-it-works__step {
  text-align: center;
  padding: 24px 16px;
}
.gmp-how-it-works__num {
  font-family: var(--gmp-font-heading);
  font-size: 36px;
  color: var(--gmp-blue);
  opacity: .3;
  margin-bottom: 12px;
}
.gmp-how-it-works__title {
  font-family: var(--gmp-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--gmp-ink);
  margin-bottom: 8px;
}
.gmp-how-it-works__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gmp-muted);
}

/* ══════════════════════════════
   PRICING
   ══════════════════════════════ */
.gmp-pricing {
  padding: 80px 0;
}
.gmp-pricing .gmp-section-title {
  margin-bottom: 48px;
}
.gmp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.gmp-pricing__card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.gmp-pricing__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gmp-shadow-elevated);
}
.gmp-pricing__card--featured {
  border-color: var(--gmp-blue-border);
  box-shadow: 0 4px 24px rgba(20,96,220,.1);
}
.gmp-pricing__badge {
  position: absolute;
  top: -10px;
  left: 28px;
}
.gmp-pricing__header {
  margin-bottom: 24px;
}
.gmp-pricing__plan {
  font-family: var(--gmp-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--gmp-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.gmp-pricing__price {
  font-family: var(--gmp-font-heading);
  font-size: 44px;
  color: var(--gmp-ink);
  line-height: 1.1;
}
.gmp-pricing__period {
  font-size: 13px;
  color: var(--gmp-muted);
  margin-top: 4px;
}
.gmp-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}
.gmp-pricing__features li {
  font-size: 14px;
  color: var(--gmp-ink2);
  padding: 8px 0;
  border-bottom: 1px solid var(--gmp-border);
  padding-left: 22px;
  position: relative;
}
.gmp-pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background: var(--gmp-green);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.gmp-pricing__btn {
  width: 100%;
  justify-content: center;
}

/* ══════════════════════════════
   LATEST LISTINGS
   ══════════════════════════════ */
.gmp-latest {
  padding: 80px 0;
  background: var(--gmp-bg-white);
}
.gmp-latest .gmp-section-title {
  margin-bottom: 48px;
}
.gmp-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gmp-latest__card {
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.gmp-latest__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gmp-shadow-elevated);
}
.gmp-latest__card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.gmp-latest__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gmp-latest__card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gmp-bg-off);
}
.gmp-latest__card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.gmp-latest__card-body {
  padding: 16px 20px 20px;
}
.gmp-latest__card-title {
  font-family: var(--gmp-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--gmp-ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gmp-latest__card-price {
  font-size: 14px;
  color: var(--gmp-muted);
}
.gmp-latest__more {
  text-align: center;
  margin-top: 36px;
}

/* ══════════════════════════════
   SAFE TRADING
   ══════════════════════════════ */
.gmp-safe-trading {
  padding: 64px 0 80px;
  background: var(--gmp-bg-off);
  text-align: center;
  border-top: 1px solid var(--gmp-border);
}
.gmp-safe-trading .gmp-eyebrow {
  margin-bottom: 12px;
}
.gmp-safe-trading .gmp-section-title {
  margin-bottom: 16px;
}
.gmp-safe-trading .gmp-safe-trading__text,
.gmp-safe-trading__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gmp-muted);
  max-width: 480px;
  margin: 0 auto 28px; /* dobbelt selector: slår temaets "p { margin-bottom: 0 }" */
}

/* ══════════════════════════════
   FAQ
   ══════════════════════════════ */
.gmp-faq {
  padding: 80px 0;
}
.gmp-faq .gmp-section-title {
  margin-bottom: 48px;
}
.gmp-faq__list {
  max-width: 720px;
  margin: 0 auto;
}
.gmp-faq__item {
  border-bottom: 1px solid var(--gmp-border2);
}
.gmp-faq__question {
  font-family: var(--gmp-font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--gmp-ink);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gmp-faq__question::-webkit-details-marker {
  display: none;
}
.gmp-faq__question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--gmp-muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .2s;
}
details[open] > .gmp-faq__question::after {
  content: '−';
}
.gmp-faq__answer {
  padding: 0 0 20px;
}
.gmp-faq__answer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gmp-muted);
}

/* ══════════════════════════════
   CTA
   ══════════════════════════════ */
.gmp-cta {
  padding: 80px 0;
  background: var(--gmp-bg-white);
}
.gmp-cta__inner {
  background: var(--gmp-ink);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
}
.gmp-cta__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7db4ff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gmp-cta__eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: #7db4ff;
}
.gmp-cta__title {
  font-family: var(--gmp-font-heading);
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
}
.gmp-cta__title em {
  font-style: italic;
  color: #7db4ff;
}
.gmp-cta .gmp-cta__text,
.gmp-cta__text {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px; /* dobbelt selector: slår temaets "p { margin-bottom: 0 }" */
}
.gmp-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.gmp-cta__btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.gmp-cta__btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
/* Tablet */
@media (max-width: 1024px) {
  .gmp-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Bento: nulstil de brede anker-felter under 1024px, så gridet er ensartet */
  .gmp-features__grid--bento .gmp-features__card {
    grid-column: auto;
  }
  .gmp-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .gmp-latest__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Sections: reduce padding */
  .gmp-stats, .gmp-features, .gmp-how-it-works,
  .gmp-pricing, .gmp-latest, .gmp-faq, .gmp-cta {
    padding: 48px 0;
  }
  .gmp-wrap {
    padding: 0 16px;
  }
  .gmp-section-title {
    font-size: 32px;
  }

  /* Hero */
  .gmp-hero {
    min-height: 500px;
    padding: 100px 20px 60px;
  }
  .gmp-hero__title {
    font-size: 36px;
  }
  .gmp-hero__subtitle {
    font-size: 14px;
  }
  .gmp-hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  .gmp-hero__cards {
    flex-direction: column;
    align-items: center;
  }
  .gmp-hero__card {
    max-width: 100%;
  }

  /* Stats */
  .gmp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Features */
  .gmp-features__grid {
    grid-template-columns: 1fr;
  }
  .gmp-features__card {
    padding: 24px 20px;
  }

  /* How it works */
  .gmp-how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pricing */
  .gmp-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .gmp-pricing__price {
    font-size: 36px;
  }

  /* Latest */
  .gmp-latest__grid {
    grid-template-columns: 1fr;
  }

  /* FAQ */
  .gmp-faq__question {
    font-size: 14px;
  }

  /* CTA */
  .gmp-cta__inner {
    padding: 40px 24px;
    border-radius: 14px;
  }
  .gmp-cta__title {
    font-size: 28px;
  }
  .gmp-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Disable hover lift on mobile (touch devices) */
  .gmp-features__card:hover,
  .gmp-pricing__card:hover,
  .gmp-latest__card:hover {
    transform: none;
  }
}
