/*
Theme Name: Persona Labs AI Services
Theme URI: https://mavenwebprints.com
Author: Maven Web Prints — Arturo
Author URI: https://mavenwebprints.com
Description: Custom homepage theme for Persona Labs AI Agent Services. Dark editorial aesthetic with red accent, built for local business conversions.
Version: 1.0
License: Private
Text Domain: persona-labs
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --ink: #0d0d0d;
  --paper: #f5f2eb;
  --steel: #1a1a2e;
  --accent: #e84545;
  --gold: #c9a84c;
  --border: rgba(13,13,13,0.12);
  --white: #ffffff;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   WORDPRESS CORE ALIGNMENT (required)
   ============================================================ */
.wp-block-image figure { margin: 0; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { text-align: center; margin: 0 auto 1em; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.pl-hero {
  min-height: 100vh;
  background: var(--steel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.pl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(232,69,69,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pl-hero__eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}

.pl-hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  max-width: 900px;
  position: relative;
}

.pl-hero__title span { color: var(--accent); }

.pl-hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-top: 28px;
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}

.pl-hero__tagline {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  letter-spacing: 0.1em;
  position: relative;
}

.pl-hero__tagline-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  display: block;
}

/* Hero animation */
@keyframes pl-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pl-hero > * { animation: pl-fadeUp 0.8s ease both; }
.pl-hero__eyebrow  { animation-delay: 0.1s; }
.pl-hero__title    { animation-delay: 0.2s; }
.pl-hero__sub      { animation-delay: 0.35s; }
.pl-hero__tagline  { animation-delay: 0.5s; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.pl-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pl-section__label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pl-section__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 60px;
  color: var(--ink);
}

/* ============================================================
   BENEFITS GRID
   ============================================================ */
.pl-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pl-benefit-card {
  background: var(--paper);
  padding: 36px 32px;
  transition: background 0.2s;
}

.pl-benefit-card:hover { background: var(--white); }

.pl-benefit-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.pl-benefit-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.pl-benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(13,13,13,0.65);
  font-weight: 300;
}

/* ============================================================
   SERVICE TIER CARDS
   ============================================================ */
.pl-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pl-tier-card {
  border: 1px solid var(--border);
  padding: 48px 40px;
  position: relative;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.pl-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Tier 2 — Featured (dark) */
.pl-tier-card--featured {
  background: var(--steel);
  border-color: transparent;
}

.pl-tier-card--featured,
.pl-tier-card--featured * { color: var(--white) !important; }

.pl-tier-card--featured .pl-features-list li::before { color: var(--gold) !important; }
.pl-tier-card--featured .pl-skill-tag { background: rgba(255,255,255,0.1) !important; }

/* Tier 3 — Full width dark */
.pl-tier-card--tier3 {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border-color: transparent;
  grid-column: span 3;
}

.pl-tier-card--tier3,
.pl-tier-card--tier3 * { color: var(--white) !important; }

.pl-tier-card--tier3 .pl-features-list li::before { color: var(--gold) !important; }

/* Badge */
.pl-tier-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid currentColor;
  margin-bottom: 28px;
  opacity: 0.5;
  color: var(--ink);
}

.pl-tier-card--featured .pl-tier-badge {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

.pl-tier-card--tier3 .pl-tier-badge {
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}

/* Tier name */
.pl-tier-name {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--ink);
}

.pl-tier-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(13,13,13,0.55);
  margin-bottom: 36px;
  line-height: 1.5;
}

.pl-tier-divider {
  height: 1px;
  background: currentColor;
  opacity: 0.1;
  margin-bottom: 32px;
}

.pl-tier-section-label {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 14px;
  margin-top: 28px;
  color: var(--ink);
}

/* Lists */
.pl-features-list,
.pl-skills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pl-features-list li,
.pl-skills-list li {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  color: var(--ink);
}

.pl-features-list li::before {
  content: '✓';
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

.pl-skills-list li::before {
  content: '⚡';
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Skill tag */
.pl-skill-tag {
  display: inline-block;
  background: rgba(13,13,13,0.06);
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 12px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Tier 3 inner layout */
.pl-tier3-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.pl-tier3-skills {
  columns: 2;
  column-gap: 20px;
}

.pl-tier3-skills li { break-inside: avoid; }

/* Team block */
.pl-team-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px 24px;
  margin-top: 24px;
}

.pl-team-block h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-bottom: 16px;
}

/* ============================================================
   PLATFORM SECTION
   ============================================================ */
.pl-platform-section {
  background: var(--steel);
  color: var(--white);
  padding: 100px 24px;
}

.pl-platform-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pl-platform-inner .pl-section__label {
  color: var(--gold);
}

.pl-platform-inner .pl-section__title {
  color: var(--white);
  max-width: 700px;
}

.pl-platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: 60px;
}

.pl-platform-card {
  background: var(--steel);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.pl-platform-card:hover {
  background: rgba(255,255,255,0.04);
}

.pl-platform-card .pl-platform-card__icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: block;
}

.pl-platform-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.pl-platform-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--white);
  font-weight: 300;
}

/* ============================================================
   FOOTER CTA BANNER
   ============================================================ */
.pl-footer-cta {
  background: var(--accent);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.pl-footer-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.pl-footer-cta p {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pl-tiers {
    grid-template-columns: 1fr !important;
  }
  .pl-tier-card--tier3 {
    grid-column: auto !important;
  }
}

@media (max-width: 768px) {
  .pl-tier3-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pl-tier3-skills {
    columns: 1;
  }
}
