/* =====================================================================
   PepGuru Official Link Hub — stylesheet
   ---------------------------------------------------------------------
   Section 1  : Base page styles (reproduces the WordPress theme /
                Elementor defaults the original page inherits, so the
                replica renders identically)
   Section 2  : Theme colours & tokens (edit colours here)
   Section 3+ : Link-hub components (hero, cards, footer, …)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. BASE PAGE STYLES
   --------------------------------------------------------------------- */
body {
  margin: 0;
  background-color: #fff;
  color: #111;
  font-family: Manrope, sans-serif;
  /* Fluid body size (18px → 22px) inherited from the original theme */
  font-size: clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 0.392), 1.375rem);
  font-weight: 300;
  letter-spacing: -0.1px;
  line-height: 1.4;
}

h1, h2 { font-weight: 400; letter-spacing: -0.1px; line-height: 1.125; }
h1 { font-size: clamp(2.15rem, 2.15rem + ((1vw - 0.2rem) * 1.333), 3rem); }
h2 { font-size: clamp(1.75rem, 1.75rem + ((1vw - 0.2rem) * 0.392), 2rem); }
h1, h2, p { text-wrap: pretty; }

a { color: currentColor; text-decoration-thickness: 1px !important; text-underline-offset: .1em; }

/* Outer page frame: dark background with a 10px inset around the hub */
.page-frame {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: #0A1416;
}
.page-frame *, .page-frame ::before, .page-frame ::after { box-sizing: border-box; }
.page-frame a { box-shadow: none; text-decoration: none; }
.page-frame img { border: none; border-radius: 0; box-shadow: none; height: auto; max-width: 100%; }
.page-frame video { border: none; line-height: 1; margin: 0; max-width: 100%; width: 100%; }


/* ---------------------------------------------------------------------
   2. THEME COLOURS & TOKENS  (change the accent colours here)
   --------------------------------------------------------------------- */
.pepguru-linkhub {
  --pg-accent: #61E6C2;            /* mint green accent */
  --pg-secondary: #67B7E8;         /* sky blue secondary */
  --pg-bg: #050b10;
  --pg-surface: rgba(12,28,38,.80);
  --pg-surface-hover: rgba(18,43,56,.92);
  --pg-text: #f5fbfd;
  --pg-muted: #a9bcc7;
  --pg-border: rgba(255,255,255,.13);
  --pg-shadow: 0 22px 70px rgba(0,0,0,.42);
  --pg-radius: 24px;

  position: relative;
  background: linear-gradient(160deg,#07151d 0%,#05080c 62%,#0a1115 100%);
  color: var(--pg-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.pepguru-linkhub * { box-sizing: border-box; }


/* ---------------------------------------------------------------------
   3. HERO (background video, logo, title, intro text)
   --------------------------------------------------------------------- */
.pepguru-hero { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.pepguru-linkhub__video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .75; filter: saturate(1.05) contrast(1.05); }
.pepguru-linkhub__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg,rgba(2,8,12,.1),rgba(3,8,12,.22) 55%,rgba(5,8,12,.86) 96%); }
.pepguru-linkhub__glow { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: color-mix(in srgb,var(--pg-accent) 19%,transparent); filter: blur(90px); top: -180px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.pepguru-hero-inner { width: min(100%,700px); margin: 0 auto; padding: 0 18px 34px; text-align: center; }

/* Pause / play button (top-right of the hero) */
.pepguru-video-toggle { position: absolute; top: 14px; right: 14px; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--pg-border); border-radius: 50%; background: rgba(4,12,17,.66); color: #fff; cursor: pointer; backdrop-filter: blur(8px); z-index: 2; }
.pepguru-video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.pepguru-video-toggle:focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 3px; }

/* Profile block */
.pepguru-profile { display: flex; flex-direction: column; align-items: center; }
.pepguru-logo-wrap { position: relative; width: 116px; height: 116px; margin-bottom: 18px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg,var(--pg-accent),var(--pg-secondary)); box-shadow: 0 16px 45px rgba(0,0,0,.42),0 0 34px color-mix(in srgb,var(--pg-accent) 22%,transparent); }
.pepguru-logo { display: block; width: 100%; height: 100%; object-fit: cover; border: 3px solid #08141b; border-radius: 50%; background: #0d1e27; }
.pepguru-kicker { margin: 0 0 10px; color: var(--pg-accent); font-size: .74rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.pepguru-title { margin: 0; font-size: clamp(2.5rem,11vw,4.65rem); line-height: .92; letter-spacing: -.055em; font-weight: 900; text-wrap: balance; text-shadow: 0 8px 30px rgba(0,0,0,.28); }
.pepguru-title span { color: var(--pg-accent); }
.pepguru-description { max-width: 590px; margin: 18px auto 0; color: var(--pg-muted); font-size: clamp(1rem,3.4vw,1.12rem); line-height: 1.65; text-wrap: balance; }
.pepguru-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; padding: 7px 12px; border: 1px solid color-mix(in srgb,var(--pg-accent) 48%,transparent); border-radius: 999px; background: rgba(4,15,20,.62); color: #ddfff6; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(10px); }
.pepguru-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pg-accent); box-shadow: 0 0 0 5px color-mix(in srgb,var(--pg-accent) 15%,transparent); }


