:root {
  --brand: #6c5ce7;
  --brand-2: #a29bfe;
  --brand-dark: #4b3cc4;
  --bg: #0d0d14;
  --bg-soft: #14141f;
  --card: #1a1a28;
  --card-2: #20202f;
  --border: #2a2a3d;
  --text: #f2f2f7;
  --text-dim: #9b9bb4;
  --success: #2ed573;
  --danger: #ff6b6b;
  --warn: #ffa502;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font-family: inherit; }

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

.grad {
  background: linear-gradient(90deg, var(--brand), #fd79a8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(108,92,231,.35);
}
.btn-primary:hover { box-shadow: 0 8px 26px rgba(108,92,231,.5); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--card-2); }
.btn-danger { background: rgba(255,107,107,.12); color: var(--danger); }
.btn-danger:hover { background: rgba(255,107,107,.2); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Landing ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,13,20,.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.l-nav { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.brand-mark { font-size: 20px; }
.brand b { color: var(--brand-2); }
.l-nav-links { display: flex; gap: 20px; margin-left: auto; color: var(--text-dim); font-size: 14px; font-weight: 500; }
.l-nav-links a:hover { color: var(--text); }
.l-nav .btn { margin-left: 12px; }

.hero { text-align: center; padding: 80px 0 40px; }
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(108,92,231,.15);
  border: 1px solid rgba(108,92,231,.4);
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.hero-sub { max-width: 640px; margin: 20px auto 30px; color: var(--text-dim); font-size: 17px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-dim); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; margin-top: 48px; }
.phone {
  width: 300px;
  border-radius: 40px;
  padding: 12px;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.phone-screen {
  background: linear-gradient(160deg, #6c5ce7, #a29bfe);
  border-radius: 30px;
  padding: 34px 18px 28px;
  text-align: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.demo-avatar {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  border: 3px solid #fff;
}
.demo-name { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 2px; margin-top: 6px; }
.demo-bio { color: rgba(255,255,255,.9); font-size: 13px; }
.demo-btn {
  width: 100%;
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; text-align: center; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--text-dim); margin-top: 12px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--brand); }
.feature-icon { font-size: 30px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* AI demo */
.ai-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.ai-demo-input textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  font-size: 14px;
  resize: vertical;
  margin-bottom: 12px;
  outline: none;
}
.ai-demo-input textarea:focus { border-color: var(--brand); }
.ai-demo-output {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-hint { color: var(--text-dim); text-align: center; font-size: 14px; }
.ai-hint.ok { color: var(--success); }
.ai-hint.ok a { color: var(--brand-2); text-decoration: underline; }
.ai-card {
  width: 100%;
  background: linear-gradient(160deg, #6c5ce7, #a29bfe);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ai-card .demo-btn { cursor: default; }
.ai-card-cta {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 44px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.plan h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
.plan-price { font-size: 40px; font-weight: 800; }
.plan-price span { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.plan-per { color: var(--text-dim); font-size: 13px; margin-top: -8px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { font-size: 14px; color: var(--text-dim); }
.plan li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.plan-featured {
  border-color: var(--brand);
  box-shadow: 0 10px 34px rgba(108,92,231,.22);
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.plan-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand), #fd79a8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan-note { text-align: center; margin-top: 26px; color: var(--text-dim); font-size: 13px; }

.l-footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 40px; }
.l-footer-inner { display: flex; align-items: center; justify-content: space-between; color: var(--text-dim); font-size: 13px; }

@media (max-width: 760px) {
  .l-nav-links { display: none; }
  .ai-demo { grid-template-columns: 1fr; }
}
