:root {
  interpolate-size: allow-keywords;
  --plum-950: #2A1233;
  --plum-900: #3D1F47;
  --pink-600: #E8397B;
  --pink-400: #F27DA5;
  --lilac-200: #C7CBF4;
  --indigo-600: #5C3BFE;
  --ink: #241329;
  --ink-soft: #6B6475;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--pink-400), var(--pink-600)); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(232,57,123,.35); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { opacity: .85; }

.site-header {
  background: var(--plum-900);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42,18,51,.35); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-logo { height: 40px; width: auto; }
.header-nav { display: flex; gap: 12px; align-items: center; }

@media (max-width: 640px) {
  .header-nav .btn { padding: 10px 16px; font-size: 14px; }
  .brand-logo { height: 32px; }
}

.hero {
  background: linear-gradient(160deg, var(--plum-950), var(--plum-900) 60%, #4A2558);
  color: #fff;
  text-align: center;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .4;
  pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: var(--indigo-600); top: -160px; left: -120px; animation: drift 16s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; background: var(--pink-600); bottom: -180px; right: -100px; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(199, 203, 244, .18);
  color: var(--lilac-200);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.15; font-weight: 800; }
.hero-sub {
  max-width: 640px;
  margin: 20px auto 32px;
  font-size: 18px;
  color: rgba(255,255,255,.82);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.hero-price { margin-top: 24px; color: var(--pink-400); font-size: 15px; }
.hero-price strong { color: #fff; }

.features { padding: 88px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 12px auto 48px; font-size: 17px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, #FBF7FD, #F6F0FA);
  border: 1px solid #EDE3F3;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--pink-400); box-shadow: 0 12px 28px rgba(61,31,71,.12); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--plum-900); }
.feature-card p { color: var(--ink-soft); font-size: 15px; }

.pricing {
  padding: 88px 0;
  background: linear-gradient(180deg, var(--plum-950), var(--plum-900));
}
.pricing .section-title { color: #fff; }
.pricing .section-sub { color: rgba(255,255,255,.75); }
.pricing-table-wrap { max-width: 760px; margin: 0 auto; }
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.pricing-table thead th {
  color: var(--lilac-200);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: left;
  padding: 4px 20px;
}
.pricing-table th:nth-child(2), .pricing-table td:nth-child(2) { text-align: right; }
.pricing-table th:last-child, .pricing-table td:last-child { text-align: center; width: 72px; }
.pricing-table tbody td { background: rgba(255,255,255,.06); transition: background .2s ease; padding: 13px 20px; color: #fff; font-size: 15px; }
.pricing-table tbody tr:hover td { background: rgba(255,255,255,.12); }
.pricing-table tbody td:first-child { border-radius: 12px 0 0 12px; font-weight: 600; }
.pricing-table tbody td:nth-child(2) { color: rgba(255,255,255,.75); white-space: nowrap; }
.pricing-table tbody td:last-child { border-radius: 0 12px 12px 0; }
.pricing-table .check { color: var(--pink-400); font-weight: 800; font-size: 17px; }
.row-total td { background: var(--pink-600); padding: 16px 20px; font-weight: 800; color: #fff; font-size: 17px; }
.row-total td:first-child { border-radius: 12px 0 0 12px; }
.row-total td:last-child { border-radius: 0 12px 12px 0; }
.row-total .total-nexus { font-size: 20px; white-space: nowrap; }
.pricing-nexus {
  max-width: 760px; margin: 28px auto 0; text-align: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff; border-radius: var(--radius); padding: 40px 24px;
}
.pricing-nexus-label { color: var(--lilac-200); font-weight: 600; margin-bottom: 4px; }
.pricing-nexus-price { font-size: 22px; margin-bottom: 24px; }
.pricing-nexus-price strong { font-size: 48px; color: var(--pink-400); }

@media (max-width: 640px) {
  .pricing-table thead th { padding: 4px 12px; font-size: 11px; }
  .pricing-table tbody td { padding: 11px 12px; font-size: 13.5px; }
  .pricing-table tbody td:nth-child(2) { font-size: 12.5px; white-space: normal; }
  .pricing-table th:last-child, .pricing-table td:last-child { width: 44px; }
  .row-total td { padding: 13px 12px; font-size: 15px; }
  .row-total .total-nexus { font-size: 17px; }
}

.cta-final { padding: 96px 0; text-align: center; }
.cta-final h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; max-width: 620px; margin: 0 auto; }
.cta-final p { color: var(--ink-soft); margin: 14px 0 30px; font-size: 17px; }

.site-footer { background: var(--plum-950); color: rgba(255,255,255,.6); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-size: 14px; }
.footer-logo { height: 32px; width: auto; }
.footer-login { color: var(--lilac-200); text-decoration: none; font-weight: 600; }
.footer-login:hover { text-decoration: underline; }

.hero-accent {
  background: linear-gradient(120deg, var(--pink-400), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--pink-400);
  -webkit-text-fill-color: transparent;
}

.integrations { padding: 36px 0 40px; border-bottom: 1px solid #F0E9F4; overflow: hidden; }
.integrations-title {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee-group img { height: 26px; width: auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  .marquee-group { gap: 34px; padding-right: 34px; }
  .marquee-group img { height: 20px; }
}

.faq { padding: 88px 0; background: linear-gradient(160deg, var(--plum-950), #4A2558); }
.faq .section-title { color: #fff; }
.faq-list { max-width: 760px; margin: 40px auto 0; display: grid; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(242,125,165,.4);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.faq-item:hover, .faq-item[open] {
  border-color: var(--pink-400);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 24px rgba(232,57,123,.18);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--pink-400);
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--pink-400);
  font-size: 22px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: rgba(255,255,255,.78); padding: 0 0 18px; font-size: 15px; }
.faq-item::details-content {
  opacity: 0;
  block-size: 0;
  overflow: hidden;
  transition: block-size .3s ease, opacity .3s ease, content-visibility .3s allow-discrete;
}
.faq-item[open]::details-content { opacity: 1; block-size: auto; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero::before, .hero::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card, .faq-item, .faq-item summary::after { transition: none; }
  .faq-item::details-content { transition: none; }
}
