/* ═══════════════════════════════════════════════════════════
   PluginIdea — Design System
   Fonts: Lota Grotesque Alt 3 (headings) · Inter (body)
   Themes: dark (default) · light (.light-theme on body)
═══════════════════════════════════════════════════════════ */

/* ─── FONT IMPORTS ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/*
  Lota Grotesque Alt 3 Semi is a commercial font by Indian Type Foundry.
  Declare it first; the stack falls back to Outfit (visually similar) if not installed.
*/
@font-face {
  font-family: 'Lota Grotesque Alt 3';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: local('Lota Grotesque Alt 3 Semi'), local('LotaGrotesqueAlt3-Semi');
}

/* ─── DARK THEME (DEFAULT) ──────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:              #09090f;
  --bg2:             #0f1018;
  --bg3:             #161824;
  --bg4:             #1c1f2e;

  /* Card surfaces */
  --card:            rgba(255, 255, 255, 0.035);
  --card-hover:      rgba(255, 255, 255, 0.06);
  --card-border:     rgba(255, 255, 255, 0.07);
  --card-border2:    rgba(255, 255, 255, 0.13);

  /* Glassmorphism */
  --glass-bg:        rgba(15, 16, 24, 0.72);
  --glass-border:    rgba(255, 255, 255, 0.09);
  --glass-blur:      20px;

  /* Text */
  --text:            #f0f1f5;
  --text2:           #9299a8;
  --text3:           #545c6e;
  --text4:           #363d4d;

  /* Accent palette */
  --accent:          #3feea6;
  --accent-rgb:      63, 238, 166;
  --accent-dim:      rgba(63, 238, 166, 0.10);
  --accent-border:   rgba(63, 238, 166, 0.28);
  --accent-glow:     0 0 32px rgba(63, 238, 166, 0.18);

  --blue:            #4b8dff;
  --blue-rgb:        75, 141, 255;
  --blue-dim:        rgba(75, 141, 255, 0.10);
  --blue-border:     rgba(75, 141, 255, 0.28);
  --blue-glow:       0 0 32px rgba(75, 141, 255, 0.18);

  --orange:          #ff6b35;
  --orange-rgb:      255, 107, 53;
  --orange-dim:      rgba(255, 107, 53, 0.10);
  --orange-border:   rgba(255, 107, 53, 0.28);

  --purple:          #9b6dff;
  --purple-rgb:      155, 109, 255;
  --purple-dim:      rgba(155, 109, 255, 0.10);
  --purple-border:   rgba(155, 109, 255, 0.28);

  --yellow:          #f5c842;
  --yellow-rgb:      245, 200, 66;
  --yellow-dim:      rgba(245, 200, 66, 0.10);
  --yellow-border:   rgba(245, 200, 66, 0.28);

  /* Red */
  --red:             #ff4d6a;

  /* Header */
  --header-bg:       rgba(9, 9, 15, 0.82);
  --header-border:   rgba(255, 255, 255, 0.07);

  /* Dividers */
  --divider:         rgba(255, 255, 255, 0.07);

  /* Buttons */
  --btn-primary-bg:      var(--accent);
  --btn-primary-text:    #09090f;
  --btn-outline-bg:      transparent;
  --btn-outline-text:    var(--text);
  --btn-outline-border:  var(--card-border2);
  --btn-outline-hover:   rgba(255, 255, 255, 0.05);

  /* Shadows */
  --shadow-sm:       0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:       0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:       0 12px 40px rgba(0,0,0,0.6);
  --shadow-card:     0 2px 12px rgba(0,0,0,0.3);

  /* Typography */
  --font-head: 'Lota Grotesque Alt 3', 'Outfit', 'DM Sans', ui-rounded, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max:      1200px;
  --gutter:   24px;

  /* Radius */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   22px;
}

