/* ═══════════════════════════════════════════════════════════════
   EGJobank — Editorial / AdSense value UI (does not alter ads)
═══════════════════════════════════════════════════════════════ */

/* Reveal on scroll */
.eg-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.eg-reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .eg-reveal { opacity: 1; transform: none; transition: none; }
}

.eg-value-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(201,162,39,.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Job page value panels */
.eg-value-panel {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0f1e30 0%, #1a2e4a 55%, #243b59 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.eg-value-panel__glow {
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 160px;
  background: radial-gradient(circle, rgba(201,162,39,.35), transparent 70%);
  pointer-events: none;
  animation: egGlow 6s ease-in-out infinite alternate;
}
@keyframes egGlow {
  from { transform: translateX(0) scale(1); opacity: .7; }
  to { transform: translateX(-30px) scale(1.15); opacity: 1; }
}
.eg-value-panel__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #fff;
}
.eg-value-summary {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255,255,255,.92);
  margin: 0 0 .85rem;
}
.eg-value-note {
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255,255,255,.62);
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: .75rem;
}

.eg-tips-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.eg-tips-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.eg-tips-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.eg-tips-card--checklist {
  background: linear-gradient(180deg, #fff 0%, var(--gold-pale) 140%);
  border-color: rgba(201,162,39,.35);
}
.eg-tips-card__icon {
  width: 44px;
  height: 44px;
  color: var(--navy);
  margin-bottom: .65rem;
}
.eg-tips-card__icon svg { width: 100%; height: 100%; }
.eg-tips-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 .85rem;
}
.eg-tips-list {
  margin: 0;
  padding: 0 1.1rem 0 0;
  list-style: decimal;
  color: var(--gray-800);
}
.eg-tips-list li {
  margin-bottom: .65rem;
  line-height: 1.7;
  padding-right: .15rem;
}
.eg-checklist {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.eg-checklist li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .7rem;
  line-height: 1.55;
  font-size: .95rem;
  color: var(--gray-800);
}
.eg-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--navy);
  position: relative;
}
.eg-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.eg-inline-link {
  display: inline-block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.eg-inline-link:hover { color: var(--gold); }

.eg-guides { margin-top: 2rem; }
.eg-guides__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.eg-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.eg-guide-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--gray-200);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  min-height: 140px;
}
.eg-guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,162,39,.55);
  box-shadow: var(--shadow);
}
.eg-guide-card__meta { font-size: .78rem; color: var(--gray-600); }
.eg-guide-card__title {
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
}
.eg-guide-card__excerpt {
  font-size: .86rem;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Homepage editorial (below hero) */
.eg-editorial {
  padding: 72px 0 56px;
  position: relative;
}
.eg-mesh-soft {
  background:
    radial-gradient(900px 320px at 10% 0%, rgba(201,162,39,.12), transparent 60%),
    radial-gradient(700px 280px at 90% 20%, rgba(26,46,74,.08), transparent 55%),
    var(--off-white);
}
.eg-editorial__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.eg-editorial__lead {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin: .75rem 0 1.1rem;
  max-width: 36rem;
}
.eg-editorial__bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.eg-editorial__bullets li {
  position: relative;
  padding: .45rem 1.6rem .45rem 0;
  font-weight: 600;
  color: var(--navy);
}
.eg-editorial__bullets li::before {
  content: '';
  position: absolute;
  right: 0;
  top: .75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 0 4px rgba(201,162,39,.18);
}
.eg-editorial__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.eg-editorial__cards {
  position: relative;
  min-height: 280px;
}
.eg-float-card {
  position: absolute;
  width: min(240px, 78%);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  animation: egFloat 5.5s ease-in-out infinite;
}
.eg-float-card__icon { font-size: 1.4rem; display: block; margin-bottom: .35rem; }
.eg-float-card strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: .25rem; }
.eg-float-card p { margin: 0; font-size: .86rem; color: var(--gray-600); line-height: 1.5; }
.eg-float-card--a { top: 8%; right: 8%; animation-delay: 0s; }
.eg-float-card--b { top: 38%; left: 4%; animation-delay: .6s; }
.eg-float-card--c { bottom: 4%; right: 18%; animation-delay: 1.2s; }
@keyframes egFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.eg-why .why-card {
  transition: transform .35s ease, box-shadow .35s ease;
}
.eg-why .why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.eg-why-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-pale);
  color: var(--navy);
  margin-bottom: .75rem;
}
.eg-blog-lift {
  transition: transform .3s ease, box-shadow .3s ease;
}
.eg-blog-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* About page */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1e30 0%, #1a2e4a 45%, #2c4a6e 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.about-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .45;
  pointer-events: none;
}
.about-hero__orb--1 {
  width: 280px; height: 280px;
  background: rgba(201,162,39,.55);
  top: -80px; left: 10%;
  animation: egOrb 10s ease-in-out infinite alternate;
}
.about-hero__orb--2 {
  width: 220px; height: 220px;
  background: rgba(59,130,246,.35);
  bottom: -60px; right: 12%;
  animation: egOrb 12s ease-in-out infinite alternate-reverse;
}
@keyframes egOrb {
  from { transform: translate(0, 0); }
  to { transform: translate(24px, -18px); }
}
.about-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.about-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.35;
  margin: .4rem 0 1rem;
}
.about-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 auto 1.5rem;
}
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  background: transparent;
  padding: .7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: var(--transition);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.about-body { padding: 3.5rem 0 4rem; max-width: 1060px; }
