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

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --purple: #7c3aed;
  --purple-light: #8b5cf6;
  --purple-dark: #6d28d9;
  --teal: #0ea5e9;
  --green: #22c55e;
  --orange: #f97316;
  --text: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.35); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-white { background: var(--white); color: var(--purple); border-color: var(--white); }
.btn-white:hover { background: #f1f5f9; }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--navy); flex-shrink: 0; }
.logo-icon { font-size: 24px; }
.logo strong { color: var(--purple); }
.main-nav { display: flex; gap: 28px; flex: 1; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.main-nav a:hover { color: var(--purple); }
.nav-ctas { display: flex; gap: 12px; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy); margin-left: auto; }
.mobile-nav { display: none; flex-direction: column; gap: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--text); }
.mobile-nav a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-nav.open { display: flex; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.2; }
.section-header p { font-size: 18px; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 50%, #312e81 100%);
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(124,58,237,0.2); border: 1px solid rgba(139,92,246,0.4);
  color: #c4b5fd; padding: 6px 16px; border-radius: 100px;
  font-size: 14px; font-weight: 500; margin-bottom: 20px;
}
.hero-text h1 { font-size: 52px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 20px; color: #94a3b8; margin-bottom: 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { color: #94a3b8; font-size: 14px; }

/* Hero card mockup */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
}
.card-header {
  background: #f1f5f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.card-title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

.card-ui-wrap { display: flex; height: 200px; }

.card-sidebar {
  width: 110px;
  background: var(--navy);
  padding: 16px 0;
  flex-shrink: 0;
}
.sidebar-logo { text-align: center; font-size: 20px; margin-bottom: 16px; }
.sidebar-nav { display: flex; flex-direction: column; }
.sidebar-nav a {
  display: block;
  padding: 7px 12px;
  font-size: 11px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s;
}
.sidebar-nav a.active { background: rgba(124,58,237,0.3); color: #c4b5fd; }
.sidebar-nav a:hover { color: var(--white); }

.card-main { flex: 1; padding: 16px; overflow: hidden; }
.dash-stat-row { display: flex; gap: 8px; margin-bottom: 14px; }
.dash-stat {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.stat-num { display: block; font-size: 14px; font-weight: 800; color: var(--navy); }
.stat-label { display: block; font-size: 9px; color: var(--text-light); margin-top: 2px; }
.dash-recent-title { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.dash-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text); padding: 4px 0; }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.green-dot { background: var(--green); }
.blue-dot { background: var(--teal); }
.purple-dot { background: var(--purple); }

/* ===== PROBLEM SECTION ===== */
.problem { padding: 96px 0; background: var(--bg); }
.problem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.problem-text h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.problem-text p { color: var(--text-light); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }

.problem-compare { display: flex; flex-direction: column; gap: 16px; }
.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid var(--border);
}
.compare-card.good { border-color: #bbf7d0; background: #f0fdf4; }
.compare-card.bad { border-color: #fecaca; background: #fef2f2; }
.compare-label { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.bad-label { color: #dc2626; }
.good-label { color: #16a34a; }
.compare-card ul { list-style: none; }
.compare-card li { font-size: 14px; padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,0.06); color: var(--text); }
.compare-card li:last-child { border-bottom: none; }

/* ===== FEATURES DETAIL ===== */
.features { padding: 96px 0; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.feature-block-text h3 { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.feature-block-text p { color: var(--text-light); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; }
.feature-list li { padding: 8px 0; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }

/* Visual Cards */
.visual-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* UI Card */
.ui-card {}
.ui-topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-title { font-size: 14px; font-weight: 600; color: var(--navy); }
.ui-actions { display: flex; gap: 8px; }
.ui-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
}
.ui-btn.primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.ui-editor { padding: 24px; }
.ui-editor-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.ui-editor-body { margin-bottom: 20px; }
.ui-line {
  height: 10px;
  background: var(--border);
  border-radius: 5px;
  margin-bottom: 10px;
}
.ui-line.w40 { width: 40%; }
.ui-line.w60 { width: 60%; }
.ui-line.w80 { width: 80%; }
.ui-line.w90 { width: 90%; }
.ui-line.w100 { width: 100%; }
.ui-editor-toolbar {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.ui-editor-toolbar span {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

/* Role Card */
.role-card { padding: 24px; }
.role-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.role-tab {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-light);
  cursor: pointer;
  border: 1px solid var(--border);
}
.role-tab.active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.role-menu { display: flex; flex-direction: column; gap: 4px; }
.role-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
}
.role-item.active { background: rgba(124,58,237,0.1); color: var(--purple); }
.role-item.muted { color: #cbd5e1; background: none; font-style: italic; font-size: 13px; }

/* White Label Card */
.wl-card { padding: 24px; }
.wl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.wl-logo-box {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}
.wl-color-picker { display: flex; gap: 8px; }
.wl-color { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; }
.wl-name-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-light); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.wl-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
}

/* Content Card */
.content-card {}
.content-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.cl-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.cl-count { font-size: 13px; color: var(--text-light); }
.content-list { padding: 8px 12px; }
.cl-item { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--border); }
.cl-item:last-child { border-bottom: none; }
.cl-drag { color: #cbd5e1; font-size: 16px; cursor: grab; }
.cl-info { flex: 1; }
.cl-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.cl-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.cl-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

/* ===== ICON FEATURES GRID ===== */
.feature-icons { background: var(--bg); padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.icon-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.icon-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.icon-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.if-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.icon-feature strong { display: block; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.icon-feature p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ===== MODULES GRID ===== */
.modules { padding: 96px 0; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module-card.highlight { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.03); }
.module-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.module-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.module-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; margin: 0; }
.module-badge {
  display: inline-block;
  margin-top: 14px;
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* ===== DEEP DIVES ===== */
.deep-dives { padding: 96px 0; background: var(--bg); }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  background: rgba(124,58,237,0.1);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.feature-block-text h3 { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.feature-block-text p { color: var(--text-light); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; }
.feature-list li { padding: 8px 0; font-size: 15px; color: var(--text); border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }

/* Visual cards */
.visual-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* Database Explorer card */
.db-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--navy); }
.db-title { color: var(--white); font-size: 14px; font-weight: 600; }
.db-badge { background: rgba(124,58,237,0.5); color: #c4b5fd; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.db-table {}
.db-row { display: grid; grid-template-columns: 48px 1fr 90px 80px; gap: 0; padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text); }
.db-row-head { background: var(--bg); font-weight: 700; font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.db-id { color: var(--text-light); font-weight: 600; }
.status-pub { color: var(--green); font-weight: 600; }
.status-draft { color: var(--orange); font-weight: 600; }
.db-query { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #0f172a; }
.db-prompt { color: #64748b; font-family: monospace; font-size: 13px; flex-shrink: 0; }
.db-sql { color: #94a3b8; font-family: monospace; font-size: 13px; }

/* Activity Log card */
.log-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--border); }
.log-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.log-filter { font-size: 13px; color: var(--text-light); cursor: pointer; }
.log-list { padding: 8px 12px; }
.log-item { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--border); }
.log-item:last-child { border-bottom: none; }
.log-avatar { width: 32px; height: 32px; background: linear-gradient(135deg, var(--purple), var(--teal)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.log-info { flex: 1; }
.log-action { display: block; font-size: 13px; color: var(--text); }
.log-meta { display: block; font-size: 11px; color: var(--text-light); margin-top: 2px; }
.log-type { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; flex-shrink: 0; }
.log-type.post { background: #dbeafe; color: #1d4ed8; }
.log-type.plugin { background: #fef3c7; color: #d97706; }
.log-type.login { background: #dcfce7; color: #16a34a; }

/* Analytics card */
.analytics-card {}
.an-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.an-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.an-period { font-size: 12px; color: var(--text-light); }
.an-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--border); }
.an-stat { padding: 16px; text-align: center; border-right: 1px solid var(--border); }
.an-stat:last-child { border-right: none; }
.an-num { display: block; font-size: 20px; font-weight: 800; color: var(--navy); }
.an-label { display: block; font-size: 11px; color: var(--text-light); margin-top: 2px; }
.an-trend { display: block; font-size: 11px; font-weight: 600; color: var(--green); margin-top: 4px; }
.an-trend.up { color: var(--green); }
.an-chart { display: flex; align-items: flex-end; gap: 6px; padding: 16px 20px; height: 80px; }
.an-bar { flex: 1; background: #e2e8f0; border-radius: 3px 3px 0 0; transition: height 0.3s; }
.an-bar.active { background: var(--purple); }

/* White Label card */
.wl-card { padding: 24px; }
.wl-preview {}
.wl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.wl-logo-box { background: var(--bg); border: 2px dashed var(--border); border-radius: 8px; padding: 10px 18px; font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: 1px; }
.wl-color-picker { display: flex; gap: 8px; }
.wl-color { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.wl-row { margin-bottom: 14px; }
.wl-row label { display: block; font-size: 11px; font-weight: 600; color: var(--text-light); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.wl-input { background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font-size: 13px; color: var(--navy); font-weight: 500; }

/* ===== ALSO INCLUDED ===== */
.also-included { padding: 96px 0; border-top: 1px solid var(--border); }
.also-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.also-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.also-icon { font-size: 28px; }
.also-item strong { font-size: 16px; font-weight: 700; color: var(--navy); }
.also-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; }

/* ===== WHO IT'S FOR ===== */
.who { padding: 96px 0; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.who-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who-icon { font-size: 36px; margin-bottom: 16px; }
.who-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.who-card > p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.who-card ul { list-style: none; }
.who-card li { font-size: 14px; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); }
.who-card li::before { content: '→ '; color: var(--purple); font-weight: 700; }
.who-card li:last-child { border-bottom: none; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 96px 0; background: var(--bg); }
.rating-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; font-size: 16px; color: var(--text-light); }
.stars { color: #f59e0b; font-size: 22px; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.testimonial-stars { color: #f59e0b; font-size: 18px; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--purple), var(--teal)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 15px; color: var(--navy); }
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* ===== DOWNLOAD ===== */
.download { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-top: 1px solid #bbf7d0; border-bottom: 1px solid #bbf7d0; padding: 96px 0; }
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.download-text h2 { font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.download-text > p { color: var(--text-light); font-size: 18px; margin-bottom: 28px; }
.download-features { list-style: none; margin-bottom: 32px; }
.download-features li { padding: 8px 0; font-size: 16px; font-weight: 500; color: var(--text); border-bottom: 1px solid #d1fae5; }
.download-features li:last-child { border-bottom: none; }
.download-note { margin-top: 16px; font-size: 13px; color: var(--text-light); }
.pro-card { background: var(--white); border: 2px solid var(--purple); border-radius: var(--radius-lg); padding: 40px; text-align: center; position: relative; }
.pro-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--purple); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 100px; letter-spacing: 1px; }
.pro-card h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pro-card p { color: var(--text-light); margin-bottom: 24px; font-size: 15px; }

/* ===== PRICING ===== */
.pricing { padding: 96px 0; background: var(--bg); }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.toggle-label { font-size: 15px; font-weight: 500; color: var(--text-light); cursor: pointer; }
.toggle-label.active { color: var(--navy); font-weight: 600; }
.save-badge { background: #dcfce7; color: #16a34a; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 100px; margin-left: 6px; }
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 26px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--purple); border-radius: 26px; transition: 0.3s; }
.slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .slider::before { transform: translateX(22px); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.pricing-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular { border-color: var(--purple); transform: scale(1.02); }
.pricing-card.popular:hover { transform: scale(1.02) translateY(-4px); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--purple); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px; }
.plan-price { margin-bottom: 12px; }
.price-amount { font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; }
.price-period { font-size: 16px; color: var(--text-light); margin-left: 4px; }
.plan-desc { font-size: 14px; color: var(--text-light); margin-bottom: 24px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { padding: 9px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.pricing-footer { text-align: center; margin-top: 40px; color: var(--text-light); font-size: 15px; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color 0.2s; }
.faq-question::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--purple); flex-shrink: 0; transition: transform 0.2s; }
.faq-question:hover { color: var(--purple); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 22px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { color: var(--text-light); font-size: 15px; line-height: 1.7; }
.faq-answer a { color: var(--purple); text-decoration: underline; }

/* ===== FINAL CTA ===== */
.final-cta { background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 50%, #312e81 100%); padding: 96px 0; text-align: center; }
.final-cta h2 { font-size: 44px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.final-cta p { font-size: 18px; color: #94a3b8; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; display: inline-flex; }
.footer-brand p { color: #64748b; font-size: 14px; line-height: 1.6; max-width: 260px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; color: #64748b; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: #94a3b8; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { text-align: center; color: #475569; font-size: 13px; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 100vh; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 480px; box-shadow: var(--shadow); }
.auth-title { text-align: center; font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.auth-subtitle { text-align: center; color: var(--text-light); font-size: 15px; margin-bottom: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--text); transition: border-color 0.2s; background: var(--white); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--purple); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-light); }
.form-footer a { color: var(--purple); font-weight: 600; }
.plan-summary { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.plan-summary h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 8px; }
.plan-summary .plan-chosen { font-size: 18px; font-weight: 700; color: var(--navy); }
.alert { padding: 14px 16px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .also-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .main-nav, .nav-ctas { display: none; }
  .mobile-menu-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text h1 { font-size: 36px; }
  .hero-image { display: none; }

  .problem-inner { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse { direction: ltr; }

  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .also-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .download-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .modules-grid { grid-template-columns: 1fr; }
  .also-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 8px; }
}

/* ===== WORDPRESS / WOOCOMMERCE OVERRIDES ===== */

/* Page content */
.page-content { padding: 64px 24px; min-height: 60vh; }
.page-article { max-width: 800px; margin: 0 auto; }
.page-title { font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 32px; }
.entry-content { font-size: 16px; line-height: 1.8; color: var(--text); }
.entry-content p { margin-bottom: 20px; }
.entry-content h2 { font-size: 28px; font-weight: 700; color: var(--navy); margin: 36px 0 16px; }
.entry-content a { color: var(--purple); text-decoration: underline; }

/* Shop hero */
.shop-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 50%, #312e81 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.shop-hero .hero-badge { display: inline-block; background: rgba(124,58,237,0.2); border: 1px solid rgba(139,92,246,0.4); color: #c4b5fd; padding: 6px 16px; border-radius: 100px; font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.shop-hero h1 { font-size: 48px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.shop-hero p { font-size: 18px; color: #94a3b8; max-width: 540px; margin: 0 auto; }

/* WooCommerce shop grid */
.shop-main { padding: 56px 24px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 24px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.woocommerce ul.products li.product { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.woocommerce ul.products li.product .price { font-size: 32px; font-weight: 800; color: var(--purple); display: block; margin-bottom: 16px; }
.woocommerce ul.products li.product img { display: none; }
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.add_to_cart_button {
  display: block !important; width: 100% !important; padding: 12px 24px !important;
  background: var(--purple) !important; color: var(--white) !important;
  border-radius: 8px !important; font-weight: 600 !important; font-size: 15px !important;
  border: 2px solid var(--purple) !important; transition: all 0.2s !important; text-align: center !important;
}
.woocommerce ul.products li.product a.button:hover { background: var(--purple-dark) !important; border-color: var(--purple-dark) !important; }

/* WooCommerce single product */
.woo-main { padding: 56px 24px; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.woocommerce div.product .woocommerce-product-gallery { display: none; }
.woocommerce div.product .summary { padding: 0; }
.woocommerce div.product .product_title { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.woocommerce div.product .price { font-size: 40px; font-weight: 800; color: var(--purple); display: block; margin-bottom: 24px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--purple) !important; color: var(--white) !important; border: none !important;
  padding: 16px 40px !important; border-radius: 10px !important; font-size: 17px !important;
  font-weight: 600 !important; cursor: pointer !important; font-family: inherit !important;
  transition: background 0.2s !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--purple-dark) !important; }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button { font-family: inherit !important; }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  background: var(--bg) !important; border-left: 4px solid var(--purple) !important;
  border-radius: var(--radius) !important; padding: 16px 20px !important;
  margin-bottom: 24px !important; list-style: none !important;
  font-size: 15px !important; color: var(--text) !important;
}
.woocommerce-error { border-left-color: #ef4444 !important; }

/* My Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--border); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 12px; color: var(--text); font-weight: 500; font-size: 14px; border-radius: 6px; transition: all 0.15s; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: rgba(124,58,237,0.1); color: var(--purple); }
.woocommerce-account .woocommerce-MyAccount-content { min-width: 0; }

/* Checkout */
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--text); transition: border-color 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { outline: none; border-color: var(--purple); }

/* Cart */
.woocommerce-cart .woocommerce { max-width: 900px; margin: 0 auto; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th { padding: 12px 16px; text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); border-bottom: 2px solid var(--border); }
.woocommerce table.shop_table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); }
.woocommerce table.shop_table .product-name a { color: var(--navy); font-weight: 600; }
.woocommerce table.shop_table .product-price, .woocommerce table.shop_table .product-total { color: var(--purple); font-weight: 700; }

@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .woocommerce div.product { grid-template-columns: 1fr !important; }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr !important; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr !important; }
}

/* ===== MARKETPLACE SHOP ARCHIVE ===== */
.shop-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a0a3d 100%);
  padding: 72px 0 56px;
  text-align: center;
  color: var(--white);
}
.shop-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.shop-hero p { font-size: 1.1rem; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.shop-search { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
.shop-search input {
  flex: 1; padding: 14px 20px; font-size: 15px;
  border: none; border-radius: 8px 0 0 8px; background: rgba(255,255,255,.1);
  color: var(--white); outline: none; backdrop-filter: blur(10px);
}
.shop-search input::placeholder { color: rgba(255,255,255,.5); }
.shop-search button {
  padding: 14px 24px; background: var(--purple); color: var(--white);
  border: none; border-radius: 0 8px 8px 0; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.shop-search button:hover { background: var(--purple-dark); }

.marketplace-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 72px;
}

/* Sidebar */
.marketplace-sidebar { padding-top: 4px; }
.filter-section { margin-bottom: 32px; }
.filter-section h4 { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }
.filter-list { list-style: none; }
.filter-list li { margin-bottom: 4px; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: 6px; font-size: 14px; color: var(--text);
  transition: background .15s, color .15s;
}
.filter-list a:hover { background: var(--bg); color: var(--purple); }
.filter-list a.active { background: rgba(124,58,237,.1); color: var(--purple); font-weight: 600; }
.filter-list a span { font-size: 12px; background: var(--bg); color: var(--text-light); padding: 2px 7px; border-radius: 20px; }

/* Grid */
.marketplace-grid-wrap { min-width: 0; }
.results-bar { font-size: 13px; color: var(--text-light); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Plugin Card */
.plugin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.plugin-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.plugin-card-banner {
  display: block; position: relative; height: 160px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.plugin-banner-img { width: 100%; height: 100%; object-fit: cover; }
.plugin-banner-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.plugin-banner-placeholder span { font-size: 48px; }
.card-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
}
.card-badge.new { background: var(--teal); color: var(--white); }
.card-badge.featured { background: var(--orange); color: var(--white); }
.card-badge.bestseller { background: var(--green); color: var(--white); }
.plugin-card-body { padding: 16px; }
.plugin-cat { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--purple); }
.plugin-title { font-size: 15px; font-weight: 700; margin: 6px 0 6px; line-height: 1.3; }
.plugin-title a { color: var(--navy); }
.plugin-title a:hover { color: var(--purple); }
.plugin-excerpt { font-size: 13px; color: var(--text-light); line-height: 1.5; margin-bottom: 12px; }
.plugin-card-footer { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.plugin-meta { display: flex; gap: 8px; align-items: center; }
.plugin-rating { font-size: 12px; color: #f59e0b; font-weight: 600; }
.plugin-sales { font-size: 11px; color: var(--text-light); }
.plugin-price { font-size: 15px; font-weight: 700; color: var(--purple); }
.price-free { color: var(--green); }
.plugin-vendor { font-size: 12px; color: var(--text-light); }
.plugin-vendor a { color: var(--purple); }
.marketplace-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.marketplace-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text); transition: all .2s;
}
.marketplace-pagination .page-numbers.current { background: var(--purple); border-color: var(--purple); color: var(--white); font-weight: 700; }
.marketplace-pagination .page-numbers:hover:not(.current) { border-color: var(--purple); color: var(--purple); }
.no-results { text-align: center; padding: 80px 0; color: var(--text-light); }

/* ===== SINGLE PRODUCT PAGE ===== */
.product-breadcrumb {
  padding: 16px 24px; font-size: 13px; color: var(--text-light);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.product-breadcrumb a:hover { color: var(--purple); }
.product-breadcrumb span:not(.sep) { color: var(--text); }

.product-hero { background: var(--navy); color: var(--white); padding: 48px 0; }
.product-hero-inner { display: flex; gap: 32px; align-items: flex-start; }
.product-icon-wrap {
  width: 96px; height: 96px; border-radius: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-icon-img { width: 100%; height: 100%; object-fit: cover; }
.product-icon-emoji { font-size: 40px; }
.product-cat-tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--purple-light); }
.product-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 8px 0 10px; }
.product-tagline { font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 16px; max-width: 600px; }
.product-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 10px; font-size: 13px; color: rgba(255,255,255,.6); }
.product-stars { color: #f59e0b; }
.product-stars strong { color: var(--white); margin: 0 2px; }
.product-sales, .product-version, .product-updated { color: rgba(255,255,255,.5); }
.product-compat-row { display: flex; gap: 12px; font-size: 12px; }
.product-compat-row span { background: rgba(255,255,255,.1); padding: 3px 10px; border-radius: 20px; color: rgba(255,255,255,.7); }

.product-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-top: 48px; padding-bottom: 80px; align-items: start; }

/* Tabs */
.product-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.tab-link {
  padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-light);
  border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.tab-link:hover { color: var(--purple); }
.tab-link.active { color: var(--purple); border-bottom-color: var(--purple); }
.tab-link span { background: var(--bg); border-radius: 20px; padding: 1px 6px; font-size: 11px; margin-left: 4px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Screenshots */
.product-screenshots { margin-bottom: 32px; }
.screenshot-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 12px; }
.screenshot-main img { width: 100%; height: auto; }
.screenshot-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.screenshot-thumb { width: 80px; height: 56px; object-fit: cover; border-radius: 6px; border: 2px solid var(--border); cursor: pointer; transition: border-color .2s; }
.screenshot-thumb.active, .screenshot-thumb:hover { border-color: var(--purple); }

/* Product Description */
.product-description { font-size: 15px; line-height: 1.8; color: var(--text); }
.product-description h2, .product-description h3 { color: var(--navy); margin: 28px 0 12px; }
.product-description p { margin-bottom: 16px; }
.product-description ul { padding-left: 20px; margin-bottom: 16px; }
.product-description li { margin-bottom: 8px; }

/* Changelog */
.changelog-content { font-size: 14px; line-height: 1.8; color: var(--text); white-space: pre-wrap; font-family: monospace; background: var(--bg); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }

/* Sidebar Buy Box */
.buy-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.buy-box-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.buy-box-price { font-size: 28px; font-weight: 800; color: var(--purple); margin-bottom: 20px; }
.btn-full { width: 100%; }
.btn-large { padding: 16px 24px; font-size: 16px; }

/* License Plans */
.license-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.plan-option { display: block; cursor: pointer; }
.plan-option input[type="radio"] { display: none; }
.plan-option-inner {
  border: 2px solid var(--border); border-radius: 10px; padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.plan-option.selected .plan-option-inner, .plan-option:hover .plan-option-inner { border-color: var(--purple); background: rgba(124,58,237,.04); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.plan-label { font-weight: 700; font-size: 14px; color: var(--navy); }
.plan-price { font-weight: 800; font-size: 15px; color: var(--purple); }
.plan-sites { font-size: 12px; color: var(--text-light); }

.buy-box-perks { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.buy-box-perks li { font-size: 13px; color: var(--text); padding: 5px 0; }
.buy-box-perks li::before { content: none; }

/* Plugin Info Box */
.plugin-info-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.plugin-info-box h4 { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.info-table th { text-align: left; color: var(--text-light); padding: 6px 0; font-weight: 500; width: 50%; }
.info-table td { color: var(--navy); font-weight: 600; padding: 6px 0; }
.info-table tr + tr th, .info-table tr + tr td { border-top: 1px solid var(--border); }

/* Vendor Card */
.vendor-card { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.vendor-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.vendor-card-info { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.vendor-card-info strong { color: var(--navy); }
.vendor-card-info a { color: var(--purple); font-size: 13px; }
.vendor-card-info a:hover { text-decoration: underline; }

/* Support Tab */
.support-content h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 28px 0 8px; }
.support-content h3:first-child { margin-top: 0; }
.support-content p { font-size: 14px; color: var(--text); line-height: 1.7; }
.support-content a { color: var(--purple); }

@media (max-width: 1024px) {
  .marketplace-wrap { grid-template-columns: 1fr; }
  .marketplace-sidebar { display: flex; gap: 24px; flex-wrap: wrap; }
  .filter-section { min-width: 160px; }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { order: -1; }
  .buy-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .buy-box-perks { border-top: none; padding-top: 0; margin-top: 0; grid-column: span 2; }
}

@media (max-width: 640px) {
  .plugin-grid { grid-template-columns: 1fr; }
  .product-hero-inner { flex-direction: column; }
  .buy-box { grid-template-columns: 1fr; }
  .buy-box-perks { grid-column: 1; }
}

/* ===== VENDOR / AUTHOR STORE PAGE ===== */
.vendor-hero {
  position: relative; min-height: 260px; display: flex; align-items: flex-end;
}
.vendor-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.9) 0%, rgba(15,23,42,.4) 100%);
}
.vendor-hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; gap: 28px; padding-bottom: 40px;
}
.vendor-profile-pic img {
  width: 100px; height: 100px; border-radius: 50%;
  border: 4px solid white; object-fit: cover; flex-shrink: 0;
}
.vendor-hero-info h1 { color: var(--white); font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.vendor-hero-info p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 12px; max-width: 480px; }
.vendor-hero-stats { display: flex; gap: 16px; }
.vhs-stat { font-size: 13px; color: rgba(255,255,255,.7); }

.vendor-layout {
  display: grid; grid-template-columns: 1fr 260px;
  gap: 48px; padding-top: 48px; padding-bottom: 80px;
}
.vendor-sidebar { padding-top: 4px; }

@media (max-width: 768px) {
  .vendor-layout { grid-template-columns: 1fr; }
  .vendor-sidebar { order: -1; }
  .vendor-hero-content { flex-direction: column; align-items: flex-start; }
}