/* ─── LIGHT THEME ───────────────────────────────────────── */
body.light-theme {
  --bg:              #f8f9fc;
  --bg2:             #ffffff;
  --bg3:             #f2f3f8;
  --bg4:             #eaecf3;

  --card:            #ffffff;
  --card-hover:      #f8f9fc;
  --card-border:     rgba(0, 0, 0, 0.09);
  --card-border2:    rgba(0, 0, 0, 0.18);

  --glass-bg:        rgba(255, 255, 255, 0.88);
  --glass-border:    rgba(0, 0, 0, 0.08);

  --text:            #111420;
  --text2:           #505568;
  --text3:           #8b92a8;
  --text4:           #bcc1d1;

  --accent:          #0dba82;
  --accent-rgb:      13, 186, 130;
  --accent-dim:      rgba(13, 186, 130, 0.08);
  --accent-border:   rgba(13, 186, 130, 0.30);
  --accent-glow:     0 4px 20px rgba(13, 186, 130, 0.12);

  --blue:            #2c72f0;
  --blue-rgb:        44, 114, 240;
  --blue-dim:        rgba(44, 114, 240, 0.07);
  --blue-border:     rgba(44, 114, 240, 0.25);
  --blue-glow:       0 4px 20px rgba(44, 114, 240, 0.12);

  --orange:          #e8551a;
  --orange-rgb:      232, 85, 26;
  --orange-dim:      rgba(232, 85, 26, 0.07);
  --orange-border:   rgba(232, 85, 26, 0.22);

  --purple:          #7c4de8;
  --purple-rgb:      124, 77, 232;
  --purple-dim:      rgba(124, 77, 232, 0.07);
  --purple-border:   rgba(124, 77, 232, 0.22);

  --yellow:          #d4920a;
  --yellow-rgb:      212, 146, 10;
  --yellow-dim:      rgba(212, 146, 10, 0.08);
  --yellow-border:   rgba(212, 146, 10, 0.25);

  --header-bg:       rgba(248, 249, 252, 0.92);
  --header-border:   rgba(0, 0, 0, 0.08);

  --divider:         rgba(0, 0, 0, 0.08);

  --btn-primary-bg:      var(--accent);
  --btn-primary-text:    #ffffff;
  --btn-outline-bg:      transparent;
  --btn-outline-text:    var(--text);
  --btn-outline-border:  var(--card-border2);
  --btn-outline-hover:   rgba(0, 0, 0, 0.04);

  --shadow-sm:       0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:       0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:       0 12px 40px rgba(0,0,0,0.12);
  --shadow-card:     0 2px 12px rgba(0,0,0,0.07);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }

/* Noise texture - dark only */
body:not(.light-theme)::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  z-index: 0;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes pulseRing {
  0%        { transform: scale(1); opacity: .6; }
  100%      { transform: scale(1.55); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.anim-up          { animation: fadeUp .55s ease both; }
.anim-up--d1      { animation-delay: .10s; }
.anim-up--d2      { animation-delay: .20s; }
.anim-up--d3      { animation-delay: .30s; }
.anim-up--d4      { animation-delay: .40s; }

/* ─── LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────── */
h1, h2, h3, h4,
.heading {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

.text-body  { font-family: var(--font-body); font-size: 15px; color: var(--text2); line-height: 1.75; }
.text-small { font-size: 13px; color: var(--text3); }
.text-xsmall { font-size: 11px; color: var(--text3); letter-spacing: 0.04em; }

/* ─── SECTION LABEL ──────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-label--center { justify-content: center; }
.section-label--center::before { display: none; }

/* ─── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid;
  line-height: 1.4;
}

.badge--green  { color: var(--accent);  background: var(--accent-dim);  border-color: var(--accent-border); }
.badge--blue   { color: var(--blue);    background: var(--blue-dim);    border-color: var(--blue-border); }
.badge--orange { color: var(--orange);  background: var(--orange-dim);  border-color: var(--orange-border); }
.badge--purple { color: var(--purple);  background: var(--purple-dim);  border-color: var(--purple-border); }
.badge--yellow { color: var(--yellow);  background: var(--yellow-dim);  border-color: var(--yellow-border); }
.badge--ghost  { color: var(--text);    background: var(--card);        border-color: var(--card-border2); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
  opacity: 0.92;
}

.btn--outline {
  background: var(--btn-outline-bg);
  color: var(--btn-outline-text);
  border: 1px solid var(--btn-outline-border);
}
.btn--outline:hover {
  background: var(--btn-outline-hover);
  border-color: var(--card-border2);
}

.btn--ghost {
  background: transparent;
  color: var(--text2);
  font-size: 13px;
  padding: 10px 14px;
}
.btn--ghost:hover { color: var(--text); }

/* ─── CARD BASE ──────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: var(--card-border2);
}

body:not(.light-theme) .card--glow:hover {
  box-shadow: var(--shadow-md);
}
body.light-theme .card--glow:hover {
  box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 var(--gutter);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}
.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.logo__text-accent { color: var(--accent); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 7px 13px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__link:hover  { color: var(--text); background: var(--card); }
.nav__link--active { color: var(--text); }

/* Nav right group */
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTA button in header */
.nav__cta {
  padding: 8px 18px;
  border-radius: var(--r-md);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav__cta:hover { opacity: .88; transform: translateY(-1px); }

/* ─── THEME TOGGLE BUTTON ────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text2);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--card-border2);
  background: var(--card-hover);
}
.theme-toggle__icon {
  font-size: 14px;
  line-height: 1;
}
.theme-toggle__track {
  width: 30px;
  height: 16px;
  border-radius: 8px;
  background: var(--card-border2);
  position: relative;
  transition: background 0.25s ease;
  flex-shrink: 0;
}
body.light-theme .theme-toggle__track {
  background: var(--accent);
}
.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text2);
  transition: transform 0.25s ease, background 0.25s ease;
}
body.light-theme .theme-toggle__thumb {
  transform: translateX(14px);
  background: #fff;
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 96px var(--gutter) 72px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
}
body:not(.light-theme) .hero__glow {
  background: radial-gradient(ellipse at center,
    rgba(var(--accent-rgb), 0.10) 0%,
    rgba(var(--blue-rgb), 0.06) 40%,
    transparent 68%);
}
body.light-theme .hero__glow {
  background: radial-gradient(ellipse at center,
    rgba(var(--accent-rgb), 0.06) 0%,
    rgba(var(--blue-rgb), 0.04) 40%,
    transparent 68%);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  flex-shrink: 0;
}
.hero__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: pulseRing 1.9s ease-out infinite;
}
.hero__eyebrow-text {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
  font-weight: 400;
}

/* Hero visual panel */
.hero__visual {
  border-radius: var(--r-xl);
  padding: 22px;
  animation: float 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
body:not(.light-theme) .hero__visual {
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md),
              inset 0 1px 0 rgba(255,255,255,0.06);
}
body.light-theme .hero__visual {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-md);
}

body:not(.light-theme) .hero__visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), transparent 50%, rgba(var(--blue-rgb), 0.15));
  pointer-events: none;
  z-index: -1;
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.visual-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visual-plugin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  border: 1px solid var(--card-border);
  background: var(--bg3);
  margin-bottom: 7px;
  transition: border-color 0.2s;
}
.visual-plugin:hover { border-color: var(--card-border2); }

