:root {
  --cream: #F5EFE6;
  --cream-mid: #EAE3D5;
  --terracotta: #C4622D;
  --terracotta-light: #D4784A;
  --teal: #1B4965;
  --slate: #1B1B2F;
  --text: #1B1B2F;
  --text-mid: #4A4A6A;
  --text-light: #7A7A9A;
  --white: #FFFFFF;
  --green: #2D6A4F;
  --green-bg: #D8F3DC;
  --amber: #B5662A;
  --amber-bg: #FBE8D0;
  --radius: 12px;
  --radius-sm: 8px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

/* ZEN SPA BACKGROUND */
body.zen-spa {
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_178248/7134ef45-360e-4bc9-b05c-dbd9d106ebc5.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}

/* Warm cream overlay so text stays readable */
body.zen-spa::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(245, 239, 230, 0.72);
  z-index: 0;
  pointer-events: none;
}

/* Ensure all content sections sit above the overlay */
body.zen-spa > * { position: relative; z-index: 1; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav with frosted glass feel */
.nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(245, 239, 230, 0.85) !important;
  border-bottom: 1px solid rgba(27, 27, 47, 0.08);
}

/* White content cards get a soft glass tint */
.feature-card,
.testimonial-card,
.screen-frame,
.hero-dashboard-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--cream);
  border-bottom: 1px solid rgba(27, 27, 47, 0.08);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--slate); }
.nav-tag { font-size: 11px; font-weight: 500; color: var(--terracotta); background: rgba(196, 98, 45, 0.1); padding: 3px 8px; border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-mid); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--slate); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px 64px;
  min-height: calc(100vh - 80px);
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 0; }
.hero-eyebrow { font-size: 12px; font-weight: 500; color: var(--terracotta); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.hero-headline { font-family: var(--font-head); font-size: clamp(56px, 7vw, 96px); font-weight: 700; line-height: 1.0; letter-spacing: -0.02em; color: var(--slate); margin-bottom: 28px; }
.hero-sub { font-size: 18px; color: var(--text-mid); line-height: 1.65; max-width: 480px; margin-bottom: 48px; font-weight: 300; }
.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.hero-stat { display: flex; align-items: baseline; gap: 12px; }
.hero-stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 600; color: var(--terracotta); line-height: 1; }
.hero-stat-label { font-size: 14px; color: var(--text-light); }

