/* footer-canonical.css — EXACT copy of the footer rules from
   client/src/styles/pricing-redesign.css (lines 1055-1589), so the STATIC
   desktop pages (landing-clean.html, contact.html) render the SAME canonical
   .pp2-foot--full footer as the React app. KEEP IN SYNC with that file if the
   footer CSS changes. Fully class-scoped (.pp2-foot* / .pp-why*) — safe to link
   into static pages without affecting their own styles. [2026-06-02 Radu]. */

.pp2-foot {
  /* [2026-06-01] Premium footer design system (Radu). Tokens scoped to the
     footer so full / minimal / ultra variants share ONE palette and read as a
     single system. --pp- prefix per project convention. */
  --pp-foot-bg-top: #07111c;
  --pp-foot-bg-bot: #050b12;
  --pp-foot-text:   #eaf2ff;
  --pp-foot-muted:  #8ea3b8;
  --pp-foot-accent: #5bba47;
  --pp-foot-border: rgba(91, 186, 71, 0.16);
  --pp-foot-hair:   rgba(120, 170, 210, 0.10);
  --pp-foot-max:    1280px;
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--pp-foot-bg-top) 0%, var(--pp-foot-bg-bot) 100%);
  border-top: 1px solid var(--pp-foot-border);
  color: var(--pp-foot-muted);
  box-sizing: border-box;
}
/* Lifted top edge — a faint green hairline sitting just over the border so the
   footer reads as a deliberate surface, not where the page "runs out". */
.pp2-foot::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 186, 71, 0.45), transparent);
  pointer-events: none;
}

/* ── [2026-06-01] "DE CE PITCHPERFECT" — PAGE-CONTENT trust section ─────────
   Moved OUT of the footer (Radu strict spec): the four credibility cards are
   marketing/trust content and belong to the page body (home + pricing), above
   the footer — not inside it. Rendered by components/WhyPitchPerfect.tsx. The
   --pp-foot-* tokens are scoped to .pp2-foot, so use literal fallbacks here. */
.pp-why { width: 100%; }
.pp-why-inner { max-width: 1280px; margin: 0 auto; padding: 56px 48px; box-sizing: border-box; }
.pp-why-head { text-align: center; margin-bottom: 32px; }
.pp-why-eyebrow {
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3px; color: #5bba47;
}
.pp-why-title {
  margin: 8px 0 0; font-family: 'Rajdhani', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: 0.3px; color: #eaf2ff;
}
.pp-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp-why-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(120, 170, 210, 0.12);
  border-radius: 16px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.pp-why-card:hover {
  border-color: rgba(91, 186, 71, 0.32);
  background: rgba(91, 186, 71, 0.05);
  transform: translateY(-3px);
}
/* Lead card (AI MultiBrain™) — the core differentiator, accented so the eye
   lands here first and the four number cards read as supporting proof. */
.pp-why-card--lead {
  border-color: rgba(91, 186, 71, 0.30);
  background: rgba(91, 186, 71, 0.06);
}
/* Featured lead card (AI MultiBrain™) spans two columns so the 5-card set fills
   the 3-col grid cleanly (row 1: AI ▸▸ + 50.000+ · row 2: 53 + 247 + Date). */
.pp-why-card--featured { grid-column: span 2; }
.pp-why-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  color: #5bba47; background: rgba(91, 186, 71, 0.10);
  border: 1px solid rgba(91, 186, 71, 0.22);
}
.pp-why-card-title {
  margin: 0; font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 800; line-height: 1.2; color: #eaf2ff;
}
.pp-why-card-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: #8ea3b8; }
/* Stat cards — the big number is the value, the label is the context line. */
.pp-why-card--stat { gap: 8px; }
.pp-why-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: 0.5px;
  color: #eaf2ff;
}
.pp-why-stat-label { font-size: 13.5px; line-height: 1.4; color: #8ea3b8; }
@media (max-width: 900px) {
  .pp-why-grid { grid-template-columns: 1fr 1fr; }
  .pp-why-inner { padding: 44px 20px; }
  .pp-why-value { font-size: 38px; }
}
@media (max-width: 540px) {
  .pp-why-grid { grid-template-columns: 1fr; }
  .pp-why-card--featured { grid-column: auto; }
  .pp-why-title { font-size: 23px; }
}

/* DashboardComplete: .dc-root is no longer a grid (sidebar is now
   position: fixed in dashboard-complete.css). The footer's left offset
   to clear the fixed sidebar is set there (margin-left: 240px on
   .pp-platform.dc-root > .pp2-foot), keeping layout concerns local. */

.pp2-foot-inner {
  width: 100%;
  /* Full-bleed dark background, but the CONTENT is capped + centered so the
     footer reads as a contained "platform" block on wide marketing pages. */
  max-width: var(--pp-foot-max);
  margin: 0 auto;
  /* [2026-06-01] Slim closing footer (Radu): tight top/bottom padding so the
     full footer stays in the 220–350px target. */
  padding: 24px 48px 14px;
  display: grid;
  /* identity block (wider) + 4 link columns (Produs/Cont/Legal/Contact).
     ≤900px → identity full-row + 2 cols, ≤540 → 1 col. */
  grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .pp2-foot-inner { gap: 32px; }
}
@media (max-width: 900px) {
  .pp2-foot-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px 24px 28px; }
  .pp2-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .pp2-foot-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 24px; }
}

