/* CSS Custom Variables for Color Scheme */
:root {
  --color-primary: #FFB800; /* Vibrant Yellow */
  --color-secondary: #FF6B00; /* Warm Orange */
  --color-dark: #12131C; /* Sleek Deep Slate Blue/Dark */
  --color-dark-card: rgba(30, 31, 48, 0.7); /* Translucent Card Background */
  --color-light: #FFFFFF;
  --color-text-main: #F3F4F6;
  --color-text-muted: #9CA3AF;
  --font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Background Canvas & Decorative Lights */
.bg-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(255, 184, 0, 0) 70%);
  filter: blur(100px);
}

.bg-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, rgba(255, 107, 0, 0) 70%);
  filter: blur(80px);
}

/* Custom Cursor Trail Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 5%;
  background: rgba(18, 19, 28, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-light);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  object-fit: cover;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.btn-nav-register {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-dark);
  font-weight: 700;
  border-radius: 99px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.5);
  color: var(--color-dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 95vh;
  padding: 8rem 5% 4rem 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  background-image: linear-gradient(to right, rgba(18, 19, 28, 0.95) 45%, rgba(18, 19, 28, 0.5) 75%, rgba(18, 19, 28, 0.95)), 
                    url('./images/hero.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 680px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 99px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.hero-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 50%, #E5E7EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-dark);
  font-size: 1.125rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-light);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.hero-image-container {
  flex: 0.8;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(255, 184, 0, 0.2);
  border: 2px solid rgba(255, 184, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.hero-image:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(255, 184, 0, 0.4);
}

/* Sections Base Styling */
section {
  padding: 6rem 5%;
  position: relative;
  z-index: 10;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title h2 span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Viewport & Marquee Track */
.features-carousel-viewport {
  overflow: hidden;
  width: 100%;
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
  /* Fade effect on the edges */
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.features-carousel-track {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  animation: marquee-features 25s linear infinite;
}

/* Pause scroll animation on hover */
.features-carousel-viewport:hover .features-carousel-track {
  animation-play-state: paused;
}

@keyframes marquee-features {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 2rem)); }
}

.features-carousel-track .feature-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--color-dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.features-carousel-track .feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 184, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Pricing Section - STRICT SINGLE ROW LAYOUT */
.pricing-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
}

.pricing-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

/* Base Pricing Card with Breathing Neon & Glimmer Effect */
.pricing-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: rgba(26, 27, 43, 0.8);
  border-radius: 24px;
  padding: 3rem 2rem 2.5rem 2rem;
  border: 2px solid rgba(255, 184, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 0 15px rgba(255, 184, 0, 0.1);
  /* Breathing flashing border animation */
  animation: breathing-glow 4s infinite ease-in-out;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

/* Highly popular shining/sweep highlight overlay */
.pricing-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0) 30%, 
    rgba(255, 255, 255, 0.12) 50%, 
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(45deg);
  transition: none;
  animation: shimmer-sweep 5s infinite linear;
  pointer-events: none;
}

/* Different animation delays to make it dynamic */
.pricing-card:nth-child(1) { animation-delay: 0s; }
.pricing-card:nth-child(2) { animation-delay: 1.3s; border-color: rgba(255, 107, 0, 0.35); }
.pricing-card:nth-child(3) { animation-delay: 2.6s; }

.pricing-card:nth-child(1)::after { animation-delay: 0s; }
.pricing-card:nth-child(2)::after { animation-delay: 1.5s; }
.pricing-card:nth-child(3)::after { animation-delay: 3s; }

/* Popular tag for middle card */
.pricing-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

/* Breathing Neon Anim */
@keyframes breathing-glow {
  0% {
    border-color: rgba(255, 184, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 10px rgba(255, 184, 0, 0.15);
  }
  50% {
    border-color: rgba(255, 184, 0, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 25px rgba(255, 184, 0, 0.55);
  }
  100% {
    border-color: rgba(255, 184, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 10px rgba(255, 184, 0, 0.15);
  }
}

/* Light sweep Anim */
@keyframes shimmer-sweep {
  0% {
    left: -120%;
  }
  30% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-light);
}

.price-header .desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
}

.price-value .currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-right: 0.25rem;
}

.price-value .amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-light);
}

.price-value .period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-left: 0.5rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.price-features li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.price-features li::before {
  content: "✔";
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1rem;
}

.price-features li.unsupported {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
}

.price-features li.unsupported::before {
  content: "✘";
  color: rgba(255, 255, 255, 0.3);
}

.btn-price {
  width: 100%;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--color-light);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.pricing-card:hover .btn-price {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-dark);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

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

.article-card {
  background: var(--color-dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 184, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  /* Subtle breathing flashing borders on grid cards */
  animation: breathing-glow-subtle 5s infinite ease-in-out;
}

/* Off-set breathing delays to make it look organic and premium */
.article-card:nth-child(1) { animation-delay: 0s; }
.article-card:nth-child(2) { animation-delay: 0.8s; }
.article-card:nth-child(3) { animation-delay: 1.6s; }
.article-card:nth-child(4) { animation-delay: 2.4s; }
.article-card:nth-child(5) { animation-delay: 3.2s; }
.article-card:nth-child(6) { animation-delay: 4s; }

@keyframes breathing-glow-subtle {
  0%, 100% {
    border-color: rgba(255, 184, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 5px rgba(255, 184, 0, 0.02);
  }
  50% {
    border-color: rgba(255, 184, 0, 0.65);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 184, 0, 0.35);
  }
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 184, 0, 0.8) !important;
}

