/* ==========================================================
   AddonLogic Theme — Frontend Styles
   ========================================================== */

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

:root {
  --bg: #07070f;
  --text: rgba(255, 255, 255, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --purple: #7c3aed;
  --blue: #3b82f6;
  --max-w: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; }

/* ==========================================================
   Header
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { font-size: 24px; line-height: 1; }

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.98);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open { display: flex; }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple), transparent);
  top: -150px;
  left: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue), transparent);
  top: -100px;
  right: -80px;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 48px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

.hero-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.hero-search-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.hero-search-input:focus {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .hero { padding: 72px 20px 56px; }
  .hero-stats { gap: 20px; }
}

/* ==========================================================
   Category Tabs
   ========================================================== */
.category-wrap {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.category-tabs:active { cursor: grabbing; }
.category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.cat-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.cat-tab.active {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.5);
  color: #c4b5fd;
}

.cat-icon { font-size: 14px; line-height: 1; }

.cat-count {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 100px;
  min-width: 22px;
  text-align: center;
}

.cat-tab.active .cat-count {
  background: rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
}

/* ==========================================================
   Plugin Grid
   ========================================================== */
.plugin-grid-section { padding: 32px 24px 64px; }

.plugin-grid-inner { max-width: var(--max-w); margin: 0 auto; }

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.plugins-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  padding: 80px 0;
  font-size: 16px;
}

.no-results {
  text-align: center;
  padding: 80px 0;
  color: rgba(255, 255, 255, 0.4);
}

.no-results span { font-size: 48px; display: block; margin-bottom: 16px; }
.no-results p { font-size: 16px; }

/* ==========================================================
   Plugin Card
   ========================================================== */
.plugin-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  overflow: hidden;
}

.plugin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent, #6366f1);
  opacity: 0;
  transition: opacity 0.2s;
}

.plugin-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.plugin-card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #6366f1) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent, #6366f1);
  line-height: 1;
  font-family: system-ui, sans-serif;
}

