/* stylelint-disable no-descending-specificity */
/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Inspired by modern music platforms */
  --primary: #1db954;
  --primary-dark: #1aa34a;
  --primary-light: rgb(29 185 84 / 20%);
  --secondary: #0a0a0a;
  --text: #fff;
  --text-muted: #a7a7a7;
  --background: #0a0a0a;
  --background-elevated: #121212;
  --card-bg: #1a1a1a;
  --card-bg-light: rgb(255 255 255 / 3%);
  --border: rgb(255 255 255 / 8%);
  --border-hover: rgb(255 255 255 / 20%);
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --accent-green: #1db954;
  --accent-green-active: #1ed760;
  --accent-cyan: #00d4ff;
  --accent-pink: #ff006e;
  --accent-purple: #a855f7;
  --notification: #4687d6;

  /* Gradient colors for orbs */
  --orb-1: #1db954;
  --orb-2: #00d4ff;
  --orb-3: #ff006e;
  --orb-4: #a855f7;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-sans: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  --font-display: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;

  /* Border Radius - Matching Tagify */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows - More subtle like Tagify */
  --shadow-sm: 0 2px 4px rgb(0 0 0 / 15%);
  --shadow-md: 0 4px 10px rgb(0 0 0 / 20%);
  --shadow-lg: 0 4px 12px rgb(0 0 0 / 30%);
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===========================
   Animated Background
   =========================== */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--background);
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: 0 0, 0 0;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 0%, transparent 100%);
  animation: gridFloat 20s ease-in-out infinite;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 120% 50% at 50% -10%, rgba(29, 185, 84, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 0% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 100% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
  opacity: 1;
}

@keyframes gridFloat {
  0%, 100% { 
    transform: translateY(0);
    opacity: 1;
  }
  50% { 
    transform: translateY(-20px);
    opacity: 0.8;
  }
}

/* Content wrapper to sit above background */
.content-wrapper {
  position: relative;
  z-index: 2;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgb(10 10 10 / 90%);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1.25rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-display);
}

.logo:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.logo svg,
.logo img {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a svg {
  display: inline-block;
  margin-left: 4px;
  opacity: 0.7;
  transition: opacity 0.2s;
  vertical-align: -1px;
}

.nav-links a:hover svg {
  opacity: 1;
}

/* ===========================
   Hero Section
   =========================== */
.hero-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
  position: relative;
}

.cta-buttons::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  border-radius: 2px;
}