/* Hero Right - Visual */
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-visual { position: relative; width: 100%; max-width: 480px; }
.hero-field {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--cream-mid) 0%, #D4B896 50%, #C4966A 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.hero-field::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-dashboard-card {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(27, 27, 47, 0.12), 0 8px 20px rgba(27, 27, 47, 0.06);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(27, 27, 47, 0.06);
  background: var(--slate);
}
.card-dots { display: flex; gap: 6px; }
.card-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.card-dots span:first-child { background: #FF5F57; }
.card-dots span:nth-child(2) { background: #FEBC2E; }
.card-dots span:nth-child(3) { background: #28C840; }
.card-title { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); flex: 1; }
.card-status { font-size: 10px; font-weight: 600; color: #28C840; background: rgba(40, 200, 64, 0.15); padding: 3px 8px; border-radius: 100px; }
.card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ticket-row { display: flex; align-items: center; gap: 10px; }
.ticket-badge { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ticket-badge.green { background: #28C840; }
.ticket-badge.amber { background: #FEBC2E; }
.ticket-text { font-size: 12px; color: var(--text); flex: 1; }
.ticket-status { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 100px; }
.ticket-status.resolved { background: var(--green-bg); color: var(--green); }
.ticket-status.pending { background: var(--amber-bg); color: var(--amber); }
.card-footer { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid rgba(27, 27, 47, 0.06); background: rgba(27, 27, 47, 0.02); }
.resolved-count { font-size: 11px; font-weight: 600; color: var(--green); }
.avg-time { font-size: 11px; color: var(--text-light); }

/* Orbs */
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-1 { width: 160px; height: 160px; background: radial-gradient(circle, rgba(27, 73, 101, 0.15) 0%, transparent 70%); top: -40px; left: -40px; }
.orb-2 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(196, 98, 45, 0.12) 0%, transparent 70%); bottom: 40px; right: -20px; }

/* MANIFESTO */
.manifesto { background: var(--slate); padding: 96px 48px; }
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote { font-family: var(--font-head); font-size: clamp(22px, 3vw, 30px); font-weight: 300; font-style: italic; color: var(--cream); line-height: 1.45; margin-bottom: 40px; }
.manifesto-body { font-size: 16px; color: rgba(245, 239, 230, 0.65); line-height: 1.75; max-width: 640px; }

/* SECTIONS SHARED */
.section-label { font-size: 11px; font-weight: 500; color: var(--terracotta); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; color: var(--slate); margin-bottom: 48px; }

/* FEATURES */
.features { padding: 96px 48px; background: var(--cream); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(27, 27, 47, 0.06); transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27, 27, 47, 0.08); }
.feature-icon { width: 44px; height: 44px; background: rgba(196, 98, 45, 0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--terracotta); margin-bottom: 20px; }
.feature-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--slate); margin-bottom: 12px; }
.feature-desc { font-size: 15px; color: var(--text-mid); line-height: 1.65; font-weight: 300; }

/* DASHBOARD PREVIEW */
.dashboard-preview { padding: 96px 48px; background: var(--cream-mid); }
.dashboard-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.dashboard-desc { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; font-weight: 300; }
.dashboard-note { font-size: 14px; color: var(--terracotta); font-weight: 500; }

/* Screen mockup */
.screen-frame { background: var(--white); border-radius: 16px; box-shadow: 0 24px 80px rgba(27, 27, 47, 0.1), 0 8px 24px rgba(27, 27, 47, 0.06); overflow: hidden; border: 1px solid rgba(27, 27, 47, 0.06); }
.screen-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--slate); border-bottom: 1px solid rgba(255,255,255,0.08); }
.screen-dots { display: flex; gap: 6px; }
.screen-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.screen-dots span:first-child { background: #FF5F57; }
.screen-dots span:nth-child(2) { background: #FEBC2E; }
.screen-dots span:nth-child(3) { background: #28C840; }
.screen-title { font-size: 11px; color: rgba(255,255,255,0.5); flex: 1; text-align: center; }
.screen-body { padding: 20px; }
.agent-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(27, 27, 47, 0.06); }
.agent-row:last-of-type { border-bottom: none; }
.agent-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: #28C840; box-shadow: 0 0 6px rgba(40, 200, 64, 0.4); }
.dot-amber { background: #FEBC2E; box-shadow: 0 0 6px rgba(254, 188, 46, 0.4); }
.agent-name { font-size: 13px; font-weight: 500; color: var(--text); flex: 1; }
.agent-badge { font-size: 10px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 3px 8px; border-radius: 100px; }
.agent-stat { font-size: 11px; color: var(--text-light); }
.screen-metrics { display: flex; gap: 0; margin-top: 16px; border-top: 1px solid rgba(27, 27, 47, 0.06); padding-top: 16px; }
.metric { flex: 1; text-align: center; padding: 12px; border-right: 1px solid rgba(27, 27, 47, 0.06); }
.metric:last-child { border-right: none; }
.metric-val { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--terracotta); }
.metric-key { display: block; font-size: 10px; color: var(--text-light); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

/* TESTIMONIALS */
.testimonials { padding: 96px 48px; background: var(--cream); }
.testimonials-title { max-width: 540px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid rgba(27, 27, 47, 0.06); display: flex; flex-direction: column; gap: 24px; }
.testimonial-quote { font-size: 15px; color: var(--text-mid); line-height: 1.7; font-weight: 300; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-initial { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.author-name { display: block; font-size: 14px; font-weight: 600; color: var(--slate); }
.author-role { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* CLOSING */
.closing { padding: 120px 48px; background: var(--terracotta); }
.closing-inner { max-width: 900px; margin: 0 auto; }
.closing-kicker { font-size: 12px; font-weight: 500; color: rgba(245, 239, 230, 0.7); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 20px; }
.closing-headline { font-family: var(--font-head); font-size: clamp(36px, 5vw, 64px); font-weight: 700; color: var(--cream); line-height: 1.1; margin-bottom: 32px; }
.closing-sub { font-size: 18px; color: rgba(245, 239, 230, 0.8); line-height: 1.7; max-width: 640px; margin-bottom: 48px; font-weight: 300; }
.closing-pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.closing-pill { display: flex; align-items: center; gap: 8px; background: rgba(245, 239, 230, 0.15); color: var(--cream); font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 100px; }
.closing-pill svg { color: var(--cream); }

/* Closing CTA */
.closing-cta {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 32px;
  background: var(--cream);
  color: var(--terracotta);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}
.closing-cta:hover {
  background: var(--cream-mid);
  transform: translateY(-2px);
}

/* FOOTER */
.footer { background: var(--slate); padding: 40px 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--cream); display: block; }
.footer-tagline { font-size: 13px; color: rgba(245, 239, 230, 0.45); margin-top: 4px; display: block; max-width: 360px; }
.footer-copy { font-size: 12px; color: rgba(245, 239, 230, 0.3); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 24px; min-height: auto; }
  .hero-right { display: none; }
  .features, .dashboard-preview, .testimonials { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .dashboard-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 64px 24px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 48px; }
  .closing-headline { font-size: 36px; }
  .section-title { font-size: 28px; }
}

/* JOURNAL HERO */
.hero-journal { padding: 80px 48px 64px; background: var(--cream); }
.hero-journal-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-journal-left { display: flex; flex-direction: column; }
.hero-journal-eyebrow { font-size: 11px; font-weight: 500; color: var(--terracotta); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.hero-journal-headline { font-family: var(--font-head); font-size: clamp(48px, 5.5vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--slate); margin-bottom: 24px; }
.hero-journal-sub { font-size: 17px; color: var(--text-mid); line-height: 1.65; max-width: 440px; margin-bottom: 40px; font-weight: 300; }
.hero-journal-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary-zen { display: inline-block; padding: 14px 28px; background: var(--terracotta); color: white; font-size: 15px; font-weight: 600; border-radius: 100px; text-decoration: none; transition: all 0.2s; }
.btn-primary-zen:hover { background: var(--terracotta-light); transform: translateY(-1px); }
.btn-ghost-zen { display: inline-block; padding: 14px 28px; border: 1.5px solid var(--slate); color: var(--slate); font-size: 15px; font-weight: 500; border-radius: 100px; text-decoration: none; transition: all 0.2s; }
.btn-ghost-zen:hover { background: var(--slate); color: white; }
.hero-journal-right { display: flex; align-items: center; justify-content: center; }
.hero-journal-img { width: 320px; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 80px rgba(27,27,47,0.15), 0 8px 24px rgba(27,27,47,0.08); }

@media (max-width: 768px) {
  .hero-journal { padding: 48px 24px 40px; }
  .hero-journal-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-journal-right { display: none; }
}

/* JOURNAL SHOWCASE (homepage) */
.journals-showcase { padding: 96px 48px; background: var(--cream); }
.showcase-inner { max-width: 1100px; margin: 0 auto; }
.showcase-header { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.showcase-sub { font-size: 17px; color: var(--text-mid); font-weight: 300; margin: 16px 0 32px; line-height: 1.65; }
.showcase-cta {
  display: inline-block;
  padding: 12px 24px;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.showcase-cta:hover { background: var(--terracotta); color: white; }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.showcase-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(27,27,47,0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.showcase-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(27,27,47,0.1); }
.showcase-card-img { aspect-ratio: 1; overflow: hidden; }
.showcase-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.showcase-card:hover .showcase-card-img img { transform: scale(1.03); }
.showcase-card-body { padding: 20px 20px 22px; }
.showcase-card-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.showcase-card-tag { font-size: 13px; color: var(--text-mid); font-weight: 300; margin-bottom: 12px; }
.showcase-card-price { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--terracotta); }

@media (max-width: 900px) {
  .journals-showcase { padding: 64px 24px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 20px; }
}