:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
}

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  color: var(--primary);
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 6px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 32px;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-large {
  font-size: 18px;
  padding: 16px 36px;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features h2, .howto h2, .requirements h2, .screenshot h2, .download-cta h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-card p {
  color: var(--text-gray);
  font-size: 14px;
}

/* Screenshot */
.screenshot {
  padding: 80px 0;
  background: var(--bg-light);
  text-align: center;
}

.screenshot-frame img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Screenshot grid (2 images side by side) */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.screenshot-item {
  text-align: center;
}

.screenshot-caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-gray);
}

/* How to */
.howto {
  padding: 80px 0;
}

.howto-list {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 24px;
}

.howto-list li {
  margin-bottom: 24px;
  font-size: 15px;
}

/* Requirements */
.requirements {
  padding: 80px 0;
  background: var(--bg-light);
}

.requirements table {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.requirements th, .requirements td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.requirements th {
  width: 30%;
  color: var(--text-gray);
}

/* Download CTA */
.download-cta {
  padding: 80px 0;
  text-align: center;
  background: var(--primary);
  color: var(--white);
}

.download-cta h2 {
  color: var(--white);
}

.download-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
}

/* Footer */
.site-footer {
  padding: 32px 0;
  text-align: center;
  background: var(--text-dark);
  color: #d1d5db;
  font-size: 14px;
}

.site-footer a {
  color: #d1d5db;
}

/* Plugin list page */
.hero-list {
  padding: 60px 0;
}

.plugin-list-section {
  padding: 60px 0;
  background: var(--white);
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.plugin-card {
  display: block;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.plugin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.plugin-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.plugin-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.plugin-card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 12px;
}

.plugin-card-link {
  color: var(--primary);
  font-weight: bold;
  font-size: 14px;
}

.back-link {
  display: inline-block;
  margin: 24px 0 0;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  nav a {
    margin-left: 0;
    font-size: 13px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.4;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

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

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

  .requirements table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .requirements th, .requirements td {
    padding: 10px 12px;
    font-size: 14px;
  }

  section {
    padding: 50px 0 !important;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }

  .logo {
    font-size: 17px;
  }
}
.plugin-card {
  position: relative;
}
.plugin-card.is-retired {
  opacity: 0.6;
  background: #f5f5f5;
}
.plugin-card.is-retired:hover {
  opacity: 0.85;
}
.plugin-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 10px;
  border-radius: 12px;
  background: #9e9e9e;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}
.plugin-card-note {
  margin-top: 8px;
  font-size: 12px;
  color: #757575;
}

.hero-note {
  margin-top: 12px;
  font-size: 13px;
  color: #888;
}
