/* Variables */
:root {
  --bg: #FAF8F5;
  --bg-warm: #F5F0E8;
  --bg-dark: #1C1C1E;
  --fg: #1C1C1E;
  --fg-muted: #6B6B6B;
  --accent: #C8522A;
  --accent-light: #FDF2EB;
  --tertiary: #3A5A7C;
  --tertiary-light: #F0F4F8;
  --violet: #7B5EA7;
  --violet-light: #F5F0F8;
  --green: #3A7C4A;
  --green-light: #F0F8F0;
  --pink: #9B3A6B;
  --pink-light: #FDF2F8;
  --sage: #5A6B3A;
  --sage-light: #F2F4F0;
  --border: #E8E4DC;
  --card-shadow: 0 2px 12px rgba(28, 28, 30, 0.07);
  --card-shadow-hover: 0 8px 32px rgba(28, 28, 30, 0.12);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.15;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 80px 0 0;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
  margin-top: 4px;
}

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

/* Property card stack */
.hero-visual { position: relative; }

.property-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-card {
  background: white;
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  position: relative;
}

.card-1 { transform: translateX(-8px); }
.card-2 { transform: translateX(0); border-left: 3px solid var(--accent); }
.card-3 { transform: translateX(-4px); }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-address {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}

.card-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-status.paid { background: var(--green-light); color: var(--green); }
.card-status.pending { background: var(--accent-light); color: var(--accent); }

.card-body { display: flex; flex-direction: column; gap: 6px; }

.card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.card-amount {
  font-weight: 600;
  color: var(--fg);
}

.card-paid-date { color: var(--green); font-weight: 500; }
.card-waiting { color: var(--accent); font-weight: 500; }

.card-timeline {
  margin-top: 6px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-bar {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.paid-bar { background: var(--green); }
.pending-bar { background: var(--accent); width: 60%; }

.card-autopay {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 6px;
}

.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid rgba(200, 82, 42, 0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  margin-top: 14px;
  width: fit-content;
}

.hero-bottom {
  margin-top: 64px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}

.hero-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bottom-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.unit-pills { display: flex; gap: 8px; }

.pill {
  background: white;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 100px;
  font-weight: 500;
}

.pill.active {
  background: var(--fg);
  color: white;
  border-color: var(--fg);
}

/* Proof */
.proof {
  padding: 80px 32px;
  background: var(--bg-warm);
}

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

.proof-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 24px;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-author strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.proof-author span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.proof-metrics {
  display: flex;
  gap: 40px;
}

.proof-metric { display: flex; flex-direction: column; }

.metric-value {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Features */
.features {
  padding: 100px 32px;
}

.features-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.features h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.features-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

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

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 100px;
}

/* How it works */
.how-it-works {
  padding: 100px 32px;
  background: var(--bg-warm);
}

.how-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.how-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }

.steps {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.how-visual {
  max-width: 560px;
  margin: 56px auto 0;
}

.digest-preview {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 24px;
  color: white;
}

.digest-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.digest-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.digest-header strong { display: block; font-size: 0.9rem; }
.digest-header span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.digest-items { display: flex; flex-direction: column; gap: 10px; }

.digest-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.digest-icon {
  font-size: 0.9rem;
  width: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.digest-item.digest-good .digest-icon { color: #5cb85c; }
.digest-item.digest-warning .digest-icon { color: #f0ad4e; }

.digest-item strong { color: white; }

/* Pricing */
.pricing {
  padding: 100px 32px;
}

.pricing-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.pricing-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.pricing-header p { color: var(--fg-muted); }

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(200, 82, 42, 0.12);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--fg);
}

.price-period { font-size: 0.9rem; color: var(--fg-muted); }

.plan-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 0.88rem;
  color: var(--fg);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-note {
  max-width: 1100px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Closing */
.closing {
  padding: 100px 32px;
  background: var(--fg);
  color: white;
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.closing p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 64px 32px 32px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--fg);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .proof-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 24px; }
  .step-connector { width: 40px; height: 1px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}