:root {
  --bg: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: #0d0d14;
  --text: #ffffff;
  --text-muted: #8888a0;
  --accent: #a855f7;
  --accent-light: #c084fc;
  --accent-glow: rgba(168, 85, 247, 0.4);
  --border: rgba(255, 255, 255, 0.06);
  --navbar-height: 72px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  pointer-events: none;
}

h1, h2, h3, .logo { font-family: 'Outfit', sans-serif; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.highlight {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; }

.navbar nav { display: flex; gap: 32px; }
.navbar nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar nav a:hover { color: #fff; }

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #a855f7, #9333ea);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }

/* ===== HERO ===== */
.hero {
  display: flex;
  min-height: 90vh;
  padding: 0 5%;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
  z-index: -1;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translateY(-50%) scale(1); opacity: 0.5; }
  100% { transform: translateY(-50%) scale(1.2); opacity: 0.8; }
}

.hero-bg-glow {
  position: absolute;
  top: 30%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate-reverse;
}

.hero-content {
  flex: 1;
  padding-right: 60px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 32px; }

.hero-trust {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 5%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.08);
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== FEATURES ===== */
.features-section { padding: 100px 5%; }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 16px;
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.08);
}

.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ===== PRICING ===== */
.pricing-section {
  padding: 100px 5%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}

.pricing-pro {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.08);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pro-badge { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(217,70,239,0.2)); }

.pricing-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; margin-bottom: 8px; }

.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.pricing-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: #c0c0d0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 5%;
}

.faq-section .section-title { margin-bottom: 48px; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.25);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content { padding-right: 0; margin-bottom: 40px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .navbar nav { display: none; }
  .section-title { font-size: 2rem; }
  .hero-screenshot { max-width: 100%; }
  .showcase-img { max-width: 100%; }
}

/* Override old .features class that used grid directly */
.features { display: none; }

/* ===== HERO SCREENSHOT ===== */
.hero-screenshot {
  max-width: 560px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.12), 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.4s ease;
}
.hero-screenshot:hover { transform: scale(1.02); }

/* ===== PRESET SHOWCASE ===== */
.preset-showcase {
  padding: 100px 5%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.preset-scroll-wrapper {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.preset-scroll {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: presetTicker 30s linear infinite;
}

.preset-scroll:hover {
  animation-play-state: paused;
}

@keyframes presetTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.preset-tag {
  padding: 10px 22px;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-light);
  cursor: default;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.preset-tag:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
}

.showcase-img {
  max-width: 800px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== USE CASES ===== */
.use-cases {
  padding: 100px 5%;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.usecase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.08);
}

.usecase-icon { font-size: 2.5rem; margin-bottom: 16px; }
.usecase-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.usecase-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

@media (max-width: 768px) {
  .usecases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .usecases-grid { grid-template-columns: 1fr; }
}