/* ============================================
   CraftsmanReply Landing Page
   Design: Fraunces + DM Sans, Slate/Amber/Cream palette
   ============================================ */

/* ---- Variables ---- */
:root {
  --bg: #f5f0e8;
  --bg-alt: #ede8df;
  --slate: #1a2d42;
  --slate-mid: #2c4a6b;
  --slate-light: #3d6180;
  --amber: #e8913a;
  --amber-dark: #c97830;
  --cream: #f5f0e8;
  --warm-gray: #8a7d6b;
  --warm-light: #c4b99a;
  --white: #ffffff;
  --text-dark: #1a2d42;
  --text-mid: #3d6180;
  --text-light: #6b5f52;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Site Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 185, 154, 0.3);
  padding: 0 2rem;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.header-nav { display: flex; gap: 2rem; }
.header-nav a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--amber); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-header-login {
  font-size: 0.9rem; font-weight: 500; color: var(--text-mid);
  transition: color 0.15s; padding: 0.375rem 0.75rem;
}
.btn-header-login:hover { color: var(--amber); }
.btn-header-signup {
  font-size: 0.875rem; font-weight: 600;
  background: var(--amber); color: #fff;
  padding: 0.5rem 1.125rem;
  border-radius: 2rem;
  transition: background 0.15s;
}
.btn-header-signup:hover { background: var(--amber-dark); }

/* ---- Hero ---- */
.hero {
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--slate);
  color: var(--cream);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.accent-word {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 2px 20px rgba(26, 45, 66, 0.06);
  border: 1px solid rgba(196, 185, 154, 0.25);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  color: var(--slate);
}
.stat-label { font-size: 0.75rem; color: var(--warm-gray); font-weight: 500; }
.stat-divider {
  width: 1px; height: 36px;
  background: rgba(196, 185, 154, 0.5);
}
.hero-cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2.5rem;
  box-shadow: 0 4px 16px rgba(232, 145, 58, 0.35);
  transition: background 0.15s, box-shadow 0.15s;
}
.hero-cta-btn:hover { background: var(--amber-dark); box-shadow: 0 6px 20px rgba(232, 145, 58, 0.45); }

/* ---- Review Card Stack ---- */
.hero-visual { position: relative; }
.review-card-stack {
  display: flex; flex-direction: column; gap: 1rem;
  transform: rotate(-1.5deg);
}
.review-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 24px rgba(26, 45, 66, 0.08);
  border: 1px solid rgba(196, 185, 154, 0.2);
  transition: transform 0.3s ease;
}
.review-card:hover { transform: translateX(4px) rotate(0.5deg); }
.review-card-google { border-left: 4px solid #4285F4; }
.review-card-response {
  background: var(--slate);
  border-left: 4px solid var(--amber);
  transform: rotate(0.8deg);
}
.review-card-positive { border-left: 4px solid #34A853; }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.875rem;
}
.google-icon {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-light);
}
.stars { display: flex; gap: 2px; }
.card-review {
  font-size: 0.875rem; line-height: 1.55;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.card-author { font-size: 0.75rem; color: var(--warm-gray); }
.card-response-text {
  font-size: 0.8125rem; line-height: 1.6;
  color: var(--cream);
  margin-bottom: 1rem;
}
.response-actions {
  display: flex; gap: 0.625rem;
}
.btn-approve {
  background: var(--amber);
  color: var(--white);
  border: none; border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.btn-approve:hover { background: var(--amber-dark); }
.btn-edit {
  background: transparent;
  color: var(--warm-light);
  border: 1px solid var(--warm-light);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem; font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.15s, color 0.15s;
}
.btn-edit:hover { border-color: var(--cream); color: var(--cream); }
.posted-badge {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 600;
  color: #34A853;
  background: rgba(52, 163, 83, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  margin-top: 0.5rem;
}
.ai-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--amber);
}
.response-time { font-size: 0.6875rem; color: var(--warm-light); }

/* ---- Proof Section ---- */
.proof-section {
  background: var(--slate);
  padding: 2.5rem 2rem;
}
.proof-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 900;
  color: var(--amber);
  margin-bottom: 0.375rem;
}
.proof-label { font-size: 0.875rem; color: rgba(245, 240, 232, 0.65); line-height: 1.5; max-width: 200px; }
.proof-divider {
  width: 1px; height: 60px;
  background: rgba(196, 185, 154, 0.25);
}

