/* ============================================
   WP Protection — SEO Landing Pages Styles
   Extends css/style.css design system
   ============================================ */

/* Breadcrumbs */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* Page Hero */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, var(--hero-glow, rgba(239,68,68,0.12)), transparent 70%);
  pointer-events: none;
}
.page-hero .badge {
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  max-width: 800px;
}
.page-hero .hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.7;
}
.page-hero .hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--surface-border);
  flex-wrap: wrap;
}
.trust-bar .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-bar .item .num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}
.trust-bar .item .num em {
  font-style: normal;
  color: var(--urgent);
}
.trust-bar .item .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Content Sections */
.page-section {
  padding: 5rem 0;
  position: relative;
}
.page-section + .page-section {
  border-top: 1px solid var(--surface-border);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.section-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--urgent);
}

.page-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 20ch;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Two column content layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.content-grid.reverse {
  direction: rtl;
}
.content-grid.reverse > * {
  direction: ltr;
}

/* Content prose */
.prose {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.prose h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  margin: 2.5rem 0 0.75rem;
  font-weight: 600;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose p {
  margin-bottom: 1rem;
}
.prose strong {
  color: var(--text-main);
  font-weight: 600;
}
.prose ul, .prose ol {
  padding-left: 0;
  list-style: none;
  margin: 1rem 0;
}
.prose li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.prose li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--safe);
  font-weight: 700;
}
.prose li:last-child {
  border-bottom: none;
}

/* Feature cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-card .icon.red { background: rgba(239,68,68,0.1); }
.feature-card .icon.blue { background: rgba(59,130,246,0.1); }
.feature-card .icon.green { background: rgba(16,185,129,0.1); }
.feature-card .icon.amber { background: rgba(245,158,11,0.1); }
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Checklist with green checks */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.checklist li:last-child { border-bottom: none; }
.checklist .check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--safe);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Info box / callout */
.callout {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.05));
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}
.callout.urgent {
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(245,158,11,0.05));
  border-color: rgba(239,68,68,0.25);
}
.callout h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.callout p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Internal Links / Cocon Sémantique */
.related-links {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3rem 0;
}
.related-links h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.link-card:hover {
  border-color: var(--primary);
  background: rgba(59,130,246,0.05);
  transform: translateX(3px);
}
.link-card .arrow {
  margin-left: auto;
  opacity: 0.4;
  transition: var(--transition);
}
.link-card:hover .arrow {
  opacity: 1;
  color: var(--primary);
}
.link-card .link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* FAQ Accordion */
.page-faq {
  margin: 3rem 0;
}
.page-faq details {
  border-bottom: 1px solid var(--surface-border);
  padding: 1.25rem 0;
}
.page-faq details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.page-faq details summary::-webkit-details-marker { display: none; }
.page-faq details summary h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.page-faq details summary .toggle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.page-faq details[open] summary .toggle {
  background: var(--urgent);
  border-color: var(--urgent);
  color: #fff;
  transform: rotate(45deg);
}
.page-faq details .answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
  padding-top: 0.75rem;
}

/* CTA Section */
.page-cta {
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(59,130,246,0.06));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.page-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.page-cta > * { position: relative; z-index: 1; }
.page-cta h2 {
  max-width: none;
  margin-bottom: 0.75rem;
}
.page-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}
.page-cta .cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pricing inline */
.price-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  margin: 1.5rem 0;
}
.price-highlight .amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.price-highlight .amount em {
  font-style: normal;
  color: var(--urgent);
}
.price-highlight .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
}
.stat-item .val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}
.stat-item .val em {
  font-style: normal;
  color: var(--urgent);
}
.stat-item .desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Page Footer (simplified, reuses existing) */
.page-footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--surface-border);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-inner h6 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-inner a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.footer-inner a:hover { color: var(--text-main); }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  max-width: 32ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-grid.reverse {
    direction: ltr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .page-hero {
    padding: 7rem 0 3rem;
  }
  .page-hero .hero-ctas {
    flex-direction: column;
  }
  .page-cta {
    padding: 3rem 1.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .trust-bar {
    flex-direction: column;
    gap: 1rem;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   Category-Specific Styles
   ============================================ */

/* Highlight text (blue for security pages) */
.highlight-text {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blue dot for section labels */
.section-label .dot.blue { background: var(--primary); }
.section-label .dot.green { background: #10b981; }

/* Button: safe (green for maintenance) */
.btn-safe {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-safe:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.3);
}

/* Button: primary (blue for security) */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.3);
}

/* Callout variants */
.callout.blue {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(96,165,250,0.05));
  border-color: rgba(59,130,246,0.25);
}

/* Link icon colored backgrounds */
.link-icon.icon-red { background: rgba(239,68,68,0.12); }
.link-icon.icon-blue { background: rgba(59,130,246,0.12); }
.link-icon.icon-green { background: rgba(16,185,129,0.12); }

/* Active nav link */
.nav-links a.active {
  color: var(--primary);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
