/*
Theme Name: ForLifeHealth OS
Author: Gabriel
Description: World-class Health Operating System — clean, professional, premium.
Version: 3.0
Text Domain: forlifehealth
*/

/* ============================================================
   GOOGLE FONTS — Plus Jakarta Sans + Inter
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette — Clean Professional */
  --bg-white:       #FFFFFF;
  --bg-light:       #F7F8FA;
  --bg-soft:        #EEF1F6;
  --navy:           #0D1B2A;
  --navy-mid:       #1A3050;
  --navy-light:     #2C4A6E;
  --amber:          #D4A843;
  --amber-light:    #EBC46D;
  --amber-pale:     #FDF6E3;
  --text-body:      #3D4A5C;
  --text-muted:     #7A8699;
  --border:         #E2E8F0;
  --border-strong:  #CBD5E1;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(13, 27, 42, 0.06);
  --shadow-sm:  0 4px 12px rgba(13, 27, 42, 0.08);
  --shadow-md:  0 8px 30px rgba(13, 27, 42, 0.10);
  --shadow-lg:  0 20px 60px rgba(13, 27, 42, 0.12);
  --shadow-xl:  0 30px 90px rgba(13, 27, 42, 0.15);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
}

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

/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p { color: var(--text-body); line-height: 1.75; }

.overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide { max-width: 1320px; }
.container--narrow { max-width: 780px; }

section { padding: 7rem 0; }
section.compact { padding: 4rem 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.25);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   ECOSYSTEM TOPBAR
   ============================================================ */
.ecosystem-bar {
  background: var(--navy);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ecosystem-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}
