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

:root {
  --bg: #0a0a0f;
  --bg-light: #111119;
  --bg-card: #12121e;
  --bg-card-hover: #16162a;
  --accent-1: #8B5CF6;
  --accent-2: #06B6D4;
  --gradient: linear-gradient(135deg, #8B5CF6, #06B6D4);
  --gradient-subtle: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
  --glow-1: rgba(139, 92, 246, 0.25);
  --glow-2: rgba(6, 182, 212, 0.25);
  --glass: rgba(12, 12, 20, 0.8);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(139, 92, 246, 0.3);
  --text: #f1f1f1;
  --text-muted: #8a8a9a;
  --text-dim: #555566;
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: all 0.2s; }
a:hover { opacity: 0.85; }
code { font-family: 'JetBrains Mono', monospace; background: rgba(139,92,246,0.1); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; color: var(--accent-2); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; color: var(--text); font-weight: 400; letter-spacing: -0.02em;
}
.navbar-logo strong { font-weight: 800; color: var(--accent-2); }
.navbar-logo img { border-radius: 6px; }
.navbar-links { display: flex; gap: 32px; align-items: center; }
.navbar-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.navbar-links a:hover { color: var(--text); }
.lang-switch {
  color: var(--text-dim) !important; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; padding: 4px 10px;
  border: 1px solid var(--glass-border); border-radius: 6px;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--accent-2); color: var(--accent-2) !important; }
.btn-nav {
  background: var(--gradient); color: #fff !important; padding: 8px 20px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 14px;
  border: none; cursor: pointer;
}
.btn-nav:hover { opacity: 0.9; transform: translateY(-1px); }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: 0.3s;
}

