:root {
  --bg: #0a0a14;
  --bg-soft: #131322;
  --surface: #1a1a2e;
  --ink: #f5f5fa;
  --ink-soft: #9a9ab0;
  --primary: #7c5cff;
  --primary-soft: #a78bfa;
  --accent: #00d4aa;
  --pink: #ff5cb8;
  --border: rgba(245,245,250,.08);
  --grad: linear-gradient(135deg, #7c5cff 0%, #ff5cb8 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.5px;
}
.logo-mark {
  font-size: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-menu { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav-menu a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
}
.nav-menu a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-text {
  font-size: 14px; color: var(--ink-soft);
  padding: 8px 12px;
}
.btn-text:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--grad);
  color: white;
  border: none; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.3);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124, 92, 255, 0.5); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--primary); }
.btn-ghost-2 {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost-2:hover { background: var(--bg-soft); border-color: var(--primary); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 120px;
  text-align: center;
  overflow: hidden;
}
.bg-gradient {
  position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 800px;
  background:
    radial-gradient(circle at 30% 50%, rgba(124, 92, 255, 0.3), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(255, 92, 184, 0.2), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.announce {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  transition: all .2s;
}
.announce:hover { border-color: var(--primary); }
.announce span:first-child {
  background: var(--grad);
  color: white;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.announce-arrow { color: var(--primary); }

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -3px;
  margin-bottom: 28px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-sub-cta {
  font-size: 13px; color: var(--ink-soft); opacity: 0.7;
  margin-bottom: 80px;
}

/* Hero preview */
.hero-preview {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 100px rgba(124, 92, 255, 0.2),
    0 0 0 1px rgba(245, 245, 250, 0.05);
  text-align: left;
}
.window-head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.window-url {
  margin-left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--surface);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.window-body {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.preview-side {
  padding: 24px 16px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.preview-nav {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-radius: 8px;
}
.preview-nav.active {
  background: rgba(124, 92, 255, 0.15);
  color: var(--primary-soft);
  font-weight: 600;
}
.preview-main { padding: 32px; }
.preview-main h4 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 28px;
}
.preview-line {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-soft);
}
.preview-line strong { color: var(--ink); font-weight: 600; }
.preview-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 0;
  font-size: 16px;
  margin-top: 8px;
}
.preview-total strong {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preview-btn {
  margin-top: 16px;
  width: 100%;
  padding: 14px;
  background: var(--grad);
  color: white;
  border: none; border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.floating-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  animation: float 6s ease-in-out infinite;
  min-width: 220px;
  z-index: 3;
}
.f1 { top: 30%; left: -30px; animation-delay: 0s; }
.f2 { bottom: 25%; right: -40px; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fc-dot.green { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.2); }
.fc-dot.blue { background: #5b9eff; box-shadow: 0 0 0 4px rgba(91, 158, 255, 0.2); }
.floating-card strong { display: block; font-size: 13px; font-weight: 600; }
.floating-card span { font-size: 11px; color: var(--ink-soft); }

.logos {
  margin-top: 100px;
  text-align: center;
}
.logos > span {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 24px;
}
.logos-row {
  display: flex; gap: 48px; justify-content: center;
  flex-wrap: wrap;
  opacity: 0.5;
}
.logos-row strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Sections */
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(124, 92, 255, 0.1);
  border-radius: 100px;
}
section h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
}

/* Features */
.features { padding: 120px 0; border-top: 1px solid var(--border); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all .3s;
}
.feature:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124, 92, 255, 0.15);
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.feature p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Quote */
.quote {
  padding: 80px 0;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.5px;
  max-width: 880px;
  margin: 0 auto 32px;
  color: var(--ink);
}
.quote-author {
  display: inline-flex; align-items: center; gap: 14px;
}
.quote-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background:
    url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&q=80') center/cover;
}
.quote-author strong { display: block; font-size: 14px; }
.quote-author span { font-size: 13px; color: var(--ink-soft); }

/* Pricing */
.pricing { padding: 120px 0; border-top: 1px solid var(--border); }
.pricing-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  margin-top: 28px;
}
.pt-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 14px; font-weight: 500;
  border-radius: 100px;
  transition: all .2s;
}
.pt-btn.active { background: var(--grad); color: white; }
.pt-btn .save {
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 100px;
  margin-left: 6px;
  font-weight: 700;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.plan-featured {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.12), transparent);
  border-color: var(--primary);
  transform: scale(1.03);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.plan h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 8px;
}
.plan-price strong {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
}
.plan-price span { font-size: 14px; color: var(--ink-soft); }
.plan-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.plan ul {
  list-style: none;
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.plan li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 24px;
  position: relative;
}
.plan li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq { padding: 120px 0; border-top: 1px solid var(--border); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .2s;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  padding: 20px 24px;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary-soft);
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
  padding: 0 24px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(255, 92, 184, 0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px;
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--ink-soft); font-size: 16px; }

/* Footer */
.footer {
  padding: 80px 0 32px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 16px 0 24px;
  max-width: 280px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
}
.socials a:hover { background: var(--primary); color: white; border-color: var(--primary); }
.footer h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-grid a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-bottom a { margin-left: 20px; }

@media (max-width: 900px) {
  .nav-menu, .nav-actions .btn-text { display: none; }
  .features-grid, .plans, .footer-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .window-body { grid-template-columns: 1fr; }
  .preview-side { display: none; }
  .floating-card { display: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero-title { letter-spacing: -2px; }
  .logos-row { gap: 24px; }
  .logos-row strong { font-size: 14px; }
}
