/* ═══════════════════════════════════════════════════════════════════════
   FB Marketplace Lister — Landing Page Design System
   Theme: Premium Dark  |  Font: Inter  |  Accent: Blue-Violet Gradient
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────────────────── */
:root {
  /* Colors */
  --bg-primary: #09090f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(17, 17, 24, 0.75);

  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;

  --accent: #6C5CE7;
  --accent-light: #A29BFE;
  --accent-dark: #4F46E5;
  --gradient-start: #4F46E5;
  --gradient-end: #7C3AED;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));

  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;
  --fs-6xl: 4.5rem;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ─── Reset & Base ──────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--text-primary); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Utility Classes ───────────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  background: var(--gradient);
  color: #fff;
}

/* ─── Scroll Reveal ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease), padding var(--duration) var(--ease);
}
.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: var(--fs-lg);
}
.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.navbar-links a {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}
.navbar-links a:hover { color: var(--text-primary); }

.navbar-cta {
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-start);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--gradient-end);
  top: -100px;
  right: -150px;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: #06B6D4;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 24px;
  border-radius: var(--radius-full);
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  color: var(--accent-light);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 40px;
  font-size: var(--fs-lg);
  color: var(--text-secondary);
}
.hero-price .price-amount {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--text-primary);
}
.hero-price .price-period {
  font-size: var(--fs-sm);
}

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

/* ─── Button Styles (shared) ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

/* ─── Input & Select Styles (mockup) ────────────────────────────────────────── */
input[type="text"],
input[type="number"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.25);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239999b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.45);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}
.btn-lg {
  padding: 16px 40px;
  font-size: var(--fs-lg);
}

/* Chrome extension download button */
.chrome-btn {
  display: none;
  margin: 24px auto 0;
}
.chrome-btn.visible { display: inline-flex; }

/* ═══════════════════════════════════════════════════════════════════════
   SHOWCASE SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.showcase {
  padding: var(--section-py) 0;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-light);
}
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
}

.showcase-window {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* Mac-like titlebar */
.showcase-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}
.showcase-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.showcase-dot.red { background: #FF5F56; }
.showcase-dot.yellow { background: #FFBD2E; }
.showcase-dot.green { background: #27C93F; }

.showcase-content {
  padding: 24px;
  text-align: left;
}

/* ═══════════════════════════════════════════════════════════════════════
   SCREENSHOT GALLERY
   ═══════════════════════════════════════════════════════════════════════ */
.screenshot-gallery {
  margin-top: 64px;
  text-align: center;
}
.gallery-heading {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gallery-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Tab buttons */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.gallery-tab:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}
.gallery-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.3);
}
.gallery-tab.active svg {
  stroke: #fff;
}

/* Gallery panels */
.gallery-panels {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-panel {
  display: none;
  animation: galleryFadeIn 0.4s ease;
}
.gallery-panel.active {
  display: block;
}
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gallery card */
.gallery-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  background: var(--bg-secondary);
}
.gallery-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(79, 70, 229, 0.15);
}

/* Glow effect */
.gallery-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(79, 70, 229, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s;
  opacity: 0;
}
.gallery-card:hover .gallery-card-glow {
  opacity: 1;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 0;
}

/* Caption overlay */
.gallery-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(9, 9, 15, 0.95) 0%, rgba(9, 9, 15, 0.7) 60%, transparent 100%);
  z-index: 2;
  text-align: left;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.gallery-card:hover .gallery-card-caption {
  transform: translateY(0);
  opacity: 1;
}
.caption-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gradient);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.gallery-card-caption p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
}
.gallery-lightbox.open {
  display: flex;
}
.gallery-lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: lightboxIn 0.3s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10001;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}
.lightbox-close:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════
   EXTENSION MOCKUP UI
   ═══════════════════════════════════════════════════════════════════════ */
.extension-mockup {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 600px;
  background: var(--bg-primary);
  font-family: var(--font);
  font-size: 14px;
}

.extension-mockup .app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16163a 100%);
  border-bottom: 1px solid var(--border);
}
.extension-mockup .header-left { display: flex; align-items: center; gap: 10px; }
.extension-mockup .logo-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.extension-mockup .app-title {
  font-size: 18px; font-weight: 700; margin: 0;
  background: linear-gradient(90deg, #e8e8ef, #a8a8cf);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.extension-mockup .lang-toggle {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-secondary); padding: 4px 10px; font-size: 11px; font-weight: 600;
  cursor: pointer;
}

.extension-mockup .tab-bar {
  display: flex; background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 0 4px;
}
.extension-mockup .tab-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px 6px; background: none; border: none; color: var(--text-muted);
  font-size: 12px; font-weight: 500; cursor: pointer; transition: all 0.2s;
  border-bottom: 2px solid transparent;
}
.extension-mockup .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.extension-mockup .tab-btn.active svg { stroke: var(--accent); }
.extension-mockup .tab-btn svg { stroke: var(--text-muted); transition: all 0.2s; }
.extension-mockup .tab-btn:hover { background: rgba(255,255,255,0.02); }