/* ====== HERO ====== */
.hero {
  padding: 160px 0 80px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 30%; left: 30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glow-1) 0%, transparent 70%);
  pointer-events: none; filter: blur(60px); opacity: 0.6;
}
.hero-glow-2 {
  position: absolute; top: 40%; right: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  pointer-events: none; filter: blur(80px); opacity: 0.4;
}
.hero-badge {
  display: inline-block; background: var(--gradient-subtle);
  border: 1px solid var(--glass-border-hover); border-radius: 24px;
  padding: 6px 18px; font-size: 12px; color: var(--accent-2);
  font-weight: 600; margin-bottom: 28px; letter-spacing: 1.5px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 900;
  line-height: 1.05; margin-bottom: 20px; max-width: 800px;
  margin-left: auto; margin-right: auto; position: relative;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 18px; color: var(--text-muted); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.btn-primary {
  background: var(--gradient); color: #fff; padding: 14px 32px;
  border-radius: var(--radius-sm); font-size: 16px; font-weight: 700;
  border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 0 24px var(--glow-1), 0 0 48px rgba(6,182,212,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--glow-1), 0 0 64px rgba(6,182,212,0.15);
  opacity: 1;
}
.btn-secondary {
  background: transparent; color: var(--text); padding: 14px 32px;
  border-radius: var(--radius-sm); font-size: 16px; font-weight: 600;
  border: 1px solid var(--glass-border); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--accent-1); color: var(--accent-1); }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap;
}
.hero-stat {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}
.hero-stat span {
  font-size: 28px; font-weight: 800; display: block;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-sep { width: 1px; height: 40px; background: var(--glass-border); }

/* ====== TRUST BAR (infinite marquee) ====== */
.trust-bar {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.trust-bar::before,
.trust-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px;
  z-index: 2; pointer-events: none;
}
.trust-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.trust-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.trust-track {
  display: flex; width: max-content;
  animation: marquee 25s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
.trust-slide {
  display: flex; align-items: center; gap: 48px;
  padding: 0 24px;
}
.trust-slide span {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.5px; white-space: nowrap;
  opacity: 0.85; transition: all 0.3s;
}
.trust-slide span:nth-child(1)  { color: #A78BFA; } /* Claude Code - purple */
.trust-slide span:nth-child(2)  { color: #10B981; } /* FastAPI - green */
.trust-slide span:nth-child(3)  { color: #F59E0B; } /* LangGraph - amber */
.trust-slide span:nth-child(4)  { color: #3B82F6; } /* Remotion - blue */
.trust-slide span:nth-child(5)  { color: #EC4899; } /* Hugo - pink */
.trust-slide span:nth-child(6)  { color: #EF4444; } /* n8n - red */
.trust-slide span:nth-child(7)  { color: #34D399; } /* Supabase - emerald */
.trust-slide span:nth-child(8)  { color: #06B6D4; } /* Tailwind - cyan */
.trust-slide span:nth-child(9)  { color: #FBBF24; } /* Python - yellow */
.trust-slide span:nth-child(10) { color: #60A5FA; } /* React - light blue */
.trust-slide span:hover { opacity: 1; filter: brightness(1.3); transform: scale(1.05); }

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

/* ====== SECTIONS ====== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 auto; }
.section-line {
  width: 60px; height: 3px; background: var(--gradient);
  margin: 20px auto 0; border-radius: 4px;
}

/* ====== STEPS ====== */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all 0.3s;
}
.step-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.08);
}
.step-number {
  font-size: 48px; font-weight: 900; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 16px;
}
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 15px; line-height: 1.5; }

/* ====== PRODUCTS ====== */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all 0.3s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.1);
}
.product-card.featured {
  border-color: rgba(139,92,246,0.3);
  background: linear-gradient(180deg, rgba(139,92,246,0.06) 0%, var(--bg-card) 50%);
}
.product-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient);
}
.product-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gradient); color: #fff; font-size: 10px;
  font-weight: 700; padding: 4px 10px; border-radius: 6px;
  letter-spacing: 1px;
}
.product-icon { margin-bottom: 20px; }
.product-icon svg { width: 48px; height: 48px; }
.product-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.product-card > p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; flex-grow: 1; }

.product-meta {
  display: flex; gap: 16px; margin-bottom: 20px;
  font-size: 12px; color: var(--text-dim);
}
.product-files { font-weight: 600; color: var(--accent-2); }

.product-tiers {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px;
}
.tier {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02); border: 1px solid transparent;
  font-size: 13px; transition: all 0.2s;
}
.tier:hover { background: rgba(255,255,255,0.04); }
.tier.active {
  background: var(--gradient-subtle);
  border-color: var(--glass-border-hover);
}
.tier-name { font-weight: 700; min-width: 90px; }
.tier-detail { color: var(--text-muted); flex: 1; text-align: center; }
.tier-price {
  font-weight: 800; font-size: 16px; min-width: 70px; text-align: right;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.tier-price small { font-size: 11px; font-weight: 500; }

.btn-product {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; border-radius: var(--radius-sm);
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; transition: all 0.25s;
}
.btn-product:hover {
  transform: translateY(-2px); opacity: 1;
  box-shadow: 0 4px 20px var(--glow-1);
}

/* ====== PROOF ====== */
.proof-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.proof-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: all 0.3s;
}
.proof-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}
.proof-number {
  font-size: 48px; font-weight: 900; letter-spacing: -0.04em;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1; margin-bottom: 8px;
}
.proof-label { color: var(--text-muted); font-size: 14px; line-height: 1.4; }

/* ====== FAQ ====== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--glass-border); padding: 0;
}
.faq-item summary {
  padding: 20px 0; font-size: 16px; font-weight: 600;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--text); transition: color 0.2s;
}
.faq-item summary:hover { color: var(--accent-2); }
.faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 300;
  color: var(--text-dim); transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '-'; color: var(--accent-1); }
.faq-item p {
  padding: 0 0 20px; color: var(--text-muted);
  font-size: 15px; line-height: 1.6;
}

/* ====== CTA ====== */
.cta-section { padding: 80px 0; }
.cta-box {
  text-align: center; padding: 80px 40px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: 24px; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, var(--glow-1) 0%, transparent 50%);
  opacity: 0.15; pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  margin-bottom: 12px; position: relative;
}
.cta-box p {
  color: var(--text-muted); font-size: 17px; margin-bottom: 32px;
  max-width: 480px; margin-left: auto; margin-right: auto; position: relative;
}
.cta-box .btn-primary { position: relative; }

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-brand span {
  font-size: 18px; color: var(--text); font-weight: 400;
}
.footer-brand strong { font-weight: 800; color: var(--accent-2); }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px; text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--glass);
    backdrop-filter: blur(24px); padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .navbar-toggle { display: block; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 16px; }
  .hero-stat-sep { display: none; }
  .hero-stat span { font-size: 22px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-bar .container { justify-content: center; text-align: center; }
  .trust-logos { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
}
