/* ============================================
   STREAMFORGE - ENHANCED TWITCH TOOLS
   Clean, Modern & WordPress Compatible
============================================ */

:root {
  /* Core Colors */
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #8b5cf6, #22d3ee);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  /* Effects */
  --glow-primary: rgba(139, 92, 246, 0.4);
  --glow-secondary: rgba(34, 211, 238, 0.3);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 10px 40px rgba(139, 92, 246, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   HERO SECTION - ENHANCED
============================================ */
.hero {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* CTA Buttons */
.cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

/* Animated Glow Effect */
.glow {
  position: absolute;
  width: min(800px, 90vw);
  height: min(800px, 90vw);
  background: 
    radial-gradient(circle, var(--glow-primary) 0%, transparent 60%),
    radial-gradient(circle at 30% 30%, var(--glow-secondary) 0%, transparent 50%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* ============================================
   TOOLS SECTION - ENHANCED
============================================ */
.tools {
  padding: 80px 20px;
  background: var(--bg-secondary);
  position: relative;
}

.tools h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Enhanced Tool Cards */
.tool-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.7s ease;
}

.tool-card:hover::before {
  left: 100%;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--accent-purple);
}

.tool-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-card h3::before {
  font-size: 1.8rem;
}

.tool-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.tool-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 1.1rem;
  transition: gap var(--transition-medium);
}

.tool-card:hover span {
  gap: 12px;
}

.tool-card span::after {
  content: '→';
  transition: transform var(--transition-medium);
}

.tool-card:hover span::after {
  transform: translateX(5px);
}

/* ============================================
   WHY SECTION - ENHANCED
============================================ */
.why {
  padding: 80px 20px;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.why h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--card-border);
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-purple);
}

.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.why-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER - ENHANCED
============================================ */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--accent-gradient);
}

.footer p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer .links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer .links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-medium);
  position: relative;
  padding: 5px 0;
}

.footer .links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-medium);
}

.footer .links a:hover {
  color: var(--text-primary);
}

.footer .links a:hover::after {
  width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
  .hero {
    padding: 80px 20px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .tool-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .footer .links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .tools,
  .why {
    padding: 60px 20px;
  }
  
  .tool-card,
  .why-card {
    padding: 24px;
  }
}

/* ============================================
   ACCESSIBILITY & ENHANCEMENTS
============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.tool-card:focus,
.footer .links a:focus {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Hover effect for cards */
.tool-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

/* Smooth hover transitions */
.tool-card,
.why-card,
.btn {
  will-change: transform, box-shadow;
}

/* Dark/Light Mode Support */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.1);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 40px rgba(139, 92, 246, 0.15);
  }
  
  .hero {
    background: 
      radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
      linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
  }
  
  .btn.ghost {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.1);
  }
  
  .footer {
    background: rgba(0, 0, 0, 0.03);
  }
}



/* ============================================
   SEO CONTENT SECTION
   Beautiful, Modern & Engaging
============================================ */

/* ============================================
   SEO CONTENT SECTION - CUSTOM STYLES
   Applied directly to the HTML structure
============================================ */

.seo-content {
  padding: 30px 20px;
  max-width: 900px;
  margin: 60px auto;
  background: 
    radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.seo-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  z-index: 1;
}

.seo-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.seo-content > * {
  position: relative;
  z-index: 2;
}

/* Main Title */
.seo-content > h2:first-child {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  padding: 20px 0;
  position: relative;
}

.seo-content > h2:first-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #22d3ee;
  border-radius: 2px;
}

/* H1 Styling */
.seo-content h1 {
  font-size: 2.4rem;
  color: #f8fafc;
  margin: 40px 0 20px;
  padding-left: 20px;
  border-left: 4px solid #8b5cf6;
  line-height: 1.3;
  position: relative;
}

.seo-content h1::before {
  content: '🎯';
  position: absolute;
  left: -35px;
  font-size: 1.8rem;
}

/* H2 Styling */
.seo-content h2 {
  font-size: 2rem;
  color: #f8fafc;
  margin: 50px 0 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  position: relative;
}

.seo-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  transition: width 0.3s ease;
}

.seo-content h2:hover::after {
  width: 150px;
}

/* H3 Styling */
.seo-content h3 {
  color: #22d3ee;
  margin: 25px 0 15px;
  font-size: 1.4rem;
}

/* Paragraph Styling */
.seo-content p {
  color: #cbd5e1;
  line-height: 1.8;
  margin: 20px 0;
  font-size: 1.1rem;
  text-align: justify;
}

