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

:root {
  --bg: #FAFAF7;
  --bg-alt: #F4F2EE;
  --fg: #1A1A1A;
  --fg-muted: #6B6B6B;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --border: #E5E0D8;
  --surface: #FFFFFF;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

html {
  font-size: 16px;
  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;
}

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

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 4rem 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--accent), #B45309);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--fg);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.trust-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  background: var(--accent-light);
  color: #92400E;
  border-radius: 100px;
}

/* === WIDGET CARD === */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.widget-card {
  background: #1E1E2E;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.widget-header {
  background: #2A2A3C;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.widget-dots {
  display: flex;
  gap: 5px;
}

.widget-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #4A4A6A;
}

.widget-label {
  font-size: 0.75rem;
  color: #A0A0C0;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.widget-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.user-message {
  background: #3B5BDB;
  color: white;
  padding: 0.85rem 1.1rem;
  border-radius: 12px 12px 12px 4px;
  font-size: 0.85rem;
  line-height: 1.5;
  align-self: flex-end;
  max-width: 90%;
}

.ai-response { display: flex; flex-direction: column; gap: 0.75rem; }

.ai-thinking {
  font-size: 0.75rem;
  color: #6B6B9A;
  font-style: italic;
}

.ai-result {
  background: #252538;
  border-radius: 10px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.result-item {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #3A3A55;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.result-item.result-selected {
  border-color: var(--accent);
  background: rgba(217, 119, 6, 0.12);
}

.result-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #E8E8F0;
}

.result-meta {
  font-size: 0.7rem;
  color: #8888AA;
}

.result-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.ai-confirm {
  font-size: 0.72rem;
  color: #7C7CAA;
  line-height: 1.5;
  padding-top: 0.25rem;
}

/* === FEATURES === */
.features {
  padding: 7rem 4rem;
  background: var(--bg-alt);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-number {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  line-height: 1;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--fg);
}

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

/* === PROOF === */
.proof {
  padding: 7rem 4rem;
  background: var(--fg);
  color: white;
}

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

.proof-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: white;
  margin: 1rem 0 1.5rem;
}

.proof-body {
  font-size: 1rem;
  color: #9A9AAA;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.proof-stat-row {
  display: flex;
  gap: 2.5rem;
}

.proof-stat { display: flex; flex-direction: column; gap: 0.3rem; }

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

.stat-label {
  font-size: 0.8rem;
  color: #6A6A7A;
  line-height: 1.4;
  max-width: 80px;
}

.proof-card {
  background: #252530;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #3A3A4A;
}

.proof-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #D0D0E0;
  margin-bottom: 1.5rem;
}

.proof-steps { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

.proof-step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.step-icon { color: var(--accent); font-size: 0.9rem; }

.step-text {
  font-size: 0.85rem;
  color: #A0A0B0;
  line-height: 1.5;
}

.proof-arrow {
  color: #4A4A5A;
  font-size: 1.2rem;
  padding: 0.25rem 0;
}

.proof-time {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #3A3A4A;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.time-val {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.time-label { font-size: 0.75rem; color: #6A6A7A; }

/* === CLOSING === */
.closing {
  padding: 8rem 4rem;
  background: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.closing-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* === FOOTER === */
.footer {
  padding: 2.5rem 4rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { padding: 4rem 1.75rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { justify-content: flex-start; }
  .widget-card { max-width: 100%; }
  .features { padding: 4rem 1.75rem; }
  .features-grid { grid-template-columns: 1fr; }
  .proof { padding: 4rem 1.75rem; }
  .proof-inner { grid-template-columns: 1fr; gap: 3rem; }
  .closing { padding: 4rem 1.75rem; }
  .footer { padding: 2rem 1.75rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 3rem; }
  .proof-stat-row { gap: 1.5rem; }
  .stat-value { font-size: 1.75rem; }
}
