/* ============================================
   蜜桃视频电脑版 - Shared Stylesheet
   Desktop Application UI Theme (Peach & Silver)
   ============================================ */

:root {
  --peach: #ec4899;
  --peach-light: #f472b6;
  --peach-dark: #db2777;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --slate-dark: #475569;
  --bg-light: #f8fafc;
  --bg-silver: #e2e8f0;
  --bg-window: #f1f5f9;
  --dark: #1e293b;
  --darker: #0f172a;
  --rose: #fb7185;
  --border: #e2e8f0;
  --white: #ffffff;
  --text: #334155;
  --text-muted: #64748b;
  --success: #10b981;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-peach: 0 8px 24px rgba(236, 72, 153, 0.25);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-window: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  background: var(--bg-light);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--peach);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--peach-dark);
}

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

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
  background: var(--darker);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}

.nav-brand:hover {
  color: var(--white);
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--peach), var(--rose));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-peach);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-menu a {
  color: var(--slate-light);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  display: block;
}

.nav-menu a:hover {
  color: var(--white);
  background: rgba(236, 72, 153, 0.15);
}

.nav-menu a.active {
  color: var(--white);
  background: var(--peach);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
}

/* ============================================
   Layout Helpers
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header .subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--peach);
  margin: 16px auto 0;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   Window Chrome (Desktop App Mockup)
   ============================================ */
.window {
  background: var(--bg-window);
  border: 1px solid var(--border);
  border-radius: var(--radius-window);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.titlebar {
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  border-bottom: 1px solid #cbd5e1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
}

.titlebar-dark {
  background: linear-gradient(180deg, #334155, #1e293b);
  border-bottom: 1px solid var(--darker);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15);
}

.tl-close { background: #ff5f57; }
.tl-min { background: #febc2e; }
.tl-max { background: #28c840; }

.win-buttons {
  display: flex;
  gap: 0;
  margin-left: auto;
  align-items: center;
}

.win-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: 14px;
  border-radius: 4px;
  cursor: default;
}

.win-btn:hover {
  background: rgba(0,0,0,0.08);
}

.win-btn.close:hover {
  background: #e81123;
  color: white;
}

.titlebar-title {
  font-size: 13px;
  color: var(--slate-dark);
  font-weight: 500;
  flex: 1;
  text-align: center;
}

.titlebar-dark .titlebar-title {
  color: var(--slate-light);
}

.titlebar-icon {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--peach), var(--rose));
  border-radius: 4px;
}

.window-body {
  flex: 1;
  display: flex;
  min-height: 280px;
}

/* Sidebar UI element */
.sidebar {
  width: 200px;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  flex-shrink: 0;
}

.sidebar-dark {
  background: var(--darker);
  border-right: 1px solid var(--dark);
}

.sidebar-section {
  margin-bottom: 16px;
}

.sidebar-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--slate-light);
  letter-spacing: 0.5px;
  padding: 4px 10px;
  margin-bottom: 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  cursor: default;
}

.sidebar-item:hover {
  background: var(--bg-light);
}

.sidebar-item.active {
  background: rgba(236, 72, 153, 0.1);
  color: var(--peach);
  font-weight: 500;
}

.sidebar-item .si-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--bg-silver);
  flex-shrink: 0;
}

.sidebar-item.active .si-icon {
  background: var(--peach);
}

/* Toolbar UI element */
.toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.tool-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: var(--slate);
  font-size: 14px;
  background: transparent;
  border: none;
  cursor: default;
}

.tool-btn:hover {
  background: var(--bg-light);
}

.tool-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 4px;
}

.tool-input {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--slate);
  width: 160px;
}

.window-content {
  flex: 1;
  padding: 20px;
  background: var(--bg-window);
  overflow: hidden;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.15), transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: var(--peach-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--peach);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--peach), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--slate-light);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--peach-light);
}

.hero-meta-item .label {
  font-size: 12px;
  color: var(--slate-light);
}

/* App mockup inside hero */
.hero-window {
  position: relative;
}

.hero-window .window {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mockup-player {
  background: #000;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 35%, #be185d 70%, #f97316 100%);
  opacity: 0.85;
}

.play-button {
  width: 64px;
  height: 64px;
  background: rgba(236, 72, 153, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(236, 72, 153, 0.2), 0 8px 24px rgba(0,0,0,0.4);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

.player-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  z-index: 2;
}

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  width: 38%;
  background: var(--peach);
  border-radius: 2px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 12px;
}

.player-controls .pc-icon {
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
}

.player-controls .time {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: var(--white);
  box-shadow: var(--shadow-peach);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--peach);
  border: 1.5px solid var(--peach);
}

