/* ==========================================================================
   Starlink Cloud VPN (starlinkvpn.click) - Global Stylesheet
   Design Theme: Deep Space Dark Mode / Starlink Futuristic Aesthetic
   ========================================================================== */

:root {
  --bg-dark: #060813;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-color: rgba(56, 189, 248, 0.15);
  --border-glow: rgba(0, 210, 255, 0.4);
  
  --primary-cyan: #00d2ff;
  --primary-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-green: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1240px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  
  --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0d1527 0%, #060813 70%);
  position: relative;
}

/* Background Stars effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(0, 210, 255, 0.8) 100%, transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff 100%, transparent),
    radial-gradient(1.5px 1.5px at 130px 80px, rgba(59, 130, 246, 0.8) 100%, transparent),
    radial-gradient(2px 2px at 160px 120px, #ffffff 100%, transparent);
  background-repeat: repeat;
  background-size: 250px 250px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #38bdf8;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  color: #040914;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.55);
  color: #000000;
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--primary-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-recommend {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-recommend:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
  color: #ffffff;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Header Navbar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 8, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.brand-text span {
  color: var(--primary-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #60a5fa 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.stat-box {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features Section */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-cyan);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

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

/* Global Network Nodes Section */
.network-section {
  padding: 5rem 0;
  background: rgba(11, 15, 25, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.node-card:hover {
  border-color: var(--primary-cyan);
  background: rgba(30, 41, 59, 0.7);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-flag {
  font-size: 1.4rem;
}

.node-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.node-tech {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-ping {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.ping-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 1.5s infinite;
}

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

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  color: #040914;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-bottom-left-radius: 12px;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price .currency {
  font-size: 1.25rem;
  color: var(--primary-cyan);
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  margin: 1.5rem 0 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-features li i {
  color: var(--primary-cyan);
  font-size: 1.1rem;
}

/* Articles Section */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.article-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.article-title a {
  color: inherit;
}

.article-title a:hover {
  color: var(--primary-cyan);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.read-more-link {
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background: rgba(11, 15, 25, 0.6);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #040914;
  font-size: 1.1rem;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-wrapper {
  max-width: 850px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary-cyan);
  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 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Single Article Layout */
.article-page-header {
  padding: 4rem 0 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.article-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(12px);
}

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

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin: 1.5rem 0 0.75rem 0;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-body ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.article-body ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
}

.callout-box {
  background: rgba(0, 210, 255, 0.06);
  border-left: 4px solid var(--primary-cyan);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
}

.callout-box p {
  margin-bottom: 0;
}

.article-cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid var(--border-glow);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0;
}

.article-cta-box h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

/* Related articles grid in single article page */
.related-articles {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Styling (Task 2 Specifications) */
.site-footer {
  background: rgba(4, 6, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 2rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col ul li a:hover {
  color: var(--primary-cyan);
}

/* Subdued PBN Friendship Links section (Core Task 2) */
.footer-links-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links-bar label {
  color: var(--text-dim);
  font-weight: 600;
}

.footer-pbn-link {
  color: #64748b;
  transition: var(--transition);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-pbn-link:hover {
  color: var(--primary-cyan);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .node-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.75rem; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0b0f19;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.show { display: flex; }
  .mobile-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .node-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .articles-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .article-content-wrapper { padding: 1.5rem; }
}