.extension-mockup .content { padding: 16px; overflow-y: auto; flex: 1; }
.extension-mockup .panel-header { margin-bottom: 16px; }
.extension-mockup .panel-header h2 { font-size: 18px; font-weight: 600; margin: 0; color: #fff; }

.extension-mockup .form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px; margin-bottom: 16px;
}
.extension-mockup .form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.extension-mockup .form-group { display: flex; flex-direction: column; gap: 6px; }
.extension-mockup .flex-1 { flex: 1; }
.extension-mockup .flex-2 { flex: 2; }
.extension-mockup label { font-size: 11px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.extension-mockup input[type="text"], .extension-mockup input[type="number"] {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; color: var(--text-primary); font-size: 13px; width: 100%; transition: all 0.2s;
  outline: none;
}
.extension-mockup select {
  width: 100%; padding: 10px 12px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 13px; outline: none;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239999b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px;
}
.extension-mockup textarea {
  width: 100%; padding: 10px 12px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 13px; outline: none;
  resize: vertical; min-height: 40px; font-family: inherit;
}
.extension-mockup input:focus, .extension-mockup select:focus, .extension-mockup textarea:focus {
  border-color: rgba(24, 119, 242, 0.5);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.25);
}
.extension-mockup input[readonly] { cursor: default; }
.extension-mockup hr.divider, .extension-mockup .divider {
  border: none; border-top: 1px solid var(--border); margin: 12px 0;
}

.extension-mockup .checkbox-label {
  display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--text-primary); text-transform: none; font-weight: 400;
}
.extension-mockup .checkbox-label input[type="checkbox"] { accent-color: var(--accent); }
.extension-mockup .btn-full { width: 100%; justify-content: center; }

.extension-mockup .mock-listing {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border);
  margin-bottom: 8px;
}
.extension-mockup .mock-listing-thumb {
  width: 40px; height: 40px; border-radius: 6px; background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.extension-mockup .mock-listing-info { flex: 1; min-width: 0; }
.extension-mockup .mock-listing-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.extension-mockup .mock-listing-meta { font-size: 10px; color: var(--text-muted); display: flex; gap: 8px; }

@keyframes progressAnim {
  0% { width: 10%; }
  100% { width: 90%; }
}
.mock-listing-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}
.mock-listing-status.posted {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}
.mock-listing-status.posting {
  background: rgba(108, 92, 231, 0.15);
  color: var(--accent-light);
}

/* Mock progress bar */
.mock-progress-bar {
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  margin-top: 16px;
  overflow: hidden;
}
.mock-progress-fill {
  height: 100%;
  width: 65%;
  background: var(--gradient);
  border-radius: 4px;
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-py) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature-icon.blue { background: rgba(79, 70, 229, 0.12); color: #818CF8; }
.feature-icon.purple { background: rgba(124, 58, 237, 0.12); color: #A78BFA; }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.12); color: #22D3EE; }
.feature-icon.green { background: rgba(16, 185, 129, 0.12); color: #34D399; }
.feature-icon.amber { background: rgba(245, 158, 11, 0.12); color: #FCD34D; }
.feature-icon.pink { background: rgba(236, 72, 153, 0.12); color: #F472B6; }

.feature-card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.3);
}
.step h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--border);
}

/* ═══════════════════════════════════════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.pricing {
  padding: var(--section-py) 0;
}
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pricing-card.popular {
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
              var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow);
}
.pricing-card.popular:hover {
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.25);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-amount .currency {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-secondary);
}
.pricing-amount .price {
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1;
}
.pricing-amount .price-suffix {
  font-size: var(--fs-xl);
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 4px;
}
.pricing-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}
.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}
.pricing-features li.disabled svg { color: var(--text-muted); }

.pricing-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-buttons .btn {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
}
.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--duration) var(--ease);
}
.faq-question:hover { color: var(--accent-light); }
.faq-question svg {
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  color: var(--text-muted);
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-light);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 20px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}
.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  opacity: 0.6;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.footer-links a:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.modal-overlay.visible {
  display: flex;
  opacity: 1;
}

.modal {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--duration) var(--ease);
}
.modal-overlay.visible .modal {
  transform: translateY(0) scale(1);
}
.modal h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.modal p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  margin-bottom: 16px;
}
.modal-input:focus {
  border-color: var(--accent);
}
.modal-input::placeholder { color: var(--text-muted); }

.modal-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: box-shadow var(--duration) var(--ease);
}
.modal-submit:hover {
  box-shadow: var(--shadow-glow);
}
.modal-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-size: 18px;
}
.modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}
.spinner.active { display: inline-block; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--ease);
}
.toast.visible {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-color: rgba(16, 185, 129, 0.3); }
.toast.error { border-color: rgba(239, 68, 68, 0.3); }

/* ═══════════════════════════════════════════════════════════════════════
   SUCCESS PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.success-card {
  width: 100%;
  max-width: 500px;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
}
.success-icon svg { color: var(--success); }

.success-card h1 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.success-card .subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: 32px;
}

.license-key-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.license-key-box code {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-light);
}
.copy-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  font-family: var(--font);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow var(--duration) var(--ease);
}
.copy-btn:hover { box-shadow: var(--shadow-glow); }

.success-instructions {
  text-align: left;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.success-instructions h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 12px;
}
.success-instructions ol {
  padding-left: 20px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Loading state for success page */
.success-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-loading .spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
}