/* ---- Shared Section Styles ---- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

/* ---- Features ---- */
.features-section {
  padding: 5rem 2rem;
  background: var(--bg);
}
.features-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(196, 185, 154, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26, 45, 66, 0.07);
}
.feature-primary {
  background: var(--slate);
  border-color: var(--slate);
}
.feature-primary h3, .feature-primary p { color: var(--cream); }
.feature-primary p { color: rgba(245, 240, 232, 0.7); }
.feature-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--amber);
}
.feature-primary .feature-icon { background: rgba(232, 145, 58, 0.15); }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.625rem;
}
.feature-card p {
  font-size: 0.9rem; line-height: 1.65;
  color: var(--text-light);
}
.feature-tag {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber);
  background: rgba(232, 145, 58, 0.12);
  padding: 0.25rem 0.625rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

/* ---- How It Works ---- */
.how-section {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}
.steps-row {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: center;
  gap: 1.5rem;
}
.step {
  flex: 1;
  text-align: center;
  max-width: 240px;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 900;
  color: var(--amber);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}
.step p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }
.step-connector { padding-top: 1.5rem; }
.system-prompt-callout {
  max-width: 680px; margin: 3rem auto 0;
}
.callout-inner {
  background: var(--slate);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem;
  text-align: center;
}
.callout-label {
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.callout-inner p {
  font-size: 1rem; line-height: 1.7;
  color: var(--cream);
}

/* ---- Pricing ---- */
.pricing-section {
  padding: 5rem 2rem;
  background: var(--bg);
}
.pricing-grid {
  max-width: 800px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 1px solid rgba(196, 185, 154, 0.25);
  position: relative;
  transition: transform 0.2s ease;
}
.pricing-card:hover { transform: translateY(-2px); }
.pricing-card-featured {
  background: var(--slate);
  border-color: var(--slate);
}
.plan-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.75rem;
}
.pricing-card-featured .plan-name { color: var(--cream); }
.plan-price { display: flex; align-items: baseline; gap: 0.375rem; margin-bottom: 0.75rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.price-period { font-size: 0.875rem; color: var(--warm-gray); }
.pricing-card-featured .price-period { color: rgba(245, 240, 232, 0.55); }
.plan-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 1.75rem; line-height: 1.6; }
.pricing-card-featured .plan-desc { color: rgba(245, 240, 232, 0.6); }
.plan-features { display: flex; flex-direction: column; gap: 0.75rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9rem; color: var(--text-dark);
  line-height: 1.4;
}
.pricing-card-featured .plan-features li { color: var(--cream); }
.plan-features svg { flex-shrink: 0; margin-top: 1px; }
.plan-guarantee {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(232, 145, 58, 0.08);
  border: 1px solid rgba(232, 145, 58, 0.2);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--amber-dark);
  text-align: center;
}
.pricing-card-featured .plan-guarantee {
  background: rgba(232, 145, 58, 0.15);
  border-color: rgba(232, 145, 58, 0.35);
  color: var(--cream);
}

/* ---- Testimonials ---- */
.testimonials-section {
  padding: 5rem 2rem;
  background: var(--bg-alt);
}
.testimonials-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(196, 185, 154, 0.2);
}
.testimonial-quote { margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 0.9375rem; line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem; font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.2rem;
}
.testimonial-author span { font-size: 0.8125rem; color: var(--warm-gray); }

/* ---- Closing ---- */
.closing-section {
  padding: 5rem 2rem;
  background: var(--slate);
}
.closing-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.closing-inner p {
  font-size: 1.0625rem; line-height: 1.75;
  color: rgba(245, 240, 232, 0.65);
  margin-bottom: 2rem;
}
.closing-values { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.value-tag {
  background: rgba(232, 145, 58, 0.15);
  color: var(--amber);
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(232, 145, 58, 0.25);
}

/* ---- Footer ---- */
.site-footer {
  padding: 2.5rem 2rem 3rem;
  background: var(--slate);
  border-top: 1px solid rgba(196, 185, 154, 0.15);
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.875rem; color: rgba(245, 240, 232, 0.45); margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(245, 240, 232, 0.5); transition: color 0.15s; }
.footer-links a:hover { color: var(--amber); }
.footer-legal { font-size: 0.75rem; color: rgba(245, 240, 232, 0.3); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .proof-inner { gap: 1.5rem; }
  .proof-divider { display: none; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .header-nav { display: none; }
}