:root {
  --primary: #0F766E;
  --primary-light: #5EEAD4;
  --secondary: #E7DCC8;
  --charcoal: #1C1917;
  --paper: #FAF8F5;
  --white: #ffffff;
  --muted: #5a6570;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(15, 118, 110, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
header {
  background: var(--white);
  border-bottom: 1px solid rgba(15,118,110,.12);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 20px; color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-img { border-radius: 50%; box-shadow: 0 2px 8px rgba(15,118,110,.25); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px; letter-spacing: -0.04em;
}
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted);
}
.lang-switch-lbl { font-weight: 600; white-space: nowrap; }
.lang-select {
  border: 1px solid rgba(15,118,110,.2);
  background: var(--paper);
  color: var(--charcoal);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  max-width: 110px;
}
.lang-select:focus { outline: 2px solid rgba(15,118,110,.35); outline-offset: 1px; }
html[dir="rtl"] .nav { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
html[dir="rtl"] .hero { direction: rtl; }
html[dir="rtl"] .funnel-steps { justify-content: flex-start; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }

.hero {
  padding: 72px 0 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: 44px; line-height: 1.12; margin-bottom: 16px; font-family: Georgia, serif; color: var(--primary); }
.hero p.lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.funnel-steps {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted); margin-top: 24px;
}
.funnel-steps span { padding: 6px 12px; background: var(--white); border-radius: 20px; border: 1px solid #e5e5e5; }

.hero-visual { display: flex; justify-content: center; }
.app-mock {
  width: 100%; max-width: 420px; background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow); border: 1px solid rgba(15,118,110,.12); overflow: hidden;
}
.mock-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: linear-gradient(135deg,#0F766E,#134E4A); color: #fff; }
.mock-logo {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800;
}
.mock-badge { margin-left: auto; font-size: 10px; opacity: .85; }
.mock-nav { display: flex; gap: 6px; padding: 10px 12px; font-size: 10px; background: #f7f9f8; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.mock-nav span { padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.mock-nav span.on { background: rgba(15,118,110,.12); color: var(--primary); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; padding: 12px; }
.mock-stat { background: #f7f9f8; border-radius: 8px; padding: 10px; }
.mock-stat small { display: block; font-size: 9px; color: var(--muted); text-transform: uppercase; }
.mock-stat b { font-size: 18px; color: var(--primary); }
.mock-list { padding: 0 12px 14px; }
.mock-row { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 0; border-top: 1px solid #eee; }
.mock-row .ok { color: #15803D; font-weight: 700; }
.mock-row .warn { color: #B45309; font-weight: 700; }

.section-alt { background: var(--white); padding: 56px 0; }
.section-lead { text-align: center; color: var(--muted); max-width: 560px; margin: -24px auto 40px; }
.features { padding: 56px 0; }
.features h2, .pricing h2, .how h2, .faq h2 { text-align: center; margin-bottom: 12px; font-size: 28px; font-family: Georgia, serif; color: var(--charcoal); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); padding: 24px; border-radius: var(--radius);
  border: 1px solid rgba(15,118,110,.08);
}
.feature h3 { margin-bottom: 8px; font-size: 16px; }
.feature p { font-size: 14px; color: var(--muted); }

.how-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 32px 0; }
.how-grid strong { display: block; margin-bottom: 6px; color: var(--primary); }
.how-grid p { font-size: 13px; color: var(--muted); }
.steps { max-width: 520px; margin: 0 auto; color: var(--muted); line-height: 2; padding-left: 20px; }

.pricing { padding: 56px 0; }
.price-grid { display: grid; gap: 24px; max-width: 960px; margin: 0 auto; }
.price-grid-3 { grid-template-columns: repeat(3, 1fr); }
.price-card {
  border: 2px solid rgba(15,118,110,.15); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; background: var(--white); position: relative;
}
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11px; padding: 4px 12px; border-radius: 20px;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; font-family: Georgia, serif; }
.price-card .amount { font-size: 36px; font-weight: 800; color: var(--primary); margin: 8px 0 0; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { list-style: none; text-align: left; font-size: 14px; color: var(--muted); margin: 20px 0; }
.price-card li { padding: 6px 0; border-bottom: 1px solid #eee; }
.price-card li:before { content: "✓ "; color: var(--primary); font-weight: 700; }

.faq-inner { max-width: 720px; }
.faq details { background: var(--paper); border: 1px solid #e5e5e5; border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 10px; font-size: 14px; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, var(--primary), #134E4A); color: #fff; padding: 56px 0; text-align: center; }
.cta-inner h2 { font-family: Georgia, serif; margin-bottom: 8px; }
.cta-inner p { opacity: .9; margin-bottom: 20px; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* Communication section (Chat + Q&A + Guest link demo) */
.communication { /* uses .section-alt for spacing */ }
.communication h2 { text-align: center; margin-bottom: 10px; font-size: 28px; font-family: Georgia, serif; }
.comm-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: start; margin-top: 18px; }
.comm-copy p { color: var(--muted); max-width: 520px; }
.comm-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .02em;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.comm-badges-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; margin-bottom: 18px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15,118,110,.18);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.comm-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.comm-mock { display: grid; gap: 12px; }
.chat-card, .qa-card, .guest-card {
  background: var(--white);
  border: 1px solid rgba(15,118,110,.10);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15,118,110,.06);
  overflow: hidden;
}
.chat-head, .qa-head, .guest-head {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(231,220,200,.55));
  border-bottom: 1px solid rgba(15,118,110,.10);
  font-weight: 700;
  color: var(--primary);
  font-size: 13px;
}
.chat-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  background: #f7f9f8;
  border: 1px solid #eef2f7;
}
.bubble.left { margin-right: auto; }
.bubble.right {
  margin-left: auto;
  background: rgba(15,118,110,.10);
  border-color: rgba(15,118,110,.22);
  color: #0A5B52;
}
.chat-foot {
  padding: 12px 16px;
  border-top: 1px solid #eef2f7;
  font-size: 12px;
  color: var(--muted);
}

.qa-body { padding: 14px 16px; display: grid; gap: 10px; }
.qa-item { background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 12px; }
.qa-q { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.qa-a { font-size: 13px; color: #3b3b3b; line-height: 1.5; }

.guest-card { padding: 16px; }
.guest-watermark {
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed rgba(15,118,110,.22);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(231,220,200,.35);
  margin-bottom: 12px;
}
.guest-url {
  font-family: Consolas, monospace;
  font-size: 12px;
  color: var(--primary);
  word-break: break-all;
  margin-bottom: 8px;
}
.guest-sub { font-size: 12px; color: var(--muted); line-height: 1.6; }

footer {
  padding: 32px 0; text-align: center; font-size: 13px; color: var(--muted);
  border-top: 1px solid #e5e5e5;
}
.footer-note { font-size: 11px; margin-top: 8px; opacity: .7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 32px; }
  .grid-3, .price-grid-3, .how-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .comm-grid { grid-template-columns: 1fr; }
  .lang-switch-lbl { display: none; }
  .nav { flex-wrap: wrap; }
}