.visual-plugin__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.visual-plugin__icon--green  { background: rgba(var(--accent-rgb), 0.12); }
.visual-plugin__icon--blue   { background: rgba(var(--blue-rgb),   0.12); }
.visual-plugin__icon--orange { background: rgba(var(--orange-rgb), 0.12); }
.visual-plugin__icon--purple { background: rgba(var(--purple-rgb), 0.12); }

.visual-plugin__name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.visual-plugin__cat {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}
.visual-plugin__stat { margin-left: auto; text-align: right; }
.visual-plugin__stat-num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}
.visual-plugin__stat-num--green  { color: var(--accent); }
.visual-plugin__stat-num--blue   { color: var(--blue); }
.visual-plugin__stat-num--orange { color: var(--orange); }
.visual-plugin__stat-num--purple { color: var(--purple); }
.visual-plugin__stat-label { font-size: 10px; color: var(--text3); }

/* ════════════════════════════════════════════════════════
   TRUSTED BAR
════════════════════════════════════════════════════════ */
.trusted {
  padding: 26px var(--gutter);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg2);
  transition: background 0.3s ease;
}
.trusted__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trusted__label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text4);
  text-transform: uppercase;
  white-space: nowrap;
}
.trusted__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trusted__logo {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 0.03em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.trusted__logo:hover { opacity: 1; }

/* ════════════════════════════════════════════════════════
   FEATURED PLUGINS SECTION
════════════════════════════════════════════════════════ */
.plugins {
  padding: 88px var(--gutter);
}
.plugins__head {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.plugins__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 500px;
  color: var(--text);
}
.plugins__sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
  max-width: 330px;
  text-align: right;
}

.plugins__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plugins__grid .plugin-card:first-child {
  grid-column: span 2;
}

/* Plugin Card */
.plugin-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: 26px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.plugin-card:hover {
  border-color: var(--card-border2);
  transform: translateY(-3px);
}
body:not(.light-theme) .plugin-card:hover { box-shadow: var(--shadow-md); }
body.light-theme      .plugin-card:hover { box-shadow: var(--shadow-md); }

