/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2d2a26;
  background: #faf8f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Scroll Animations ── */
.anim {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.anim.visible { opacity: 1; transform: none; }
.hero .anim, .works-on.anim { opacity: 1; transform: none; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(250,248,245,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index: 200;
  padding: 16px 0;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: #2d2a26;
  letter-spacing: -0.01em;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  background: #6d5acd;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; color: #7a756d; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2d2a26; }
.nav-cta {
  padding: 10px 22px;
  background: #2d2a26;
  color: #faf8f5 !important;
  border-radius: 8px;
  font-weight: 600; font-size: 13.5px;
  transition: background 0.2s;
}
.nav-cta:hover { background: #1a1816; }

.menu-toggle { display: none; background: none; border: none; padding: 4px; color: #2d2a26; }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: #faf8f5; border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 20px 24px; flex-direction: column; gap: 16px; z-index: 199;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; color: #2d2a26; font-weight: 500; padding: 8px 0; }

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #2d2a26;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.hero h1 em {
  font-style: italic;
  color: #6d5acd;
}
.hero-sub {
  font-size: 19px;
  color: #7a756d;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta-group {
  display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: #2d2a26;
  color: #faf8f5;
  border: none; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn-primary:hover { background: #1a1816; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  background: transparent;
  color: #2d2a26;
  border: 1.5px solid #d9d4cc;
  border-radius: 12px;
  font-size: 16px; font-weight: 600;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: #2d2a26; }
.hero-meta {
  display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 13px; color: #a39e96; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.hero-visual {
  margin-top: 72px;
  display: flex; justify-content: center;
}
.hero-screenshot {
  width: 100%; max-width: 780px;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
}

/* ── Works On ── */
.works-on { padding: 64px 0 24px; text-align: center; }
.works-on-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: #b5b0a8; font-weight: 600; margin-bottom: 28px;
}
.works-on-logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.works-on-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #b5b0a8; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.works-on-item:hover { color: #7a756d; }
.works-on-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.works-on-item:hover .works-on-icon {
  background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08);
}

/* ── Section Titles ── */
.section-title { margin-bottom: 56px; }
.section-title h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: #2d2a26;
  line-height: 1.15;
}
.section-title p {
  color: #7a756d; font-size: 17px; max-width: 480px; line-height: 1.7;
}
.section-title.center { text-align: center; }
.section-title.center p { margin: 0 auto; }

/* ── Demo ── */
.demo-section { padding: 80px 0; }
.demo-browser {
  max-width: 800px; margin: 0 auto;
  background: #fff; border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 16px 64px rgba(0,0,0,0.06);
  overflow: hidden;
}
.demo-browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px; background: #faf8f5; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.demo-browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.demo-browser-dot:nth-child(1) { background: #e8665a; }
.demo-browser-dot:nth-child(2) { background: #e5b94e; }
.demo-browser-dot:nth-child(3) { background: #62c554; }
.demo-browser-url {
  flex: 1; margin-left: 10px; padding: 5px 14px;
  background: rgba(0,0,0,0.03); border-radius: 6px;
  font-size: 12px; color: #b5b0a8; border: none;
}
.demo-content { padding: 36px; min-height: 280px; position: relative; }
.demo-step { display: none; }
.demo-step.active { display: block; animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.demo-step h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: #6d5acd; margin-bottom: 20px; font-weight: 700;
}
.demo-text { font-size: 16px; line-height: 1.85; color: #4a4540; }
.demo-text .highlight { background: rgba(109,90,205,0.1); border-radius: 3px; padding: 2px 3px; }
.demo-text .error { text-decoration: underline wavy #d4634b; text-underline-offset: 3px; }
.demo-toolbar {
  display: inline-flex; gap: 3px; padding: 6px 8px;
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); margin-top: 20px;
}
.demo-toolbar-btn {
  padding: 8px 14px; border-radius: 7px; font-size: 12.5px; font-weight: 600;
  color: #7a756d; background: transparent; border: none; transition: all 0.15s;
}
.demo-toolbar-btn.active {
  background: #6d5acd; color: #fff;
}
.demo-result {
  margin-top: 24px; padding: 20px 24px;
  background: #f0f7f0; border: 1px solid #c8e0c8; border-radius: 10px;
  font-size: 16px; line-height: 1.85; color: #2a5a2a;
}
.demo-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; padding-bottom: 4px; }
.demo-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #d9d4cc;
  border: none; cursor: pointer; padding: 0; transition: all 0.2s;
}
.demo-dot.active { background: #6d5acd; transform: scale(1.25); }

/* ── Features — compact split ── */
.features { padding: 80px 0; }
.features-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.feature-list { display: flex; flex-direction: column; }
.feature-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child { border: none; }
.feature-item h3 {
  font-size: 16px; font-weight: 700; color: #2d2a26;
  margin-bottom: 4px;
}
.feature-item p { font-size: 14px; color: #7a756d; line-height: 1.6; }

/* ── Pricing ── */
.pricing { padding: 80px 0; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 760px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px; padding: 40px; position: relative;
}
.price-card.featured {
  background: #2d2a26; color: #faf8f5;
  border: none;
}
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; background: #6d5acd; color: #fff; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap;
}
.price-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.02em; }
.price-amount {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px; font-weight: 400; margin-bottom: 4px;
}
.price-amount span { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 400; color: #a39e96; }
.price-card.featured .price-amount span { color: rgba(250,248,245,0.5); }
.price-desc { font-size: 14px; color: #a39e96; margin-bottom: 28px; }
.price-card.featured .price-desc { color: rgba(250,248,245,0.5); }
.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
  padding: 8px 0; font-size: 14.5px; color: #7a756d;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.price-features li:last-child { border: none; }
.price-card.featured .price-features li { color: rgba(250,248,245,0.7); border-color: rgba(250,248,245,0.06); }
.price-btn {
  display: block; width: 100%; padding: 14px; border-radius: 10px;
  text-align: center; font-weight: 600; font-size: 14px; border: none; transition: all 0.2s;
}
.price-btn.outline { background: #faf8f5; color: #2d2a26; border: 1.5px solid #d9d4cc; }
.price-btn.outline:hover { border-color: #2d2a26; }
.price-btn.primary { background: #6d5acd; color: #fff; }
.price-btn.primary:hover { background: #5a48b5; }
.manage-link { display: block; text-align: center; margin-top: 12px; font-size: 12px; color: rgba(250,248,245,0.4); }
.manage-link:hover { color: rgba(250,248,245,0.7); }
.pricing-toggle-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 48px;
}
.pricing-toggle-label { font-size: 14px; font-weight: 600; color: #a39e96; }
.pricing-toggle-label.active { color: #2d2a26; }
.pricing-toggle-save { font-size: 11px; font-weight: 700; color: #6d5acd; background: #ede9fe; padding: 3px 10px; border-radius: 50px; }
.toggle-switch { position: relative; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: #d9d4cc; border-radius: 24px; cursor: pointer; transition: background 0.2s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.toggle-switch input:checked + .toggle-slider { background: #6d5acd; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── FAQ ── */
.faq { padding: 80px 0; }
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.faq-toggle { display: none; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 17px; font-weight: 600; color: #2d2a26;
  cursor: pointer; transition: color 0.15s;
}
.faq-question:hover { color: #6d5acd; }
.faq-icon { font-size: 18px; color: #d9d4cc; transition: transform 0.3s; font-weight: 400; }
.faq-toggle:checked ~ .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-toggle:checked ~ .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: #7a756d; line-height: 1.8; }
.faq-answer-inner a { color: #6d5acd; }

/* ── CTA ── */
.cta {
  padding: 80px 0; text-align: center;
  background: #2d2a26; color: #faf8f5;
}
.cta h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px); font-weight: 400;
  margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.1;
}
.cta p { color: rgba(250,248,245,0.5); font-size: 17px; margin-bottom: 36px; }
.cta .btn-primary { background: #6d5acd; }
.cta .btn-primary:hover { background: #5a48b5; }
.cta-meta { margin-top: 20px; font-size: 13px; color: rgba(250,248,245,0.3); }

/* ── Footer ── */
footer { padding: 48px 0 32px; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: #2d2a26; margin-bottom: 12px;
}
.footer-brand .nav-logo-icon { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }
.footer-desc { font-size: 14px; color: #a39e96; line-height: 1.6; max-width: 260px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #a39e96; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: #7a756d; padding: 4px 0; transition: color 0.15s; }
.footer-col a:hover { color: #2d2a26; }
.footer-bottom {
  text-align: center; font-size: 13px; color: #b5b0a8;
  border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px;
}

/* ── Sticky Mobile CTA ── */
.mobile-cta {
  position: fixed; bottom: -80px; left: 0; right: 0;
  padding: 12px 24px; background: rgba(250,248,245,0.95);
  backdrop-filter: blur(12px); border-top: 1px solid rgba(0,0,0,0.06);
  z-index: 100; transition: bottom 0.3s ease; display: none;
}
.mobile-cta.show { bottom: 0; }
.mobile-cta .btn-primary { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-cta { display: block; }
  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-cta-group { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .demo-content { padding: 24px; }
  .demo-toolbar { flex-wrap: wrap; }
}
