/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%);
  color: #2c2520;
  line-height: 1.6;
}

/* === NAV === */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; max-width: 1100px; margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: #2c2520;
  text-decoration: none;
}
.nav-logo .logo-circle {
  width: 32px; height: 32px; background: rgba(154,123,79,0.12);
  border: 1px solid rgba(154,123,79,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; gap: 28px; font-size: 13px; }
.nav-links a {
  color: #6b635a; text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: #9a7b4f; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: #9a7b4f; border: none; border-radius: 999px; font-size: 13px;
  color: #fff; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: #8a6d44; }

/* Icon sizes */
.cws-icon-16 { width: 16px; height: 16px; flex-shrink: 0; }
.cws-icon-18 { width: 18px; height: 18px; flex-shrink: 0; }
.cws-icon-22 { width: 22px; height: 22px; flex-shrink: 0; }

/* === SECTIONS === */
section { max-width: 1100px; margin: 0 auto; padding: 0 48px; }

/* === HERO === */
.hero { text-align: center; padding-top: 110px; padding-bottom: 60px; }
.hero h1 {
  font-size: 60px; font-weight: 700; line-height: 1.08; color: #2c2520;
  margin-bottom: 24px;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
  letter-spacing: -0.02em;
}
.h1-kicker {
  display: block; font-size: 14px; font-weight: 600; color: #9a7b4f;
  letter-spacing: 0.06em; margin-bottom: 12px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.hero .subtitle {
  font-size: 18px; color: #6b635a; max-width: 520px;
  margin: 0 auto 44px; line-height: 1.6;
}
.hero-cta-group {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-cta-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 36px;
  background: #9a7b4f; color: #fff; border: none; border-radius: 14px;
  font-size: 17px; font-weight: 600; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(154,123,79,0.3);
  text-decoration: none;
}
.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(154,123,79,0.35);
}
.cta-sub { font-size: 13px; color: #9a948c; }
.social-proof {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 10px; font-size: 13px; color: #9a948c;
}
.social-proof .stars { display: flex; gap: 1px; color: #f5a623; font-size: 13px; }

/* === DEMO === */
.demo-section { padding-top: 20px; padding-bottom: 80px; }
.demo-browser {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08); max-width: 820px; margin: 0 auto;
}
.demo-toolbar {
  background: #dee1e6; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-url {
  flex: 1; background: #fff; border-radius: 6px;
  padding: 5px 12px; font-size: 12px; color: #666;
}

/* Demo page — teal/green blog theme */
.demo-page { background: #f7f9fc; padding: 0; position: relative; min-height: 400px; }
.blog-nav-bar {
  background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 28px;
  display: flex; align-items: center; gap: 24px;
}
.blog-nav-bar .blog-logo {
  font-size: 16px; font-weight: 800; color: #0d9488;
  letter-spacing: -0.02em; font-family: system-ui, sans-serif;
}
.blog-nav-bar .blog-links {
  display: flex; gap: 18px; font-size: 12px; color: #64748b; margin-left: auto;
}
.blog-nav-bar .blog-subscribe {
  padding: 5px 14px; background: #0d9488; color: #fff;
  border-radius: 6px; font-size: 11px; font-weight: 600;
}
.blog-article {
  max-width: 580px; margin: 0 auto; padding: 28px 32px 90px; background: #fff;
  border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; min-height: 350px;
}
.blog-category {
  display: inline-block; font-size: 11px; font-weight: 600; color: #0d9488;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
  background: #f0fdfa; padding: 2px 10px; border-radius: 4px;
}
.blog-article h2 {
  font-size: 26px; font-weight: 700; color: #0f172a; margin-bottom: 12px;
  font-family: system-ui, sans-serif; line-height: 1.25; letter-spacing: -0.02em;
}
.blog-byline {
  display: flex; align-items: center; gap: 10px; font-size: 12px; color: #94a3b8;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0;
}
.blog-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; font-weight: 600;
}
.blog-article .article-text {
  font-size: 15px; color: #334155; line-height: 1.8; font-family: Georgia, serif;
}
.blog-article .article-text p + p { margin-top: 16px; }
.blog-article .anchor-hl {
  background: rgba(154,123,79,0.14); border-radius: 2px; padding: 1px 3px;
  border-bottom: 1.5px solid rgba(154,123,79,0.5); cursor: pointer;
  transition: background 0.2s;
}
.blog-article .anchor-hl:hover { background: rgba(154,123,79,0.25); }
.blog-article .anchor-hl.active {
  animation: anchor-pulse 1.4s ease-out;
}
@keyframes anchor-pulse {
  0% { background: rgba(154,123,79,0.35); }
  100% { background: rgba(154,123,79,0.14); }
}

/* Fact card — glassmorphic */
.demo-card {
  position: absolute; right: 24px; bottom: 70px; width: 300px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.45); border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  overflow: hidden; z-index: 10;
  opacity: 0; transform: translateY(12px) scale(0.97);
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1),
              transform 0.3s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.demo-card.visible {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.demo-card-bar {
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #9a7b4f 30%, #9a7b4f 70%, transparent);
  opacity: 0.4;
}
.demo-card-header {
  padding: 12px 14px 0; display: flex; align-items: center; gap: 6px;
}
.demo-card-label {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9a7b4f; font-weight: 600;
}
.demo-card-chip {
  font-size: 11px; padding: 2px 10px; background: rgba(154,123,79,0.08);
  border: 1px solid rgba(154,123,79,0.15); border-radius: 999px;
  color: #9a7b4f; font-weight: 500; cursor: pointer;
}
.demo-card-chip:hover { background: rgba(154,123,79,0.15); }
.demo-card-close {
  margin-left: auto; color: #9a948c; font-size: 16px; cursor: pointer;
  width: 24px; height: 24px; display: flex; align-items: center;
  justify-content: center; border-radius: 4px; transition: background 0.15s;
  background: none; border: none;
}
.demo-card-close:hover { background: rgba(0,0,0,0.05); color: #6b635a; }
.demo-card-body {
  padding: 10px 14px 12px;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
  font-size: 13.5px; line-height: 1.52; color: #2c2520;
}
.demo-card-footer {
  padding: 10px 14px 12px; border-top: 1px solid rgba(154,123,79,0.1);
  display: flex; align-items: center; gap: 8px; font-size: 11px;
}
.demo-verify-dot { width: 6px; height: 6px; border-radius: 50%; background: #558844; }
.demo-verify-label { font-size: 10px; color: #9a948c; letter-spacing: 0.02em; }
/* Footer buttons */
.demo-thumb {
  background: none; border: none; cursor: pointer;
  color: #9a948c; padding: 3px 5px; border-radius: 4px;
  transition: background 0.15s, color 0.15s; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.demo-thumb:hover { background: rgba(154,123,79,0.1); color: #9a7b4f; }
.demo-thumb.active { color: #9a7b4f; }
.demo-thumb.active svg { fill: currentColor; }
.demo-thumb.is-faded { opacity: 0.3; pointer-events: none; }
.demo-footer-btn {
  background: none; border: none; cursor: pointer;
  color: #9a7b4f; font-size: 13px; padding: 2px 4px;
  border-radius: 4px; transition: background 0.15s; line-height: 1;
}
.demo-footer-btn:hover { background: rgba(154,123,79,0.1); }
.demo-nav-group {
  margin-left: auto; display: flex; align-items: center; gap: 4px;
}
.demo-nav-btn {
  background: none; border: none; cursor: pointer;
  color: #9a7b4f; font-size: 16px; font-weight: 600;
  padding: 0 4px; line-height: 1; transition: opacity 0.15s;
}
.demo-nav-btn:hover { opacity: 0.7; }
.demo-nav-count { font-size: 11px; color: #9a948c; min-width: 22px; text-align: center; }

/* Exploration anchors in fact text */
.ff-explore-anchor {
  color: #9a7b4f; cursor: pointer;
  border-bottom: 1.5px dashed rgba(154,123,79,0.5);
  transition: border-color 0.15s;
}
.ff-explore-anchor:hover { border-bottom-color: #9a7b4f; }

/* Floating lightbulb */
.demo-float-icon {
  position: absolute; right: 24px; bottom: 20px; width: 42px; height: 42px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.45); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); z-index: 11; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.demo-float-icon:hover {
  transform: scale(1.1); box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.demo-float-icon.has-fact {
  animation: icon-ripple 0.9s ease-out;
}
@keyframes icon-ripple {
  0% { box-shadow: 0 0 0 0 rgba(154,123,79,0.4); }
  100% { box-shadow: 0 0 0 14px rgba(154,123,79,0); }
}

/* Tooltip */
.demo-tooltip {
  position: absolute; right: 74px; bottom: 28px; z-index: 12;
  background: #2c2520; color: #fff; padding: 6px 12px; border-radius: 6px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translateX(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.demo-tooltip::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: #2c2520;
}
.demo-tooltip.visible { opacity: 1; transform: translateX(0); }

.demo-caption {
  text-align: center; font-size: 13px; color: #9a948c; margin-top: 16px;
}

/* === FEATURES & TRUST === */
.features { padding-top: 80px; padding-bottom: 60px; }
.trust { padding-top: 20px; padding-bottom: 80px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 28px; font-weight: 600; color: #2c2520; margin-bottom: 8px;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
}
.section-header p { font-size: 15px; color: #6b635a; }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-item {
  background: rgba(255,255,255,0.5); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 14px;
  padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.card-item h3 { font-size: 15px; font-weight: 600; color: #2c2520; margin-bottom: 8px; }
.card-item p { font-size: 13px; color: #6b635a; line-height: 1.55; }
.hand-icon { width: 64px; height: 64px; margin-bottom: 16px; }
.hand-icon svg { width: 64px; height: 64px; }

/* === HOW IT WORKS === */
.how-it-works { padding-top: 40px; padding-bottom: 80px; }
.how-header { text-align: center; margin-bottom: 48px; }
.how-header h2 {
  font-size: 28px; font-weight: 600; color: #2c2520;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
  margin-bottom: 8px;
}
.how-header p { font-size: 15px; color: #6b635a; }
.steps {
  display: flex; gap: 32px; align-items: flex-start;
  max-width: 800px; margin: 0 auto;
}
.step { flex: 1; text-align: center; }
.step-num {
  width: 36px; height: 36px; background: rgba(154,123,79,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: #9a7b4f; margin: 0 auto 12px;
}
.step h3 { font-size: 14px; font-weight: 600; color: #2c2520; margin-bottom: 6px; }
.step p { font-size: 12px; color: #6b635a; line-height: 1.5; }
.step-arrow { color: #9a7b4f; font-size: 20px; margin-top: 8px; opacity: 0.4; }

/* === BLOG PREVIEW === */
.blog-preview { padding-top: 40px; padding-bottom: 80px; }
.blog-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.blog-header h2 {
  font-size: 28px; font-weight: 600; color: #2c2520;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
}
.blog-header a { font-size: 13px; color: #9a7b4f; text-decoration: none; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
a.blog-card-item { text-decoration: none; color: inherit; }
.blog-card-item {
  background: rgba(255,255,255,0.5); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s;
}
.blog-card-item:hover {
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.blog-card-img {
  height: 120px;
  background: linear-gradient(135deg, rgba(154,123,79,0.08), rgba(154,123,79,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; opacity: 0.5;
}
.blog-card-body { padding: 16px 18px; }
.blog-card-body .tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9a7b4f; font-weight: 600; margin-bottom: 6px;
}
.blog-card-body h3 { font-size: 14px; font-weight: 600; color: #2c2520; margin-bottom: 6px; }
.blog-card-body p { font-size: 12px; color: #6b635a; line-height: 1.5; }

/* === FINAL CTA === */
.final-cta { text-align: center; padding: 80px 48px; }
.final-cta h2 {
  font-size: 32px; font-weight: 600; color: #2c2520; margin-bottom: 12px;
  font-family: Optima, Candara, 'Gill Sans', Calibri, sans-serif;
}
.final-cta p { font-size: 15px; color: #6b635a; margin-bottom: 24px; }

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(154,123,79,0.1); padding: 32px 48px;
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #9a948c;
}
footer a { color: #9a7b4f; text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  section, .section-divider { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 72px; padding-bottom: 40px; }
  .hero h1 { font-size: 38px; }
  .hero .subtitle { font-size: 16px; }
  .hero-cta-btn { padding: 14px 28px; font-size: 16px; }
  .three-grid, .blog-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 24px; }
  .step-arrow { display: none; }
  .demo-browser { margin: 0 -8px; }
  .blog-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .final-cta { padding: 60px 20px; }
  .final-cta h2 { font-size: 26px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 8px; text-align: center; }
}

/* === DIVIDERS === */
.section-divider { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.section-divider hr {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154,123,79,0.15) 20%, rgba(154,123,79,0.15) 80%, transparent);
}