/* Accent strip on top */
.plugin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.plugin-card:hover::before { opacity: 1; }
.plugin-card--green::before  { background: linear-gradient(90deg, var(--accent), transparent); }
.plugin-card--blue::before   { background: linear-gradient(90deg, var(--blue), transparent); }
.plugin-card--orange::before { background: linear-gradient(90deg, var(--orange), transparent); }
.plugin-card--purple::before { background: linear-gradient(90deg, var(--purple), transparent); }
.plugin-card--yellow::before { background: linear-gradient(90deg, var(--yellow), transparent); }

/* Bottom glow gradient */
.plugin-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.plugin-card:hover::after { opacity: 1; }
.plugin-card--green::after  { background: linear-gradient(to top, rgba(var(--accent-rgb), 0.05), transparent); }
.plugin-card--blue::after   { background: linear-gradient(to top, rgba(var(--blue-rgb),   0.05), transparent); }
.plugin-card--orange::after { background: linear-gradient(to top, rgba(var(--orange-rgb), 0.05), transparent); }
.plugin-card--purple::after { background: linear-gradient(to top, rgba(var(--purple-rgb), 0.05), transparent); }
.plugin-card--yellow::after { background: linear-gradient(to top, rgba(var(--yellow-rgb), 0.05), transparent); }

.plugin-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.plugin-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.plugin-card__icon--green  { background: rgba(var(--accent-rgb), 0.12); }
.plugin-card__icon--blue   { background: rgba(var(--blue-rgb),   0.12); }
.plugin-card__icon--orange { background: rgba(var(--orange-rgb), 0.12); }
.plugin-card__icon--purple { background: rgba(var(--purple-rgb), 0.12); }
.plugin-card__icon--yellow { background: rgba(var(--yellow-rgb), 0.12); }

.plugin-card__free {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 9px;
  border-radius: 100px;
}

.plugin-card__name {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
  color: var(--text);
}
.plugin-card__desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.plugin-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.plugin-card__cta {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}
.plugin-card:hover .plugin-card__cta { gap: 8px; }

/* ════════════════════════════════════════════════════════
   CATEGORIES
════════════════════════════════════════════════════════ */
.categories {
  padding: 80px var(--gutter);
  background: var(--bg2);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  transition: background 0.3s ease;
}
.categories__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.categories__head {
  text-align: center;
  margin-bottom: 48px;
}
.categories__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 11px;
  color: var(--text);
}
.categories__sub {
  font-size: 15px;
  color: var(--text2);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}
.categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-card {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  border-color: var(--card-border2);
  transform: translateY(-4px);
  background: var(--bg);
}
body.light-theme .cat-card:hover { box-shadow: var(--shadow-md); }

.cat-card__icon { font-size: 30px; margin-bottom: 11px; }
.cat-card__name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.cat-card__count { font-size: 11px; color: var(--text3); }

.cat-card__line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 0;
}
.cat-card--green:hover  .cat-card__line { background: var(--accent);  transform: scaleX(1); }
.cat-card--orange:hover .cat-card__line { background: var(--orange);  transform: scaleX(1); }
.cat-card--blue:hover   .cat-card__line { background: var(--blue);    transform: scaleX(1); }
.cat-card--orange2:hover .cat-card__line { background: var(--orange); transform: scaleX(1); }
.cat-card--purple:hover .cat-card__line { background: var(--purple);  transform: scaleX(1); }

/* ════════════════════════════════════════════════════════
   WHY CHOOSE US
════════════════════════════════════════════════════════ */
.why { padding: 88px var(--gutter); }
.why__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--text);
}
.why__title-accent { color: var(--accent); }
.why__desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.72;
  margin-bottom: 32px;
}
.why__features { display: flex; flex-direction: column; gap: 10px; }
.why__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 17px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, background 0.2s;
}
.why__feature:hover { border-color: var(--card-border2); background: var(--card-hover); }
.why__feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.why__feature-icon--green  { background: rgba(var(--accent-rgb), 0.12); }
.why__feature-icon--blue   { background: rgba(var(--blue-rgb),   0.12); }
.why__feature-icon--purple { background: rgba(var(--purple-rgb), 0.12); }
.why__feature-icon--yellow { background: rgba(var(--yellow-rgb), 0.12); }

.why__feature-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.why__feature-desc { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* Metrics */
.why__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.metric-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: border-color 0.2s;
}
.metric-card:hover { border-color: var(--card-border2); }
.metric-card--span { grid-column: span 2; }
.metric-card--highlight {
  border-color: var(--accent-border);
  background: var(--accent-dim);
}

.metric-card__num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}
.metric-card__num--green  { color: var(--accent); }
.metric-card__num--blue   { color: var(--blue); }
.metric-card__num--purple { color: var(--purple); }
.metric-card__num--yellow { color: var(--yellow); }