/* ── [2026-06-01] Slim full footer: tighter columns + two compact bottom bands
   (security + base) so the footer stays in the 220–350px target. ── */
.pp2-foot--full .pp2-foot-head { margin-bottom: 10px; padding-bottom: 6px; }
.pp2-foot--full .pp2-foot-list { gap: 7px; }
.pp2-foot--full .pp2-foot-link { font-size: 13.5px; line-height: 1.3; }

/* BOTTOM — one container, two compact rows (security + base). Single padding +
   single top border keeps the band tight (footer stays under the 350px cap). */
.pp2-foot-bottom--full {
  max-width: var(--pp-foot-max); margin: 0 auto;
  padding: 14px 48px;
  border-top: 1px solid var(--pp-foot-hair);
  display: flex; flex-direction: column; gap: 10px;
  box-sizing: border-box;
}
.pp2-foot-secure,
.pp2-foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px;
}
.pp2-foot--full .pp2-foot-pay { flex-direction: row; align-items: center; gap: 12px; }
.pp2-foot--full .pp2-foot-pay-label { white-space: nowrap; }
.pp2-foot--full .pp2-foot-pay-badge { height: 32px; min-width: 52px; padding: 5px 10px; }
.pp2-foot--full .pp2-foot-pay-badge svg { height: 20px; }
.pp2-foot--full .pp2-foot-anpc-badge img { height: 32px; }
.pp2-foot-base-left { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pp2-foot-base-disc {
  font-family: 'Inter', sans-serif; font-style: italic; font-size: 12px;
  color: var(--pp-foot-muted);
}
@media (max-width: 900px) {
  .pp2-foot-bottom--full { padding: 14px 20px; }
  .pp2-foot-secure { justify-content: center; }
  .pp2-foot--full .pp2-foot-pay { flex-direction: column; align-items: center; }
  .pp2-foot-base { justify-content: center; text-align: center; }
  .pp2-foot-base-left { justify-content: center; }
}

/* ── [2026-06-01] FULL footer: identity + columns ── */
.pp2-foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.pp2-foot-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 23px; font-weight: 900; letter-spacing: 1.5px;
  color: var(--pp-foot-text); text-decoration: none; line-height: 1;
}
.pp2-foot-logo-tld { color: var(--pp-foot-accent); }
.pp2-foot-tagline {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--pp-foot-text);
}
.pp2-foot-tagline span {
  background: linear-gradient(135deg, var(--pp-foot-accent), #0ea5e9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pp2-foot-brand-desc { margin: 2px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--pp-foot-muted); }
.pp2-foot-brand-socs { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.pp2-foot-contact { display: inline-flex; align-items: center; gap: 8px; }
.pp2-foot-contact-ico { color: var(--pp-foot-accent); font-size: 13px; }

/* Contact / Companie — legal identity lines (non-link rows read as muted meta). */
.pp2-foot-list--company { gap: 7px; }
.pp2-foot-company-name { color: var(--pp-foot-text); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.pp2-foot-company-meta { color: var(--pp-foot-muted); font-size: 12.5px; line-height: 1.4; }
.pp2-foot-company-gdpr { margin-top: 4px; color: var(--pp-foot-muted); font-size: 12px; line-height: 1.55; }

/* Trust band — payment + ANPC on one row, between content and disclaimer.
   Content capped to the same container width as the link grid so the three
   bands (links / trust / bottom) stay vertically aligned on wide screens. */
.pp2-foot-trust {
  max-width: var(--pp-foot-max);
  margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px 40px;
  padding: 26px 48px;
  border-top: 1px solid var(--pp-foot-hair);
  box-sizing: border-box;
}
.pp2-foot-pay { display: flex; flex-direction: column; gap: 10px; }
.pp2-foot-anpc { display: inline-flex; align-items: center; gap: 12px; }
@media (max-width: 900px) {
  .pp2-foot-trust { justify-content: center; padding: 22px 20px; }
  .pp2-foot-pay { align-items: center; }
}

/* Slim FULL bottom bar — © · Made in Romania · domain. */
.pp2-foot-bottom--slim .pp2-foot-bottom-slim-inner {
  width: 100%; max-width: var(--pp-foot-max); margin: 0 auto;
  padding: 18px 48px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 24px;
  box-sizing: border-box;
}
.pp2-foot-bot-domain {
  font-family: 'Inter', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.15s ease;
}
.pp2-foot-bot-domain:hover { color: var(--pp-foot-accent); }
@media (max-width: 540px) {
  .pp2-foot-bottom--slim .pp2-foot-bottom-slim-inner { justify-content: center; text-align: center; padding: 18px 20px; }
}

.pp2-foot-col { display: flex; flex-direction: column; }

.pp2-foot-head {
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--pp-foot-text);
  margin: 0 0 18px;
  padding-bottom: 12px;
  display: block;
}
/* Short accent rule under each heading — premium, not a full-width bar. */
.pp2-foot-head::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; border-radius: 2px;
  background: var(--pp-foot-accent);
}

.pp2-foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pp2-foot-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--pp-foot-muted);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.pp2-foot-link:hover { color: var(--pp-foot-accent); transform: translateX(2px); }
.pp2-foot-contact:hover { transform: none; }

.pp2-foot-blurb {
  margin: 16px 0 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 320px;
}
.pp2-foot-blurb--lead {
  margin-top: 0;
  max-width: none;
  font-size: 13.5px;
  line-height: 1.7;
  color: #CBD5E1;
}

/* ── DISCLAIMER BAND ────────────────────────────────────────────────
   Sits between the 4-col content block and the 3-col bottom bar.
   Pulled out of the bottom-bar so legal copy stops competing with
   payment + ANPC badges. Always centered, max-width 720px. */
.pp2-foot-disclaimer {
  border-top: 1px solid var(--pp-foot-hair);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
}
.pp2-foot-disclaimer p {
  margin: 0;
  max-width: 720px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
  color: var(--pp-foot-muted);
  text-align: center;
}

/* ── BOTTOM BAR ─────────────────────────────────────────────────────
   Three symmetric columns:
     left  → © + Made în România + socials
     pay   → "Plăți securizate" label + uniform white-pill badges
     anpc  → ANPC SAL + SOL pictograms (max-height 48px)
   On ≤768px collapses to a single centered stack. */
.pp2-foot-bottom {
  border-top: 1px solid var(--pp-foot-hair);
  background: rgba(0, 0, 0, 0.28);
}

/* [2026-05-31] Minimal footer (logged-in app pages): a single compact bar —
   copyright (left) · payment (center) · ANPC (right). The 4-column content +
   disclaimer are not rendered (see SiteFooter.tsx). Drop the made-in-RO flag +
   social row so the left cell is just the copyright line, and shrink the ANPC
   pictograms. */
.pp2-foot--minimal .pp2-foot-bot-flag,
.pp2-foot--minimal .pp2-foot-bot-socs { display: none; }
.pp2-foot--minimal .pp2-foot-bottom-inner { padding: 14px 48px; }
.pp2-foot--minimal .pp2-foot-anpc-badge img { height: 30px; width: auto; }
/* Compact disclaimer line under the minimal bottom bar (premium-consistent). */
.pp2-foot--minimal .pp2-foot-mini-disclaimer {
  margin: 0; padding: 10px 48px 16px; text-align: center;
  font-family: 'Inter', sans-serif; font-size: 12px; font-style: italic;
  line-height: 1.5; color: var(--pp-foot-muted);
  border-top: 1px solid var(--pp-foot-hair);
}
@media (max-width: 768px) {
  .pp2-foot--minimal .pp2-foot-mini-disclaimer { padding: 10px 20px 14px; }
}

/* [2026-06-02] Landing-light footer removed — superseded by the ONE canonical
   FULL footer everywhere (auth pages keep ULTRA). The `.pp2-foot--minimal*`
   rules below are now inert (no DOM element carries those classes) and are
   slated for a separate surgical dead-CSS removal — they're left in place for
   now because they interleave with shared base rules (.pp2-foot-legal used by
   ULTRA, .pp2-foot-bot-copy used by FULL) and a blanket delete would break
   those. */

/* [2026-05-31] Inline legal line (used by minimal footer above the bottom bar,
   and by the ultra/auth footer). " · "-separated policy links. */
.pp2-foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 14px 48px 0;
  font-size: 12.5px;
  line-height: 1.7;
}
.pp2-foot-legal-link {
  color: var(--pp-foot-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.pp2-foot-legal-link:hover { color: var(--pp-foot-accent); }
.pp2-foot-legal-sep { color: rgba(255, 255, 255, 0.24); }

/* Ultra footer (auth pages): centered legal line + one small ANPC SAL badge. */
.pp2-foot--ultra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--pp-foot-border);
  background: rgba(0, 0, 0, 0.30);
}
.pp2-foot--ultra .pp2-foot-legal { padding: 0; font-size: 13px; }
.pp2-foot-ultra-anpc img { height: 34px; width: auto; display: block; opacity: 0.92; }

