/* ============================================
   ZenChat Landing Page Styles
   Color palette: Deep green · Warm white · Gold
   ============================================ */

:root {
  --green-deep: #1a3a2a;
  --green-mid: #2d5a3d;
  --green-light: #3d7a52;
  --cream: #f5f0e8;
  --cream-dark: #ede5d5;
  --gold: #c4a265;
  --gold-light: #d4b97a;
  --text-dark: #1a2520;
  --text-mid: #3d5045;
  --text-light: #6b8a75;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 58, 42, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* ---- Layout ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green-deep);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 17px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--cream);
  border: 2px solid var(--green-deep);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
}

.btn-outline:hover {
  background: var(--green-deep);
  color: var(--cream);
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(196, 162, 101, 0.2);
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--green-deep);
  font-weight: 600;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--cream);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(196, 162, 101, 0.25);
  border: 1px solid rgba(196, 162, 101, 0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(245, 240, 232, 0.55);
}

.hero-scroll-hint {
  margin-top: 60px;
  color: rgba(196, 162, 101, 0.5);
  font-size: 20px;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ---- How It Works ---- */
.how-it-works {
  background: var(--white);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  text-align: center;
  padding: 32px 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.step p {
  color: var(--text-light);
  font-size: 14px;
}

.step-arrow {
  color: var(--gold);
  font-size: 24px;
  padding-top: 40px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .step-arrow { display: none; }
}

/* ---- Features ---- */
.features {
  background: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 162, 101, 0.15);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.feature-card > p {
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 24px;
}

.feature-example {
  background: var(--cream);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
}

.chat-bubble.bot {
  background: var(--green-deep);
  color: var(--cream);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble.user {
  background: var(--cream-dark);
  color: var(--text-dark);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* ---- Sources ---- */
.sources {
  background: var(--green-deep);
  padding: 48px 0;
  text-align: center;
}

.sources-label {
  color: rgba(245, 240, 232, 0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sources-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--cream);
}

.dot {
  color: var(--gold);
  opacity: 0.6;
}

/* ---- Quote ---- */
.quote-section {
  background: var(--cream-dark);
  text-align: center;
  padding: 64px 0;
}

blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 32px);
  font-style: italic;
  color: var(--green-deep);
  max-width: 640px;
  margin: 0 auto 16px;
}

blockquote cite {
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* ---- Pricing ---- */
.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  border: 1px solid rgba(196, 162, 101, 0.2);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  background: var(--cream);
  transition: transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
  position: relative;
}

.pricing-badge {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.pricing-card--featured .pricing-badge {
  color: var(--gold-light);
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--green-deep);
  line-height: 1;
}

.pricing-card--featured .pricing-price {
  color: var(--white);
}

.pricing-period {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
  margin-top: 4px;
}

.pricing-card--featured .pricing-period {
  color: rgba(245, 240, 232, 0.7);
}

.pricing-save {
  background: var(--gold);
  color: var(--green-deep);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-mid);
}

.pricing-card--featured .pricing-features li {
  color: rgba(245, 240, 232, 0.85);
}

.pricing-card--featured .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
}

.pricing-card--featured .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--green-deep);
  color: rgba(245, 240, 232, 0.7);
  padding: 48px 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-note {
  font-size: 12px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.5;
}

.footer-note a {
  color: var(--gold-light);
  text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
}