.metric-card__label { font-size: 13px; color: var(--text2); }
.metric-card__bar {
  height: 5px;
  background: var(--bg3);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}
.metric-card__fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
.metric-card__quote {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}
.metric-card__attribution { font-size: 12px; color: var(--text3); }

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about {
  padding: 80px var(--gutter);
  background: var(--bg2);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  transition: background 0.3s ease;
}
.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 80px;
  align-items: center;
}
.about__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 16px;
  color: var(--text);
}
.about__text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.78;
  margin-bottom: 13px;
}
.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.about__value {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-sm);
  padding: 6px 13px;
  transition: border-color 0.2s, color 0.2s;
}
.about__value:hover { border-color: var(--card-border2); color: var(--text); }

.about__team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.team-card {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.team-card:hover { border-color: var(--card-border2); }
.team-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.team-card__avatar--green  { background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.team-card__avatar--blue   { background: rgba(var(--blue-rgb),   0.14); color: var(--blue); }
.team-card__avatar--purple { background: rgba(var(--purple-rgb), 0.14); color: var(--purple); }
.team-card__avatar--yellow { background: rgba(var(--yellow-rgb), 0.14); color: var(--yellow); }

.team-card__name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.team-card__role { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════ */
.testimonials { padding: 88px var(--gutter); }
.testimonials__inner { max-width: var(--max); margin: 0 auto; }
.testimonials__head { text-align: center; margin-bottom: 48px; }
.testimonials__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--text);
}
.testimonials__sub { font-size: 15px; color: var(--text2); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: 26px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
  border-color: var(--card-border2);
}
body.light-theme .testi-card:hover { box-shadow: var(--shadow-sm); }

.testi-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 14px;
}
.testi-card__text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.72;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-card__text::before { content: '\201C'; }
.testi-card__text::after  { content: '\201D'; }
.testi-card__author { display: flex; align-items: center; gap: 11px; }
.testi-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-card__avatar--green  { background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.testi-card__avatar--blue   { background: rgba(var(--blue-rgb),   0.14); color: var(--blue); }
.testi-card__avatar--orange { background: rgba(var(--orange-rgb), 0.14); color: var(--orange); }

.testi-card__name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.testi-card__handle { font-size: 12px; color: var(--text3); }

/* ════════════════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════════════════ */
.cta-section {
  padding: 80px var(--gutter);
  background: var(--bg2);
  border-top: 1px solid var(--divider);
  transition: background 0.3s ease;
}
.cta-section__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center,
    rgba(var(--accent-rgb), 0.08) 0%,
    transparent 60%);
  pointer-events: none;
}
body.light-theme .cta-section__glow { opacity: 0.5; }

.cta-section__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.1;
  color: var(--text);
}
.cta-section__desc {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 32px;
}
.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-section__note { font-size: 12px; color: var(--text3); margin-top: 16px; }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  padding: 60px var(--gutter) 32px;
  border-top: 1px solid var(--divider);
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__top {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}
.footer__brand .logo { margin-bottom: 13px; }
.footer__tagline { font-size: 13px; color: var(--text3); line-height: 1.65; margin-bottom: 18px; }
.footer__social { display: flex; gap: 7px; }
.footer__social-link {
  width: 33px; height: 33px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--text2);
  transition: border-color 0.2s, color 0.2s;
}
.footer__social-link:hover { border-color: var(--card-border2); color: var(--text); }

.footer__col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__link { font-size: 13.5px; color: var(--text2); transition: color 0.2s; }
.footer__link:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: var(--text3); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: 13px; color: var(--text3); transition: color 0.2s; }
.footer__legal a:hover { color: var(--text2); }

/* ════════════════════════════════════════════════════════
   BREADCRUMB  (detail page)
════════════════════════════════════════════════════════ */
.breadcrumb {
  padding: 13px var(--gutter);
  border-bottom: 1px solid var(--divider);
  background: var(--bg2);
  transition: background 0.3s ease;
}
.breadcrumb__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text3);
}
.breadcrumb__link { color: var(--text2); transition: color 0.2s; }
.breadcrumb__link:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text4); }
.breadcrumb__current { color: var(--text); font-weight: 500; }

/* ════════════════════════════════════════════════════════
   PLUGIN HERO  (detail page)
════════════════════════════════════════════════════════ */
.plugin-hero {
  padding: 60px var(--gutter) 0;
  position: relative;
  overflow: hidden;
}
.plugin-hero__glow {
  position: absolute;
  top: -100px; right: -120px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(var(--accent-rgb), 0.07) 0%, transparent 68%);
  pointer-events: none;
}
body.light-theme .plugin-hero__glow { opacity: 0.5; }

