@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --bg: #0b0710;
  --bg2: #120b19;
  --card: #171021;
  --card2: #1c1428;
  --fg: #f5f1f8;
  --fg-dim: #c3b9cf;
  --fg-mute: #8f849e;
  --accent1: #b15ce8;
  --accent2: #ef6b53;
  --accent3: #4fc3d9;
  --border: rgba(255, 255, 255, 0.09);
  --grad: linear-gradient(115deg, var(--accent1), var(--accent2) 55%, var(--accent3));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--accent3);
}

a:hover {
  color: var(--accent1);
}

::selection {
  background: var(--accent1);
  color: #fff;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(11, 7, 16, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.logo-main {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-suffix {
  color: var(--fg-mute);
  font-weight: 600;
  font-size: 14px;
}

.btn {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: inline-block;
}

.btn-grad {
  color: #100816;
  background: var(--grad);
  padding: 12px 26px;
}

.btn-grad:hover {
  color: #100816;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 34px -10px rgba(177, 92, 232, 0.65);
}

.btn-ghost {
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  padding: 12px 25px;
}

.btn-ghost:hover {
  border-color: var(--accent3);
  transform: translateY(-2px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-login {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.header-login:hover {
  color: var(--fg);
}

.header-cta {
  font-size: 14px;
  padding: 10px 22px;
}

/* hero */
.hero {
  position: relative;
  padding: 9vh 0 10vh;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  animation: float-blob 16s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  top: -140px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: var(--accent1);
  opacity: 0.22;
}

.blob-2 {
  top: 120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: var(--accent3);
  opacity: 0.18;
  animation-direction: reverse;
  animation-duration: 20s;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -24px); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0 0 34px;
  max-width: 560px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hero-form input {
  flex: 1;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 15px 22px;
  color: var(--fg);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hero-form input:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 4px rgba(177, 92, 232, 0.18);
}

.hero-form button {
  white-space: nowrap;
  padding: 0 26px;
}

.hero-note {
  font-size: 14px;
  color: var(--fg-mute);
  margin: 0;
}

/* demo card in hero */
.demo-wrap {
  position: relative;
  min-width: 0;
}

.demo-ring {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(177, 92, 232, 0.35);
  animation: spin-slow 40s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.demo-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  min-width: 0;
  overflow: hidden;
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.demo-topbar span.demo-url {
  margin-left: 6px;
  font-size: 12px;
  font-family: monospace;
  color: var(--fg-mute);
}

.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.demo-heading .name {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-dim);
}

.demo-heading .sort {
  font-size: 12px;
  color: var(--accent3);
  font-family: monospace;
}

.demo-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px 8px;
  border-radius: 10px;
}

.demo-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.demo-thumb {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  flex-shrink: 0;
}

.demo-info {
  min-width: 0;
  overflow: hidden;
}

.demo-title {
  font-size: 13px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-meta {
  font-size: 11px;
  color: var(--fg-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-views {
  text-align: right;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent3);
  white-space: nowrap;
  flex-shrink: 0;
}

/* generic sections */
section {
  padding: 8vh 0;
}

.section-alt {
  background: var(--bg2);
}

h2.section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 16px;
}

.section-title.center {
  text-align: center;
  margin-bottom: 44px;
}

p.section-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-dim);
  max-width: 720px;
  margin: 0 0 36px;
}

/* two-col intro */
.problem-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.problem-visual {
  width: 100%;
  height: 280px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 30%, rgba(177, 92, 232, 0.35), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(79, 195, 217, 0.3), transparent 55%),
    var(--card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-mute);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.problem-visual-img {
  flex-direction: column;
  height: auto;
  padding: 14px;
  gap: 12px;
  background: var(--card2);
}

.problem-visual-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: block;
}

.problem-visual-caption {
  color: var(--fg-mute);
  font-size: 13px;
  text-align: center;
}

/* card grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(177, 92, 232, 0.35);
  border-color: var(--accent1);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: var(--grad);
  box-shadow: 0 10px 24px -10px rgba(177, 92, 232, 0.55);
}

.icon-hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.icon-circle {
  border-radius: 50%;
}

.icon-triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.card-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16);
  margin-bottom: 12px;
}

.card-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dim);
}

.center-cta {
  text-align: center;
  margin-top: 48px;
}

/* steps */
.step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 44px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.step-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-dim);
}

/* table */
.data-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow-x: auto;
}

