:root {
  --bg-main: #0a0714;
  --bg-card: rgba(18, 14, 32, 0.82);
  --bg-card-hover: rgba(28, 20, 50, 0.95);
  --border-neon-pink: #ff2a85;
  --border-neon-cyan: #00f0ff;
  --border-neon-gold: #e5b93b;
  --border-subtle: rgba(255, 42, 133, 0.22);
  --border-cyan-subtle: rgba(0, 240, 255, 0.2);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --glow-pink: 0 0 15px rgba(255, 42, 133, 0.45);
  --glow-cyan: 0 0 15px rgba(0, 240, 255, 0.45);
  --glow-gold: 0 0 15px rgba(229, 185, 59, 0.45);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* VHS Grid & Scanline Background Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(10, 7, 20, 0.92), rgba(10, 7, 20, 0.92)),
    radial-gradient(circle at 50% 20%, rgba(255, 42, 133, 0.08), transparent 70%),
    radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -2;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 26, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
}

/* Top VHS Aesthetic Bar */
.vhs-top-banner {
  background: #000;
  border-bottom: 2px solid var(--border-neon-pink);
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--border-neon-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vhs-top-banner .rec-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff3366;
}

.vhs-top-banner .rec-dot {
  width: 10px;
  height: 10px;
  background-color: #ff3366;
  border-radius: 50%;
  animation: vhs-pulse 1.2s infinite ease-in-out;
}

@keyframes vhs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #ff3366; }
  50% { opacity: 0.3; transform: scale(0.85); box-shadow: none; }
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(10, 7, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.brand-badge {
  background: linear-gradient(135deg, var(--border-neon-pink), #8a2be2);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  box-shadow: var(--glow-pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--border-neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--border-neon-cyan);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-cta {
  background: linear-gradient(135deg, var(--border-neon-pink), #9d174d);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  text-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--glow-pink);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.8) !important;
}

.btn-cta::after {
  display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 90px 0 60px;
  position: relative;
  text-align: center;
}

.hero-tape-badge {
  display: inline-block;
  border: 1px solid var(--border-neon-pink);
  background: rgba(255, 42, 133, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--border-neon-pink);
  margin-bottom: 24px;
  box-shadow: var(--glow-pink);
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 40%, var(--border-neon-cyan) 80%, var(--border-neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  border: 1px solid var(--border-neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  color: var(--border-neon-cyan);
  padding: 10px 24px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: var(--glow-cyan);
  color: #fff;
}

/* Feature Grid */
.features-section {
  padding: 70px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  font-family: var(--font-mono);
  color: var(--border-neon-cyan);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--border-neon-pink), var(--border-neon-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--border-neon-pink);
  box-shadow: var(--glow-pink);
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 42, 133, 0.12);
  border: 1px solid var(--border-neon-pink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border-neon-pink);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(255, 42, 133, 0.05) 0%, transparent 70%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.pricing-card {
  background: #100b1d;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--border-neon-pink);
  box-shadow: var(--glow-pink);
  background: #140d25;
}

.pricing-card.card-ten {
  border: 2px dashed var(--border-neon-gold);
  box-shadow: var(--glow-gold);
  background: linear-gradient(145deg, #18112b, #12091f);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--border-neon-pink);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.card-badge.gold {
  background: var(--border-neon-gold);
  color: #000;
}

.plan-type {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.plan-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--border-neon-cyan);
}

.price-val {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-mono);
}

.price-original {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.plan-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.metric-item span {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
}

.metric-item strong {
  color: #e2e8f0;
}

.plan-specs {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.plan-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan-specs li .spec-dot {
  color: var(--border-neon-cyan);
  font-weight: bold;
}

.plan-notice {
  font-size: 0.78rem;
  color: #f87171;
  background: rgba(239, 68, 68, 0.08);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 3px solid #ef4444;
}

.btn-plan {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-plan:hover {
  background: var(--border-neon-pink);
  border-color: var(--border-neon-pink);
  box-shadow: var(--glow-pink);
}

.card-ten .btn-plan {
  background: var(--border-neon-gold);
  color: #000;
  border-color: var(--border-neon-gold);
  font-weight: 700;
}

.card-ten .btn-plan:hover {
  box-shadow: var(--glow-gold);
  background: #f1c40f;
}

/* Articles Section */
.articles-section {
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.article-category {
  color: var(--border-neon-pink);
  font-weight: 600;
}

.article-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.article-card:hover .article-title {
  color: var(--border-neon-cyan);
}

.article-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.article-read-more {
  color: var(--border-neon-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: rgba(12, 8, 24, 0.6);
}

.faq-search-box {
  max-width: 600px;
  margin: 0 auto 36px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px;
  background: #140e26;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-search-input:focus {
  border-color: var(--border-neon-pink);
  box-shadow: var(--glow-pink);
}

.faq-filter-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.faq-tag-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-tag-btn:hover,
.faq-tag-btn.active {
  background: var(--border-neon-cyan);
  color: #000;
  font-weight: 700;
  box-shadow: var(--glow-cyan);
  border-color: var(--border-neon-cyan);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: var(--border-neon-pink);
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  user-select: none;
}

.faq-item.active .faq-question {
  color: var(--border-neon-pink);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--border-neon-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--border-neon-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px 24px;
}

/* Single Article Layout */
.article-container {
  max-width: 920px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 28px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--border-neon-cyan);
  text-decoration: none;
}

.article-header h1 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 20px;
}

.article-stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 45px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--border-neon-pink);
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--border-neon-cyan);
  margin: 30px 0 14px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(18, 14, 32, 0.7);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-body th {
  background: rgba(255, 42, 133, 0.15);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
}

.article-body tr:hover {
  background: rgba(0, 240, 255, 0.05);
}

.code-block {
  background: #090510;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 25px 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #a7f3d0;
  position: relative;
}

.code-header {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.article-faq-wrap {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px dashed rgba(255, 42, 133, 0.3);
}

/* Related Articles Box */
.related-box {
  background: rgba(18, 14, 32, 0.7);
  border: 1px solid var(--border-cyan-subtle);
  border-radius: 10px;
  padding: 24px;
  margin: 50px 0;
}

.related-box h3 {
  color: var(--border-neon-cyan);
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.related-links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.related-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.related-links a:hover {
  color: var(--border-neon-pink);
  transform: translateX(4px);
}

/* CTA Card within Articles */
.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.12), rgba(0, 240, 255, 0.08));
  border: 1px solid var(--border-neon-pink);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--glow-pink);
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #06040d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-mono);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--border-neon-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
}