.plugin-hero__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
  position: relative; z-index: 1;
}

.plugin-hero__category { margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.plugin-hero__title-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.plugin-hero__icon {
  width: 62px; height: 62px;
  border-radius: var(--r-lg);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; flex-shrink: 0;
}
.plugin-hero__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}
.plugin-hero__tagline {
  font-size: 17px; color: var(--text2); line-height: 1.65;
  margin-bottom: 26px; max-width: 560px;
}
.plugin-hero__meta {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.plugin-hero__meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text2);
}
.plugin-hero__meta-icon { font-size: 15px; }
.plugin-hero__meta strong { color: var(--text); font-weight: 600; }
.plugin-hero__actions {
  display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  padding-bottom: 48px; border-bottom: 1px solid var(--divider);
}

/* ─── PURCHASE CARD ──────────────────────────────────────── */
.purchase-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: 26px;
  position: sticky;
  top: 84px;
  transition: border-color 0.2s;
}
body:not(.light-theme) .purchase-card {
  box-shadow: var(--shadow-md),
              inset 0 1px 0 rgba(255,255,255,0.05);
}
body.light-theme .purchase-card { box-shadow: var(--shadow-md); }

.purchase-card__label {
  font-family: var(--font-head);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 6px;
}
.purchase-card__price {
  font-family: var(--font-head);
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px;
  color: var(--text);
}
.purchase-card__price sup { font-size: 20px; vertical-align: top; margin-top: 6px; }
.purchase-card__price-period { font-size: 14px; font-weight: 400; color: var(--text2); }
.purchase-card__note { font-size: 12px; color: var(--text3); margin-bottom: 18px; }
.purchase-card__divider { height: 1px; background: var(--divider); margin: 16px 0; }
.purchase-card__includes {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 10px;
}
.purchase-card__feature {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text2); margin-bottom: 9px; line-height: 1.4;
}
.purchase-card__feature-check { color: var(--accent); font-size: 13px; flex-shrink: 0; margin-top: 1px; }

.purchase-card__btn {
  display: block; width: 100%;
  padding: 13px; text-align: center;
  border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none;
  transition: all 0.2s ease;
  margin-bottom: 9px;
}
.purchase-card__btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.purchase-card__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
  opacity: 0.92;
}
.purchase-card__btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border2);
}
.purchase-card__btn--outline:hover { background: var(--btn-outline-hover); }

.purchase-card__guarantee {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text3);
  justify-content: center; margin-top: 12px; text-align: center;
}

/* ════════════════════════════════════════════════════════
   PLUGIN BODY LAYOUT  (detail page)
════════════════════════════════════════════════════════ */
.plugin-body {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.plugin-body__content { padding: 48px 0; }

/* ─── SCREENSHOT PLACEHOLDER ─────────────────────────────── */
.screenshot {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 52px;
}
.screenshot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--divider);
  background: var(--bg3);
}
.screenshot__dot { width: 10px; height: 10px; border-radius: 50%; }
.screenshot__url {
  margin-left: 9px; font-size: 12px; color: var(--text3);
  background: var(--bg); border: 1px solid var(--card-border);
  border-radius: 5px; padding: 2px 11px;
  font-family: 'Courier New', monospace;
}
.screenshot__body {
  padding: 40px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
body:not(.light-theme) .screenshot__body {
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb), 0.03),
    rgba(var(--blue-rgb),   0.03));
}
body.light-theme .screenshot__body {
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
}
.screenshot__placeholder { text-align: center; color: var(--text3); }
.screenshot__placeholder-icon { font-size: 44px; margin-bottom: 11px; }
.screenshot__placeholder-text { font-size: 13px; }

/* ─── CONTENT SECTIONS  (detail) ────────────────────────── */
.overview { margin-bottom: 52px; }
.overview__title {
  font-family: var(--font-head);
  font-size: 23px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 14px; color: var(--text);
}
.overview__text { font-size: 15px; color: var(--text2); line-height: 1.78; margin-bottom: 13px; }

/* Features */
.features { margin-bottom: 52px; }
.features__title {
  font-family: var(--font-head);
  font-size: 23px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 22px; color: var(--text);
}
.features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 19px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-item:hover {
  border-color: var(--card-border2);
}
body.light-theme .feature-item:hover { box-shadow: var(--shadow-sm); }
.feature-item__icon { font-size: 22px; margin-bottom: 10px; }
.feature-item__title {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 5px;
}
.feature-item__desc { font-size: 13px; color: var(--text2); line-height: 1.58; }

