/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07080f;
  --bg2: #0d0f1e;
  --bg3: #12142a;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --blue: #3b82f6;
  --gradient: linear-gradient(135deg, #7c3aed, #3b82f6);
  --gradient-soft: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.15));
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --card: rgba(255,255,255,0.04);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff;
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: 12px; }

.btn-ghost {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--text); background: var(--card); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(124,58,237,0.5); background: var(--gradient-soft); }

.btn-outline-purple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--purple-light);
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-purple:hover { border-color: var(--purple); background: rgba(124,58,237,0.1); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--purple-light);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7,8,15,0.8);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, rgba(59,130,246,0.1) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; }
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 64px;
}

/* ===== MOCKUP ===== */
.hero-mockup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
}
.mockup-bar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-body { display: flex; height: 320px; }
.mockup-sidebar {
  width: 160px;
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.mock-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s;
}
.mock-item.active {
  background: rgba(124,58,237,0.2);
  color: var(--purple-light);
}
.mockup-canvas {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}
.canvas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.canvas-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.canvas-card p {
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px;
  text-align: center;
}
.canvas-preview { height: 100px; }
.gradient-card-1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.gradient-card-2 { background: linear-gradient(135deg, #0f172a, #3b82f6); }
.gradient-card-3 { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.gradient-card-4 { background: linear-gradient(135deg, #10b981, #06b6d4); }

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 40px;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-4px);
}
.feature-card--large {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(59,130,246,0.08));
  border-color: rgba(124,58,237,0.2);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.feature-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 120px 0;
  background: var(--bg2);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.step-line {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  margin-top: 28px;
  opacity: 0.4;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.stars { color: #f59e0b; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ===== PRICING ===== */
.pricing {
  padding: 120px 0;
  background: var(--bg2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1));
  border-color: rgba(124,58,237,0.4);
  transform: scale(1.03);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.price-num {
  font-size: 42px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-period { color: var(--text-muted); font-size: 15px; }
.plan-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li { font-size: 14px; color: var(--text-muted); }
.plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  text-align: center;
}
.pricing-card--featured .plan-btn {
  background: var(--gradient);
  color: #fff;
}
.pricing-card--featured .plan-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 40px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  text-align: center;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.2), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 64px;
}
.footer-brand { flex: 1; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 240px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col strong {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-card--featured { transform: scale(1); }
  .steps { flex-direction: column; align-items: center; }
  .step-line { width: 2px; height: 40px; margin: 0; }
  .canvas-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 24px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .hero-cta { flex-direction: column; align-items: center; }
}

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 8px;
}
