/* Meus — Landing page */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
html[data-theme='dark'] .nav { background: rgba(14,14,16,0.75); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.12s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { border-color: var(--border-strong); background: var(--canvas); }
.btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: white; }
.btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn.accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.lg {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: 10px;
}
.btn svg { width: 14px; height: 14px; }

.nav-toggle {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  display: grid; place-items: center;
}
.nav-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.nav-toggle svg { width: 15px; height: 15px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 32px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, var(--accent-soft) 0%, transparent 70%);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: all 0.15s;
  cursor: pointer;
}
.hero-badge:hover { border-color: var(--border-strong); }
.hero-badge-tag {
  background: var(--accent-soft);
  color: var(--accent-text);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
}
.hero-badge svg { width: 12px; height: 12px; }

.hero h1 {
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-meta {
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.hero-meta-item { display: flex; align-items: center; gap: 5px; }
.hero-meta svg { width: 12px; height: 12px; color: var(--success); }

/* Product preview */
.preview {
  padding: 40px 32px 100px;
  position: relative;
}
.preview-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.preview-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-xl), 0 40px 120px -30px rgba(0,0,0,0.15);
  position: relative;
}
html[data-theme='dark'] .preview-frame { box-shadow: 0 40px 120px -20px rgba(129,140,248,0.25), 0 0 0 1px var(--border); }

.preview-titlebar {
  height: 36px;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.tl-dots { display: flex; gap: 6px; }
.tl-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.tl-dots span:nth-child(1) { background: #ff5f57; }
.tl-dots span:nth-child(2) { background: #febc2e; }
.tl-dots span:nth-child(3) { background: #28c840; }
.preview-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.preview-body { height: 620px; overflow: hidden; position: relative; }
.preview-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Section base ────────────────────────────────────────────── */
section.block {
  padding: 96px 32px;
}
.block-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.1;
  text-wrap: balance;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

/* ── Feature grid ────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.15s;
}
.feature:hover { background: var(--canvas); }
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Detailed feature blocks alternating */
.feat-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.feat-detail:last-child { margin-bottom: 0; }
.feat-detail.reverse { direction: rtl; }
.feat-detail.reverse > * { direction: ltr; }

.feat-copy .feat-eyebrow {
  font-size: 12px;
  color: var(--accent-text);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feat-copy h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  line-height: 1.15;
}
.feat-copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feat-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feat-bullets li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.feat-bullets svg {
  width: 16px; height: 16px;
  color: var(--accent-text);
  flex-shrink: 0;
  margin-top: 2px;
}

.feat-visual {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--canvas);
  padding: 28px;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Timeline visual mock */
.mock-timeline { font-family: var(--font-mono); font-size: 12px; }
.mock-tl-row {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  align-items: flex-start;
}
.mock-tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 10px;
}
.mock-tl-dot.done { background: var(--success-soft); border-color: var(--success); color: var(--success); }
.mock-tl-dot.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); animation: pulse-ring 2s infinite; }
.mock-tl-body { flex: 1; padding-top: 1px; }
.mock-tl-title { color: var(--text); font-family: var(--font-sans); font-size: 13px; font-weight: 500; }
.mock-tl-meta { color: var(--text-muted); font-size: 11px; margin-top: 1px; }

/* Chat mock */
.mock-chat { display: flex; flex-direction: column; gap: 14px; }
.mock-msg {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.mock-avatar {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}
.mock-avatar.u { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mock-avatar.a { background: linear-gradient(135deg, var(--accent), #7c3aed); }
.mock-body { flex: 1; font-size: 13px; line-height: 1.5; }
.mock-body strong { font-weight: 600; }
.mock-tool {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-tool-icon { width: 16px; height: 16px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.mock-tool-icon svg { width: 10px; height: 10px; }

/* Todo mock */
.mock-todo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.mock-todo-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-todo-head-title { font-size: 13px; font-weight: 600; flex: 1; }
.mock-todo-head-badge { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.mock-todo-item {
  padding: 8px 14px;
  display: flex; gap: 10px;
  font-size: 13px;
  align-items: flex-start;
}
.mock-todo-check {
  width: 16px; height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  margin-top: 1px;
  display: grid; place-items: center;
  color: white;
}
.mock-todo-check.done { background: var(--accent); border-color: var(--accent); }
.mock-todo-check svg { width: 9px; height: 9px; }
.mock-todo-item.done .mock-todo-text { color: var(--text-muted); text-decoration: line-through; }
.mock-todo-item.active .mock-todo-text { color: var(--accent-text); font-weight: 500; }

/* Logos strip */
.logos {
  padding: 40px 32px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.logos-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.logos-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.7;
}
.logo-item {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  font-family: var(--font-sans);
}

/* CTA block */
.cta-block {
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.cta-inner h2 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.1;
  text-wrap: balance;
}
.cta-inner p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Footer */
footer.foot {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  background: var(--canvas);
}
.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.foot-copy {
  font-size: 12px;
  color: var(--text-muted);
}
.foot-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
.foot-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.12s;
}
.foot-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 44px; }
  .hero p.lead { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .feat-detail { grid-template-columns: 1fr; gap: 30px; }
  .feat-detail.reverse { direction: ltr; }
  .section-title { font-size: 32px; }
  .cta-inner h2 { font-size: 36px; }
  .nav-links { display: none; }
  section.block { padding: 60px 20px; }
  .preview { padding: 20px 16px 60px; }
  .preview-body { height: 400px; }
}
