/* AdvocateOS Theme */
:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F4F1;
  --fg: #0F172A;
  --fg-muted: #475569;
  --fg-subtle: #94A3B8;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --border: #E2E4DF;
  --nav-height: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.nav-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  padding-left: 32px;
  padding-right: 32px;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.hero-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
}

.hero-visual {
  flex-shrink: 0;
}

.hero-mark {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.2;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.08); opacity: 0.4; }
}

.hero-mark-center {
  width: 80px;
  height: 80px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stats {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--fg-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 48px;
}

/* Features */
.features {
  background: var(--bg-alt);
  padding: 96px 32px;
}

.features-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.features-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.features-subtitle {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-alt);
  padding: 40px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How it works */
.how {
  padding: 96px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-header {
  margin-bottom: 64px;
}

.how-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--fg);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.how-step:last-child {
  border-bottom: none;
}

.how-step-num {
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 4px;
}

.how-step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.how-step-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 680px;
}

/* Proof */
.proof {
  background: var(--fg);
  color: white;
  padding: 96px 32px;
}

.proof-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof-value {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.proof-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.proof-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.proof-blockquote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* Closing */
.closing {
  padding: 96px 32px;
  background: var(--bg);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 600px;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 64px;
}

.closing-mark {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-logo {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: white;
}

/* Footer */
.footer {
  background: var(--fg);
  color: white;
  padding: 40px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.footer-name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-tagline { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { display: none; }
  .hero-stats {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
  .hero-stat-divider {
    width: 40px;
    height: 1px;
    margin: 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .how-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .how-step-num {
    font-size: 28px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}