.pp2-foot-bottom-inner {
  width: 100%;
  /* No max-width cap — bottom bar is full-bleed by design. */
  padding: 22px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  box-sizing: border-box;
}

.pp2-foot-bot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp2-foot-bot-col--left   { align-items: flex-start;  justify-self: start; }
.pp2-foot-bot-col--pay    { align-items: center;      justify-self: center; }
.pp2-foot-bot-col--anpc   { align-items: flex-end;    justify-self: end; flex-direction: row; gap: 12px; }

/* Col 1 — copyright + flag + socials */
.pp2-foot-bot-copy {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}
.pp2-foot-bot-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--pp-foot-muted);
  white-space: nowrap;
}
.pp2-foot-bot-flag svg {
  flex-shrink: 0;
  border-radius: 2px;
}
.pp2-foot-bot-socs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Col 2 — payment trust strip.
   Eyebrow label + uniform 48px-tall white pills. Visa / MC / Stripe all
   ride on the same white background so the row reads as one consistent
   "secure payments" unit (vs. the prior mix of dark blue + transparent
   + purple). */
.pp2-foot-pay-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pp-foot-muted);
}
.pp2-foot-pay-badges {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.pp2-foot-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 70px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-sizing: border-box;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pp2-foot-pay-badge:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.pp2-foot-pay-badge svg {
  display: block;
  height: 32px;
  width: auto;
}

/* Col 3 — ANPC pictograms.
   Smaller than the prior 70px (Ordinul ANPC 449/2022 requires the marks
   be present and clickable, not dominant). 48px keeps them visible
   without crushing the rest of the bar. */
.pp2-foot-anpc-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.pp2-foot-anpc-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.pp2-foot-anpc-badge img {
  display: block;
  height: 48px;
  width: auto;
}

/* Social icons — compact, ghost style. Square, subtle, accent on hover. */
.pp2-foot-soc {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: var(--pp-foot-muted);
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.pp2-foot-soc:hover {
  color: var(--pp-foot-text);
  border-color: rgba(91, 186, 71, 0.5);
  background: rgba(91, 186, 71, 0.10);
  transform: translateY(-1px);
}

/* Responsive — stack to single column on tablet / mobile. Center every
   col's content so the symmetry survives the collapse. */
@media (max-width: 900px) {
  .pp2-foot-bottom-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }
  .pp2-foot-bot-col--left,
  .pp2-foot-bot-col--pay,
  .pp2-foot-bot-col--anpc {
    justify-self: center;
    align-items: center;
    text-align: center;
  }
  .pp2-foot-bot-col--left { gap: 12px; }
  .pp2-foot-bot-col--anpc { flex-direction: row; justify-content: center; }
}
@media (max-width: 540px) {
  .pp2-foot-pay-badges { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .pp2-foot-anpc-badge img { height: 40px; }
}
