/* ============================================
   VISIONARYAI — PROFESSIONAL DESIGN SYSTEM
   ============================================ */

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

:root {
  --neon: #CCFF00;
  --pink: #FF3CAC;
  --purple: #7B68EE;
  --cyan: #00FFCC;
  --bg: #080810;
  --bg2: #0D0D1A;
  --bg3: #12121F;
  --surface: #16162A;
  --surface2: #1E1E35;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(204,255,0,0.15);
  --text: #F0F0FF;
  --text2: #9090B0;
  --text3: #5A5A7A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-neon: 0 0 40px rgba(204,255,0,0.15);
  --shadow-pink: 0 0 40px rgba(255,60,172,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- CANVAS BG --- */
#bgCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--text2); line-height: 1.7; }
a { text-decoration: none; color: inherit; }

.text-gradient {
  background: linear-gradient(135deg, var(--neon) 0%, var(--cyan) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- LAYOUT --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section--dark {
  background: var(--bg2);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 64px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--neon);
  color: #080810;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(204,255,0,0.35); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--neon);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080810;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-actions .btn-ghost { padding: 10px 20px; font-size: 0.875rem; }
.nav-actions .btn-primary { padding: 10px 20px; font-size: 0.875rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(8,8,16,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.mobile-menu.open { display: flex; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(204,255,0,0.08);
  border: 1px solid rgba(204,255,0,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--neon);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(204,255,0,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(204,255,0,0); }
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text2);
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text3);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --- HERO VISUAL --- */
.hero-visual {
  flex: 1;
  min-width: 0;
  max-width: 520px;
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}

.demo-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 80px rgba(204,255,0,0.06);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.traffic-lights {
  display: flex;
  gap: 6px;
}
.traffic-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.traffic-lights span:nth-child(1) { background: #FF5F57; }
.traffic-lights span:nth-child(2) { background: #FFBD2E; }
.traffic-lights span:nth-child(3) { background: #28CA41; }

.demo-title-text {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  font-family: var(--font-mono);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #28CA41;
  font-family: var(--font-mono);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #28CA41;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.demo-body { padding: 16px; }

.demo-output {
  height: 260px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.demo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text3);
}
.demo-placeholder p { font-size: 0.85rem; color: var(--text3); }
.placeholder-icon { opacity: 0.4; }

.demo-input-row {
  display: flex;
  gap: 8px;
}

.demo-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.demo-input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(204,255,0,0.1); }
.demo-input::placeholder { color: var(--text3); }

.demo-btn {
  width: 40px;
  height: 40px;
  background: var(--neon);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080810;
  flex-shrink: 0;
  transition: var(--transition);
}
.demo-btn:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(204,255,0,0.4); }
.demo-btn.loading { animation: spin 1s linear infinite; }

/* --- FLOATING BADGES --- */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(13,13,26,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.float-badge svg { color: var(--neon); flex-shrink: 0; }

.float-badge--1 { top: -16px; right: 20px; animation: floatY 3s ease-in-out infinite; }
.float-badge--2 { bottom: 60px; left: -20px; animation: floatY 3s 1s ease-in-out infinite; }
.float-badge--3 { bottom: -16px; right: 40px; animation: floatY 3s 2s ease-in-out infinite; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- MARQUEE --- */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  align-items: center;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.marquee-track .dot {
  color: var(--neon);
  font-size: 0.6rem;
}

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

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

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204,255,0,0.03), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feat-card:hover { border-color: rgba(204,255,0,0.2); transform: translateY(-4px); box-shadow: var(--shadow-neon); }
.feat-card:hover::before { opacity: 1; }

.feat-card--wide {
  grid-column: span 2;
}

.feat-icon {
  width: 48px;
  height: 48px;
  background: rgba(204,255,0,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  margin-bottom: 16px;
}
.feat-icon--pro { background: rgba(255,60,172,0.1); color: var(--pink); }

.feat-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(204,255,0,0.1);
  border: 1px solid rgba(204,255,0,0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.feat-tag--pro { background: rgba(255,60,172,0.1); border-color: rgba(255,60,172,0.2); color: var(--pink); }
.feat-tag--biz { background: rgba(123,104,238,0.1); border-color: rgba(123,104,238,0.2); color: var(--purple); }

.feat-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feat-card p { font-size: 0.9rem; color: var(--text2); }

.feat-visual { margin-top: 20px; }
.feat-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.feat-img {
  height: 80px;
  border-radius: 6px;
}

/* --- STUDIO --- */
.studio-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.studio-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.mode-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 24px;
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  background: none;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
}
.mode-btn.active { background: var(--surface2); color: var(--text); }
.mode-btn:hover:not(.active) { color: var(--text); }

.pro-pill {
  padding: 2px 7px;
  background: rgba(255,60,172,0.15);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--pink);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.ctrl-group { margin-bottom: 20px; }

.ctrl-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.ctrl-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: var(--transition);
  line-height: 1.6;
}
.ctrl-textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(204,255,0,0.08); }
.ctrl-textarea::placeholder { color: var(--text3); }

.prompt-hint {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text3);
  line-height: 1.5;
}

.style-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-pill {
  padding: 7px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.style-pill:hover { border-color: rgba(204,255,0,0.3); color: var(--text); }
.style-pill.active { background: rgba(204,255,0,0.1); border-color: rgba(204,255,0,0.4); color: var(--neon); }

.ratio-grid {
  display: flex;
  gap: 8px;
}

.ratio-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text2);
  min-height: 70px;
}
.ratio-btn:hover { border-color: rgba(204,255,0,0.3); color: var(--text); }
.ratio-btn.active { background: rgba(204,255,0,0.08); border-color: rgba(204,255,0,0.4); color: var(--neon); }

.ratio-box {
  background: var(--text2);
  border-radius: 3px;
  opacity: 0.5;
  transition: var(--transition);
}
.ratio-btn.active .ratio-box { background: var(--neon); opacity: 1; }

.generate-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--neon);
  color: #080810;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.generate-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}
.generate-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(204,255,0,0.4); }
.generate-btn:hover::before { transform: translateX(100%); }
.generate-btn:active { transform: translateY(0); }
.generate-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.usage-bar { }
.usage-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.usage-track {
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.usage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  border-radius: 2px;
  transition: width 0.5s ease;
}
.upgrade-link {
  font-size: 0.78rem;
  color: var(--neon);
  font-weight: 600;
  transition: var(--transition);
}
.upgrade-link:hover { opacity: 0.8; }

/* --- OUTPUT BOX --- */
.studio-output { }

.output-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.out-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
}
.out-empty-icon { color: var(--text3); opacity: 0.4; }
.out-empty h4 { font-size: 1.1rem; color: var(--text2); }
.out-empty p { font-size: 0.875rem; color: var(--text3); }

.out-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
  width: 100%;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border: 3px solid var(--border);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-text {
  font-size: 0.9rem;
  color: var(--text2);
  font-family: var(--font-mono);
}

.loader-steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text3);
  font-family: var(--font-mono);
}
.lstep.active { color: var(--neon); }
.lstep.done { color: var(--cyan); }