/* Compare table */
.compare { margin-bottom: 52px; }
.compare__title {
  font-family: var(--font-head); font-size: 23px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 7px; color: var(--text);
}
.compare__sub { font-size: 14px; color: var(--text2); margin-bottom: 22px; }
.compare__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare__table th {
  padding: 11px 15px; text-align: left;
  background: var(--bg3); border: 1px solid var(--divider);
  font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--text);
}
.compare__table th.col-pro { color: var(--accent); }
.compare__table td {
  padding: 11px 15px; border: 1px solid var(--divider);
  vertical-align: middle; color: var(--text2);
  transition: background 0.15s;
}
.compare__table tr:hover td { background: var(--card); }
.compare__table .col-feature { font-weight: 600; color: var(--text); }
.compare__table .col-free, .compare__table .col-pro { text-align: center; }
.compare__table .yes     { color: var(--accent);  font-size: 17px; }
.compare__table .no      { color: var(--text4);   font-size: 17px; }
.compare__table .partial { color: var(--yellow);  font-size: 12px; font-weight: 600; }

/* Use cases */
.use-cases { margin-bottom: 52px; }
.use-cases__title {
  font-family: var(--font-head); font-size: 23px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 22px; color: var(--text);
}
.use-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.use-case-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: border-color 0.2s;
}
.use-case-card:hover { border-color: var(--card-border2); }
.use-case-card__icon { font-size: 26px; margin-bottom: 10px; }
.use-case-card__title {
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.use-case-card__desc { font-size: 12px; color: var(--text2); line-height: 1.58; }

/* ─── PRICING  (detail page) ─────────────────────────────── */
.pricing { margin-bottom: 52px; }
.pricing__title {
  font-family: var(--font-head); font-size: 28px; font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 8px; text-align: center; color: var(--text);
}
.pricing__sub { font-size: 14px; color: var(--text2); margin-bottom: 32px; text-align: center; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.price-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-xl);
  padding: 26px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.price-card:hover { border-color: var(--card-border2); }
body.light-theme .price-card:hover { box-shadow: var(--shadow-md); }

.price-card--popular {
  border-color: var(--accent-border);
}
body:not(.light-theme) .price-card--popular {
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.07), var(--card));
}
body.light-theme .price-card--popular {
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.04), var(--card));
  box-shadow: 0 0 0 1px var(--accent-border), var(--shadow-sm);
}

.price-card__popular-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--btn-primary-text);
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.04em;
}

.price-card__tier {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 8px;
}
.price-card__price {
  font-family: var(--font-head); font-size: 34px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; color: var(--text);
}
.price-card__price sup { font-size: 17px; vertical-align: top; margin-top: 5px; }
.price-card__period { font-size: 13px; color: var(--text2); margin-bottom: 5px; }
.price-card__desc { font-size: 12px; color: var(--text3); margin-bottom: 18px; line-height: 1.5; }
.price-card__divider { height: 1px; background: var(--divider); margin-bottom: 14px; }
.price-card__feature {
  display: flex; gap: 7px; font-size: 12px;
  color: var(--text2); margin-bottom: 8px; align-items: flex-start;
}
.price-card__feature-check { color: var(--accent); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.price-card__feature-na    { color: var(--text4);  flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.price-card__feature-na-text { color: var(--text4); }

.price-card__btn {
  display: block; width: 100%; margin-top: 18px;
  padding: 11px; text-align: center;
  border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all 0.2s ease;
}
.price-card__btn--free {
  background: transparent; color: var(--text);
  border: 1px solid var(--card-border2);
}
.price-card__btn--free:hover { background: var(--btn-outline-hover); }
.price-card__btn--primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}
.price-card__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--accent-glow);
  opacity: 0.92;
}
.price-card__btn--outline {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-border);
}
.price-card__btn--outline:hover { background: var(--accent-dim); }

