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

:root {
  --bg-deep:    #0B1929;
  --bg-mid:     #0F2035;
  --bg-card:    #132540;
  --fg-primary: #F0EAE0;
  --fg-muted:   #7A9BB5;
  --accent:     #C8A84B;
  --accent-dim: rgba(200,168,75,0.15);
  --border:     rgba(200,168,75,0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-primary);
}
.nav-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 4rem 6rem;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(200,168,75,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(19,37,64,0.8) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(200,168,75,0.04) 80px, rgba(200,168,75,0.04) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(200,168,75,0.04) 80px, rgba(200,168,75,0.04) 81px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Orb decoration */
.hero-orb-container {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-orb {
  border-radius: 50%;
  position: absolute;
  animation: float 6s ease-in-out infinite;
}
.hero-orb {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 40% 40%, rgba(200,168,75,0.12) 0%, transparent 65%);
  top: -160px; left: -160px;
}
.hero-orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,168,75,0.06) 0%, transparent 70%);
  top: -100px; left: 60px;
  animation-delay: -2s;
  animation-duration: 8s;
}
.hero-orb-3 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(200,168,75,0.15) 0%, transparent 70%);
  top: -50px; left: 120px;
  animation-delay: -4s;
  animation-duration: 5s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg-primary);
  margin-bottom: 3rem;
}

/* ===== HOW IT WORKS ===== */
.howitworks { padding: 7rem 4rem; background: var(--bg-mid); }
.agent-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.agent-card {
  background: var(--bg-mid);
  padding: 2.5rem 2rem;
  position: relative;
}
.agent-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.agent-number {
  position: absolute;
  top: 2.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(200,168,75,0.08);
  line-height: 1;
}
.agent-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.85rem;
}
.agent-card p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== PRINCIPLES ===== */
.principles {
  padding: 8rem 4rem;
  background: var(--bg-deep);
}
.principles-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.principles-body {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.principles-visual { display: flex; align-items: center; justify-content: center; }
.ring-stack { position: relative; width: 220px; height: 220px; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200,168,75,0.18);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring-1 { width: 220px; height: 220px; }
.ring-2 { width: 160px; height: 160px; border-color: rgba(200,168,75,0.3); }
.ring-3 { width: 100px; height: 100px; border-color: rgba(200,168,75,0.5); }
.ring-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 7rem 4rem;
  background: var(--bg-card);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
}
.phil-item {}
.phil-marker {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 400;
}
.phil-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.6rem;
}
.phil-item p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 4rem;
  background: var(--bg-deep);
}
.closing-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.closing-accent-line {
  width: 48px; height: 3px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}
.closing-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fg-primary);
  margin-bottom: 1.5rem;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 4rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-primary);
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-muted);
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  opacity: 0.6;
}
.footer-separator { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar, .hero, .howitworks, .principles, .philosophy, .closing, .footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .agent-cards { grid-template-columns: 1fr; }
  .principles-inner { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .hero-orb-container { display: none; }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .navbar { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .hero-headline { font-size: 2.2rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .stat-divider { display: none; }
}