.ecosystem-bar a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.ecosystem-bar a:hover { color: rgba(255,255,255,0.9); }
.ecosystem-bar .active {
  color: var(--amber);
  font-weight: 700;
}
.ecosystem-bar .eco-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 18px; height: 18px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--amber); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links li a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.nav-links li a:hover {
  color: var(--navy);
  background: var(--bg-light);
}
.nav-links li a.active { color: var(--navy); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-soft) 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle background orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,27,42,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber-pale);
  border: 1px solid rgba(212,168,67,0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: 1.5rem;
}
.hero-kicker { color: var(--navy-light); font-weight: 400; display: block; }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: var(--bg-soft);
  margin-right: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--navy);
}
.proof-avatar:nth-child(1) { background: #dde8ff; }
.proof-avatar:nth-child(2) { background: #fde8d0; }
.proof-avatar:nth-child(3) { background: #d0fde8; }
.proof-avatar:nth-child(4) { background: #fdd0d0; }
.proof-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-display);
}
.proof-text strong { color: var(--navy); }

/* Hero Visual — OS Dashboard mockup */
.hero-visual {
  position: relative;
}
.hero-dashboard {
  background: var(--bg-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.dashboard-topbar {
  background: var(--navy);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.db-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.db-dot.red { background: #FF5F57; }
.db-dot.yellow { background: #FFBD2E; }
.db-dot.green { background: #28C840; }
.db-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.dashboard-body {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}
.db-sidebar {
  width: 130px;
  flex-shrink: 0;
}
.db-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
}
.db-nav-item.active {
  background: var(--amber-pale);
  color: var(--amber);
  font-weight: 600;
}
.db-nav-icon {
  width: 14px; height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.db-nav-icon.amber { background: var(--amber); opacity: 0.7; }
.db-nav-icon.navy { background: var(--navy); opacity: 0.3; }
.db-nav-icon.green { background: #22C55E; opacity: 0.6; }
.db-nav-icon.indigo { background: #6366F1; opacity: 0.6; }
.db-nav-icon.rose { background: #F43F5E; opacity: 0.6; }

.db-main { flex: 1; }
.db-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.db-metric {
  background: var(--bg-light);
  border-radius: var(--r-md);
  padding: 0.9rem;
  border: 1px solid var(--border);
}
.db-metric-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.db-metric-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.db-metric-change {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  color: #22C55E;
  margin-top: 0.25rem;
}

/* Chart bars */
.db-chart {
  background: var(--bg-light);
  border-radius: var(--r-md);
  padding: 1rem;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.db-chart-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.db-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
}
.db-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--border);
  transition: background 0.3s;
}
.db-bar.active { background: var(--amber); }
.db-bar.highlight { background: var(--navy); }

/* Floating cards on hero visual */
.hero-card-float {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  animation: floatCard 3s ease-in-out infinite alternate;
}
.hero-card-float.card-1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}
.hero-card-float.card-2 {
  top: 30px;
  right: -25px;
  animation-delay: 1.5s;
}
@keyframes floatCard {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.float-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.float-card-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}
.float-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.float-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #22C55E;
  margin-top: 0.3rem;
}
.float-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 1.5s infinite;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-value .amber { color: var(--amber); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   SYSTEM PILLARS SECTION
   ============================================================ */
.pillars-section {
  background: var(--bg-light);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { max-width: 560px; margin: 0 auto; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(212,168,67,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-icon svg, .pillar-icon span {
  font-size: 1.3rem;
  color: #fff;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.pillar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  transition: gap 0.2s;
}
.pillar-card:hover .pillar-cta { gap: 0.6rem; color: var(--amber); }

/* ============================================================
   TOOLS / CONTENT PREVIEW SECTION
   ============================================================ */
.tools-section {
  background: var(--bg-white);
}
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.tool-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.tool-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tool-card-header {
  padding: 1.75rem 2rem 0;
}
.tool-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.tool-card-header h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.tool-card-header p { font-size: 0.9rem; color: var(--text-muted); }

.tool-card-preview {
  margin: 1.5rem 2rem 0;
  background: var(--bg-light);
  border-radius: var(--r-md) var(--r-md) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  padding: 1.25rem;
  overflow: hidden;
}
/* Mini article list in tool card */
.mini-article-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mini-article-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.2s;
}
.mini-article-item:hover { border-color: var(--amber); }
.mini-article-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-article-arrow { margin-left: auto; color: var(--text-muted); font-size: 0.7rem; }

/* Mini HRV Tracker */
.hrv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.hrv-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.7rem;
  text-align: center;
}
.hrv-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.hrv-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}
.hrv-value.green { color: #22C55E; }
.hrv-value.amber { color: var(--amber); }
.hrv-status {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  margin-top: 0.15rem;
}
.hrv-status.good { color: #22C55E; }
.hrv-status.warn { color: var(--amber); }

/* ============================================================
   LEAD CAPTURE / CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-overline {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}
.cta-section h2 { color: #fff; margin-bottom: 1.25rem; }
.cta-section .lead { color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; }

.cta-form {
  display: flex;
  gap: 0.75rem;
}
.cta-input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { border-color: var(--amber); }

.cta-package {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.cta-package-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.cta-package-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.cta-package-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.cta-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 2px;
}
.cta-item-text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.cta-item-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-top: 0.15rem;
}

/* ============================================================
   TESTIMONIALS STRIP
   ============================================================ */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.t-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.t-star { color: var(--amber); font-size: 0.9rem; }
.t-quote {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
}
.t-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.t-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text span { color: var(--amber); }
.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
  line-height: 1.75;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links li a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
}
.footer-eco {
  display: flex;
  gap: 1.5rem;
}
.footer-eco a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-eco a:hover { color: var(--amber); }

/* ============================================================
   PILLAR PAGE TEMPLATE
   ============================================================ */
.pillar-hero {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-soft) 100%);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.pillar-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pillar-toc {
  position: sticky;
  top: 90px;
}
.pillar-toc-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pillar-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pillar-toc-list li a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
  border-left: 2px solid var(--border);
  transition: all 0.2s;
}
.pillar-toc-list li a:hover,
.pillar-toc-list li a.active {
  border-left-color: var(--amber);
  color: var(--navy);
  background: var(--amber-pale);
}

/* Article Card Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.article-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-card-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.article-card h4 { font-size: 0.98rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.article-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.article-card-link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}
.article-card:hover .article-card-link { color: var(--amber); gap: 0.5rem; }

/* ============================================================
   SINGLE POST — ARTICLE
   ============================================================ */
.article-hero {
  background: var(--bg-light);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0;
}
.article-content {
  max-width: 740px;
}
.article-content h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.article-content h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-body);
  line-height: 1.8;
}
.article-content li { margin-bottom: 0.5rem; }
.article-content strong { color: var(--navy); font-weight: 700; }
.protocol-box {
  background: var(--amber-pale);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.protocol-box strong { color: var(--navy); }

.article-sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ============================================================
   TOOLS PAGE
   ============================================================ */
.tools-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tool-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tool-item-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.tool-item-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.tool-item-card h3 { font-size: 1.1rem; }
.tool-item-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.font-display { font-family: var(--font-display); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 1rem; }
.hidden { display: none; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  section { padding: 5rem 0; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-form { flex-direction: column; }
  .ecosystem-bar .container { gap: 1rem; flex-wrap: wrap; justify-content: center; }
  .tools-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-badge { display: none; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