/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   LEGAL PAGES (Privacy, Terms)
   ═══════════════════════════════════════════════════════════════════════ */
.legal-page {
  padding: 120px 0 80px;
}
.legal-page h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-page .last-updated {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   MOCK MODAL (INSIDE SHOWCASE)
   ═══════════════════════════════════════════════════════════════════════ */
.mock-modal-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 15, 20, 0.8);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
}
.mock-modal {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 90%; max-width: 400px;
  max-height: 90%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mock-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; border-bottom: 1px solid var(--border);
}
.mock-modal-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.mock-btn-close {
  background: none; border: none; color: var(--text-muted); font-size: 20px;
  cursor: pointer; padding: 0; line-height: 1;
}
.mock-modal-body { padding: 16px; overflow-y: auto; flex: 1; }
.mock-modal-body textarea {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px; color: var(--text-primary);
  font-size: 13px; width: 100%; resize: none;
}
.mock-modal-body select {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px; color: var(--text-primary);
  font-size: 13px; width: 100%; appearance: none;
}
.mock-modal-footer {
  padding: 16px; border-top: 1px solid var(--border); display: flex;
  justify-content: flex-end; gap: 8px; background: var(--bg-card);
  border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg);
}

/* ═══════════════════════════════════════════════════════════════════════
   EXCEL EXPORT SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.excel-section {
  padding: var(--section-py) 0;
}
.excel-window {
  margin: 48px auto 0;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}
.excel-header {
  display: flex; align-items: center; padding: 12px 16px;
  background: #107c41; /* Excel Green */
}
.excel-dots { display: flex; gap: 8px; flex: 1; }
.excel-dots .dot { width: 12px; height: 12px; border-radius: 50%; }
.excel-dots .red { background: #FF5F56; }
.excel-dots .yellow { background: #FFBD2E; }
.excel-dots .green { background: #27C93F; }
.excel-title {
  flex: 2; text-align: center; color: white; font-size: 13px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.excel-header::after { content: ''; flex: 1; } /* Balance flex */

.excel-body {
  display: flex; flex-direction: column; background: #f3f2f1;
}
.excel-toolbar {
  background: #f3f2f1; border-bottom: 1px solid #e1dfdd; padding: 8px 16px 0;
}
.excel-ribbon {
  display: flex; gap: 20px; color: #605e5c; font-size: 13px; font-family: "Segoe UI", sans-serif;
}
.excel-ribbon span { padding: 8px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.excel-ribbon span.active { color: #107c41; font-weight: 600; border-bottom-color: #107c41; }

.excel-table-container {
  overflow-x: auto; overflow-y: hidden; background: #fff;
}
.excel-table-container::-webkit-scrollbar {
  height: 12px;
}
.excel-table-container::-webkit-scrollbar-track {
  background: #f3f2f1;
  border-top: 1px solid #e1dfdd;
}
.excel-table-container::-webkit-scrollbar-thumb {
  background: #c8c6c4;
  border-radius: 6px;
  border: 2px solid #f3f2f1;
}
.excel-table-container::-webkit-scrollbar-thumb:hover {
  background: #a19f9d;
}

.excel-table {
  min-width: 2000px; border-collapse: collapse; font-family: "Calibri", "Segoe UI", sans-serif; font-size: 14px; color: #000;
}
.excel-table th, .excel-table td {
  border: 1px solid #e1dfdd; padding: 6px 12px; white-space: nowrap;
}
.excel-table th {
  background: #f3f2f1; font-weight: normal; color: #605e5c; text-align: center;
}
.excel-table thead tr:first-child th { border-top: none; }
.excel-table tbody th { background: #f3f2f1; text-align: center; width: 40px; }
.excel-table tbody td { background: #fff; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --fs-5xl: 2.5rem;
    --fs-3xl: 1.75rem;
    --fs-4xl: 2rem;
  }

  .navbar-links { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu */
  .navbar-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: var(--fs-3xl); }
  .hero-subtitle { font-size: var(--fs-base); }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step:not(:last-child)::after { display: none; }

  .pricing-grid { flex-direction: column; align-items: center; }
  .pricing-card { max-width: 100%; width: 100%; }

  .footer .container { flex-direction: column; text-align: center; }

  .modal { margin: 16px; max-width: calc(100% - 32px); }
}

@media (max-width: 480px) {
  .showcase-content { padding: 16px; }
  .pricing-card { padding: 28px 20px; }
}
