:root {
  --purple: #7c3aed;
  --purple-hover: #6425d6;
  --lime: #dfff5a;
  --ink: #100f1a;
  --bg: #fafafc;
  --lavender: #f3eefb;
  --text-muted: #6b6580;
  --text-soft: #4c4761;
  --border: #e7e2f2;
  --footer-bg: #150f24;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-hover); }
::selection { background: var(--lime); color: var(--ink); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.logo-img { height: 28px; width: auto; }
.nav-inner img.logo-img { height: 32px; width: auto; }

/* grid background patterns */
.cs-gridbg {
  background-image:
    linear-gradient(to right, rgba(124,58,237,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124,58,237,0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cs-gridbg-light {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-pill { border-radius: 99px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.btn-primary {
  background: var(--purple);
  color: var(--bg);
  box-shadow: 0 8px 24px rgba(124,58,237,0.25);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 34px rgba(124,58,237,0.4); color: var(--bg); }

.btn-lime {
  background: var(--lime);
  color: #14170a;
}
.btn-lime:hover { transform: translateY(-3px) scale(1.03); color: #14170a; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  padding: 15px 8px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 12px; color: var(--ink); }
.link-arrow::after {
  content: '';
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--purple);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250,250,252,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  overflow: hidden;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--purple); }
@media (max-width: 880px) { .nav-links { display: none; } }
@media (max-width: 600px) {
  .nav-inner img.logo-img { height: 24px; }
}

/* ---------- Hero ---------- */
.hero-mask {
  position: relative;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 80px 24px 56px;
  position: relative;
}
.hero-copy { min-width: 0; position: relative; z-index: 1; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: #14170a;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.cs-h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.cs-h1 .accent { color: var(--purple); }

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 36px;
  max-width: 520px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; min-width: 0; height: 420px; z-index: 1; }

.float-card {
  position: absolute;
  width: 200px;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(16,15,26,0.08);
}
.float-1 { top: 10px; left: 10px; width: 220px; animation: csFloat 6s ease-in-out infinite; }
.float-2 { top: 180px; right: 0; animation: csFloat2 7s ease-in-out infinite; }
.float-3 { bottom: 10px; left: 60px; animation: csFloat 8s ease-in-out infinite; animation-delay: 1s; }

.float-dark { background: var(--ink); border: none; box-shadow: 0 16px 40px rgba(16,15,26,0.18); }
.float-lime { background: var(--lime); border: none; box-shadow: 0 16px 40px rgba(223,255,90,0.3); }

.float-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 17px;
}
.float-icon-purple { background: var(--purple); color: #fff; }
.float-icon-lime { background: var(--lime); color: #14170a; }
.float-icon-ink { background: var(--ink); color: var(--lime); }

.float-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; color: var(--ink); }
.float-sub { margin: 0; font-size: 13px; color: #8a84a0; }
.float-title-light { color: #fff; }
.float-sub-light { color: #9d97b5; }
.float-title-ink { color: #14170a; }
.float-sub-ink { color: #3f4a1e; }

@keyframes csFloat { 0% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } 100% { transform: translateY(0) rotate(-2deg); } }
@keyframes csFloat2 { 0% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(-2deg); } 100% { transform: translateY(0) rotate(2deg); } }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .cs-h1 { font-size: 38px; }
  .hero-visual { display: none; }
}

/* ---------- Trust line ---------- */
.trust-band { background: var(--lavender); padding: 22px 24px; }
.trust-line { text-align: center; font-size: 14px; font-weight: 700; color: var(--purple); letter-spacing: 0.02em; margin: 0; }

/* ---------- Sections / grid ---------- */
.section { padding: 96px 24px; }
.section-head { text-align: center; margin-bottom: 16px; }
.section-head h2, h2.center {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 12px;
}
.section-head p { color: var(--text-muted); font-size: 17px; margin: 0 auto; max-width: 560px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.span-3 { grid-column: 1 / -1; text-align: center; margin-bottom: 16px; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  min-width: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.card p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.55; }

.feat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(124,58,237,0.15); border-color: #c9b8f0; }
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  transition: transform 0.25s ease;
}
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(-4deg); }

/* ---------- Steps (purple) ---------- */
.steps-section { background-color: var(--purple); padding: 96px 24px; position: relative; overflow: hidden; }
.steps-section .section-head h2 { color: #fff; }
.steps-section .section-head p { color: #e4d9fb; }

.step-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); }
.step-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.14); }
.step-card h3 { color: #fff; }
.step-card p { color: #e4d9fb; }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--lime); margin-bottom: 14px; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg); padding: 96px 24px; }
.faq-wrap { max-width: 760px; }
.faq-sub { color: var(--text-muted); font-size: 16px; margin: 0 0 40px; }
.center { text-align: center; }

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
  transition: color 0.2s ease;
}
.faq-question:hover .faq-q-text { color: var(--purple); }

.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 12px;
  transition: color 0.2s ease;
}
.faq-item.is-open .faq-q-text { color: var(--purple); }

.faq-idx { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: #b8adcf; }

.faq-toggle { font-size: 16px; color: var(--purple); flex-shrink: 0; line-height: 1; transition: transform 0.25s ease; }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { margin: 0; padding: 0 4px 22px 44px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.faq-item.is-open .faq-answer { max-height: 300px; }

/* ---------- CTA final ---------- */
.cta-final {
  background-color: var(--ink);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 64px auto 96px;
}
.cta-final h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: var(--bg);
  margin: 0 0 16px;
}
.cta-final p { position: relative; color: #c9c2dc; font-size: 17px; margin: 0 0 32px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); padding: 64px 24px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand p { color: #9d97b5; font-size: 14px; line-height: 1.6; max-width: 260px; margin: 16px 0 0; }
.footer-title { color: #fff; font-weight: 700; font-size: 14px; margin: 0 0 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #9d97b5; font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-copy { color: #726c8a; font-size: 13px; margin: 24px 0 0; text-align: center; }
