:root {
  --bg-main: #090d16;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);
  --bg-glass: rgba(15, 23, 42, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-badge: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #34d399;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.header-topbar {
  background: rgba(16, 185, 129, 0.12);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 0;
  font-size: 13px;
  text-align: center;
  color: #a7f3d0;
}
.header-topbar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 15px var(--accent-green-glow);
}
.logo-text span {
  color: var(--accent-green);
}

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

.nav-item a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}
.nav-item a:hover {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--gradient-badge);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 13px;
  color: #a7f3d0;
  margin-bottom: 24px;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 14px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-green);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-green);
  margin-bottom: 8px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
}

/* Pricing Grid */
.pricing-section {
  padding: 60px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-green-glow);
}

.pricing-card.featured {
  border-color: var(--accent-green);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.plan-currency {
  font-size: 20px;
  color: var(--accent-green);
  font-weight: 700;
}
.plan-amount {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.plan-period {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li .check-icon {
  color: var(--accent-green);
  font-weight: 900;
}

/* Real-time Nodes Table */
.nodes-section {
  padding: 60px 0;
}
.nodes-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}
.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.nodes-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}
.nodes-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.nodes-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.badge-status.orange {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

/* Articles Hub Grid */
.articles-section {
  padding: 60px 0;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-tag {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.article-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 12px;
}
.article-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green);
}

/* FAQ Accordion */
.faq-section {
  padding: 60px 0;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--border-focus);
}
.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-arrow {
  font-size: 18px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-green);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 600px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
  padding-bottom: 20px;
}

/* Article Page Dedicated Styles */
.article-page {
  padding: 40px 0 80px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: #ffffff;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.article-h1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
}
.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 16px;
  color: #ffffff;
  border-left: 4px solid var(--accent-green);
  padding-left: 12px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: #e2e8f0;
}
.article-content p {
  margin-bottom: 18px;
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.8;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.8;
}
.article-content li {
  margin-bottom: 8px;
}
.callout-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: #d1fae5;
}
.data-table-wrapper {
  margin: 24px 0;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.data-table th, .data-table td {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}
.data-table td {
  color: var(--text-secondary);
}

/* Sidebar CTA Card */
.sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-cta-card {
  background: linear-gradient(145deg, #131b2e 0%, #0d1321 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.sidebar-cta-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.sidebar-cta-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.sidebar-matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-matrix-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}
.matrix-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.matrix-links li a {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}
.matrix-links li a:hover {
  color: var(--accent-green);
  transform: translateX(4px);
}

/* Footer */
.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 60px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-links 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: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-sticky {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding: 24px 18px;
  }
}
