/* ========================================
   ARIA — THEME CSS
   Typography: Playfair Display + DM Sans
   Palette: Deep Navy / Warm Cream / Gold
   ======================================== */

:root {
  --navy:     #0B1628;
  --navy-mid: #162035;
  --navy-light: #1E2D4A;
  --cream:    #F5F0E8;
  --gold:     #C9A84C;
  --gold-dim: rgba(201, 168, 76, 0.18);
  --text-muted: rgba(245, 240, 232, 0.45);
  --text-body: rgba(245, 240, 232, 0.72);
  --border:    rgba(245, 240, 232, 0.08);
  --border-gold: rgba(201, 168, 76, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--navy);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }

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

/* Subtle dot grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245,240,232,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Atmospheric glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,45,74,0.8) 0%, transparent 70%);
  bottom: 80px; right: -100px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
  background: rgba(201,168,76,0.04);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Wordmark */
.hero-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cream);
  opacity: 0.06;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Headline */
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 28px;
  position: relative;
}

/* Sub */
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 1.65;
  position: relative;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(245,240,232,0.02);
  position: relative;
}
.stat {
  padding: 24px 40px;
  text-align: center;
}
.stat-val {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- PROOF ---- */
.proof {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy-mid);
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.proof-item {
  padding: 32px 28px;
  background: var(--navy-mid);
}
.proof-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.proof-desc {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
}

/* ---- SECTION SHARED ---- */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  padding: 120px 24px;
}
.hw-inner { max-width: 1100px; margin: 0 auto; }
.hw-inner .section-heading { margin-bottom: 16px; }
.hw-inner .section-sub { margin-bottom: 72px; }

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.agent-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.agent-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}
.agent-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  margin-bottom: 24px;
}
.agent-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.agent-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
}
.agent-tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-tasks li {
  font-size: 12px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.agent-tasks li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* ---- PRINCIPLES ---- */
.principles {
  padding: 120px 24px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}
.prin-inner { max-width: 1100px; margin: 0 auto; }
.prin-inner .section-heading { margin-bottom: 64px; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.prin-item {
  padding: 48px 44px;
  background: var(--navy-mid);
}
.prin-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.prin-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.prin-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- CLOSING ---- */
.closing {
  padding: 140px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Orbital animation */
.closing-visual {
  position: absolute;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}
.orbit-1 { width: 80px; height: 80px; animation: orbit-spin 8s linear infinite; }
.orbit-2 { width: 120px; height: 120px; animation: orbit-spin 14s linear infinite reverse; border-style: dashed; }
.orbit-3 { width: 160px; height: 160px; animation: orbit-spin 20s linear infinite; border-color: rgba(201,168,76,0.06); }
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.orbit-center {
  position: relative;
  z-index: 1;
}

.closing-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.closing-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-meta p {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 60px; height: 1px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 600px) {
  .proof-grid { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .prin-item { padding: 32px 24px; }
  .agent-card { padding: 28px 24px; }
}