/* =========================================================
   WORDPRESS WEB VITALS LANDING — wv-* component styles
   Dark theme, consistent with portfolio.css variables
   ========================================================= */

body.is-wordpress-vitals {
  background-color: #000 !important;
  color: var(--color-white);
}

body.is-wordpress-vitals .section-header h2 {
  color: var(--color-white);
}

body.is-wordpress-vitals .section-header p {
  color: var(--color-gray-500);
}

/* ── Hero ── */
.wv-hero {
  position: relative;
  background: var(--gradient-brand-deep);
  padding: 3rem 0 2.5rem;
  overflow: hidden;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(87, 50, 250, 0.25), transparent 48%),
    radial-gradient(circle at 15% 85%, rgba(124, 250, 195, 0.08), transparent 40%);
  pointer-events: none;
}

.wv-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.wv-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.wv-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.wv-breadcrumb a:hover {
  color: var(--color-mint);
}

.wv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 250, 195, 0.08);
  color: var(--color-mint);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  border: 1px solid rgba(124, 250, 195, 0.12);
}

.wv-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--color-mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-mint);
}

.wv-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

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

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

.wv-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.wv-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.wv-hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wv-hero-stat {
  text-align: center;
}

.wv-hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
}

.wv-hero-stat strong em {
  color: var(--color-mint);
  font-style: normal;
}

.wv-hero-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Sections ── */
.wv-section {
  padding: 3.5rem 0;
}

.wv-section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.wv-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.wv-card h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.wv-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.wv-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  background: rgba(124, 250, 195, 0.1);
  color: var(--color-mint);
  border: 1px solid rgba(124, 250, 195, 0.2);
}

.wv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.wv-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.wv-step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-mint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.wv-step h3 {
  color: var(--color-white);
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.wv-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Projects grid ── */
.wv-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.wv-project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.wv-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 250, 195, 0.35);
}

.wv-project-logo {
  height: 170px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 1rem;
}

.wv-project-logo img {
  max-width: 100%;
  max-height: 138px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.wv-project-monogram {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #5732fa, #7c6bff);
}

.wv-project-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.wv-project-body h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  line-height: 1.3;
}

.wv-project-body h3 a {
  color: inherit;
  text-decoration: none;
}

.wv-project-body h3 a:hover {
  color: var(--color-mint);
}

.wv-project-body p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.wv-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wv-project-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wv-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-mint);
  text-decoration: none;
  margin-top: 0.25rem;
}

.wv-project-link:hover {
  text-decoration: underline;
}

/* ── Portfolio bottom banner ── */
.pf-wv-banner {
  background: linear-gradient(135deg, rgba(87, 50, 250, 0.16), rgba(124, 250, 195, 0.08));
  border: 1px solid rgba(124, 250, 195, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pf-wv-banner h2 {
  color: var(--color-white);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.pf-wv-banner p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  line-height: 1.6;
}

/* ── CTA ── */
.wv-cta {
  background: var(--gradient-brand-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0;
  text-align: center;
}

.wv-cta h2 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.wv-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

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

.wv-steps--compact .wv-step {
  padding: 1.1rem;
}

.wv-steps--compact .wv-step h3 {
  font-size: 0.95rem;
}

.wv-steps--compact .wv-step p {
  font-size: 0.82rem;
}

@media (max-width: 1200px) {
  .wv-steps--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .wv-grid-3,
  .wv-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .wv-grid-3,
  .wv-projects-grid,
  .wv-steps {
    grid-template-columns: 1fr;
  }

  .wv-hero-stats {
    gap: 1.5rem;
  }
}