.article-thumb {
  width: 100%;
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.article-thumb::before {
  font-size: 4rem;
  transition: var(--transition-smooth);
}

.article-card:hover .article-thumb::before {
  transform: scale(1.15) rotate(10deg);
}

/* Custom Gradients and Topic Emojis for each Article Card to avoid duplicate visuals */
.article-card:nth-child(1) .article-thumb {
  background: linear-gradient(135deg, #FFB800, #FF6B00);
}
.article-card:nth-child(1) .article-thumb::before {
  content: "⚡";
}

.article-card:nth-child(2) .article-thumb {
  background: linear-gradient(135deg, #FF6B00, #FF0055);
}
.article-card:nth-child(2) .article-thumb::before {
  content: "🛡️";
}

.article-card:nth-child(3) .article-thumb {
  background: linear-gradient(135deg, #00FFCC, #0088FF);
}
.article-card:nth-child(3) .article-thumb::before {
  content: "✈️";
}

.article-card:nth-child(4) .article-thumb {
  background: linear-gradient(135deg, #7000FF, #FF00C8);
}
.article-card:nth-child(4) .article-thumb::before {
  content: "🎈";
}

.article-card:nth-child(5) .article-thumb {
  background: linear-gradient(135deg, #00FF55, #00AAFF);
}
.article-card:nth-child(5) .article-thumb::before {
  content: "🎓";
}

.article-card:nth-child(6) .article-thumb {
  background: linear-gradient(135deg, #FF00AA, #7000FF);
}
.article-card:nth-child(6) .article-thumb::before {
  content: "🔐";
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.article-tag {
  color: var(--color-primary);
  font-weight: 600;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--color-light);
}

.article-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  margin-top: auto;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-smooth);
}

.article-link:hover {
  gap: 0.5rem;
  color: var(--color-secondary);
}

/* User Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(25, 27, 46, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  /* Premium vertical float (bounce up and down) */
  animation: float-reviews 6s ease-in-out infinite;
}

/* Quote icon behind text for premium look */
.review-card::after {
  content: "“";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-family: serif;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

/* Stagger durations and offsets so they float independently (跳上跳下) */
.review-card:nth-child(1) {
  animation-duration: 5.2s;
  animation-delay: 0s;
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.03);
}
.review-card:nth-child(1) .review-avatar {
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
  border-color: rgba(0, 240, 255, 0.4);
}
.review-card:nth-child(1) .review-rating {
  color: #00F0FF;
}

.review-card:nth-child(2) {
  animation-duration: 6s;
  animation-delay: 1.5s;
  border-color: rgba(255, 0, 200, 0.2);
  box-shadow: 0 8px 30px rgba(255, 0, 200, 0.03);
}
.review-card:nth-child(2) .review-avatar {
  background: rgba(255, 0, 200, 0.1);
  color: #FF00C8;
  border-color: rgba(255, 0, 200, 0.4);
}
.review-card:nth-child(2) .review-rating {
  color: #FF00C8;
}

.review-card:nth-child(3) {
  animation-duration: 5.6s;
  animation-delay: 0.7s;
  border-color: rgba(255, 184, 0, 0.2);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.03);
}
.review-card:nth-child(3) .review-avatar {
  background: rgba(255, 184, 0, 0.1);
  color: var(--color-primary);
  border-color: rgba(255, 184, 0, 0.4);
}
.review-card:nth-child(3) .review-rating {
  color: var(--color-primary);
}

.review-card:hover {
  animation-play-state: paused;
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              0 0 25px rgba(255, 184, 0, 0.15);
  border-color: var(--color-primary) !important;
}

@keyframes float-reviews {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.review-rating {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

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

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid;
}

.review-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-light);
}

.review-info p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* high enough limit */
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.5s ease-in-out;
}

/* Article Template Custom Styling (For Single Article Pages) */
.article-detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem 2rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-content {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #D1D5DB;
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--color-light);
  border-left: 4px solid var(--color-primary);
  padding-left: 0.75rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem 0;
  color: var(--color-light);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content strong {
  color: var(--color-primary);
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: var(--transition-smooth);
}

.article-content a:hover {
  color: var(--color-secondary);
}

.article-nav-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

/* Footers with dofollow Friend Links integration */
footer {
  width: 100%;
  text-align: center;
  padding: 4rem 5% 3rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #0B0C13;
  position: relative;
  z-index: 10;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-light);
}

.footer-logo span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: 450px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Core Requirement 2: Footer PBN links design */
.friend-links-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.friend-links-area span {
  opacity: 0.5;
}

/* Target absolute target="_blank" dofollow links without nofollow */
.friend-links-area a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: var(--transition-smooth);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
}

.friend-links-area a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ==========================================================================
   Responsive Styling (Mobile Optimized)
   ========================================================================== */

@media (max-width: 900px) {
  /* Hero Section responsive */
  .hero {
    background-image: linear-gradient(rgba(18, 19, 28, 0.9), rgba(18, 19, 28, 0.9)), 
                      url('./images/hero.jpg');
    background-position: center center;
    text-align: center;
    padding-top: 9rem;
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  /* Pricing Row horizontal scrolling on Mobile to keep them "Strictly in one row" */
  .pricing-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 1.5rem 1rem 2.5rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    /* Custom scrollbar to keep layout premium */
  }

  .pricing-row::-webkit-scrollbar {
    height: 6px;
  }

  .pricing-row::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 99px;
  }

  .pricing-row::-webkit-scrollbar-thumb {
    background: rgba(255, 184, 0, 0.3);
    border-radius: 99px;
  }

  .pricing-card {
    flex: 0 0 290px;
    min-width: 290px;
    scroll-snap-align: center;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
  }

  nav {
    display: none; /* simple hidden nav on mobile, register button remains */
  }

  header {
    padding: 1rem 5%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}