.data-table table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 16px 22px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--fg);
  background: var(--card2);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-dim);
}

.data-table td:first-child {
  color: var(--accent3);
  font-weight: 500;
  white-space: nowrap;
}

.data-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.03);
}

/* audience */
.audience-card {
  display: flex;
  gap: 18px;
}

.audience-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad);
}

.audience-icon.shape-circle {
  border-radius: 50%;
}

.audience-icon.shape-diamond {
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.audience-icon.shape-triangle {
  border-radius: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.audience-icon.shape-square {
  border-radius: 12px;
}

.audience-card:hover {
  border-color: var(--accent3);
}

/* features */
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-tint, var(--accent1));
  border-radius: 16px;
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-tint, var(--accent1));
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
}

/* comparison */
.compare-table table {
  min-width: 580px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--fg-dim) !important;
  font-weight: 400 !important;
}

.compare-table th.col-ours,
.compare-table td.col-ours {
  color: var(--accent3) !important;
  font-weight: 700 !important;
  background: rgba(177, 92, 232, 0.07);
}

/* demo example */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: start;
}

.example-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.example-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-dim);
}

.example-list li::before {
  content: '\2713';
  color: var(--accent2);
  flex-shrink: 0;
}

.example-note {
  font-size: 15px;
  color: var(--fg-mute);
  margin: 0;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumb {
  aspect-ratio: 9/14;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid rgba(255, 255, 255, 0.85);
}

.thumb .thumb-views {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  font-size: 11px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 3px 6px;
  text-align: center;
}

/* pricing */
.free-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card2);
  border: 1px dashed var(--accent3);
  border-radius: 18px;
  padding: 22px 28px;
  margin-bottom: 22px;
}

.free-banner-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}

.free-banner-desc {
  font-size: 14px;
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.55;
}

.free-banner-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.pricing-footnote {
  text-align: center;
  font-size: 13.5px;
  color: var(--fg-mute);
  margin: 20px 0 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.tier {
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
}

.tier.tier-active {
  background: var(--card2);
  border: 1px solid var(--accent1);
  box-shadow: 0 30px 60px -20px rgba(177, 92, 232, 0.35);
}

.tier-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--grad);
  color: var(--bg);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
}

.tier-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}

.tier-price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 25px;
  margin-bottom: 6px;
  white-space: nowrap;
}

.tier-period {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-mute);
}

.tier-status {
  font-size: 13px;
  color: var(--fg-mute);
  margin-bottom: 20px;
}

.tier-features {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.tier-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.5;
}

.tier-features li::before {
  content: '\2713';
  color: var(--accent3);
  flex-shrink: 0;
}

.tier-cta {
  text-align: center;
  width: 100%;
}

.tier-cta[disabled],
a.tier-cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-mute);
}

/* stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.stat-box {
  text-align: center;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.stat-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 34px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-dim);
  margin-top: 6px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}

.faq-plus {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--accent1);
  transition: transform .25s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-a-wrap {
  max-height: 300px;
}

.faq-a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-dim);
}

/* final cta */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: var(--accent1);
  opacity: 0.14;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.final-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto 70px;
}

.final-inner h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 30px;
}

.final-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.final-form input {
  flex: 1;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 15px 22px;
  color: var(--fg);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.final-form input:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 4px rgba(177, 92, 232, 0.18);
}

.final-note {
  font-size: 13.5px;
  color: var(--fg-mute);
  margin: 0;
}

.seo-block {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 34px;
}

.seo-block h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 16px;
}

.seo-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease;
}

.seo-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0 0 16px;
}

.seo-body p:last-child {
  margin-bottom: 0;
}

.seo-block.open .seo-body {
  max-height: 1400px;
}

.seo-toggle {
  margin-top: 14px;
  font-size: 14px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--accent3);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* footer */
.site-footer {
  padding: 6vh 0 5vh;
  border-top: 1px solid var(--border);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--fg-dim);
}

.footer-links a:hover {
  color: var(--accent1);
}

.footer-disclaimer {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--fg-mute);
  line-height: 1.6;
}

.footer-disclaimer + .footer-disclaimer {
  margin-top: 6px;
}

/* responsive */
@media (max-width: 900px) {
  .hero-grid,
  .problem-intro,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .free-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .free-banner-cta {
    width: 100%;
    text-align: center;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }

  h2.section-title {
    font-size: 26px;
  }

  .demo-wrap {
    order: -1;
  }

  .header-cta {
    display: none;
  }
}