.video-caption {
  margin-top: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgb(0 0 0 / 50%);
  border: 1px solid rgb(255 255 255 / 12%);
  background: var(--card-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 64px rgb(0 0 0 / 60%);
  border-color: rgb(255 255 255 / 20%);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   Social Proof Section
   =========================== */
.social-proof {
  padding: var(--spacing-sm) 0 var(--spacing-md);
  background: transparent;
}

.social-proof-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
}

.stat-item:hover {
  background: rgb(255 255 255 / 8%);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Loading dots animation */
.loading-dots {
  display: inline-block;
  animation: loadingDots 1.4s infinite;
}

@keyframes loadingDots {
  0%,
  20% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0.3;
  }
}

.stat-item.discord-stat {
  cursor: pointer;
  text-decoration: none;
}

.stat-item.discord-stat .stat-number {
  background: linear-gradient(135deg, var(--discord) 0%, #7289da 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item.discord-stat:hover {
  border-color: rgb(88 101 242 / 50%);
  background: rgb(88 101 242 / 10%);
}

.stat-item.github-stat {
  cursor: pointer;
  text-decoration: none;
}

.stat-item.github-stat .stat-number {
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item.github-stat .stat-number svg {
  fill: #ffd700;
}

.stat-item.github-stat:hover {
  border-color: rgb(255 215 0 / 50%);
  background: rgb(255 215 0 / 10%);
}

/* ===========================
   Featured Section
   =========================== */
.featured-section {
  padding: 0 0 var(--spacing-md);
  background: transparent;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  max-width: 825px;
  margin: 0 auto;
}

.featured-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.featured-card:hover {
  background: rgb(255 255 255 / 6%);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
}

.featured-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgb(255 215 0 / 15%) 0%, rgb(255 215 0 / 8%) 100%);
  color: #ffd700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgb(255 215 0 / 25%);
  flex-shrink: 0;
}

.featured-badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.featured-source {
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-source svg {
  flex-shrink: 0;
  color: var(--text);
}

.featured-name {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 600;
}

.spicetify-logo {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.featured-card:hover .spicetify-logo {
  transform: scale(1.05);
}

.banner-title {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 700;
}

.featured-card .arrow-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.featured-card:hover .arrow-icon {
  transform: translateX(4px);
  color: var(--text);
}

@media (width <= 600px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-card .arrow-icon {
    display: none;
  }
}

.featured-banner {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 650px;
  margin: 0 auto;
  padding: 1.25rem var(--spacing-md);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.featured-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  opacity: 0.6;
}

.featured-banner:hover {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 215 0 / 40%);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgb(0 0 0 / 40%);
}

.featured-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.featured-badge svg {
  width: 12px;
  height: 12px;
}

.featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.featured-source {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-source svg {
  color: var(--text);
}

.featured-name {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.featured-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-style: italic;
}

.featured-banner .arrow-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.featured-banner:hover .arrow-icon {
  transform: translateX(4px);
  color: #ffd700;
}

@media (width <= 600px) {
  .featured-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
  }

  .featured-banner .arrow-icon {
    display: none;
  }

  .featured-source {
    justify-content: center;
  }
}

/* ===========================
   Testimonials Section - Marquee Carousel
   =========================== */
.testimonials-section {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  background: transparent;
  overflow: hidden;
}

.testimonials-section .container {
  margin-bottom: var(--spacing-md);
}

.testimonials-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-marquee {
  width: 100%;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--spacing-md);
  animation: marquee 60s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gradient fade edges */
.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--background) 0%, transparent 100%);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--background) 0%, transparent 100%);
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--spacing-md);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgb(0 0 0 / 40%);
  background: rgb(255 255 255 / 8%);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-green);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgb(255 255 255 / 5%);
  border-radius: 20px;
  margin-left: auto;
}

.testimonial-source svg {
  width: 14px;
  height: 14px;
}

.testimonial-source.discord {
  color: var(--discord);
  background: rgb(88 101 242 / 10%);
}

.testimonial-source.github {
  color: #f0f6fc;
  background: rgb(255 255 255 / 8%);
}

.testimonial-source.coffee {
  color: #ffdd00;
  background: rgb(255 221 0 / 10%);
}

/* Responsive adjustments */
@media (width <= 768px) {
  .testimonial-card {
    width: 320px;
    padding: var(--spacing-sm);
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .marquee-fade {
    width: 60px;
  }

  .testimonials-track {
    animation-duration: 45s;
  }
}

@media (width <= 480px) {
  .testimonial-card {
    width: 280px;
  }

  .marquee-fade {
    width: 40px;
  }
}

/* HELP CARD SECTION */
.help-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.help-card:hover {
  background: rgb(255 255 255 / 6%);
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgb(0 0 0 / 20%);
}

.help-title {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.help-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.help-card .btn {
  margin: 0 auto;
}

/* Arrow Icon Utility */
.arrow-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* ===========================
   Buttons - Updated to match Tagify style
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1.0625rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text);
  color: var(--background);
  font-weight: 700;
}

.btn-primary:hover {
  background: rgb(255 255 255 / 90%);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid rgb(255 255 255 / 15%);
}

.btn-secondary:hover {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 30%);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--text);
  color: var(--background);
  font-weight: 700;
}