.lstep-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--text3);
  transition: var(--transition);
}
.lstep.active .lstep-dot { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 8px rgba(204,255,0,0.5); }
.lstep.done .lstep-dot { background: var(--cyan); border-color: var(--cyan); }

.lstep-line {
  width: 40px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  margin-bottom: 16px;
}

.out-result {
  width: 100%;
  height: 100%;
  position: relative;
}
.out-result img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  min-height: 420px;
}

.result-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(8,8,16,0.9));
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
}
.out-result:hover .result-overlay { opacity: 1; }

.result-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.result-btn:hover { background: rgba(255,255,255,0.2); }
.result-btn--share { background: rgba(204,255,0,0.15); border-color: rgba(204,255,0,0.3); color: var(--neon); }
.result-btn--share:hover { background: rgba(204,255,0,0.25); }

/* --- GALLERY --- */
.gallery-section { }
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gallery-header h4 { font-size: 0.9rem; color: var(--text2); }
.gallery-clear {
  font-size: 0.78rem;
  color: var(--text3);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}
.gallery-clear:hover { color: var(--pink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-empty {
  grid-column: span 4;
  text-align: center;
  padding: 32px;
  font-size: 0.85rem;
  color: var(--text3);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.gallery-item:hover { transform: scale(1.04); border-color: rgba(204,255,0,0.3); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* --- HOW IT WORKS --- */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}
.step-card:hover { border-color: rgba(204,255,0,0.2); transform: translateY(-4px); }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(204,255,0,0.08);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(204,255,0,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  margin-bottom: 16px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.875rem; color: var(--text2); margin-bottom: 20px; }

.step-arrow {
  color: var(--text3);
  padding: 0 16px;
  flex-shrink: 0;
}

/* Step mockups */
.step-mockup { }
.mock-input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.mock-cursor {
  font-size: 0.78rem;
  color: var(--text2);
  font-family: var(--font-mono);
}
.mock-cursor::after {
  content: '|';
  color: var(--neon);
  animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.mock-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
}
.mock-ring {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}
.mock-progress span { font-size: 0.78rem; color: var(--text2); font-family: var(--font-mono); }

.mock-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
}
.mock-img-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--neon), var(--cyan));
  flex-shrink: 0;
}
.mock-btns {
  display: flex;
  gap: 8px;
}
.mock-btns span {
  padding: 5px 12px;
  background: var(--surface2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text2);
}