/* ---------------------------------------------------------------------
   4. CONTENT COLUMN & SECTIONS
   --------------------------------------------------------------------- */
.pepguru-shell { width: min(100%,700px); margin: 0 auto; padding: 30px 18px 30px; text-align: center; }
.pepguru-shell > .pepguru-subsection:first-child { margin-top: 0; }
.pepguru-links { display: grid; gap: 13px; margin: 32px 0 0; text-align: left; }
.pepguru-subsection { margin-top: 38px; text-align: left; }
.pepguru-subsection__title { margin: 0; font-size: 1.05rem; font-weight: 850; letter-spacing: -.01em; color: var(--pg-text); }
.pepguru-subsection__note { margin: 6px 0 0; color: var(--pg-muted); font-size: .82rem; line-height: 1.5; }
.pepguru-subsection .pepguru-links { margin-top: 14px; }


/* ---------------------------------------------------------------------
   5. LINK CARDS
   Variants:  .pepguru-card--highlight  (big glowing "Top Vendor" card)
              .pepguru-card--featured   (gradient "Featured" card)
   --------------------------------------------------------------------- */
.pepguru-card { position: relative; display: flex; align-items: center; min-height: 88px; padding: 14px 55px 14px 14px; border: 1px solid var(--pg-border); border-radius: var(--pg-radius); background: var(--pg-surface); color: var(--pg-text) !important; text-decoration: none !important; box-shadow: 0 10px 35px rgba(0,0,0,.24); backdrop-filter: blur(18px); transition: transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease; }
.pepguru-card:hover, .pepguru-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb,var(--pg-accent) 58%,transparent); background: var(--pg-surface-hover); box-shadow: var(--pg-shadow); outline: none; }
.pepguru-card:focus-visible { box-shadow: 0 0 0 3px #07141c,0 0 0 6px var(--pg-accent),var(--pg-shadow); }

.pepguru-card--featured { min-height: 108px; background: linear-gradient(120deg,color-mix(in srgb,var(--pg-accent) 17%,rgba(10,28,37,.9)),color-mix(in srgb,var(--pg-secondary) 13%,rgba(9,22,30,.9))); border-color: color-mix(in srgb,var(--pg-accent) 34%,transparent); }

.pepguru-card--highlight { --pg-hl-bg: radial-gradient(130% 120% at 0% 0%,color-mix(in srgb,var(--pg-accent) 26%,rgba(8,24,32,.95)) 0%,rgba(8,22,30,.95) 58%,color-mix(in srgb,var(--pg-secondary) 16%,rgba(8,22,30,.95)) 100%); align-items: flex-start; padding: 44px 55px 20px 16px; border: 1.5px solid color-mix(in srgb,var(--pg-accent) 78%,transparent); background: var(--pg-hl-bg); animation: pepguru-glow 3.2s ease-in-out infinite; }
.pepguru-card--highlight:hover, .pepguru-card--highlight:focus-visible { background: var(--pg-hl-bg); border-color: var(--pg-accent); }
.pepguru-card--highlight .pepguru-card__icon { background: var(--pg-accent); color: #04141a; box-shadow: 0 0 22px color-mix(in srgb,var(--pg-accent) 45%,transparent); }
.pepguru-card--highlight .pepguru-card__title { font-size: 1.2rem; font-weight: 900; }
.pepguru-card--highlight .pepguru-card__description { color: #d6ecf2; }
.pepguru-card--highlight .pepguru-card__badge { top: 14px; left: 16px; right: auto; border: 0; background: var(--pg-accent); color: #04141a; font-size: .66rem; box-shadow: 0 0 16px color-mix(in srgb,var(--pg-accent) 55%,transparent); }
.pepguru-card--highlight .pepguru-card__badge::before { content: "★ "; }
.pepguru-card--highlight .pepguru-card__arrow { color: var(--pg-accent); }

/* Tick-list of features inside the highlight card */
.pepguru-card__features { display: grid; gap: 8px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid color-mix(in srgb,var(--pg-accent) 22%,transparent); list-style: none; }
.pepguru-card__features li { position: relative; margin: 0; padding-left: 25px; color: #eaf7fa; font-size: .86rem; font-weight: 600; line-height: 1.4; }
.pepguru-card__features li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--pg-accent); color: #04141a; font-size: .64rem; font-weight: 900; line-height: 1; }

@keyframes pepguru-glow {
  0%, 100% { box-shadow: 0 16px 45px rgba(0,0,0,.42),0 0 22px color-mix(in srgb,var(--pg-accent) 20%,transparent); }
  50%      { box-shadow: 0 16px 45px rgba(0,0,0,.42),0 0 46px color-mix(in srgb,var(--pg-accent) 42%,transparent); }
}

/* Card parts */
.pepguru-card__icon { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; margin-right: 14px; border-radius: 17px; background: linear-gradient(135deg,color-mix(in srgb,var(--pg-accent) 27%,transparent),color-mix(in srgb,var(--pg-secondary) 18%,transparent)); color: var(--pg-accent); }
.pepguru-card__icon svg, .pepguru-card__arrow svg { width: 24px; height: 24px; fill: currentColor; }
.pepguru-card__body { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.pepguru-card__title { font-size: 1rem; font-weight: 850; letter-spacing: .01em; }
.pepguru-card__description { color: var(--pg-muted); font-size: .86rem; line-height: 1.4; }
.pepguru-card__badge { position: absolute; top: 10px; right: 13px; padding: 4px 8px; border: 1px solid color-mix(in srgb,var(--pg-accent) 32%,transparent); border-radius: 999px; background: rgba(4,11,15,.58); color: var(--pg-accent); font-size: .62rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.pepguru-card__arrow { position: absolute; right: 18px; bottom: 19px; color: #b7c9d2; transition: transform .18s ease,color .18s ease; }
.pepguru-card:hover .pepguru-card__arrow { transform: translate(2px,-2px); color: var(--pg-accent); }

/* "VIEW EBOOK →" label under the featured card */
.pepguru-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 9px; color: var(--pg-accent); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }


/* ---------------------------------------------------------------------
   6. FOOTER
   --------------------------------------------------------------------- */
.pepguru-footer { margin-top: 34px; padding: 22px 10px 0; border-top: 1px solid var(--pg-border); color: var(--pg-muted); font-size: .76rem; line-height: 1.55; }
.pepguru-footer__note { max-width: 610px; margin: 0 auto; }
.pepguru-footer a { color: #d7e8ed !important; text-decoration: none !important; }
.pepguru-footer a:hover, .pepguru-footer a:focus-visible { color: var(--pg-accent) !important; text-decoration: underline !important; }
.pepguru-footer__brand { margin: 15px 0 0; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }


/* ---------------------------------------------------------------------
   7. RESPONSIVE & ACCESSIBILITY
   --------------------------------------------------------------------- */
@media (min-width: 600px) {
  .pepguru-card__features { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
@media (max-width: 480px) {
  .pepguru-shell { padding-inline: 14px; }
  .pepguru-logo-wrap { width: 102px; height: 102px; }
  .pepguru-card { padding-left: 12px; }
  .pepguru-card__icon { flex-basis: 48px; width: 48px; height: 48px; margin-right: 12px; border-radius: 15px; }
  .pepguru-card__description { font-size: .81rem; }
  .pepguru-card--highlight { padding-right: 16px; padding-bottom: 48px; }
  .pepguru-card__features li { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pepguru-linkhub__video { display: none; }
  .pepguru-card, .pepguru-card__arrow { transition: none; }
  .pepguru-card:hover, .pepguru-card:focus-visible { transform: none; }
  .pepguru-card--highlight { animation: none; box-shadow: 0 16px 45px rgba(0,0,0,.42),0 0 30px color-mix(in srgb,var(--pg-accent) 30%,transparent); }
}