.btn-outline:hover {
  background: var(--peach);
  color: var(--white);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--peach-light);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(251, 113, 133, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--peach);
  margin-bottom: 18px;
}

.card-icon.solid {
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: var(--white);
  box-shadow: var(--shadow-peach);
}

.card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Feature card variants */
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08), transparent 70%);
  border-radius: 50%;
}

/* Download card */
.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--peach);
}

.download-card .os-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, var(--bg-silver), var(--bg-window));
  color: var(--slate);
}

.download-card.windows .os-icon { color: #0078D4; background: rgba(0, 120, 212, 0.1); }
.download-card.mac .os-icon { color: #1e293b; background: rgba(30, 41, 59, 0.08); }
.download-card.linux .os-icon { color: #FCC624; background: rgba(252, 198, 36, 0.1); }

.download-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 6px;
}

.download-card .os-version {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.download-card .btn {
  width: 100%;
}

.download-card .file-info {
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--peach), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  color: var(--slate-light);
  font-size: 14px;
}

/* ============================================
   System Requirements
   ============================================ */
.req-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.req-header {
  background: var(--bg-window);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.req-col {
  padding: 24px;
}

.req-col + .req-col {
  border-left: 1px solid var(--border);
}

.req-col h4 {
  font-size: 14px;
  color: var(--peach);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.req-list {
  list-style: none;
}

.req-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
}

.req-list li:last-child {
  border-bottom: none;
}

.req-list .req-val {
  color: var(--slate);
  font-weight: 500;
}

/* ============================================
   Tables
   ============================================ */
.table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table th {
  background: var(--bg-window);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover td {
  background: var(--bg-light);
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-peach { background: rgba(236, 72, 153, 0.12); color: var(--peach); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.badge-slate { background: var(--bg-silver); color: var(--slate-dark); }

/* ============================================
   Comparison Table
   ============================================ */
.compare-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  text-align: center;
  padding: 16px 20px;
}

.compare-table th {
  background: var(--bg-window);
  font-size: 15px;
}

.compare-table .plan-free {
  color: var(--slate);
}

.compare-table .plan-pro {
  color: var(--peach);
  font-weight: 700;
}

.compare-table .feature-name {
  text-align: left;
  font-weight: 500;
  color: var(--dark);
  background: var(--bg-light);
}

.compare-table .check {
  color: var(--success);
  font-size: 18px;
  font-weight: 700;
}

.compare-table .cross {
  color: var(--slate-light);
  font-size: 18px;
}

.compare-table .pro-col {
  background: rgba(236, 72, 153, 0.04);
  border-left: 2px solid var(--peach);
  border-right: 2px solid var(--peach);
}

.compare-table thead .pro-col {
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: var(--white);
  border: none;
}

/* ============================================
   Steps / Tutorial
   ============================================ */
.steps {
  display: grid;
  gap: 24px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-peach);
}

.step-content h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.step-mockup {
  margin-top: 14px;
}

.step-mockup .window {
  max-width: 500px;
}

/* ============================================
   Accordion (FAQ)
   ============================================ */
.accordion {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  color: var(--peach);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.accordion-icon::before {
  width: 12px;
  height: 2px;
  top: 9px;
  left: 4px;
}

.accordion-icon::after {
  width: 2px;
  height: 12px;
  top: 4px;
  left: 9px;
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  max-height: 400px;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--peach);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  cursor: pointer;
}

.form-hint {
  font-size: 12px;
  color: var(--slate-light);
  margin-top: 5px;
}

/* ============================================
   Plugin Cards
   ============================================ */
.plugin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.plugin-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--peach-light);
}

.plugin-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}

.plugin-thumb.t1 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: var(--peach); }
.plugin-thumb.t2 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.plugin-thumb.t3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.plugin-thumb.t4 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.plugin-thumb.t5 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.plugin-thumb.t6 { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }

.plugin-thumb .featured-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--peach);
  color: white;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}

.plugin-body {
  padding: 18px;
}

.plugin-body h3 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 6px;
}

.plugin-body .plugin-author {
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 10px;
}

.plugin-body .plugin-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.plugin-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--slate);
}

.plugin-rating {
  color: #f59e0b;
}

