/* ==========================================================================
   TheFreelance Plugins / WP PowerSuite Pro - Official Website Design System
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(15, 20, 34, 0.75);
  --bg-card-hover: rgba(22, 30, 50, 0.9);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.2);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --accent-blue: #3b82f6;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  --accent-crimson: #ef4444;
  --accent-cyan: #06b6d4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* Background Ambient Gradients */
.ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 80%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 1400px;
  right: -200px;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-item:hover, .nav-item.active { color: #ffffff; }

.nav-cta {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 45px;
}

.btn-primary-hero {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
}

.master-hero-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.15);
  margin-bottom: 60px;
  transition: transform 0.3s;
}

.master-hero-banner:hover { transform: scale(1.008); }
.master-hero-banner img { width: 100%; height: auto; display: block; }

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 80px;
}

.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 900; color: #ffffff; letter-spacing: -1px; }
.stat-label { font-size: 13.5px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* Section Common Styles */
.section-header { text-align: center; max-width: 740px; margin: 0 auto 45px; }
.section-pill {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent-blue); background: rgba(59, 130, 246, 0.1);
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 12px;
}
.section-title { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-muted); }

/* Interactive Live Showcase Section */
.showcase-section {
  padding: 40px 0 90px;
}

.showcase-container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.showcase-nav {
  display: flex;
  overflow-x: auto;
  background: rgba(10, 14, 24, 0.8);
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 12px;
  gap: 8px;
}

.showcase-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.showcase-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.showcase-tab.active {
  color: #ffffff;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.showcase-pane {
  display: none;
  padding: 36px;
}

.showcase-pane.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.showcase-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background: #000;
}

.showcase-media img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.showcase-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.showcase-points {
  list-style: none;
  margin-bottom: 24px;
}