/* --- PRICING --- */
.billing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.billing-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-tag {
  padding: 3px 10px;
  background: rgba(204,255,0,0.1);
  border: 1px solid rgba(204,255,0,0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon);
  font-family: var(--font-mono);
}

.toggle { position: relative; cursor: pointer; }
.toggle input { display: none; }
.toggle-track {
  display: block;
  width: 48px;
  height: 26px;
  background: var(--surface2);
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.toggle input:checked + .toggle-track { background: rgba(204,255,0,0.2); border-color: rgba(204,255,0,0.4); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text2);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle input:checked + .toggle-track .toggle-thumb { transform: translateX(22px); background: var(--neon); }

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); }

.price-card--featured {
  background: linear-gradient(135deg, rgba(204,255,0,0.05), rgba(0,255,204,0.03));
  border-color: rgba(204,255,0,0.25);
  box-shadow: 0 0 60px rgba(204,255,0,0.08);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: var(--neon);
  color: #080810;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 100px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.price-header { margin-bottom: 28px; }
.price-header h3 { font-size: 1.4rem; margin-bottom: 12px; }
.price-header p { font-size: 0.85rem; color: var(--text3); margin-top: 8px; }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  transition: var(--transition);
}
.price-per { font-size: 0.875rem; color: var(--text3); }

.price-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text2);
}
.price-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.feat-yes { color: var(--text); }
.feat-yes::before {
  background-color: rgba(204,255,0,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CCFF00' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.feat-no { color: var(--text3); }
.feat-no::before {
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A5A7A' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.price-btn--primary { background: var(--neon); color: #080810; }
.price-btn--primary:hover { box-shadow: 0 8px 32px rgba(204,255,0,0.35); transform: translateY(-2px); }
.price-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.price-btn--ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); transform: translateY(-2px); }

/* --- TESTIMONIALS --- */
.testi-carousel { position: relative; overflow: hidden; }

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.testi-card:hover { border-color: rgba(204,255,0,0.15); transform: translateY(-4px); }

.testi-stars {
  color: var(--neon);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-card > p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #080810;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.testi-author strong { display: block; font-size: 0.9rem; color: var(--text); }
.testi-author span { font-size: 0.78rem; color: var(--text3); }

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
}
.testi-btn:hover { border-color: rgba(204,255,0,0.3); color: var(--neon); }

.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface2);
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--neon); width: 24px; border-radius: 4px; }

/* --- CTA SECTION --- */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-glow--l { background: rgba(204,255,0,0.08); top: 50%; left: -100px; transform: translateY(-50%); }
.cta-glow--r { background: rgba(255,60,172,0.08); top: 50%; right: -100px; transform: translateY(-50%); }

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { font-size: 1.1rem; color: var(--text2); margin-bottom: 40px; }

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: var(--text3); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: var(--transition);
}
.footer-social a:hover { border-color: rgba(204,255,0,0.3); color: var(--neon); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text3);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text3); }

/* --- MODAL --- */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-bg.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
}
.modal-bg.open .modal-box { transform: scale(1) translateY(0); }

.modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--surface2);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
}
.modal-x:hover { color: var(--text); background: var(--bg3); }

.modal-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.modal-box h3 { margin-bottom: 12px; }
.modal-box p { font-size: 0.9rem; color: var(--text2); margin-bottom: 28px; }

/* --- TOAST --- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  z-index: 3000;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(204,255,0,0.3); color: var(--neon); }
.toast.error { border-color: rgba(255,60,172,0.3); color: var(--pink); }

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding-top: 120px; gap: 60px; }
  .hero-visual { max-width: 100%; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card--wide { grid-column: span 2; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-panel { position: static; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }
  .testi-card { flex: 0 0 calc(50% - 12px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .stat-val { font-size: 1.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card--wide { grid-column: span 1; }
  .feat-img-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 80px 0; }
  .float-badge--2 { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta a { text-align: center; justify-content: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-sep { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .ratio-grid { flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns a { text-align: center; justify-content: center; }
}