/* Agent Launchpad — Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --gold:       #C9A84C;
  --gold-light: #E2C47A;
  --gold-dark:  #A8872D;
  --graphite:   #3D4043;
  --graphite-mid: #5A5E63;
  --graphite-light: #8A8E93;
  --black:      #000000;
  --surface:    #111315;   /* elevated cards on black bg */
  --surface-hi: #1C1F22;   /* higher elevation surface */
  --off-white:  #F8F6F1;
  --white:      #ffffff;
  --text:       rgba(255,255,255,0.87);
  --text-light: rgba(255,255,255,0.50);
  --border:     rgba(201,168,76,0.2);
  --border-dim: rgba(255,255,255,0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; background: var(--black); }
.section-light { background: var(--surface); }
.section-dark  { background: var(--surface); }
.section-gold  { background: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-white {
  background: var(--white); color: var(--black); border-color: var(--white);
}
.btn-white:hover { background: var(--off-white); }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 64px; width: auto; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; line-height: 1.2;
  color: var(--white); letter-spacing: 0.01em;
  display: flex; flex-direction: column;
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 16px; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex; align-items: center;
  padding-top: 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(201,168,76,0.06) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.10); border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.60); font-size: 1.1rem; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
  display: block;
}
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px; padding: 40px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--white); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-card-title::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--gold);
}
.hero-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.hero-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.5;
}
.hero-checklist li::before {
  content: '✓';
  display: flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); font-size: 0.7rem; font-weight: 700;
  border-radius: 50%; margin-top: 1px;
}

/* ── Section Headers ── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* ── Feature Cards ── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  background: var(--surface-hi); border: 1px solid var(--border-dim);
  border-radius: 10px; padding: 36px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-color: rgba(201,168,76,0.2);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(201,168,76,0.10); border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--white); }
.feature-card p { font-size: 0.9rem; margin: 0; }

/* On dark/graphite bg */
.section-dark .feature-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(201,168,76,0.12);
}
.section-dark .feature-card h3 { color: var(--white); }
.section-dark .feature-card p { color: rgba(255,255,255,0.50); }

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 28px; align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-dim);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,168,76,0.10); border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 8px; }
.step-body p { margin: 0; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }
.pricing-card {
  border: 1px solid var(--border-dim);
  border-radius: 12px; padding: 44px 40px;
  background: var(--surface-hi);
}
.pricing-card.featured {
  border: 2px solid var(--gold);
  background: var(--graphite);
}
.pricing-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 20px;
}
.pricing-name {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 8px; color: var(--white);
}
.pricing-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 8px;
}
.pricing-amount {
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700;
  color: var(--gold);
}
.pricing-period { color: var(--text-light); font-size: 0.9rem; }
.pricing-setup {
  font-size: 0.82rem; color: var(--text-light); margin-bottom: 32px;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text);
}
.pricing-features li::before {
  content: '✓'; color: var(--gold); font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gold);
  padding: 80px 0; text-align: center;
}
.cta-banner h2 { color: var(--black); }
.cta-banner p { color: rgba(0,0,0,0.65); font-size: 1.05rem; margin: 16px auto 40px; max-width: 560px; }

/* ── Footer ── */
.footer {
  background: var(--surface); color: rgba(255,255,255,0.45);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-dim);
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.35); font-size: 0.88rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px; font-size: 0.82rem;
  display: flex; justify-content: space-between; align-items: center;
}

/* ── A2P / Portal specific ── */
.sidebar-nav {
  position: sticky; top: 88px;
  background: var(--surface-hi); border: 1px solid var(--border-dim);
  border-radius: 10px; padding: 24px;
}
.sidebar-nav h4 {
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.sidebar-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav ul li a {
  display: block; padding: 7px 10px; border-radius: 6px;
  color: var(--text-light); font-size: 0.88rem;
  transition: background 0.15s, color 0.15s;
}
.sidebar-nav ul li a:hover { background: rgba(201,168,76,0.08); color: var(--gold); }

.step-card {
  background: var(--surface-hi); border: 1px solid var(--border-dim);
  border-radius: 10px; padding: 36px; margin-bottom: 24px;
}
.step-card h3 { color: var(--white); margin-bottom: 12px; }
.step-card p { margin-bottom: 16px; }
.step-card ol, .step-card ul {
  padding-left: 20px; display: flex; flex-direction: column; gap: 8px;
}
.step-card li { color: var(--text-light); font-size: 0.92rem; line-height: 1.6; }

table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  font-size: 0.88rem;
}
thead th {
  background: rgba(201,168,76,0.10); color: var(--gold);
  font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
tbody td {
  padding: 12px 16px; color: var(--text-light);
  border-bottom: 1px solid var(--border-dim);
}
tbody tr:hover td { background: rgba(255,255,255,0.02); }

code {
  background: rgba(201,168,76,0.10); color: var(--gold);
  padding: 2px 7px; border-radius: 4px; font-size: 0.85em;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.tag-pill {
  display: inline-block;
  background: rgba(201,168,76,0.10); border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  padding: 3px 9px; border-radius: 20px; font-family: monospace;
}

.resource-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.resource-card {
  background: var(--surface-hi); border: 1px solid var(--border-dim);
  border-radius: 10px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.resource-card:hover { transform: translateY(-3px); border-color: rgba(201,168,76,0.25); }
.resource-card-icon { font-size: 2rem; }
.resource-card h3 { font-size: 1.05rem; color: var(--white); }
.resource-card p { font-size: 0.88rem; margin: 0; flex: 1; }
.resource-card .btn { margin-top: auto; align-self: flex-start; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
