/* ===================================================================
   SleepSales — Landing Page
   "Tactile Sanctuary" / Restful Productivity
   Brand: indigo #4B3F7F · teal #00D1C2 · mint #4EF2DD · cream surface
   =================================================================== */

:root {
  /* Brand */
  --indigo: #4B3F7F;
  --indigo-deep: #2B1E51;
  --indigo-soft: #6B5FA6;
  --teal: #00D1C2;
  --teal-deep: #00B4A8;
  --mint: #4EF2DD;

  /* Surfaces (warm, layered) */
  --cream: #F7F3EA;
  --cream-2: #FBF8F1;
  --surface: #FFFFFF;
  --surface-tint: #F2ECE0;

  /* Text */
  --ink: #211A3D;
  --ink-soft: #4a4368;
  --muted: #847e9b;
  --on-dark: #EFEBFA;
  --on-dark-muted: #b9b2dc;

  /* Effects */
  --grad-accent: linear-gradient(120deg, var(--teal) 0%, var(--mint) 100%);
  --grad-indigo: linear-gradient(150deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  --shadow-sm: 0 2px 10px rgba(43, 30, 81, 0.06);
  --shadow-md: 0 14px 40px rgba(43, 30, 81, 0.10);
  --shadow-lg: 0 30px 70px rgba(43, 30, 81, 0.16);
  --ring: 0 0 0 4px rgba(0, 209, 194, 0.18);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1160px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ----------------------------- Base ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: linear-gradient(105deg, var(--teal-deep) 0%, var(--teal) 45%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

/* --------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 13px 26px;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary {
  background: var(--grad-indigo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 30, 81, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(43, 30, 81, 0.34); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--indigo-deep);
  box-shadow: inset 0 0 0 1.5px rgba(75, 63, 127, 0.18);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 234, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(247, 243, 234, 0.92); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { height: 60px; width: auto; display: block; }
/* render the lockup as pure white for dark backgrounds */
.brand-logo-light { filter: brightness(0) invert(1); }
.brand-mark { height: 30px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--indigo-deep);
  letter-spacing: -0.01em;
}
.brand-accent { color: var(--teal-deep); }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  position: relative;
  transition: color .15s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: width .2s ease;
}
.main-nav a:hover { color: var(--indigo-deep); }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-login { font-weight: 700; font-size: 0.95rem; color: var(--indigo-deep); white-space: nowrap; }
.header-login:hover { color: var(--teal-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--indigo-deep);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--cream-2);
  box-shadow: var(--shadow-md);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(75, 63, 127, 0.08);
}
.mobile-menu .btn { margin-top: 12px; border-bottom: none; }

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% -8%, rgba(78, 242, 221, 0.20), transparent 60%),
    radial-gradient(900px 460px at 5% 10%, rgba(75, 63, 127, 0.10), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0, 209, 194, 0.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(0, 209, 194, 0.12);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow.light { color: var(--mint); background: rgba(78, 242, 221, 0.14); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 600;
  color: var(--indigo-deep);
  letter-spacing: -0.025em;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 560px;
}
.hero-sub strong { color: var(--indigo-deep); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.hero-chips li {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Hero visual / product mock */
.hero-visual { position: relative; }
.mock-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.mock-quote { position: relative; z-index: 2; }
.mock-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-accent); }
.mock-title { font-weight: 800; color: var(--indigo-deep); }
.badge {
  margin-left: auto;
  font-size: 0.74rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
}
.badge-ok { background: rgba(0, 209, 194, 0.16); color: var(--teal-deep); }

.mock-line {
  display: flex; justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(75, 63, 127, 0.08);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.mock-line span:last-child { font-weight: 700; color: var(--ink); }

.mock-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 18px 0;
}
.mock-split > div {
  background: var(--surface-tint);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 3px;
}
.mock-split .muted { font-size: 0.78rem; }
.mock-split strong { font-size: 1.1rem; color: var(--indigo-deep); }

.mock-cta {
  text-align: center;
  background: var(--grad-indigo);
  color: #fff;
  font-weight: 700;
  padding: 13px;
  border-radius: 999px;
}

.mock-kpi {
  position: absolute;
  right: -40px; bottom: -54px;
  width: 186px;
  z-index: 3;
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
  animation: float 6s ease-in-out infinite;
}
.mock-kpi .kpi-big {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--indigo-deep);
}
.spark { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 6px; }
.spark span {
  flex: 1; border-radius: 5px 5px 0 0;
  background: var(--grad-accent);
  opacity: 0.9;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --------------------------- Sections --------------------------- */
.section { padding: 92px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--indigo-deep);
  letter-spacing: -0.02em;
}
.section-title.on-dark { color: #fff; }
.section-lead {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* Pains */
.pains { background: var(--cream-2); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pain-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  background: var(--surface-tint);
  border-radius: 16px;
  margin-bottom: 18px;
}
.pain-card h3 { font-size: 1.18rem; color: var(--indigo-deep); margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-wide {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--grad-indigo);
  color: #fff;
}
.feature-card.feature-wide h3,
.feature-card.feature-wide p { color: #fff; }
.feature-card.feature-wide p { color: var(--on-dark); }
.feature-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: var(--surface-tint);
  border-radius: 16px;
  margin-bottom: 20px;
}
.feature-wide .feature-icon { background: rgba(255, 255, 255, 0.14); }
.feature-card h3 { font-size: 1.16rem; color: var(--indigo-deep); margin-bottom: 9px; }
.feature-wide h3 { font-size: 1.55rem; font-family: var(--font-display); font-weight: 600; }
.feature-card p { color: var(--ink-soft); font-size: 0.97rem; }
.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--on-dark);
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--mint);
  font-weight: 800;
}

