:root {
  --bg-page: #030303;
  --bg-card: #0a0a0c;
  --bg-inset: #111115;
  --border-subtle: #1c1c21;
  --border-hover: #2e2e38;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #86868f;
  --accent-green: #00ff66;
  --accent-green-hover: #00e55c;
  --accent-green-tint: rgba(0, 255, 102, 0.08);
  --accent-green-border: rgba(0, 255, 102, 0.25);
  --radius: 12px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-page); color: var(--text-primary); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; max-width: 100%; overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
.mono { font-family: var(--font-mono); }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* ANNOUNCEMENT */
.announcement-bar { background: #08080a; border-bottom: 1px solid var(--border-subtle); padding: 0.65rem 1rem; font-size: 0.75rem; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; text-align: center; }
.pulse-dot { width: 7px; height: 7px; background: var(--accent-green); border-radius: 50%; display: inline-block; position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-green); animation: pulse 1.8s infinite cubic-bezier(.66,0,0,1); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
.announcement-bar strong { color: var(--text-primary); }
.announcement-bar a { color: var(--accent-green); text-decoration: underline; margin-left: 0.2rem; font-weight: 600; }
/* NAV */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(3,3,3,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
.nav-container { max-width: 1240px; margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.brand-logo img { height: 20px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; font-size: 0.85rem; font-weight: 500; }
.nav-links a { color: var(--text-secondary); transition: color .15s; }
.nav-links a:hover { color: var(--text-primary); }
.social-mini { display: flex; align-items: center; gap: 1.2rem; color: var(--text-muted); }
.social-mini a { display: flex; align-items: center; justify-content: center; transition: color .15s, transform .15s; color: var(--text-secondary); }
.social-mini a:hover { color: var(--accent-green); transform: translateY(-1px); }
/* LAYOUT */
.page-wrapper { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4.5rem 0; border-bottom: 1px solid var(--border-subtle); }
.section-title-wrap { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2.5rem; }
.section-title-wrap h2 { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; }
.section-title-wrap .count { font-size: 0.75rem; color: var(--text-muted); }
/* HERO */
.hero-header { padding: 5.5rem 0 3.5rem; text-align: center; max-width: 820px; margin: 0 auto; border-bottom: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; color: var(--text-secondary); background: #08080a; border: 1px solid var(--border-subtle); padding: 0.4rem 0.9rem; border-radius: 100px; margin-bottom: 2rem; }
.hero-title { font-size: clamp(3rem, 7vw, 5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 1.5rem; }
.hero-title .text-green { color: var(--accent-green); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 620px; margin: 0 auto 2.2rem; }
.btn-hero { display: inline-block; background: #fff; color: #000; font-weight: 800; font-size: 0.95rem; padding: 1rem 2.2rem; border-radius: var(--radius); transition: all .2s; }
.btn-hero:hover { background: #e4e4e7; box-shadow: 0 0 25px rgba(255,255,255,0.15); transform: translateY(-1px); }
.hero-micro { color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }
/* BUNDLE */
.bundle-spotlight { padding-top: 0; }
.bundle-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); display: grid; grid-template-columns: 1fr; overflow: hidden; transition: border-color .2s; }
.bundle-card:hover { border-color: var(--border-hover); }
@media (min-width: 900px) { .bundle-card { grid-template-columns: 1.1fr 1fr; } }
.bundle-media { position: relative; background: var(--bg-inset); min-height: 320px; }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.save-badge { position: absolute; top: 1.2rem; left: 1.2rem; background: var(--accent-green); color: #000; font-weight: 800; font-size: 0.7rem; padding: 0.35rem 0.65rem; border-radius: 4px; }
.bundle-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.card-header h2 { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.02em; }
.price-tag { text-align: right; display: flex; align-items: baseline; gap: 0.6rem; }
.price-tag .amount { font-size: 2.2rem; font-weight: 900; color: var(--accent-green); letter-spacing: -0.03em; }
.price-tag .was { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.bundle-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.8rem; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; font-size: 0.8rem; color: var(--text-secondary); margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); }
/* BUTTONS */
.btn-primary { display: block; width: 100%; background: #fff; color: #000; font-weight: 800; font-size: 0.9rem; text-align: center; padding: 1rem 1.2rem; border-radius: var(--radius); transition: background .15s; }
.btn-primary:hover { background: #e4e4e7; }
.btn-secondary { display: block; width: 100%; background: transparent; border: 1px solid var(--border-subtle); color: var(--text-primary); font-weight: 700; font-size: 0.88rem; text-align: center; padding: 0.9rem 1rem; border-radius: var(--radius); transition: all .15s; }
.btn-secondary:hover { border-color: var(--text-secondary); background: rgba(255,255,255,0.03); }
/* SOCIAL PROOF */
.social-proof { padding: 3.5rem 0; }
.proof-header { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.08em; font-weight: 700; margin-bottom: 1.8rem; }
.testimonial-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.testimonial-card { flex: 1 1 300px; background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 1.8rem; border-radius: var(--radius); }
.testimonial-card .quote { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
/* PLUGIN DIRECTORY */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); gap: 2.2rem; align-items: start; }
@media (max-width: 540px) { .plugin-grid { grid-template-columns: 1fr; } }
.plugin-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.plugin-card:hover { border-color: var(--border-hover); }
.plugin-preview { width: 100%; height: 260px; background: var(--bg-inset); border-bottom: 1px solid var(--border-subtle); overflow: hidden; }
.plugin-preview img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.plugin-card:hover .plugin-preview img { transform: scale(1.02); }
.plugin-body { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.plugin-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.plugin-type { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.plugin-title-group h3 { font-size: 1.9rem; font-weight: 900; display: inline-block; letter-spacing: -0.02em; }
.plugin-top .ver { font-size: 0.78rem; color: var(--text-muted); margin-left: 0.4rem; }
.plugin-price { font-size: 1.9rem; font-weight: 900; color: var(--accent-green); }
.plugin-tagline { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.info-block { margin-bottom: 1.3rem; }
.info-block h4 { font-size: 0.72rem; color: var(--text-muted); font-weight: 800; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.info-block ul { list-style: none; }
.info-block li { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 0.45rem; padding-left: 1.2rem; position: relative; }
.info-block li::before { content: "—"; position: absolute; left: 0; color: var(--text-muted); }
.coming-soon { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1.3rem; }
/* CHANGELOG — padding moved onto summary itself so the whole visible pill is clickable */
.changelog-details { background: var(--bg-inset); border: 1px solid var(--border-subtle); border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.82rem; overflow: hidden; }
.changelog-details summary { cursor: pointer; font-weight: 700; color: var(--text-primary); font-size: 0.78rem; display: flex; justify-content: space-between; align-items: center; list-style: none; padding: 0.8rem 1rem; }
.changelog-details summary::-webkit-details-marker { display: none; }
.changelog-details summary::after { content: "+"; color: var(--accent-green); font-weight: bold; }
.changelog-details[open] summary::after { content: "−"; }
.changelog-body { padding: 0.8rem 1rem 0.2rem; border-top: 1px solid var(--border-subtle); color: var(--text-secondary); }
.changelog-item { margin-bottom: 0.75rem; }
.changelog-item strong { color: var(--accent-green); display: block; font-size: 0.75rem; margin-bottom: 0.15rem; }
.plugin-actions { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.plugin-links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.9rem; }
.plugin-links a { font-size: 0.78rem; color: var(--text-muted); text-decoration: underline; }
.plugin-links a:hover { color: var(--text-secondary); }
/* COMMUNITY */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: start; }
.comm-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.comm-card.highlighted { border-color: var(--accent-green-border); }
.comm-image { width: 100%; height: 220px; background: var(--bg-inset); overflow: hidden; border-bottom: 1px solid var(--border-subtle); }
.comm-image img { width: 100%; height: 100%; object-fit: cover; }
.comm-content { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.badge-free, .badge-patreon { font-size: 0.68rem; padding: 0.35rem 0.65rem; border-radius: 4px; display: inline-block; margin-bottom: 1rem; width: fit-content; font-weight: 800; }
.badge-free { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border-subtle); }
.badge-patreon { background: var(--accent-green-tint); color: var(--accent-green); border: 1px solid var(--accent-green-border); }
.comm-content h3 { font-size: 1.7rem; font-weight: 900; margin-bottom: 0.5rem; }
.comm-content p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.3rem; }
.comm-bullets { list-style: none; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1.8rem; }
.comm-bullets li { margin-bottom: 0.6rem; }
.comm-bullets strong { color: var(--text-primary); }
/* ABOUT & NEWSLETTER */
.about-newsletter-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; align-items: start; }
.about-block, .newsletter-block { background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 2.5rem; border-radius: var(--radius); }
.label { font-size: 0.7rem; color: var(--accent-green); font-weight: 800; letter-spacing: 0.05em; display: block; margin-bottom: 1rem; }
.about-block h2 { font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.35; font-weight: 900; }
.about-block p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.newsletter-block h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.newsletter-block p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; background: var(--bg-inset); padding: 0.35rem; border: 1px solid var(--border-subtle); border-radius: 10px; transition: border-color .15s; }
.newsletter-form:focus-within { border-color: var(--accent-green); }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; padding: 0.6rem 0.8rem; background: transparent; border: none; color: var(--text-primary); font-size: 0.88rem; font-family: var(--font-sans); }
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--text-muted); }
.btn-form-submit { background: #fff; color: #000; border: none; font-weight: 800; font-size: 0.82rem; padding: 0.6rem 1.2rem; border-radius: 7px; cursor: pointer; transition: background .15s; white-space: nowrap; }
.btn-form-submit:hover { background: #e4e4e7; }
/* FOOTER */
.legal-footer { padding: 4rem 0 6rem; color: var(--text-muted); font-size: 0.78rem; border-bottom: none; }
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.legal-col h4 { color: var(--text-secondary); margin-bottom: 0.8rem; font-size: 0.82rem; font-weight: 700; }
.legal-col p { line-height: 1.6; }
.legal-col a { color: var(--text-secondary); text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-subtle); font-size: 0.75rem; color: var(--text-muted); }
/* STICKY MOBILE BAR */
.mobile-sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--border-subtle); padding: 0.8rem 1.2rem; display: none; justify-content: space-between; align-items: center; z-index: 999; gap: 0.6rem; }
@media (max-width: 768px) { .mobile-sticky-bar { display: flex; } .legal-footer { padding-bottom: 7rem; } }
.mobile-bar-info { display: flex; flex-direction: column; font-size: 0.85rem; min-width: 0; }
.mobile-bar-info strong { white-space: nowrap; font-size: 0.8rem; }
.mobile-bar-info span { font-family: var(--font-mono); color: var(--accent-green); font-size: 0.82rem; }
.btn-mobile-buy { background: var(--accent-green); color: #000; font-weight: 800; padding: 0.55rem 1rem; border-radius: 8px; font-size: 0.85rem; white-space: nowrap; flex-shrink: 0; }
/* MOBILE */
@media (max-width: 640px) {
  .announcement-bar { display: none; }
  .nav-container { padding: 0.9rem 1rem; }
  .nav-links { display: none; }
  .social-mini { gap: 0.9rem; }
  section { padding: 3rem 0; }
  .hero-header { padding: 3.5rem 0 2.5rem; }
  .hero-badge { font-size: 0.66rem; padding: 0.4rem 0.8rem; text-align: center; white-space: normal; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-subtitle { font-size: 1rem; }
  .bundle-content { padding: 1.6rem; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .price-tag { text-align: left; }
  .meta-grid { grid-template-columns: 1fr; }
  .plugin-body { padding: 1.4rem; }
  .comm-content { padding: 1.6rem; }
  .about-block, .newsletter-block { padding: 1.6rem; }
  .community-grid,
  .about-newsletter-section { grid-template-columns: minmax(0, 1fr); }
  .testimonial-grid { flex-direction: column; }
  .testimonial-card { flex: 0 1 auto; }
}