/* === base === */
:root {
  --bg: #0e0a1a;
  --bg-2: #1a1230;
  --surface: #1c1530;
  --surface-2: #251c40;
  --text: #f5efff;
  --muted: #b9b0d8;
  --accent: #ff8b6b;
  --accent-2: #ff5e92;
  --accent-3: #b56cff;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(ellipse at top left, rgba(255, 139, 107, 0.18), transparent 50%),
    radial-gradient(ellipse at top right, rgba(181, 108, 255, 0.16), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom-width: 2px;
  padding: 2px 7px;
  border-radius: 6px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* === nav === */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(14, 10, 26, 0.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px;
}
.nav-icon { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* === hero === */
.hero { padding: 90px 0 70px; position: relative; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  margin-bottom: 28px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 880px;
  background: linear-gradient(180deg, #fff 0%, #d8c9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted); max-width: 620px;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 10px; opacity: 0.8; }

.hero-visual {
  margin-top: 56px;
  position: relative;
}
.paw-orb {
  width: 200px; height: 200px;
  margin: 0 auto;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(255, 139, 107, 0.4));
}
.paw-orb::before {
  content: "";
  position: absolute; inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 139, 107, 0.4), transparent 60%);
  filter: blur(20px);
  z-index: -1;
  animation: orbPulse 3.2s ease-in-out infinite;
}
.paw-orb img {
  width: 100%; border-radius: 38px;
  animation: orbBounce 4s ease-in-out infinite;
}
@keyframes orbPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.7; } }
@keyframes orbBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* === buttons === */
.btn-primary, .btn-ghost, .btn-mega {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 10px 30px rgba(255, 94, 146, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(255, 94, 146, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-mega {
  font-size: 19px; padding: 18px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 18px 50px rgba(255, 94, 146, 0.4);
  animation: cta 8s ease infinite;
}
@keyframes cta {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-mega:hover { transform: translateY(-2px); box-shadow: 0 22px 56px rgba(255, 94, 146, 0.5); }
.version-pill {
  font-size: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

/* === sections === */
section { padding: 90px 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 50px;
}

/* === features grid === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover {
  border-color: rgba(255, 139, 107, 0.4);
  transform: translateY(-2px);
}
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 {
  font-size: 17px; margin: 0 0 8px; font-weight: 600;
}
.card p { color: var(--muted); margin: 0; font-size: 14px; }

/* === pricing === */
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-width: 720px;
  margin: 0 auto;
}
.price-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 30px;
  position: relative;
}
.price-card-pro {
  border-color: rgba(255, 139, 107, 0.5);
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
}
.price-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.price-tag { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.price-amount { font-size: 36px; font-weight: 700; line-height: 1; }
.price-period { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.price-features {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-features li {
  font-size: 14px; color: var(--muted);
  padding-left: 22px; position: relative;
}
.price-features li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent);
}

/* === download === */
.download { padding: 100px 0; text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-meta {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}
.install-help {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  max-width: 520px;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
}
.install-help summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.install-help[open] summary { margin-bottom: 8px; }
.install-help ol { margin: 8px 0 0; padding-left: 22px; }
.install-help li { margin: 4px 0; }
.install-help code {
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 6px; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

/* === faq === */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
.faq details[open] { border-color: rgba(255, 139, 107, 0.3); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "↓"; float: right; opacity: 0.5;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-180deg); }
.faq details p {
  color: var(--muted); margin: 12px 0 0; font-size: 15px;
}
.faq details a { color: var(--accent); text-decoration: underline; }
.faq details code {
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 6px; border-radius: 4px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
}

/* === comparison block === */

.comparison { padding: 110px 0 70px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 50px auto 22px;
  max-width: 980px;
}
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.compare-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  min-height: 320px;
}
.compare-raw {
  background: linear-gradient(165deg, #1a1126 0%, #170f22 100%);
}
.compare-murmur {
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  border-color: rgba(255, 139, 107, 0.45);
  box-shadow: 0 30px 80px rgba(255, 94, 146, 0.18), 0 0 0 1px rgba(255, 139, 107, 0.18) inset;
}
.compare-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}
.compare-tag-pro {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 8px 24px rgba(255, 94, 146, 0.35);
}
.compare-body {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.compare-raw .compare-body {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 239, 255, 0.55);
  word-break: break-word;
  letter-spacing: 0.01em;
}
.compare-prose h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.compare-prose p {
  margin: 0 0 12px;
  color: rgba(245, 239, 255, 0.92);
}
.compare-prose p:last-of-type {
  margin-bottom: 0;
}
.compare-meta {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.compare-foot {
  text-align: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* === footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.footer-meta { display: flex; gap: 18px; align-items: center; }
.footer-meta a:hover { color: var(--text); }