/* Differentiators (dark band) */
.differentiators {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(0, 209, 194, 0.18), transparent 60%),
    var(--grad-indigo);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.diff-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.diff-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 600;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.diff-item h3 { color: #fff; font-size: 1.32rem; margin: 8px 0 10px; }
.diff-item p { color: var(--on-dark-muted); }

/* ColchIA */
.colchia { background: var(--cream-2); }
.colchia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.colchia-copy .section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.tone-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tone-pill {
  font-weight: 700; font-size: 0.92rem;
  padding: 9px 18px; border-radius: 999px;
  border: none;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: all .18s ease;
}
.tone-pill:hover { transform: translateY(-2px); }
.tone-pill.is-active {
  background: var(--grad-indigo);
  color: #fff;
  box-shadow: 0 8px 20px rgba(43, 30, 81, 0.25);
}
.colchia-chat {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.chat-avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--indigo-deep);
  font-weight: 800;
}
.chat-head strong { display: block; color: var(--indigo-deep); }
.chat-head .muted { font-size: 0.85rem; }
.chat-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  max-width: 88%;
}
.chat-bubble.user {
  margin-left: auto;
  background: var(--surface-tint);
  color: var(--ink);
  border-bottom-right-radius: 6px;
}
.chat-bubble.bot {
  background: var(--grad-indigo);
  color: #fff;
  border-bottom-left-radius: 6px;
}
.chat-bubble.bot.swap { animation: bubbleSwap .3s ease; }
@keyframes bubbleSwap {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-accent);
  color: var(--indigo-deep);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.14rem; color: var(--indigo-deep); margin-bottom: 9px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* Results */
.results { background: var(--cream-2); }
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.kpi-tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  border-image: var(--grad-accent) 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.kpi-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.kpi-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--indigo-deep);
  margin-bottom: 8px;
}
.kpi-desc { color: var(--ink-soft); font-size: 0.96rem; }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 4px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--indigo-deep);
  padding: 20px 36px 20px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400;
  color: var(--teal-deep);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 22px; }

/* Final CTA */
.final-cta { padding: 80px 0; }
.cta-card {
  position: relative;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(78, 242, 221, 0.20), transparent 60%),
    var(--grad-indigo);
  border-radius: var(--radius-lg);
  padding: 70px 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-mark { margin: 0 auto 22px; height: 50px; width: auto; }