.seo-content p strong {
  color: #22d3ee;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Lists Styling */
.seo-content ul {
  margin: 20px 0;
  padding-left: 25px;
  list-style: none;
}

.seo-content li {
  color: #cbd5e1;
  margin: 15px 0;
  padding-left: 35px;
  position: relative;
  line-height: 1.6;
}

.seo-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #8b5cf6;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.seo-content li:hover::before {
  transform: translateX(5px);
  color: #22d3ee;
}

/* Horizontal Rule */
.seo-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8b5cf6, #22d3ee, transparent);
  margin: 40px 0;
  border-radius: 1px;
}

/* Example Scenario */
.example-scenario {
  background: rgba(139, 92, 246, 0.08);
  border-left: 4px solid #8b5cf6;
  padding: 25px;
  border-radius: 12px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.example-scenario::before {
  content: '💡';
  position: absolute;
  top: 20px;
  left: 0px;
  font-size: 1.5rem;
  
}

.example-scenario h3 {
  margin-top: 0;
  color: #22d3ee;
}

.example-scenario strong {
  color: #22d3ee;
  display: block;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-card {
  background: rgba(30, 41, 59, 0.5);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #8b5cf6;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.feature-card h3 {
  color: #8b5cf6;
  margin-top: 0;
  border-bottom: 2px solid rgba(139, 92, 246, 0.3);
  padding-bottom: 10px;
}

/* Real Example */
.real-example {
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
}

.real-example code {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  color: #22d3ee;
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: inline-block;
  margin: 10px 0;
}

/* Key Features */
.key-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-detail {
  background: rgba(139, 92, 246, 0.1);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #8b5cf6;
  transition: all 0.3s ease;
}

.feature-detail:hover {
  transform: translateY(-5px);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.feature-detail h3 {
  color: #8b5cf6;
  margin-top: 0;
}

.feature-detail p strong {
  background: none;
  padding: 0;
  color: #22d3ee;
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.benefit-column {
  background: rgba(30, 41, 59, 0.5);
  padding: 25px;
  border-radius: 12px;
}

.benefit-column h3 {
  color: #22d3ee;
  margin-top: 0;
}

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.use-case {
  background: rgba(34, 211, 238, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border-bottom: 3px solid #22d3ee;
  transition: all 0.3s ease;
}

.use-case:hover {
  transform: scale(1.05);
  background: rgba(34, 211, 238, 0.2);
}

.use-case h3 {
  margin-top: 0;
  color: #f8fafc;
}

.use-case p {
  text-align: center;
  margin-bottom: 0;
}

/* Audience */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.ideal-audience, .not-ideal-audience {
  padding: 25px;
  border-radius: 12px;
}

.ideal-audience {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.not-ideal-audience {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.ideal-audience h3, .not-ideal-audience h3 {
  margin-top: 0;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.comparison-table th {
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
  color: white;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(139, 92, 246, 0.1);
  color: #f8fafc;
}

.comparison-table td:first-child {
  color: #f8fafc;
  font-weight: 600;
}

.comparison-table td:nth-child(2) {
  color: #22d3ee;
  font-weight: 600;
}

/* FAQ Section */
.faq {
  margin: 30px 0;
}

.faq-item {
  background: rgba(34, 211, 238, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(34, 211, 238, 0.1);
  transform: translateX(5px);
  border-color: #22d3ee;
}

.faq-item h3 {
  color: #22d3ee;
  margin-top: 0;
  cursor: pointer;
}

.faq-item p {
  margin-bottom: 0;
}

/* Conclusion */
.conclusion {
  text-align: center;
  font-size: 1.3rem;
  color: #f8fafc;
  background: rgba(139, 92, 246, 0.1);
  padding: 30px;
  border-radius: 16px;
  margin: 30px 0;
  border: 2px dashed rgba(139, 92, 246, 0.3);
}

.conclusion strong {
  background: none;
  padding: 0;
  color: #22d3ee;
  font-size: 1.4rem;
}

.cta-final {
  text-align: center;
  font-size: 1.2rem;
  color: #cbd5e1;
  font-style: italic;
}

.final-action {
  text-align: center;
  font-size: 1.3rem;
  color: #22d3ee;
  font-weight: 600;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .seo-content {
    padding: 40px 15px;
    margin: 40px 10px;
    border-radius: 16px;
  }
  
  .seo-content > h2:first-child {
    font-size: 2.2rem;
  }
  
  .seo-content h1 {
    font-size: 1.8rem;
  }
  
  .seo-content h2 {
    font-size: 1.6rem;
  }
  
  .feature-grid,
  .key-features,
  .benefits,
  .use-cases-grid,
  .audience {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .seo-content > h2:first-child {
    font-size: 1.8rem;
  }
  
  .seo-content h1 {
    font-size: 1.5rem;
  }
  
  .seo-content h2 {
    font-size: 1.4rem;
  }
  
  .seo-content p {
    font-size: 1rem;
  }
}


