/* ─────────────────────────────────────────────
   SlickPlugins.com — Plugin Page Stylesheet
   ───────────────────────────────────────────── */

/* ── Plugin Hero ── */
.plugin-hero {
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.plugin-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,92,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.plugin-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.plugin-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.plugin-hero h1 {
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 30%, #7aa8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plugin-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
}
.plugin-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.plugin-meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.meta-item { display: flex; align-items: center; gap: 6px; }
.meta-item .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* ── Edition Cards ── */
.editions-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.edition-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color .18s;
  position: relative;
  overflow: hidden;
}
.edition-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.edition-card.lite::before { background: #4ade80; }
.edition-card.pro::before  { background: var(--gold); }
.edition-card:hover { border-color: rgba(255,255,255,0.18); }
.edition-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.edition-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.edition-price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.edition-price.free { color: #4ade80; }
.edition-price.pro-price { color: var(--gold); }
.edition-desc { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.edition-card .btn { width: 100%; justify-content: center; }

/* ── Tab Navigation ── */
.plugin-tabs {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 50;
}
.tabs-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}
.tab-btn {
  padding: 18px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; border-bottom-color: var(--blue); }

/* ── Plugin Content ── */
.plugin-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px 100px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26,92,255,0.3);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.65; }

/* ── Comparison Table ── */
.compare-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.compare-table thead th {
  padding: 20px 24px;
  text-align: left;
  background: var(--navy-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.compare-table thead th:first-child { color: #fff; }
.compare-table thead th.col-lite { color: #4ade80; }
.compare-table thead th.col-pro  { color: var(--gold); }
.compare-table tbody tr {
  border-top: 1px solid var(--border);
  transition: background .15s;
}
.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.compare-table tbody tr.group-head td {
  background: rgba(255,255,255,0.03);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 24px;
  border-top: 2px solid var(--border);
}
.compare-table td {
  padding: 14px 24px;
  vertical-align: middle;
}
.compare-table td:first-child { color: var(--off-white); font-weight: 500; }
.compare-table td.check-cell { text-align: center; font-size: 1.1rem; }
.compare-table td .yes { color: #4ade80; }
.compare-table td .no  { color: #475569; }
.compare-table td .pro-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.25);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* ── Requirements ── */
.reqs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.req-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.req-icon { font-size: 1.8rem; margin-bottom: 10px; }
.req-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 6px; }
.req-card .val { font-size: 1.1rem; font-weight: 700; color: #fff; }

/* ── Installation Steps ── */
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  max-width: 680px;
}
.install-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(26,92,255,0.4);
}
.install-step div h4 { font-size: .95rem; margin-bottom: 4px; }
.install-step div p { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }

/* ── Download Box ── */
.download-box {
  background: linear-gradient(135deg, rgba(74,222,128,0.07) 0%, var(--card-bg) 100%);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.download-box::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(74,222,128,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.download-box h3 { font-size: 1.4rem; margin-bottom: 8px; }
.download-box p { color: var(--text-muted); margin-bottom: 24px; font-size: .95rem; }
.download-box .file-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ── Pro Upsell ── */
.pro-upsell {
  background: linear-gradient(135deg, rgba(240,180,41,0.07) 0%, var(--card-bg) 100%);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.pro-upsell h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pro-upsell p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.pro-upsell-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.pro-upsell-features span {
  font-size: .78rem;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.pro-upsell-cta { flex-shrink: 0; text-align: center; }
.pro-upsell-cta .price {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.pro-upsell-cta .per { font-size: .78rem; color: var(--text-muted); margin-bottom: 14px; }

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  max-width: 800px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: #fff;
  font-family: var(--font-main);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .15s;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-chevron { transition: transform .25s; font-size: .8rem; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── Screenshot Carousel ── */
.carousel-section {
  margin-top: 64px;
}
/* Outer: positions the arrows, does NOT clip */
.carousel-outer {
  position: relative;
  margin-top: 28px;
  user-select: none;
}
/* Inner: clips the sliding track only */
.carousel-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-light);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.carousel-track {
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: contain;
  background: var(--navy-light);
}
/* Buttons sit outside the overflow clip on .carousel-outer */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6,13,31,0.75);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s, transform .18s;
  backdrop-filter: blur(8px);
  z-index: 10;
}
.carousel-btn:hover {
  background: rgba(26,92,255,0.6);
  border-color: rgba(26,92,255,0.6);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 4px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.25);
}
.carousel-caption {
  padding: 10px 20px 16px;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  min-height: 36px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .plugin-hero-inner { grid-template-columns: 1fr; }
  .editions-wrap { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .reqs-grid { grid-template-columns: 1fr; }
  .pro-upsell { grid-template-columns: 1fr; }
  .pro-upsell-cta { text-align: left; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .plugin-actions { flex-direction: column; }
  .tabs-inner { overflow-x: auto; }
  .download-box { padding: 28px 20px; }
}