.cta-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  color: #fff;
  max-width: 680px;
  margin: 0 auto;
}
.cta-card p { color: var(--on-dark); margin: 18px auto 0; font-size: 1.1rem; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--indigo-deep); color: var(--on-dark-muted); padding: 56px 0 28px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand-text { color: #fff; }
.site-footer .brand-accent { color: var(--mint); }
.footer-brand .brand-logo { height: 52px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { font-weight: 600; color: var(--on-dark-muted); transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(185, 178, 220, 0.7);
}

/* Testimonial (dark band) */
.testimonial {
  background:
    radial-gradient(680px 380px at 12% 8%, rgba(0, 209, 194, 0.18), transparent 60%),
    radial-gradient(560px 320px at 92% 100%, rgba(78, 242, 221, 0.12), transparent 60%),
    var(--grad-indigo);
}
.testimonial-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial .eyebrow.light { margin-bottom: 26px; }
.testimonial-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.9vw, 2.25rem);
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #fff;
}
.testimonial-quote em { font-style: italic; color: var(--mint); }
.quote-mark {
  display: block;
  font-size: 4.5rem;
  line-height: 0.5;
  margin-bottom: 18px;
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.author-logo { height: 56px; width: auto; }
.author-info {
  display: flex; flex-direction: column;
  text-align: left;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.author-info strong { color: #fff; font-size: 1.06rem; }
.author-info span { color: var(--on-dark-muted); font-size: 0.92rem; }

/* Pricing */
.pricing { background: var(--cream-2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}
.plan-featured {
  position: relative;
  background:
    radial-gradient(560px 280px at 50% -15%, rgba(78, 242, 221, 0.18), transparent 60%),
    var(--grad-indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.plan-badge {
  position: absolute;
  top: 22px; right: 26px;
  background: var(--grad-accent);
  color: var(--indigo-deep);
  font-weight: 800; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--indigo-deep);
}
.plan-featured .plan-name { color: #fff; }
.plan-desc { margin-top: 8px; color: var(--ink-soft); font-size: 0.96rem; min-height: 46px; }
.plan-featured .plan-desc { color: var(--on-dark); }
.plan-price { display: flex; align-items: baseline; gap: 5px; margin: 24px 0 4px; }
.plan-currency { font-size: 1.2rem; font-weight: 700; color: var(--indigo-deep); }
.plan-value {
  font-family: var(--font-display);
  font-weight: 700; font-size: 3rem; line-height: 1;
  color: var(--indigo-deep); letter-spacing: -0.02em;
}
.plan-period { color: var(--muted); font-weight: 600; }
.plan-featured .plan-currency,
.plan-featured .plan-value { color: #fff; }
.plan-featured .plan-period { color: var(--on-dark-muted); }
.plan-users { font-weight: 700; color: var(--teal-deep); margin: 0 0 24px; }
.plan-featured .plan-users { color: var(--mint); }
.plan-cta { width: 100%; }
.plan-incl { margin: 26px 0 0; font-weight: 700; font-size: 0.94rem; color: var(--indigo-deep); }
.plan-featured .plan-incl { color: #fff; }
.plan-features {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.plan-card > .plan-features { margin-top: 26px; }
.plan-card > .plan-incl + .plan-features { margin-top: 14px; }
.plan-features li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.plan-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--teal-deep); font-weight: 800;
}
.plan-featured .plan-features li { color: var(--on-dark); }
.plan-featured .plan-features li::before { color: var(--mint); }
.pricing-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: 0.92rem; }

.btn-light {
  background: #fff;
  color: var(--indigo-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22); }

/* Free-trial microcopy + banner */
.trial-note {
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.cta-card .trial-note { margin-top: 22px; color: var(--on-dark-muted); }

.trial-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--teal-deep);
  background: rgba(0, 209, 194, 0.12);
  padding: 11px 22px;
  border-radius: 999px;
}
.trial-banner strong { color: var(--indigo-deep); }

/* Showcase (prints do sistema) */
.showcase { background: var(--cream-2); }
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 72px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row--rev { grid-template-columns: 1.25fr 1fr; }
.showcase-row--rev .showcase-text { order: 2; }
.showcase-row--rev .shot { order: 1; }

.showcase-step {
  display: inline-block;
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(0, 209, 194, 0.12);
  padding: 6px 13px; border-radius: 999px;
  margin-bottom: 16px;
}
.showcase-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--indigo-deep);
  letter-spacing: -0.015em;
}
.showcase-text p { margin-top: 12px; color: var(--ink-soft); font-size: 1.04rem; }

/* Image slot / placeholder (auto-reveals when the file exists) */
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.shot__bar {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 16px;
  background: var(--surface-tint);
}
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(75, 63, 127, 0.22); }
.shot__frame { position: relative; aspect-ratio: 16 / 10; }
.shot__ph {
  position: absolute; inset: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 20px;
  border: 2px dashed rgba(75, 63, 127, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(75, 63, 127, 0.05), rgba(0, 209, 194, 0.05));
}
.shot__icon { width: 42px; height: 42px; color: var(--indigo-soft); }
.shot__label { font-weight: 700; color: var(--indigo-deep); font-size: 1.02rem; }
.shot__hint {
  font-size: 0.8rem; color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(75, 63, 127, 0.06);
  padding: 4px 10px; border-radius: 8px;
}
.shot__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.shot__img.is-loaded { opacity: 1; }

/* Trial signup modal */
.modal {
  width: min(620px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.modal::backdrop {
  background: rgba(43, 30, 81, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal[open] { animation: modalIn 0.28s ease both; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: var(--surface-tint);
  color: var(--ink-soft);
  font-size: 1.6rem; line-height: 1;
  z-index: 2;
  transition: background 0.15s ease;
}
.modal__close:hover { background: rgba(75, 63, 127, 0.14); }

.modal__form, .modal__success { padding: 36px 38px 30px; }
.modal__head { text-align: center; margin-bottom: 22px; }
.modal__badge {
  display: inline-block;
  font-weight: 800; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(0, 209, 194, 0.12);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 14px;
}
.modal__head h2 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.6rem;
  color: var(--indigo-deep);
}
.modal__head p { margin-top: 8px; color: var(--ink-soft); font-size: 0.96rem; }

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.modal__grid .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-weight: 700; font-size: 0.9rem;
  color: var(--indigo-deep);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(75, 63, 127, 0.18);
  background: var(--cream-2);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input::placeholder { color: var(--muted); }
.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--ring);
  background: #fff;
}
.field input:user-invalid { border-color: #df5a50; }

.field__pw { position: relative; }
.field__pw input { padding-right: 88px; }
.field__pw-toggle {
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  border: none; background: transparent;
  color: var(--teal-deep);
  font-weight: 700; font-size: 0.82rem;
  padding: 6px 8px;
}
.field__hint { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); }

.modal__error {
  margin: 0 0 6px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(223, 90, 80, 0.1);
  color: #c2453c;
  font-size: 0.9rem;
  font-weight: 600;
}

.modal__submit { width: 100%; margin-top: 8px; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.modal__fine { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }

.modal__success { text-align: center; }
.modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--indigo-deep);
  font-size: 2rem; font-weight: 800;
}
.modal__success h2 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem;
  color: var(--indigo-deep);
}
.modal__success p { margin: 10px auto 22px; color: var(--ink-soft); max-width: 340px; }
.modal__text-btn {
  display: inline-block;
  margin-top: 14px;
  border: none;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.modal__text-btn:hover { color: var(--ink-soft); }

/* --------------------------- Reveal anim --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* --------------------------- Responsive --------------------------- */
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .mock-kpi { right: 0; }
  .colchia-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; grid-row: auto; }
  .steps, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .plan-featured { transform: none; }
  .showcase-row, .showcase-row--rev { grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
  .showcase-row--rev .showcase-text, .showcase-row--rev .shot { order: 0; }
}

@media (max-width: 720px) {
  .brand-logo { height: 48px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .pain-grid, .feature-grid, .steps, .kpi-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .mock-split { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .testimonial-author { flex-direction: column; gap: 14px; }
  .author-info { border-left: none; padding-left: 0; text-align: center; align-items: center; }
}

@media (max-width: 560px) {
  .modal__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-kpi { animation: none; }
}