.btn-green:hover {
  background: rgb(255 255 255 / 90%);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-coffee {
  padding: 8px 12px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgb(191 111 59 / 15%);
  color: var(--text);
  border: 1px solid rgb(191 111 59 / 30%);
  margin-top: var(--spacing-xs);
}

.btn-coffee:hover {
  background: rgb(191 111 59 / 30%);
  border-color: rgb(191 111 59 / 50%);
  transform: translateY(-1px);
  color: var(--text);
}

/* ===========================
   Floating Discord Button
   =========================== */
.floating-discord {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.floating-discord a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--discord);
  border-radius: 50%;
  box-shadow: 0 4px 24px rgb(88 101 242 / 40%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.floating-discord a:hover {
  background: var(--discord-hover);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgb(88 101 242 / 60%);
}

.floating-discord svg {
  width: 28px;
  height: 28px;
}

@media (width <= 768px) {
  .floating-discord {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .floating-discord a {
    width: 56px;
    height: 56px;
  }
  
  .floating-discord svg {
    width: 24px;
    height: 24px;
  }
}

/* ===========================
   Sections
   =========================== */
section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* ===========================
   How It Works / Demo Section
   =========================== */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

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

.demo-image {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.demo-image:hover {
  border-color: var(--border-hover);
}

.demo-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border);
}

.demo-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.demo-item p {
  color: var(--text-muted);
}

/* ===========================
   Installation Section
   =========================== */
.installation {
  background: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.installation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.installation > .container {
  position: relative;
  z-index: 1;
}

.installation-steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

.step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
  background: rgb(255 255 255 / 8%);
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgb(0 0 0 / 30%);
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--text);
  color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-display);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.step-content p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.installation-note {
  background: rgb(30 64 175 / 15%);
  border: 1px solid rgb(30 64 175 / 30%);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  text-align: center;
  max-width: 800px;
  margin: var(--spacing-lg) auto var(--spacing-md);
  color: var(--text);
}

.manual-installation {
  max-width: 800px;
  margin: 0 auto;
  background: rgb(0 0 0 / 20%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}

.manual-steps {
  padding-top: var(--spacing-sm);
  color: var(--text-muted);
}

.manual-steps code {
  background: var(--background);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--notification);
}

.manual-steps ol {
  margin-left: var(--spacing-md);
}

.manual-steps li {
  margin-bottom: var(--spacing-xs);
}

/* ===========================
   FAQ Section
   =========================== */
.faq-grid {
  display: grid;
  gap: var(--spacing-sm);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-item summary:hover {
  color: var(--accent-green);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-green);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: var(--spacing-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item code {
  background: rgb(0 0 0 / 20%);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--notification);
}

.faq-link-primary {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.faq-link-primary:hover {
  border-bottom: 1px solid var(--accent-green);
}

/* ===========================
   Support section
   =========================== */
.support-section {
  padding: var(--spacing-lg) 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.support-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.support-text {
  margin-bottom: var(--spacing-md);
}

.support-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.support-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: -10px;
}

@media (width <= 768px) {
  .support-buttons {
    flex-direction: column;
  }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background: var(--background);
  text-align: center;
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgb(30 64 175 / 20%) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  position: relative;
}

/* ===========================
   Video Promo Section
   =========================== */
.video-promo {
  padding: var(--spacing-lg) 0;
  background: var(--background);
}

.video-promo-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.video-wrapper {
  position: relative;
}

.video-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-active) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (width <=768px) {
  .video-promo-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

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

  .video-text h2 {
    font-size: 2rem;
  }
}

@media (width <=480px) {
  .video-text h2 {
    font-size: 1.75rem;
  }

  .video-text p {
    font-size: 1rem;
  }
}

/* ===========================
   Unix Modal
   =========================== */
.unix-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 80%);
  backdrop-filter: blur(4px);
}

.unix-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.unix-modal-body {
  padding: var(--spacing-md);
}

.unix-modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  overflow: hidden;
}