.about-section-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 1.25rem;
  text-align: center;
}
.about-story {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.about-story__text h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 .85rem;
}
.about-story__text p {
  color: var(--gray-600);
  line-height: 1.85;
  margin: 0 0 1rem;
}
.about-graphic {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gold-pale), #fff 50%, #eef2ff);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.about-graphic__ring {
  position: absolute;
  inset: 18%;
  border: 2px dashed rgba(26,46,74,.2);
  border-radius: 50%;
  animation: egSpin 28s linear infinite;
}
@keyframes egSpin { to { transform: rotate(-360deg); } }
.about-graphic__card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: .55rem .85rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  animation: egFloat 4.8s ease-in-out infinite;
}
.about-graphic__card--1 { top: 18%; right: 12%; }
.about-graphic__card--2 { top: 46%; left: 10%; animation-delay: .5s; }
.about-graphic__card--3 { bottom: 16%; right: 22%; animation-delay: 1s; }

.about-pillars { margin-bottom: 3.5rem; }
.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.about-pillar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.about-pillar__num {
  display: block;
  font-size: .85rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: .5rem;
}
.about-pillar h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 .5rem;
}
.about-pillar p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: .94rem;
}

.about-values { margin-bottom: 3rem; }
.about-values__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-values__list li {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--gray-200);
}
.about-values__list strong {
  display: block;
  color: var(--navy);
  margin-bottom: .35rem;
  font-size: 1rem;
}
.about-values__list span {
  color: var(--gray-600);
  font-size: .92rem;
  line-height: 1.65;
}

.about-standards { margin-bottom: 3rem; }
.about-standards__card {
  background: linear-gradient(135deg, var(--navy), #2c4a6e);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-lg);
}
.about-standards__card h2 {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
}
.about-standards__card p {
  margin: 0 0 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
}
.about-standards__links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
}
.about-standards__links a {
  color: var(--gold-light);
  font-weight: 700;
  border-bottom: 1px solid rgba(232,197,71,.45);
}
.about-stats-wrap { margin-bottom: 1rem; }

/* Landing intro enrichment */
.eg-landing-intro {
  position: relative;
  border: 1px solid rgba(26,46,74,.08);
  box-shadow: var(--shadow-sm);
}
.eg-landing-intro__badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--gold-pale);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.eg-landing-intro__footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px dashed var(--gray-200);
  font-size: .9rem;
  font-weight: 700;
}
.eg-landing-intro__footer a { color: var(--navy); }
.eg-landing-intro__footer a:hover { color: var(--gold); }

/* Contact polish */
.contact-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.contact-trust__item {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .85rem .9rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--gray-600);
}
.contact-trust__item strong {
  display: block;
  color: var(--navy);
  margin-bottom: .25rem;
}

@media (max-width: 900px) {
  .eg-tips-grid,
  .eg-editorial__grid,
  .about-story,
  .about-pillars__grid,
  .eg-guides__grid {
    grid-template-columns: 1fr;
  }
  .about-values__list,
  .contact-trust {
    grid-template-columns: 1fr;
  }
  .eg-editorial__cards {
    min-height: 220px;
  }
  .eg-float-card { position: relative; width: auto; margin-bottom: .75rem; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
  .eg-editorial__cards { display: grid; gap: .75rem; }
}
