/* OpenClaw Enterprise - Custom pitch-deck theme */
:root {
  --accent: #2563eb;
  --accent-2: #1e40af;
  --accent-3: #3b82f6;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #f1f5f9;
  --surface-2: #e2e8f0;
  --text-1: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --border: #e2e8f0;
  --grad: linear-gradient(135deg, #2563eb, #7c3aed);
  --grad-soft: linear-gradient(135deg, #dbeafe, #ede9fe);
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
}

body {
  background: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.brand { color: var(--accent); font-weight: 800; font-size: 18px; }
.brand-dot { background: var(--accent); }
.brand-sub { color: var(--text-3); font-weight: 400; margin-left: 4px; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kicker { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

.section-num {
  font-size: 72px;
  font-weight: 900;
  color: var(--surface-2);
  line-height: 1;
  position: absolute;
  top: 40px;
  right: 60px;
  font-family: 'Inter', sans-serif;
}

.num-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.h1 { font-size: 52px; font-weight: 800; line-height: 1.1; color: var(--text-1); }
.h2 { font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--text-1); }
.lede { font-size: 18px; color: var(--text-2); line-height: 1.6; max-width: 56ch; }
.mt-m { margin-top: 20px; }
.mt-s { margin-top: 12px; }
.mt-l { margin-top: 32px; }

.card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.card h4 { font-size: 17px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.65; }
.dim { color: var(--text-3); font-size: 14px; line-height: 1.6; }

.card-accent {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

/* Cover */
.cover-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}
.cover-blob {
  background: radial-gradient(ellipse at 70% 30%, rgba(37,99,235,.12) 0%, transparent 60%);
}

/* Problem cards */
.card-problem .problem-icon { font-size: 32px; margin-bottom: 12px; }
.card-problem h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }

/* Architecture diagram */
.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.arch-layer {
  width: 100%;
  max-width: 780px;
}
.arch-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.arch-boxes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.arch-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.arch-box.accent-box {
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  border-color: var(--accent);
  color: var(--accent);
}
.arch-arrow {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* Highlight cards */
.card-highlight { position: relative; }
.highlight-num {
  font-size: 36px;
  font-weight: 900;
  background: var(--grad-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

/* Metrics */
.metric {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.metric .n {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-1);
}
.metric .l {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-top: 8px;
}

/* Benefit row */
.benefit-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
}
.benefit-icon { font-size: 18px; }

/* Pricing cards */
.pricing-card { position: relative; text-align: center; padding: 32px 24px; }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: .05em;
}
.pricing-tier { font-size: 20px; font-weight: 800; color: var(--text-1); margin-bottom: 12px; }
.pricing-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.pricing-price span { font-size: 16px; font-weight: 600; color: var(--text-3); }
.pricing-period { font-size: 13px; color: var(--text-3); margin-top: 4px; margin-bottom: 20px; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}
.pricing-features li {
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-cta {
  display: block;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-1);
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.pricing-cta.cta-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.card-pricing-accent {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* Case cards */
.case-card .case-logo { font-size: 36px; margin-bottom: 8px; }
.case-tag {
  display: inline-block;
  background: var(--grad-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.case-stat {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 12px;
  background: var(--grad-soft);
  border-radius: var(--radius);
  display: inline-block;
}

/* Flow steps */
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
}
.flow-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.flow-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.flow-content p { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.flow-arrow {
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 12px;
}

/* CTA box */
.ask-box {
  background: linear-gradient(135deg, #1e3a5f, #2563eb, #7c3aed);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  color: #fff;
}
.ask-box .h2 { color: #fff; }
.ask-box .lede { color: rgba(255,255,255,.85); }

.contact-item {
  text-align: center;
  color: #fff;
}
.contact-item .dim { color: rgba(255,255,255,.65); }

/* Thanks slide */
.mega {
  font-size: 96px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.mega-sub { font-size: 18px; color: var(--text-3); margin-top: 16px; }

/* Pils */
.pill { background: var(--surface); border: 1.5px solid var(--border); border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.pill-accent { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Grid */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }

/* Slide footer */
.deck-footer { color: var(--text-3); font-size: 13px; }

/* deck header / slide number */
.slide-number { color: var(--text-3); }

/* slide base */
.slide {
  background: var(--bg);
  padding: 60px 80px;
}
.slide.center { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.tc { text-align: center; }
.row { display: flex; align-items: center; gap: 12px; }