/* ─── REQUIREMENTS ──────────────────────────────────────── */
.requirements {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 52px;
}
.requirements__title {
  font-family: var(--font-head); font-size: 16px; font-weight: 600;
  color: var(--text); margin-bottom: 16px;
}
.requirements__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.requirements__item { font-size: 13px; color: var(--text2); }
.requirements__item strong {
  display: block; color: var(--text3); font-family: var(--font-head);
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 2px;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { margin-bottom: 52px; }
.faq__title {
  font-family: var(--font-head); font-size: 23px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 22px; color: var(--text);
}
.faq__item {
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 8px;
  transition: border-color 0.2s;
}
.faq__item.open { border-color: var(--card-border2); }
.faq__q {
  padding: 15px 18px; font-weight: 600; font-size: 14px;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; user-select: none; color: var(--text);
  transition: background 0.2s;
}
.faq__q:hover { background: var(--card); }
.faq__icon {
  color: var(--text3); font-size: 20px; transition: transform 0.2s, color 0.2s;
  line-height: 1; flex-shrink: 0;
}
.faq__item.open .faq__icon { transform: rotate(45deg); color: var(--accent); }
.faq__a {
  display: none;
  padding: 0 18px 15px;
  font-size: 14px; color: var(--text2); line-height: 1.72;
  border-top: 1px solid var(--divider);
}
.faq__item.open .faq__a { display: block; padding-top: 13px; }

/* ─── SIDEBAR BOXES ──────────────────────────────────────── */
.sidebar-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.sidebar-box__title {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 12px;
}
.sidebar-box__item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 8px 0;
  border-bottom: 1px solid var(--divider);
}
.sidebar-box__item:last-child { border-bottom: none; }
.sidebar-box__key { color: var(--text2); }
.sidebar-box__val {
  font-family: var(--font-head); font-size: 12px;
  font-weight: 600; color: var(--text);
}
.sidebar-box__val--green { color: var(--accent); }
.sidebar-box__val--link  { color: var(--blue); }

.related-plugin {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--divider);
  cursor: pointer; transition: opacity 0.2s;
}
.related-plugin:last-child { border-bottom: none; }
.related-plugin:hover { opacity: 0.78; }
.related-plugin__icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.related-plugin__icon--orange { background: rgba(var(--orange-rgb), 0.12); }
.related-plugin__icon--blue   { background: rgba(var(--blue-rgb),   0.12); }
.related-plugin__icon--purple { background: rgba(var(--purple-rgb), 0.12); }

.related-plugin__name {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--text);
}
.related-plugin__cat { font-size: 11px; color: var(--text3); margin-top: 1px; }
.related-plugin__arrow { margin-left: auto; color: var(--text3); font-size: 14px; }

/* ─── CTA STRIP  (detail page) ───────────────────────────── */
.cta-strip {
  padding: 80px var(--gutter);
  background: var(--bg2);
  border-top: 1px solid var(--divider);
  text-align: center;
  transition: background 0.3s ease;
}
.cta-strip__inner { max-width: 680px; margin: 0 auto; }
.cta-strip__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px); font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 13px; color: var(--text);
}
.cta-strip__desc {
  font-size: 15px; color: var(--text2); line-height: 1.65; margin-bottom: 28px;
}
.cta-strip__actions {
  display: flex; justify-content: center; gap: 11px; flex-wrap: wrap;
}
.cta-strip__note { font-size: 12px; color: var(--text3); margin-top: 14px; }

/* Table column widths (detail page) */
.compare__table .col-feature-head { width: 50%; }
.compare__table .col-free          { width: 25%; }
.compare__table .col-pro           { width: 25%; }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero__inner    { grid-template-columns: 1fr; }
  .hero__visual   { display: none; }
  .plugins__grid  { grid-template-columns: 1fr 1fr; }
  .plugins__grid .plugin-card:first-child { grid-column: span 2; }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .why__inner     { grid-template-columns: 1fr; gap: 40px; }
  .about__inner   { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__top    { grid-template-columns: 1fr 1fr; }
  .plugins__head  { flex-direction: column; align-items: flex-start; }
  .plugins__sub   { text-align: left; max-width: 100%; }
  .plugin-hero__inner { grid-template-columns: 1fr; }
  .plugin-body    { grid-template-columns: 1fr; }
  .plugin-body__sidebar { order: -1; }
  .purchase-card  { position: static; }
  .pricing__grid  { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .use-cases__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .plugins__grid  { grid-template-columns: 1fr; }
  .plugins__grid .plugin-card:first-child { grid-column: span 1; }
  .categories__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats    { flex-wrap: wrap; gap: 20px; }
  .footer__top    { grid-template-columns: 1fr; }
  .about__team    { grid-template-columns: 1fr; }
  .use-cases__grid { grid-template-columns: 1fr; }
  .requirements__grid { grid-template-columns: 1fr; }
  .theme-toggle__label { display: none; }
}