.showcase-points li {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-points li::before {
  content: "✔";
  color: var(--accent-green);
  font-weight: 900;
}

/* Category Filter Tabs */
.filter-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass); color: var(--text-muted);
  padding: 10px 20px; border-radius: var(--radius-full); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.filter-btn.active { background: #ffffff; color: #07090e; border-color: #ffffff; }

/* Plugin Grid & Cards */
.plugin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 90px; }
.plugin-card {
  background: var(--bg-card); backdrop-filter: blur(12px); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; position: relative; overflow: hidden;
}
.plugin-card:hover { transform: translateY(-5px); border-color: var(--border-active); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); }
.plugin-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.plugin-icon-thumb { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-glass); flex-shrink: 0; }
.plugin-icon-thumb img { width: 100%; height: 100%; object-fit: cover; }
.plugin-title { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }
.plugin-cat-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-full); display: inline-block; margin-top: 4px; }
.plugin-tagline { font-size: 14.5px; font-weight: 600; color: #ffffff; margin-bottom: 10px; }
.plugin-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin-bottom: 18px; flex-grow: 1; }
.plugin-features-list { list-style: none; border-top: 1px solid var(--border-glass); padding-top: 14px; margin-bottom: 20px; }
.plugin-features-list li { font-size: 13px; color: #cbd5e1; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.plugin-features-list li::before { content: "✔"; color: var(--accent-green); font-weight: 800; font-size: 12px; }
.plugin-card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-glass); padding-top: 16px; }
.saas-pill { font-size: 12px; color: #fca5a5; background: rgba(239, 68, 68, 0.1); padding: 4px 10px; border-radius: var(--radius-full); }
.btn-card-link { font-size: 13.5px; font-weight: 700; color: var(--accent-blue); display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.btn-card-link:hover { gap: 8px; color: #60a5fa; }

/* Ecosystem & Tech Stack Section */
.eco-section {
  padding: 40px 0 80px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.eco-item {
  background: rgba(15, 20, 34, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.eco-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.4);
}

.eco-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.eco-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.eco-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* SaaS Savings Table */
.savings-section { padding: 60px 0 90px; }
.savings-table-wrap { background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); overflow: hidden; }
.savings-table { width: 100%; border-collapse: collapse; text-align: left; }
.savings-table th, .savings-table td { padding: 16px 24px; border-bottom: 1px solid var(--border-glass); }
.savings-table th { background: rgba(255, 255, 255, 0.03); font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.savings-table td { font-size: 14.5px; }
.price-red { color: #f87171; text-decoration: line-through; font-weight: 600; }
.price-green { color: #4ade80; font-weight: 700; }

/* AppSumo Pricing Tiers */
.pricing-section { padding: 60px 0 90px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card { background: var(--bg-card); backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 36px 30px; position: relative; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: var(--accent-gold); background: rgba(245, 158, 11, 0.05); box-shadow: 0 0 50px rgba(245, 158, 11, 0.15); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #f59e0b, #d97706); color: #07090e; font-size: 11px; font-weight: 900; padding: 4px 14px; border-radius: var(--radius-full); text-transform: uppercase; }
.tier-name { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.tier-sites { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.tier-price-box { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.tier-price { font-size: 46px; font-weight: 900; color: #ffffff; }
.tier-period { font-size: 14px; color: var(--text-muted); }
.tier-features { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.tier-features li { font-size: 14px; color: #cbd5e1; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.tier-features li::before { content: "✔"; color: var(--accent-gold); font-weight: 800; }
.btn-pricing { display: block; text-align: center; padding: 13px 20px; border-radius: var(--radius-full); font-size: 15px; font-weight: 700; transition: all 0.2s; }
.btn-pricing.gold { background: linear-gradient(135deg, #f59e0b, #d97706); color: #07090e; }
.btn-pricing.gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }
.btn-pricing.outline { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-glass); color: #ffffff; }
.btn-pricing.outline:hover { background: rgba(255, 255, 255, 0.12); }

/* FAQ Accordion */
.faq-section { padding: 60px 0 90px; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-glass); background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 24px; font-size: 16.5px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; font-size: 22px; color: var(--accent-gold); }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-muted); line-height: 1.6; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--border-glass); padding: 60px 0 40px; background: #05070a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #ffffff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13.5px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-faint); }

/* Responsive */
@media (max-width: 1024px) {
  .plugin-grid, .pricing-grid, .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .showcase-pane.active { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .plugin-grid, .pricing-grid, .eco-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Sister Ventures / Digital Network Section
   ========================================================================== */
.network-section {
  padding: 80px 0 90px;
  position: relative;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(180deg, transparent 0%, rgba(15, 20, 34, 0.4) 100%);
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.network-card {
  background: rgba(15, 20, 34, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.network-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.network-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(22, 30, 50, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.network-card.shopath:hover { border-color: rgba(249, 115, 22, 0.5); }
.network-card.shopath:hover::before { background: linear-gradient(90deg, #f97316, #ea580c); }

.network-card.socialcraft:hover { border-color: rgba(168, 85, 247, 0.5); }
.network-card.socialcraft:hover::before { background: linear-gradient(90deg, #a855f7, #ec4899); }

.network-card.tfl-news:hover { border-color: rgba(239, 68, 68, 0.5); }
.network-card.tfl-news:hover::before { background: linear-gradient(90deg, #ef4444, #dc2626); }

.network-card.voteraction:hover { border-color: rgba(59, 130, 246, 0.5); }
.network-card.voteraction:hover::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }

.network-logo-box {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.network-logo-box img {
  max-height: 58px;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.25s ease;
}

.network-card:hover .network-logo-box img {
  transform: scale(1.08);
}

.network-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.network-tagline {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.network-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 40px;
}

.network-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.network-card.shopath .network-tagline { color: #f97316; }
.network-card.shopath .network-pill { background: rgba(249, 115, 22, 0.12); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.25); }
.network-card.shopath:hover .network-pill { background: #f97316; color: #fff; }

.network-card.socialcraft .network-tagline { color: #c084fc; }
.network-card.socialcraft .network-pill { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.25); }
.network-card.socialcraft:hover .network-pill { background: #a855f7; color: #fff; }

.network-card.tfl-news .network-tagline { color: #f87171; }
.network-card.tfl-news .network-pill { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }
.network-card.tfl-news:hover .network-pill { background: #ef4444; color: #fff; }

.network-card.voteraction .network-tagline { color: #60a5fa; }
.network-card.voteraction .network-pill { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.network-card.voteraction:hover .network-pill { background: #3b82f6; color: #fff; }

@media (max-width: 1024px) {
  .network-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .network-grid { grid-template-columns: 1fr; }
}