.card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent, #6366f1);
  background: color-mix(in srgb, var(--accent, #6366f1) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 25%, transparent);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.card-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent, #6366f1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9px;
  transition: opacity 0.2s, transform 0.15s;
  flex: 1;
  justify-content: center;
}

.btn-download:hover { opacity: 0.88; transform: scale(0.98); }

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-details:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================
   Plugin Detail Page
   ========================================================== */
.detail-page {
  padding: 40px 24px 80px;
}

.detail-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.back-link:hover { color: #fff; }

.detail-hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent, #6366f1) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent, #6366f1);
  flex-shrink: 0;
}

.detail-meta { flex: 1; }

.detail-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent, #6366f1);
  background: color-mix(in srgb, var(--accent, #6366f1) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #6366f1) 25%, transparent);
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.detail-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.detail-full-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .detail-body { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
}

.detail-section { margin-bottom: 40px; }

.detail-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-description {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.detail-table td:first-child {
  color: rgba(255, 255, 255, 0.4);
  width: 130px;
  font-weight: 500;
}

.detail-table td:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.detail-table a {
  color: var(--accent, #6366f1);
  word-break: break-all;
}

.install-steps {
  list-style: decimal;
  padding-left: 20px;
}

.install-steps li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.install-steps strong { color: #fff; }

/* Sidebar */
.detail-sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.btn-download-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent, #6366f1);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
  margin-bottom: 12px;
}

.btn-download-lg:hover { opacity: 0.88; transform: scale(0.99); }

.download-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.contact-card h3, .sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact-card > p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.contact-link:last-child { border-bottom: none; }
.contact-link:hover { color: #fff; }

.related-links { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }

.related-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}

.related-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* ==========================================================
   Support Page
   ========================================================== */
.support-page { padding: 40px 24px 80px; }

.support-inner {
  max-width: 800px;
  margin: 0 auto;
}

.support-hero {
  text-align: center;
  margin-bottom: 48px;
}

.support-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.support-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.support-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.support-card.primary {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.08);
}

.support-card:hover { border-color: rgba(255, 255, 255, 0.2); }

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

.support-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  line-height: 1.6;
}

.support-cta {
  display: inline-block;
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.support-cta:hover { color: #fff; }

.support-author {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.support-author strong {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.support-author span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.support-note {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 24px;
}

.support-note h3 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.support-note ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.support-note li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.support-note li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(124, 58, 237, 0.7);
}

/* ==========================================================
   Inner Pages (VS Code, Shopify, Mobile, Desktop)
   ========================================================== */
.inner-page { padding: 40px 24px 80px; }

.inner-page-inner,
.vscode-inner,
.shopify-inner,
.desktop-inner,
.mobile-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.coming-soon-hero {
  text-align: center;
  padding: 60px 0;
}

.coming-soon-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.coming-soon-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.coming-soon-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coming-soon-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: rgba(255, 255, 255, 0.2); }

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

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ==========================================================
   404 Page
   ========================================================== */
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 24px;
}

.error-inner {}

.error-icon { font-size: 64px; margin-bottom: 16px; }

.error-title {
  font-size: 96px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.error-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.btn-back-home {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-back-home:hover {
  background: rgba(124, 58, 237, 0.35);
  border-color: rgba(124, 58, 237, 0.6);
  color: #fff;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 10, 20, 0.8);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================
   WhatsApp Badge
   ========================================================== */
.wa-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-badge:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ==========================================================
   Section Hero Badge (VS Code / Shopify / Desktop / Mobile)
   ========================================================== */
.section-hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.vscode-hero h1, .shopify-hero h1,
.desktop-hero h1, .mobile-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.vscode-hero p, .shopify-hero p,
.desktop-hero p, .mobile-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}

.hero-link {
  color: #c4b5fd;
  transition: color 0.2s;
}
.hero-link:hover { color: #fff; }

.no-products-notice {
  text-align: center;
  padding: 60px 0;
  color: rgba(255,255,255,0.4);
  font-size: 15px;
}
.no-products-notice a { color: #c4b5fd; }

.more-coming {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  margin-top: 40px;
}

/* ==========================================================
   VS Code Cards
   ========================================================== */
.vscode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.vscode-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.vscode-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-icon { font-size: 28px; line-height: 1; }

.product-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 2px 9px;
  border-radius: 100px;
}

.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.product-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.install-btn {
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  margin-top: 4px;
  transition: color 0.2s;
}

.vscode-card:hover .install-btn { color: #fff; }

/* Chrome teaser */
.chrome-teaser {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px 24px;
}

.chrome-teaser-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chrome-icon { font-size: 28px; }

.chrome-teaser-inner h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.chrome-teaser-inner p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.chrome-teaser-inner .coming-soon-badge {
  margin-left: auto;
  flex-shrink: 0;
}

/* ==========================================================
   Shopify App Card
   ========================================================== */
.shopify-app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.app-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.app-icon { font-size: 44px; flex-shrink: 0; line-height: 1; }

.app-header-text { flex: 1; }

.app-header-text h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.app-header-text > p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.app-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-type-badge {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

.app-install-url {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  word-break: break-all;
}
.app-install-url:hover { color: #fff; }

.app-install-btn {
  display: inline-block;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.45);
  color: #c4b5fd;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.app-install-btn:hover {
  background: rgba(124,58,237,0.4);
  color: #fff;
}

.app-description {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.app-screenshots { margin-top: 24px; }

.setup-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.screenshot-wrap { display: flex; flex-direction: column; gap: 8px; }

.app-screenshot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.screenshot-caption {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ==========================================================
   Desktop Product Card
   ========================================================== */
.desktop-product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
}

.desktop-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.desktop-product-icon {
  font-size: 44px;
  flex-shrink: 0;
  line-height: 1;
}

.desktop-product-meta { flex: 1; }

.desktop-version-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.desktop-version-row h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.product-version {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 2px 9px;
  border-radius: 100px;
}

.desktop-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
}

.desktop-screenshot-wrap { margin-bottom: 28px; }

.desktop-screenshot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.desktop-features {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.download-section { margin-top: 28px; }

.download-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  color: #fff;
  min-width: 200px;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}

.download-btn.windows { background: #0078d4; }
.download-btn.mac     { background: #333; border: 1px solid rgba(255,255,255,0.15); }
.download-btn.linux   { background: rgba(255,166,0,0.2); border: 1px solid rgba(255,166,0,0.3); }
.download-btn.disabled { opacity: 0.4; cursor: default; }

.download-btn:not(.disabled):hover { opacity: 0.88; transform: translateY(-1px); }

.download-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.download-platform {
  font-size: 14px;
  font-weight: 700;
}

.download-sub {
  font-size: 12px;
  opacity: 0.7;
}

.download-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ==========================================================
   Mobile App Card
   ========================================================== */
.mobile-apps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  flex-wrap: wrap;
}

.mobile-app-icon { font-size: 40px; flex-shrink: 0; line-height: 1; }

.mobile-app-info { flex: 1; min-width: 200px; }

.mobile-app-info h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.mobile-app-info p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
}

.app-store-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  transition: opacity 0.2s;
  min-width: 150px;
}

.store-btn.android { background: #01875f; }
.store-btn.ios     { background: #333; border: 1px solid rgba(255,255,255,0.15); }
.store-btn:hover   { opacity: 0.85; }

.store-btn-text { display: flex; flex-direction: column; gap: 1px; }
.store-sub  { font-size: 11px; opacity: 0.7; }
.store-name { font-size: 14px; font-weight: 700; }

@media (max-width: 640px) {
  .app-card-header { flex-direction: column; }
  .download-btn { min-width: unset; width: 100%; }
  .mobile-app-card { flex-direction: column; align-items: flex-start; }
}

/* ========================================================
   Premium / License feature
   ======================================================== */

/* Home page Premium/Free filter */
.type-filter {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 14px auto 0;
  flex-wrap: wrap;
}
.type-btn {
  border: 1px solid rgba(127, 127, 127, .28);
  background: transparent;
  color: inherit;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.type-btn:hover { border-color: var(--accent, #6366f1); }
.type-btn.active {
  background: var(--accent, #6366f1);
  border-color: var(--accent, #6366f1);
  color: #fff;
}

/* Premium markers on cards */
.card-premium {
  margin-left: auto;
  font-size: 15px;
  line-height: 1;
}
.plugin-card.is-premium { box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; }
.btn-premium {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
  color: #fff !important;
  border: none !important;
}

/* Premium badge on the single plugin page */
.premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}

/* License form (single plugin page) */
.alt-license-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.alt-license-form input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(127, 127, 127, .35);
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.alt-license-form .btn-download-lg { cursor: pointer; border: none; }
.alt-license-msg {
  font-size: 13px;
  margin: 6px 0 0;
  min-height: 18px;
}
.alt-license-msg--ok { color: #15803d; }
.alt-license-msg--error { color: #b91c1c; }
