/* Core Theme Variables */
:root {
  --bg-dark: #090c14;
  --bg-card: #121624;
  --bg-card-hover: #191f33;
  --bg-input: #1a2030;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --primary-blue: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --accent-cyan: #38bdf8;
  --accent-green: #10b981;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Floating Right Section Navigator */
.side-nav-arrows {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(18, 22, 36, 0.75);
  backdrop-filter: blur(12px);
  padding: 12px 8px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-arrow-btn:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: scale(1.1);
}

.nav-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transform: scale(1.4);
}

/* Sticky Header */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(9, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.logo-icon .bar {
  width: 4px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-icon .bar {
  transform: scaleY(1.2);
}

.logo-icon .bar-1 { height: 12px; }
.logo-icon .bar-2 { height: 18px; }
.logo-icon .bar-3 { height: 24px; }

.logo-text {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 800;
}

.brand-name { color: var(--text-white); }
.brand-suffix { color: var(--text-white); }

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.header-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

.header-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-cta-btn.primary {
  background: var(--primary-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.header-cta-btn.primary:hover {
  background: var(--primary-hover);
}

/* Page Section Container */
.page-section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Section Title Styling */
.section-title-wrapper {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-white);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Hero Section */
.section-hero {
  padding: 120px 0 100px 0;
  background: radial-gradient(circle at 20% 20%, #171c30 0%, #090c14 70%);
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-left {
  flex: 1.1;
}

.hero-right {
  flex: 0.9;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-main-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.brand-highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.cta-btn.primary-glow {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: var(--text-white);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.cta-btn.primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--primary-glow);
}

.cta-btn.secondary-border {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-white);
}

.cta-btn.secondary-border:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 12px;
  color: var(--text-dim);
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-color);
}

/* Dynamic Graphic Card (Right Hero) */
.dynamic-glass-card {
  background: rgba(18, 22, 36, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.card-header-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.live-tag {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.nodes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.node-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.node-name {
  flex: 1;
  font-weight: 500;
}

.node-ping.green {
  color: var(--accent-green);
  font-weight: 600;
}

.node-load {
  color: var(--text-dim);
  font-size: 12px;
}

.dynamic-chart-visual {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.card-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

/* 3-Column Core Advantages */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-fast);
}

.adv-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.adv-card.highlight-card {
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-box svg {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.card-checklist li::before {
  content: "✓ ";
  color: var(--accent-green);
  font-weight: bold;
}

/* Streaming & AI Section */
.streaming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.stream-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-fast);
}

.stream-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.stream-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.stream-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.stream-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.icon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.stream-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* 4-Column Pricing Grid */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-fast);
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.price-card.popular-plan {
  background: linear-gradient(180deg, #182035 0%, #121624 100%);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-blue);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 6px;
}

.plan-price .period {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
}

.plan-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition-fast);
}

.price-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.price-btn.primary-btn {
  background: var(--primary-blue);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.price-btn.primary-btn:hover {
  background: var(--primary-hover);
}

/* 15 SEO Articles Section */
.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 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;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.article-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.article-card.featured-article {
  border-color: var(--primary-blue);
}

.article-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.article-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-white);
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more-btn {
  background: transparent;
  border: none;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.read-more-btn:hover {
  text-decoration: underline;
}

/* Article & Footer Modals */
.article-modal-backdrop,
.footer-info-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.article-modal-backdrop.show,
.footer-info-modal-backdrop.show {
  display: flex;
}

.article-modal-content,
.footer-info-modal-content {
  background: #121726;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-article-body h2,
.footer-modal-body h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-white);
}

.modal-article-body h3,
.footer-modal-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--accent-cyan);
}

.modal-article-body p,
.footer-modal-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-cta-box {
  margin: 30px 0;
  padding: 24px;
  background: radial-gradient(circle at center, #1b243b 0%, #121726 100%);
  border: 1px solid var(--primary-blue);
  border-radius: var(--radius-md);
  text-align: center;
}

.modal-cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

/* FAQ Accordion */
.faq-accordion {
  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;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.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: 14px;
  line-height: 1.6;
}

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

/* User Reviews */
.reviews-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;

}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.user-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.user-role {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
}

/* Site Footer */
.site-footer {
  background: #06080e;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-link-list {
  list-style: none;
}

.footer-link-list a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.footer-link-list a:hover {
  text-decoration: underline;
}

.footer-pbn-section {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
}

.pbn-links-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 16px;
}

.pbn-label {
  color: var(--text-muted);
}

.pbn-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
}

.pbn-link:hover {
  color: white;
  text-decoration: underline;
}

.pbn-sep {
  color: var(--text-dim);
}

.copyright-text {
  font-size: 12px;
  color: var(--text-dim);
}

/* Responsive Breakpoints (Mobile First Ready) */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-btn-group, .hero-trust-metrics {
    justify-content: center;
  }
  .cards-grid-3, .articles-grid-3, .reviews-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .cards-grid-3, .streaming-grid, .pricing-grid-4, .articles-grid-3, .reviews-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .side-nav-arrows {
    right: 10px;
    padding: 8px 4px;
  }
  .page-section {
    padding: 60px 0;
  }
}
