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

:root {
  --bg-color: #05060f;
  --card-bg: rgba(13, 15, 30, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary-color: #4e3df5;
  --primary-glow: rgba(78, 61, 245, 0.4);
  --secondary-color: #00d2ff;
  --secondary-glow: rgba(0, 210, 255, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Background Canvas for Particles */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0e0f26 0%, #05060f 100%);
}

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  background: rgba(5, 6, 15, 0.7);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(5, 6, 15, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--font-heading);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary-color) 0%, #7038f8 100%);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: transform 0.2s ease, box-shadow 0.3s ease !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 61, 245, 0.6);
  text-shadow: none !important;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.announcement-badge {
  background: rgba(78, 61, 245, 0.15);
  border: 1px solid rgba(78, 61, 245, 0.3);
  color: #c7c2ff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: pulseGlow 3s infinite alternate;
}

.announcement-badge span {
  color: var(--secondary-color);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px rgba(78, 61, 245, 0.1); }
  100% { box-shadow: 0 0 15px rgba(78, 61, 245, 0.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-title span.grad {
  background: linear-gradient(135deg, #00d2ff 0%, #7b2cff 50%, #ff007a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 10px 25px var(--primary-glow);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(78, 61, 245, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  transition: background 0.3s, border 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(78, 61, 245, 0.3);
  box-shadow: 0 30px 60px rgba(78, 61, 245, 0.15);
}

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

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

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(78, 61, 245, 0.1);
  border: 1px solid rgba(78, 61, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--secondary-color);
  font-size: 24px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* PRICING SECTION - MUST BE IN SAME ROW ON DESKTOP */
.pricing-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.pricing-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 50px rgba(78, 61, 245, 0.25);
}

.pricing-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--primary-color);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 30px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-card-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.plan-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.plan-currency {
  font-size: 22px;
  font-weight: 700;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.plan-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.plan-coupon-price {
  font-size: 13px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li svg {
  color: var(--secondary-color);
  flex-shrink: 0;
}

.plan-features li.disabled {
  color: #64748b;
  text-decoration: line-through;
}

.plan-features li.disabled svg {
  color: #64748b;
}

.btn-pricing {
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.pricing-card .btn-pricing {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
}

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

.pricing-card.featured .btn-pricing {
  background: linear-gradient(135deg, var(--primary-color) 0%, #6d28d9 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.pricing-card.featured .btn-pricing:hover {
  box-shadow: 0 8px 25px rgba(78, 61, 245, 0.6);
  transform: translateY(-2px);
}

/* Coupon info below pricing grid */
.pricing-notice {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-notice strong {
  color: #10b981;
}

/* CLIENT LINKS / EXTERNAL DOWNLOADS */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.client-card {
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.3);
}

.client-icon {
  font-size: 32px;
  color: var(--secondary-color);
}

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

.client-platform {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-user-info h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
}

.testimonial-user-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

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

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

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

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 24px 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.3s, background-color 0.3s;
}

/* Horizontal line */
.faq-icon::before {
  width: 10px;
  height: 1.5px;
}

/* Vertical line */
.faq-icon::after {
  width: 1.5px;
  height: 10px;
}

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

.faq-item.active .faq-icon::before, .faq-item.active .faq-icon::after {
  background: var(--secondary-color);
}

/* ARTICLES SECTION */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

.article-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.article-tag {
  background: rgba(0, 210, 255, 0.1);
  color: var(--secondary-color);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-body h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.article-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, gap 0.2s;
}

.article-link:hover {
  color: var(--secondary-color);
  gap: 12px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--card-border);
  background: rgba(4, 5, 12, 0.95);
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* ARTICLE INNER TEMPLATE STYLING */
.article-page {
  padding-top: 140px;
  padding-bottom: 100px;
}

.article-header {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-header-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 8px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  display: block;
  transition: color 0.2s;
}

.sidebar-links li a:hover {
  color: var(--secondary-color);
}

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

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

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  margin: 40px 0 20px 0;
  color: var(--text-primary);
  border-left: 4px solid var(--primary-color);
  padding-left: 16px;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 16px 0;
  color: var(--text-primary);
}

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

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

.article-content blockquote {
  border-left: 4px solid var(--secondary-color);
  background: rgba(0, 210, 255, 0.05);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  border-radius: 0 12px 12px 0;
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
  /* For tablet, make pricing layout wrap or scale down, but maintain row structure if possible. We can let it use 2x2 grid */
  .pricing-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pricing-card {
    flex: none;
    width: calc(50% - 12px);
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  
  .pricing-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 400px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: static;
    margin-bottom: 40px;
  }
  
  nav {
    display: none; /* In a real app we'd toggle mobile drawer, let's make a basic toggle in JS */
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  /* Mobile Nav active */
  .nav-active nav {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    border-bottom: 1px solid var(--card-border);
    padding: 24px;
    z-index: 999;
  }
  
  .nav-active nav ul {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