.plugin-install {
  background: rgba(236, 72, 153, 0.1);
  color: var(--peach);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.2s;
}

.plugin-install:hover {
  background: var(--peach);
  color: white;
}

/* Category pills */
.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.pill {
  padding: 8px 18px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover,
.pill.active {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--white);
}

/* ============================================
   Page Header (sub pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.page-header .breadcrumb {
  color: var(--slate-light);
  font-size: 14px;
  position: relative;
}

.page-header .breadcrumb a {
  color: var(--slate-light);
}

.page-header .breadcrumb a:hover {
  color: var(--peach-light);
}

/* ============================================
   Sidebar Content (Guide/Support)
   ============================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.side-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.side-box h3 {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--peach);
  display: inline-block;
}

.side-box ul {
  list-style: none;
}

.side-box ul li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
}

.side-box ul li:last-child {
  border-bottom: none;
}

.tip-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}

.tip-item:last-child {
  border-bottom: none;
}

.tip-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(236, 72, 153, 0.12);
  color: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}

/* Video tutorial cards */
.video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.video-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark), var(--slate-dark));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(30, 41, 59, 0.6));
}

.video-thumb .play-mini {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.video-thumb .play-mini::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 14px solid var(--peach);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.video-thumb .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 1;
}

.video-body {
  padding: 16px;
}

.video-body h3 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 6px;
}

.video-body .video-meta {
  font-size: 12px;
  color: var(--slate-light);
  display: flex;
  gap: 12px;
}

/* Keyboard shortcuts */
.shortcut-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.shortcut-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.shortcut-row:last-child {
  border-bottom: none;
}

.shortcut-row:hover {
  background: var(--bg-light);
}

.shortcut-row .action {
  color: var(--text);
}

.shortcut-row .keys {
  display: flex;
  gap: 6px;
}

.kbd {
  background: var(--bg-window);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12px;
  font-family: "SF Mono", "Consolas", monospace;
  color: var(--slate-dark);
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

/* Changelog */
.changelog {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.changelog-item {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.changelog-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.changelog-version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.changelog-version .ver {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.changelog-version .date {
  font-size: 13px;
  color: var(--slate-light);
}

.changelog-list {
  list-style: none;
  padding-left: 8px;
}

.changelog-list li {
  padding: 5px 0 5px 22px;
  position: relative;
  font-size: 14px;
  color: var(--text);
}

.changelog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}

.changelog-list li.fix::before { background: var(--success); }
.changelog-list li.imp::before { background: var(--slate-light); }

/* Help docs sections */
.doc-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.doc-section:hover {
  border-color: var(--peach-light);
  box-shadow: var(--shadow);
}

.doc-section h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-section h3 .doc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(236, 72, 153, 0.1);
  color: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.doc-section p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.doc-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--peach);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   About / Version History Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--peach);
  z-index: 1;
}

.timeline-item .tl-version {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-item .tl-date {
  font-size: 12px;
  color: var(--slate-light);
  margin-bottom: 8px;
}

.timeline-item .tl-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Team */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: white;
}

.team-card h3 {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--peach);
  margin-bottom: 10px;
  font-weight: 500;
}

.team-card .bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Policy text */
.policy-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.policy-block h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--peach);
  display: inline-block;
}

.policy-block p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-block ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-block ul li {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--peach), var(--rose));
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 50%);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}

.cta-section p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 28px;
  position: relative;
}

.cta-section .btn {
  background: var(--white);
  color: var(--peach);
  position: relative;
}

.cta-section .btn:hover {
  background: var(--dark);
  color: var(--white);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--darker);
  color: var(--slate-light);
  padding: 56px 0 24px;
}

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

.footer-brand .nav-brand {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-light);
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--slate-light);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--peach-light);
}

.footer-bottom {
  border-top: 1px solid var(--dark);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}

.footer-bottom .disclaimer {
  margin-top: 8px;
  font-size: 12px;
  color: var(--slate);
  opacity: 0.7;
}

/* ============================================
   Utility
   ============================================ */
.text-center { text-align: center; }
.text-peach { color: var(--peach); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.alert-info {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: var(--peach-dark);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #92400e;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--darker);
    flex-direction: column;
    padding: 12px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .req-grid {
    grid-template-columns: 1fr;
  }

  .req-col + .req-col {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .compare-table {
    font-size: 13px;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar {
    display: none;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 18px;
  }
}
