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

:root {
  --primary: #7c3aed;
  --primary-light: #8b5cf6;
  --primary-dark: #6d28d9;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --bg: #09090b;
  --bg-2: #111115;
  --bg-3: #18181c;
  --surface: #1c1c22;
  --surface-2: #252530;
  --border: #2a2a35;
  --border-light: #3a3a48;
  --text: #f4f4f8;
  --text-2: #a1a1b5;
  --text-3: #6b6b80;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --glow: 0 0 40px rgba(124,58,237,0.3);
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

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

/* ========== TYPOGRAPHY ========== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.animated-gradient {
  background: linear-gradient(270deg, #7c3aed, #06b6d4, #f59e0b, #7c3aed);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124,58,237,0.5);
}
.btn-ghost {
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-glass {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-block { display: block; text-align: center; width: 100%; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #f0f0ff; }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.pulse-btn { animation: pulse 2s ease infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(124,58,237,0.4); }
  50% { box-shadow: 0 4px 30px rgba(124,58,237,0.8); }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(9,9,11,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 300px; height: 300px; background: var(--secondary); top: 200px; right: -50px; animation-delay: 3s; }
.orb-3 { width: 250px; height: 250px; background: var(--accent); bottom: 100px; left: 30%; animation-delay: 5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-3); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ========== HERO VISUAL ========== */
.hero-visual {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 1;
}
.app-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow);
  animation: floatMockup 6s ease-in-out infinite;
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.mockup-title {
  font-size: 13px;
  color: var(--text-3);
  margin-left: 8px;
  font-weight: 500;
}
.mockup-body { display: flex; height: 320px; }
.mockup-sidebar {
  width: 52px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 8px;
}
.m-tool {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.m-tool.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.m-tool:hover { background: var(--surface-2); color: var(--text); }
.mockup-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 10px;
}
.mockup-chat { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mc-msg { display: flex; gap: 8px; align-items: flex-start; }
.mc-msg.user { flex-direction: row-reverse; }
.mc-avatar {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}
.mc-bubble {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-2);
  max-width: 80%;
}
.mc-msg.user .mc-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.typing-dots { display: flex; gap: 4px; align-items: center; }
.typing-dots span {
  width: 5px; height: 5px;
  background: var(--text-3);
  border-radius: 50%;
  animation: typingBounce 1.4s ease infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-4px); opacity: 1; }
}
.mockup-input {
  display: flex;
  gap: 8px;
  background: var(--bg-2);
  border-radius: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
}
.mockup-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-3);
  font-size: 12px;
}
.mockup-input button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ========== TOOLS STRIP ========== */
.tools-strip {
  padding: 24px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.tools-scroll {
  display: flex;
  gap: 16px;
  animation: scrollLeft 20s linear infinite;
  width: max-content;
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tool-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  font-weight: 500;
}
.tool-chip i { color: var(--primary-light); }

/* ========== SECTION HEADER ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-badge {
  display: inline-block;
  background: rgba(124,58,237,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== FEATURES ========== */
.features {
  padding: 100px 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: var(--shadow), 0 0 30px rgba(124,58,237,0.1);
}
.card-highlight {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(135deg, rgba(124,58,237,0.1), var(--surface));
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 20px;
}
.gradient-icon { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.gradient-icon-2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.gradient-icon-3 { background: linear-gradient(135deg, #22c55e, #06b6d4); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.feature-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.feature-list .fa-check { color: var(--success); font-size: 12px; }
.feature-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s;
}
.feature-link:hover { gap: 10px; }

/* ========== HOW IT WORKS ========== */
.how-it-works { padding: 80px 0; background: var(--bg-2); }
.steps-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.step-num {
  font-size: 60px;
  font-weight: 900;
  color: rgba(124,58,237,0.15);
  line-height: 1;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.step-arrow { color: var(--text-3); font-size: 20px; flex-shrink: 0; }

/* ========== DEMO SECTION ========== */
.demo-section { padding: 100px 0; }
.demo-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.demo-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.demo-tab:hover { color: var(--text); border-color: var(--border-light); }
.demo-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: transparent;
}
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}
.dw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.dw-title {
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
  margin-left: 8px;
}
.dw-chat {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  max-height: 350px;
  overflow-y: auto;
}
.dc-msg { display: flex; gap: 12px; align-items: flex-start; }
.dc-msg.user { flex-direction: row-reverse; }
.dc-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.dc-bubble {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  max-width: 70%;
  line-height: 1.6;
}
.dc-msg.user .dc-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}
.dw-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 24px 16px;
}
.suggestion-chip {
  padding: 7px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
}
.suggestion-chip:hover { border-color: var(--primary-light); color: var(--primary-light); }
.dw-input {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-3);
}
.dw-input input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.dw-input input:focus { border-color: var(--primary); }
.dw-input button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
}
/* Editor Demo */
.editor-demo-body {
  display: flex;
  gap: 0;
  min-height: 400px;
}
.editor-demo-canvas {
  flex: 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.canvas-placeholder {
  text-align: center;
  color: var(--text-3);
}
.canvas-placeholder i { font-size: 48px; margin-bottom: 12px; }
.canvas-placeholder p { margin-bottom: 16px; font-size: 14px; }
#demoEditedImg {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: filter 0.5s ease;
}
.editor-demo-tools {
  width: 260px;
  background: var(--bg-3);
  border-left: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.editor-demo-tools h4 { font-size: 14px; font-weight: 700; color: var(--text); }
.edit-preset-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.edit-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
}
.edit-btn:hover { border-color: var(--primary-light); color: var(--primary-light); }
.edit-prompt-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.edit-prompt-area input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
  outline: none;
}
.edit-prompt-area input:focus { border-color: var(--primary); }
.edit-prompt-area button {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
}
.edit-status {
  padding: 8px 12px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--primary-light);
}
/* Face Demo */
.face-demo-body {
  display: flex;
  min-height: 400px;
}
.face-upload-area {
  flex: 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.face-placeholder { text-align: center; color: var(--text-3); }
.face-placeholder i { font-size: 48px; margin-bottom: 12px; }
.face-placeholder p { margin-bottom: 16px; font-size: 14px; }
#facePreviewImg {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: filter 0.5s ease;
}
.face-tools {
  width: 260px;
  background: var(--bg-3);
  border-left: 1px solid var(--border);
  padding: 20px;
}
.face-tools h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.face-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.face-preset {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.face-preset:hover { border-color: var(--primary-light); }
.fp-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
}
.face-preset span { font-size: 11px; color: var(--text-2); font-weight: 500; }
/* Background Demo */
.bg-demo-body {
  display: flex;
  min-height: 400px;
}
.bg-preview-area {
  flex: 1;
  background: repeating-conic-gradient(#1a1a1a 0% 25%, #222 0% 50%) 0 0 / 24px 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.bg-placeholder { text-align: center; color: var(--text-3); }
.bg-placeholder i { font-size: 48px; margin-bottom: 12px; }
.bg-placeholder p { margin-bottom: 16px; font-size: 14px; }
#bgPreviewImg {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: all 0.5s ease;
}
.bg-tools {
  width: 260px;
  background: var(--bg-3);
  border-left: 1px solid var(--border);
  padding: 20px;
}
.bg-tools h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.bg-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.bg-preset {
  aspect-ratio: 1;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4px;
  border: 2px solid transparent;
  transition: all 0.2s;
  overflow: hidden;
}
.bg-preset:hover, .bg-preset.active { border-color: var(--primary-light); }
.bg-preset span {
  font-size: 9px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.5);
  padding: 2px 4px;
  border-radius: 4px;
}

