@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Aurora Color Palette */
  --bg-dark: #070814;
  --bg-darker: #04050d;
  --color-cyan: #00f0ff;
  --color-purple: #9d00ff;
  --color-blue: #0072ff;
  --color-text-main: #f5f6fa;
  --color-text-muted: #8f92a1;
  --grad-aurora: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
  --grad-button: linear-gradient(90deg, #00f0ff 0%, #0072ff 50%, #9d00ff 100%);
  --grad-dark: linear-gradient(180deg, rgba(7, 8, 20, 0.4) 0%, rgba(7, 8, 20, 0.95) 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(0, 240, 255, 0.3);
  --glass-blur: backdrop-filter: blur(16px);
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--color-text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Mouse Trail Canvas */
#trail-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Screen reader only for SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Styles */
.glass-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.05);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(4, 5, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(4, 5, 13, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  stroke: var(--color-cyan);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}

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

.btn-nav {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  background: transparent;
}

.btn-nav:hover {
  background: var(--grad-aurora);
  color: var(--bg-darker);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  text-shadow: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-main);
  margin: 5px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/background.jpg') no-repeat center center;
  background-size: cover;
  padding-top: 100px;
  overflow: hidden;
}

/* Background darkness overlay so text is readable */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 8, 20, 0.3) 0%, rgba(7, 8, 20, 0.6) 50%, rgba(7, 8, 20, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-spacer {
  height: 180px;
}

.hero-logo-title {
  font-size: 80px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hero-subtitle {
  font-size: 22px;
  color: var(--color-cyan);
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-description {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* CTA Buttons */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-button);
  background-size: 200% auto;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(0, 240, 255, 0.2);
  transition: all 0.5s ease;
  text-align: center;
}

.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 5px 35px rgba(157, 0, 255, 0.4);
  transform: translateY(-2px);
  text-shadow: none;
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-main);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

/* Section Common */
.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--bg-darker);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  padding: 40px 30px;
  text-align: left;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.feature-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.pricing-card {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.08);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-aurora);
  color: var(--bg-darker);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.1em;
}

.pricing-header {
  margin-bottom: 30px;
  text-align: center;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.pricing-card.featured .pricing-name {
  color: var(--color-cyan);
}

.pricing-price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 700;
  margin-right: 4px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-left: 8px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--color-text-main);
}

.pricing-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-cyan);
  flex-shrink: 0;
}

.pricing-feature-item.disabled {
  color: rgba(255,255,255,0.25);
}

.pricing-feature-item.disabled svg {
  stroke: rgba(255,255,255,0.2);
}

.pricing-card .btn-primary, .pricing-card .btn-secondary {
  width: 100%;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, rgba(157, 0, 255, 0.05) 100%);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-card:hover .article-image-placeholder::after {
  transform: scale(1.1);
}

.article-image-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/background.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.15;
  transition: transform 0.6s ease;
}

.article-image-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-cyan);
  z-index: 1;
}

.article-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.article-link:hover svg {
  transform: translateX(4px);
}

/* Reviews / Testimonials */
.reviews-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.review-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-rating {
  color: #ffb700;
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.review-text {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--color-text-main);
  line-height: 1.8;
}

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

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-aurora);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-darker);
}

.review-name {
  font-size: 15px;
  font-weight: 700;
}

.review-title {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: left;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dot.active {
  background: var(--color-cyan);
  width: 24px;
  border-radius: 5px;
}

/* FAQ / Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question {
  padding: 24px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-cyan);
  transition: transform 0.3s ease;
}

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

/* Footer & SEO Link District */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-link {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-link:hover {
  color: #fff;
}

.copyright {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* PBN Friendly Links District - Horizontal Alignment, Centered, Perfectly Integrated */
.pbn-links-area {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.pbn-label {
  color: rgba(255, 255, 255, 0.4);
}

.pbn-link {
  color: var(--color-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pbn-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* Article Template Styles */
.article-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top right, rgba(157, 0, 255, 0.08), transparent 400px),
              radial-gradient(circle at bottom left, rgba(0, 240, 255, 0.08), transparent 400px),
              var(--bg-dark);
}

.article-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 40px;
}

.article-page-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #d1d2dc;
}

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

.article-body h2 {
  font-size: 24px;
  margin: 40px 0 20px 0;
  color: #fff;
  border-left: 3px solid var(--color-cyan);
  padding-left: 12px;
}

.article-body h3 {
  font-size: 20px;
  margin: 30px 0 15px 0;
  color: #fff;
}

.article-body blockquote {
  border-left: 4px solid var(--color-cyan);
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 8px;
}

/* Keywords Highlights for SEO */
.seo-keyword {
  color: var(--color-cyan);
  font-weight: 600;
}

.article-navigation {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-home {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
}

.back-to-home:hover {
  color: #fff;
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: scale(1);
    order: -1; /* Feature card on top in mobile view */
  }
  .hero-logo-title {
    font-size: 56px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.4s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .section-title {
    font-size: 30px;
  }
  
  .review-card {
    padding: 20px;
  }
  
  .review-text {
    font-size: 15px;
  }
}