.installer-coming-soon {
  background: rgb(0 0 0 / 20%);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.install-note {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: rgb(30 64 175 / 15%);
  border: 1px solid rgb(30 64 175 / 30%);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.unix-modal-close {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.unix-modal-close:hover {
  background: rgb(0 0 0 / 20%);
  color: var(--text);
}

.unix-modal-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.unix-modal-content > p {
  color: var(--text-muted);
}

/* ===========================
   Platform Tabs - Updated style
   =========================== */
.platform-tabs {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgb(0 0 0 / 20%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.platform-tab:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: rgb(255 255 255 / 10%);
}

.platform-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: white;
}

.platform-tab svg {
  width: 24px;
  height: 24px;
}

.platform-content {
  display: none;
}

.platform-content.active {
  display: block;
}

/* ===========================
   Code Block with Copy Button
   =========================== */
.code-block {
  position: relative;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm);
  margin: var(--spacing-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: border-color 0.2s ease;
}

.code-block:hover {
  border-color: var(--border-hover);
}

.code-block code {
  flex: 1;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  color: var(--notification);
  word-break: break-all;
  background: transparent;
  padding: 0;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  background: rgb(0 0 0 / 20%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 600;
}

.copy-btn:hover {
  background: rgb(255 255 255 / 10%);
  border-color: var(--border-hover);
}

.copy-btn.copied {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
}

.copy-btn svg {
  stroke: currentColor;
}

/* ===========================
   Unix Installation Section
   =========================== */
.unix-install-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.install-step-unix {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  background: rgb(0 0 0 / 20%);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.install-step-unix:hover {
  background: rgb(255 255 255 / 5%);
  border-color: var(--border-hover);
}

/* ===========================
   Responsive Updates
   =========================== */
@media (width <=768px) {
  .platform-tabs {
    flex-direction: column;
  }

  .platform-tab {
    width: 100%;
    justify-content: center;
  }

  .code-block {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    width: 100%;
    justify-content: center;
  }

  .unix-modal-content {
    width: 95%;
    padding: var(--spacing-md);
  }
}

/* Floating Discord Button */
.floating-discord {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  transition: transform 0.3s ease;
}

.floating-discord a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--discord);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgb(88 101 242 / 40%);
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-discord a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgb(88 101 242 / 60%);
  background: var(--discord-hover);
}

.floating-discord svg {
  width: 32px;
  height: 32px;
}

@media (width <=768px) {
  .floating-discord {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-discord a {
    width: 56px;
    height: 56px;
  }

  .floating-discord svg {
    width: 28px;
    height: 28px;
  }
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--background);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: var(--spacing-xs);
}

/* ===========================
   Responsive Design
   =========================== */
@media (width <=768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-title {
    font-size: 3rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .features-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

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

  .step {
    flex-direction: column;
  }

  .footer-bottom-enhanced {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .social-proof-stats {
    gap: var(--spacing-sm);
  }

  .stat-item {
    min-width: 140px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <=480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .social-proof-stats {
    flex-direction: column;
  }

  .stat-item {
    width: 100%;
    max-width: 200px;
  }
}

/* ===========================
   Modal Step Styling
   =========================== */
.install-step-modal {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border);
}

.install-step-modal:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.install-step-modal:first-of-type {
  padding-top: 0;
}

.step-number-small {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.step-content-modal h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.step-content-modal p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xs);
}

.step-content-modal .code-block {
  margin: var(--spacing-xs) 0;
}

.step-content-modal .code-block code {
  font-size: 0.8rem;
}

.step-note {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: var(--spacing-xs);
  margin-bottom: 0 !important;
}

.step-content .step-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--spacing-xs);
}

/* ===========================
   Latest Blog Section
   =========================== */
.latest-blog {
  padding: var(--spacing-lg) 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.blog-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(29, 78, 216, 0.05) 100%);
  border: 1px solid rgba(30, 64, 175, 0.2);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.blog-banner:hover {
  border-color: rgba(30, 64, 175, 0.4);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.12) 0%, rgba(29, 78, 216, 0.08) 100%);
}

.blog-banner-content {
  flex: 1;
}

.blog-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-xs);
}

.blog-banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text);
  line-height: 1.3;
}

.blog-banner-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.blog-banner-meta {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.blog-banner-meta span {
  display: flex;
  align-items: center;
}

.blog-banner-cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgb(30 64 175 / 30%);
}

.blog-banner-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), #2563eb);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgb(30 64 175 / 40%);
}

.blog-banner-cta svg {
  transition: transform 0.2s ease;
}

.blog-banner-cta:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (width <= 768px) {
  .blog-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
  }

  .blog-banner-title {
    font-size: 1.5rem;
  }

  .blog-banner-description {
    font-size: 0.9375rem;
  }

  .blog-banner-meta {
    justify-content: center;
  }

  .blog-banner-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (width <= 480px) {
  .blog-banner-title {
    font-size: 1.25rem;
  }

  .blog-banner-description {
    font-size: 0.875rem;
  }
}