/* ========== PRICING ========== */
.pricing { padding: 100px 0; background: var(--bg-2); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.price-popular {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(124,58,237,0.1), var(--surface));
  transform: scale(1.05);
  box-shadow: var(--glow);
}
.price-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.price-badge.popular {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}
.price-amount { margin-bottom: 8px; }
.price-num { font-size: 48px; font-weight: 900; }
.price-period { font-size: 16px; color: var(--text-3); }
.price-card > p { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.price-features {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-2);
}
.price-features .fa-check { color: var(--success); }
.price-features .disabled { color: var(--text-3); }
.price-features .fa-xmark { color: var(--text-3); }

/* ========== CTA BANNER ========== */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.orb-cta-1 {
  width: 400px; height: 400px;
  background: var(--primary);
  top: -100px; left: -100px;
  filter: blur(100px);
  opacity: 0.3;
  position: absolute;
  border-radius: 50%;
}
.orb-cta-2 {
  width: 300px; height: 300px;
  background: var(--secondary);
  bottom: -100px; right: -50px;
  filter: blur(80px);
  opacity: 0.3;
  position: absolute;
  border-radius: 50%;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-content p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ========== FOOTER ========== */
.footer { padding: 60px 0 32px; background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: var(--text-3); font-size: 14px; margin: 12px 0 20px; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 15px;
  transition: all 0.2s;
}
.social-links a:hover { color: var(--primary-light); border-color: var(--primary-light); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { color: var(--text-3); font-size: 14px; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    z-index: 999;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { display: none; }
  .editor-demo-body, .face-demo-body, .bg-demo-body {
    flex-direction: column;
  }
  .editor-demo-tools, .face-tools, .bg-tools {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}
