/* ══════════════════════════════════════════
   EmailBarista — Landing Page
   Page-specific styles (requires global.css)
   ══════════════════════════════════════════ */

/* Landing-wide link reset */
a { text-decoration: none; }

/* Button overrides for landing page sizing */
.btn { padding: 14px 28px; font-size: 0.92rem; }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217,48,37,0.3); }
.btn-white:hover { background: var(--cream); }
.btn-outline { color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── HEADER (minimal, replaces nav) ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 64px;
  background: rgba(250,246,239,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61,43,31,0.06);
  animation: fadeDown 0.5s ease both;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.header-right a:first-child {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.header-right a:first-child:hover { color: var(--text); }

/* ── HERO ── */
.lp-hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s ease 0.1s both;
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: stretch;
}
.lp-hero-inner {
  background: var(--brown);
  padding: 100px 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.lp-hero-photo {
  position: relative;
  overflow: hidden;
}
.lp-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  margin-bottom: 28px;
}
.lp-hero-badge span { width: 6px; height: 6px; background: var(--tan); border-radius: 50%; }
.lp-hero h1 {
  font-size: clamp(3rem, 5.5vw, 6rem);
  color: white;
  line-height: 0.95;
  margin-bottom: 32px;
}
.lp-hero h1 em { font-style: italic; color: var(--tan); }
.lp-hero p,
.lp-hero-desc,
.lp-hero-desc p {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 520px;
}
.lp-hero-desc { margin-bottom: 44px; }
.lp-hero-desc p { margin-bottom: 0.5em; }
.lp-hero-desc p:last-child { margin-bottom: 0; }
.lp-hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 56px; width: 100%; }
.lp-hero-cta .lp-hero-btn { width: 100%; text-align: center; justify-content: center; padding: 16px 24px; font-size: 1rem; }
.lp-hero-cta .btn-red { background: var(--red); color: white; }
.lp-hero-cta .btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(217,48,37,0.3); }
.lp-hero-cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.lp-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lp-stat-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}
.lp-stat-big em { color: var(--tan); font-style: normal; }
.lp-stat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--red);
  padding: 20px 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.trust-bar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.trust-items { display: flex; gap: 32px; overflow: hidden; }
.trust-item { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.85); white-space: nowrap; }

/* ── PROBLEM SECTION ── */
.problem {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-text .section-label { margin-bottom: 16px; }
.problem-text h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--brown); margin-bottom: 24px; }
.problem-text p,
.problem-desc,
.problem-desc p { color: var(--muted); font-size: 1.5rem; line-height: 1.8; margin-bottom: 16px; }
.problem-desc p:last-child { margin-bottom: 0; }
.problem-cards { display: flex; flex-direction: column; gap: 16px; }
.problem-card {
  background: white;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(61,43,31,0.07);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.problem-card-x {
  width: 36px;
  height: 36px;
  background: #fee2e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.problem-card-content h3 { font-size: 1.5rem; font-weight: 700; color: var(--brown); margin-bottom: 8px; }
.problem-card-content p,
.problem-card-desc,
.problem-card-desc p { font-size: 1.3rem; color: var(--muted); line-height: 1.55; }
.problem-card-desc p:last-child { margin-bottom: 0; }

/* ── SOLUTION ── */
.solution { background: var(--cream); padding: 80px 0; }
.solution .section-label { color: var(--muted) !important; margin-bottom: 16px; }
.solution h2 { color: var(--brown); font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 48px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  background: white;
  border: 1px solid rgba(61,43,31,0.07);
  border-radius: 20px;
  padding: 32px;
}
.solution-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--brown); margin-bottom: 12px; }
.solution-card p,
.solution-card-desc,
.solution-card-desc p { font-size: 1.3rem; color: var(--muted); line-height: 1.7; }
.solution-card-desc p:last-child { margin-bottom: 0; }
.solution-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── SOCIAL PROOF ── */
.proof { padding: 80px 0; }
.proof h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--brown); margin-bottom: 48px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.proof-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(61,43,31,0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
.proof-quote { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; flex: 1; }
.proof-author { display: flex; align-items: center; gap: 12px; }
.proof-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proof-name  { font-size: 0.85rem; font-weight: 700; color: var(--brown); }
.proof-title { font-size: 0.75rem; color: var(--muted); }
.proof-stars { color: var(--red); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 6px; }

.proof-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-number { background: var(--brown); border-radius: 20px; padding: 32px; }
.proof-number-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-number-desc { font-size: 1.5rem; color: rgba(255,255,255,0.6); margin-top: 8px; line-height: 1.5; }

/* ── FORM SECTION ── */
.lp-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream-dark);
  margin-bottom: 50px;
}
.lp-form-left {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-form-left h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); color: var(--brown); margin-bottom: 16px; }
.lp-form-left p,
.lp-form-desc,
.lp-form-desc p { color: var(--muted); font-size: 1.5rem; line-height: 1.75; margin-bottom: 32px; }
.lp-form-desc p:last-child { margin-bottom: 0; }
.lp-checklist { display: flex; flex-direction: column; gap: 12px; }
.lp-check { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 600; color: var(--brown); }
.lp-check-icon {
  width: 24px;
  height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.lp-form-right { background: white; padding: 80px 64px; }
.lp-form-right h3 { font-size: 1.5rem; color: var(--brown); margin-bottom: 8px; }
.lp-form-right > p,
.lp-form-right-desc,
.lp-form-right-desc p { font-size: 1.5rem; color: var(--muted); margin-bottom: 32px; }
.lp-form-right-desc p:last-child { margin-bottom: 0; }
.lp-form { display: flex; flex-direction: column; gap: 16px; }

/* Form elements */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.78rem; font-weight: 700; color: var(--brown); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(61,43,31,0.12);
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream);
  transition: all 0.2s;
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217,48,37,0.08);
  background: white;
}
.form-select { appearance: none; cursor: pointer; }

.lp-form-submit {
  background: var(--red);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.lp-form-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.form-note { font-size: 0.73rem; color: var(--muted); text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header { padding: 16px 24px; }

  .lp-hero-inner { padding: 48px 24px; }
  .problem,
  .solution,
  .proof,
  .lp-form-left,
  .lp-form-right { padding: 48px 24px; }

  .lp-hero { grid-template-columns: 1fr; gap: 0; }
  .lp-hero-photo { order: -1; min-height: 280px; }
  .lp-hero-photo img { min-height: 280px; }
  .lp-hero h1 { font-size: 3rem; }
  .lp-stats { flex-wrap: wrap; gap: 28px; }

  .problem,
  .lp-form-section { grid-template-columns: 1fr; }

  .solution-grid,
  .proof-grid,
  .proof-numbers { grid-template-columns: 1fr; }

  .trust-bar { padding: 16px 24px; }
}
@media (max-width: 480px) {
  header { padding: 14px 20px; }
  .lp-hero-inner { padding: 36px 20px; }
  .problem, .solution, .proof, .lp-form-left, .lp-form-right { padding: 36px 20px; }
  .lp-hero h1 { font-size: 2rem; }
}
