:root {
  --bg-dark: #090d12;
  --bg-card: #111722;
  --bg-card-hover: #162030;
  --border-card: #202c3e;
  --border-highlight: #00e5ff;
  --text-main: #f0f4f8;
  --text-muted: #8ea0b5;
  --text-cyan: #00e5ff;
  --text-amber: #ffb400;
  --accent-cyan: #00e5ff;
  --accent-amber: #ffaa00;
  --accent-emerald: #00f090;
  --accent-magenta: #d845ff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  background: rgba(13, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.brand-title {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.brand-title span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.2s;
  padding-bottom: 4px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}

/* Main Container */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: radial-gradient(circle at top, #142438 0%, rgba(9, 13, 18, 0) 70%);
  border-radius: 12px;
  border: 1px solid var(--border-card);
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(135deg, #00e5ff 0%, #00f090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: #15202e;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #23354d;
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* Product Cards Grid */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.plugin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.plugin-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: 0 12px 28px rgba(0, 229, 255, 0.12);
}

.card-banner {
  height: 140px;
  background: linear-gradient(135deg, #18283a 0%, #0d1624 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-card);
}

.card-banner .plugin-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-features li {
  font-size: 0.85rem;
  color: #a4b8cc;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '⚡';
  font-size: 0.75rem;
  color: var(--accent-amber);
}

.card-actions {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #080c12;
  border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
  background: #33ecff;
  transform: scale(1.02);
}

.btn-secondary {
  background: #182230;
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: #223044;
  border-color: #3b506e;
}

/* Video & Media Showcase */
.media-container {
  margin: 2rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  background: #080c12;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-card);
}

.media-caption {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-caption strong {
  color: var(--accent-cyan);
}

.screenshot-figure {
  margin: 2rem 0;
  background: #0d141e;
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.screenshot-figure:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.screenshot-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-card);
}

.screenshot-figure figcaption {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #9cb2c8;
  background: #111722;
  font-family: var(--font-sans);
}

.screenshot-figure figcaption strong {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

/* Detail Page Components */
.detail-header {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.detail-title h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.detail-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
}

.spec-box .label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.spec-box .val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.doc-section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.doc-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 0.5rem;
}

.doc-section p, .doc-section ul {
  color: #b0c2d4;
  margin-bottom: 1rem;
}

.doc-section ul {
  padding-left: 1.5rem;
}

.doc-section li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #080b0f;
  border-top: 1px solid var(--border-card);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}
