:root {
  --primary-color: #ff8fab;
  --secondary-color: #9d81e1;
  --bg-color: #0d1117;
  --card-bg: #161b22;
  --text-main: #f0f6fc;
  --text-dim: #8b949e;
  --border-color: #30363d;
  --accent-gradient: linear-gradient(135deg, #ff8fab, #9d81e1);
  --success-color: #3fb950;
  --warning-color: #d29922;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  filter: blur(80px);
  opacity: 0.4;
}

.blob {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: var(--accent-gradient);
  animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
  background: var(--secondary-color);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes move {
  from { transform: translate(-10%, -10%); }
  to { transform: translate(10%, 10%); }
}

/* Header & Nav */
header {
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dim);
  transition: all 0.3s;
  font-size: 0.95rem;
}

nav a.nav-home {
  color: var(--text-main);
  font-weight: 600;
}

nav a:hover {
  color: var(--primary-color);
}

.btn-nav-official {
  background: var(--accent-gradient);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem !important;
  box-shadow: 0 4px 15px rgba(255, 143, 171, 0.2);
}

.btn-nav-official:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 143, 171, 0.4);
}

/* Hero Section */
.hero {
  padding: 6rem 5% 4rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

/* Pricing Table */
.pricing-section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-table-container {
  overflow-x: auto;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

th {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-color);
}

td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-container {
  margin-top: 3rem;
  text-align: center;
}

.btn-buy {
  display: inline-block;
  padding: 1.2rem 3.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  background: var(--accent-gradient);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(255, 143, 171, 0.3);
}

.btn-buy:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 143, 171, 0.5);
}

/* Node Status */
.status-section {
  padding: 4rem 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.status-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: var(--success-color);
  box-shadow: 0 0 10px var(--success-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.latency {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 5px;
}

/* Articles Section */
.articles-section {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

.article-card h3 {
  margin-bottom: 1rem;
}

.article-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

footer {
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  th, td { padding: 0.8rem; font-size: 0.9rem; }
}
