/* ============================================================
   KMP Energy — sections.css
   All content sections: Who We Are, Problem, Pillars,
   Sovereign AI, Energy, Diagram, Environment, Revenue, Infra
   ============================================================ */

/* ══════════════════════════════════════════
   WHO WE ARE
══════════════════════════════════════════ */
.who-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 88px 56px;
  background: var(--white);
}

.who-story {
  font-size: 16px;
  line-height: 1.85;
  color: var(--mid);
  font-weight: 300;
  margin-bottom: 20px;
}
.who-story strong {
  color: var(--charcoal);
  font-weight: 600;
}

.who-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.who-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.who-value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.who-value-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.who-value-desc {
  font-size: 14px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.6;
}

/* Quote box */
.who-quote {
  background: var(--green-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--green-accent);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.who-quote-watermark {
  position: absolute;
  bottom: -20px;
  right: -20px;
  height: 120px;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
}

.who-quote-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.5;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.who-quote-sub {
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Phase cards */
.who-phases {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: border-color 0.2s;
}
.phase:hover { border-color: var(--green-accent); }

.phase-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--green-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.phase-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 3px;
}

.phase-desc {
  font-size: 13px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   THE PROBLEM
══════════════════════════════════════════ */
.problem-section {
  padding: 88px 56px;
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.problem-section .eyebrow         { color: var(--green-light); }
.problem-section .eyebrow::before { background: var(--green-light); }
.problem-section .section-title   { color: var(--white); }
.problem-section .section-title em{ color: var(--green-light); }

.problem-watermark {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  height: 420px;
  width: auto;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.problem-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 640px;
  margin-top: 12px;
  line-height: 1.8;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background 0.2s;
}
.problem-card:hover { background: rgba(255,255,255,0.08); }

.problem-icon   { font-size: 32px; margin-bottom: 16px; }
.problem-title  { font-size: 16px; font-weight: 600; color: var(--green-light); margin-bottom: 10px; }
.problem-desc   { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; font-weight: 300; }
.problem-stat   { font-family: var(--font-display); font-size: 36px; color: var(--green-accent); margin-top: 16px; }
.problem-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }

/* ══════════════════════════════════════════
   THREE PILLARS
══════════════════════════════════════════ */
.pillars-section { padding: 88px 56px; background: var(--cream); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.pillar-card.green::before { background: var(--green-accent); }
.pillar-card.gold::before  { background: var(--gold); }
.pillar-card.blue::before  { background: #4A90D9; }
.pillar-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-accent);
}

.pillar-icon  { font-size: 32px; margin-bottom: 16px; }
.pillar-title { font-family: var(--font-display); font-size: 22px; color: var(--green-dark); margin-bottom: 12px; }
.pillar-desc  { font-size: 14px; color: var(--mid); line-height: 1.75; font-weight: 300; margin-bottom: 20px; }

.pillar-points { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar-points li {
  font-size: 13px;
  color: var(--mid);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}
.pillar-points li::before {
  content: '→';
  color: var(--green-accent);
  flex-shrink: 0;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   SOVEREIGN AI
══════════════════════════════════════════ */
.ai-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 88px 56px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ai-story {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}
.ai-story strong { color: var(--charcoal); font-weight: 600; }

/* Cloud vs KMP comparison */
.ai-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.ai-col {
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
}
.ai-col.bad  { border-color: #FECACA; background: #FFF5F5; }
.ai-col.good { background: var(--green-faint); }

.ai-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.ai-col.bad .ai-col-title  { color: #DC2626; }
.ai-col.good .ai-col-title { color: var(--green-mid); }

.ai-col-points { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ai-col-points li {
  font-size: 13px;
  color: var(--mid);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.ai-col.bad  .ai-col-points li::before { content: '✕'; color: #DC2626; flex-shrink: 0; font-size: 11px; margin-top: 1px; }
.ai-col.good .ai-col-points li::before { content: '✓'; color: var(--green-accent); flex-shrink: 0; font-size: 11px; margin-top: 1px; }

/* Roadmap panel */
.ai-visual {
  background: var(--green-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.ai-visual-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.ai-steps { display: flex; flex-direction: column; }

.ai-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ai-step:last-child { border-bottom: none; }

.ai-step-yr {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--green-accent);
  flex-shrink: 0;
  width: 52px;
  margin-top: 2px;
}

.ai-step-title { font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 3px; }
.ai-step-desc  { font-size: 13px; color: var(--mid); font-weight: 300; line-height: 1.5; }

/* ══════════════════════════════════════════
   ENERGY SOURCES
══════════════════════════════════════════ */
.energy-section { padding: 88px 56px; background: var(--cream); }

.energy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.energy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.energy-card:hover {
  border-color: var(--green-accent);
  box-shadow: 0 4px 16px rgba(82,183,136,0.12);
}

.energy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.energy-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.energy-pct  { font-family: var(--font-display); font-size: 28px; color: var(--green-accent); }
.energy-title{ font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 8px; }
.energy-desc { font-size: 13px; color: var(--mid); line-height: 1.6; font-weight: 300; }

/* ══════════════════════════════════════════
   PROCESS DIAGRAM
══════════════════════════════════════════ */
.diagram-section {
  padding: 88px 56px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.diagram-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.diagram-wrap img { width: 100%; height: auto; display: block; }

/* ══════════════════════════════════════════
   ENVIRONMENTAL PROMISE
══════════════════════════════════════════ */
.env-section {
  padding: 88px 56px;
  background: var(--green-faint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.env-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.env-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.env-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 3px solid var(--green-accent);
}

.env-stat-num { font-family: var(--font-display); font-size: 36px; color: var(--green-dark); line-height: 1; }
.env-stat-lbl { font-size: 12px; color: var(--mid); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-top: 4px; }

.env-promises { display: flex; flex-direction: column; gap: 16px; }

.env-promise { display: flex; gap: 14px; align-items: flex-start; }

.env-promise-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.env-promise-title { font-size: 14px; font-weight: 600; color: var(--green-dark); margin-bottom: 3px; }
.env-promise-desc  { font-size: 13px; color: var(--mid); font-weight: 300; line-height: 1.6; }

/* ══════════════════════════════════════════
   REVENUE MODEL
══════════════════════════════════════════ */
.revenue-section {
  padding: 88px 56px;
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.revenue-watermark {
  position: absolute;
  bottom: -40px;
  left: -40px;
  height: 400px;
  width: auto;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.revenue-section .eyebrow          { color: var(--green-light); }
.revenue-section .eyebrow::before  { background: var(--green-light); }
.revenue-section .section-title    { color: var(--white); }
.revenue-section .section-title em { color: var(--green-light); }

.revenue-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.8;
  margin-top: 12px;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.rev-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background 0.2s;
}
.rev-card:hover { background: rgba(255,255,255,0.08); }

.rev-icon  { font-size: 28px; margin-bottom: 14px; }
.rev-title { font-size: 15px; font-weight: 600; color: var(--green-light); margin-bottom: 10px; }
.rev-desc  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; font-weight: 300; }
.rev-num   { font-family: var(--font-display); font-size: 38px; color: var(--gold-light); margin-top: 14px; }
.rev-num-lbl { font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; }

.revenue-cta {
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.rev-cta-text {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  max-width: 480px;
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   INFRASTRUCTURE
══════════════════════════════════════════ */
.infra-section { padding: 88px 56px; background: var(--cream); }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.infra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.infra-card:hover {
  border-color: var(--green-accent);
  box-shadow: 0 4px 16px rgba(82,183,136,0.1);
}

.infra-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.infra-title { font-size: 15px; font-weight: 600; color: var(--green-dark); margin-bottom: 8px; }
.infra-desc  { font-size: 13px; color: var(--mid); line-height: 1.65; font-weight: 300; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .who-section,
  .ai-section       { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
  .problem-section,
  .pillars-section,
  .energy-section,
  .diagram-section,
  .env-section,
  .revenue-section,
  .infra-section    { padding: 56px 24px; }
  .problem-grid,
  .pillars-grid,
  .energy-grid,
  .infra-grid,
  .revenue-grid     { grid-template-columns: 1fr; }
  .env-grid         { grid-template-columns: 1fr; }
  .env-stats        { grid-template-columns: 1fr 1fr; }
  .ai-comparison    { grid-template-columns: 1fr; }
  .revenue-cta      { flex-direction: column; align-items: flex-start; }
}
