/* =============================================
   FeedFirewall - Main Stylesheet
   ============================================= */

/* ---------------------------------------------
   CSS Variables
   --------------------------------------------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --text-primary: #f5f5f7;
  --text-secondary: #8a8a9a;
  --text-muted: #5a5a6a;
  --accent-fire: #ff4d2a;
  --accent-fire-glow: #ff6b4a;
  --accent-orange: #ff9500;
  --accent-purple: #a855f7;
  --accent-purple-glow: #c084fc;
  --accent-green: #22c55e;
  --border-subtle: rgba(255,255,255,0.06);
  --border-glow: rgba(255,77,42,0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* ---------------------------------------------
   Typography
   --------------------------------------------- */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-font {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
}

.mono {
  font-family: 'Space Mono', monospace;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-fire);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

section {
  padding: 120px 0;
  position: relative;
}

/* ---------------------------------------------
   Navigation
   --------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-orange) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ---------------------------------------------
   Buttons
   --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-purple) 100%);
  color: white;
  box-shadow: 0 4px 24px rgba(168,85,247,0.3), 0 0 0 0 rgba(168,85,247,0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.4), 0 0 0 4px rgba(168,85,247,0.1);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* Full-width button variant (for pricing cards) */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------------------------------------------
   Animations
   --------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,42,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,77,42,0); }
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-5%, 5%) rotate(3deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------
   Hero Section (Index)
   --------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(255,77,42,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(168,85,247,0.06) 0%, transparent 50%);
  animation: heroGlow 20s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .ai-highlight {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ---------------------------------------------
   Demo Section
   --------------------------------------------- */
.demo {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.demo-visual {
  position: relative;
}

.demo-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-orange));
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.demo-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667 0%, #445 100%);
  border-radius: 50%;
}

.demo-author {
  font-weight: 600;
}

.demo-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, #cc0000 100%);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  animation: badgePulse 2s ease-in-out infinite;
}

.demo-ai-badge {
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 100%);
  margin-left: 8px;
}

.demo-ai-badge::before {
  content: none;
}

/* ---------------------------------------------
   Features Section
   --------------------------------------------- */
.features {
  position: relative;
}

.features-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,77,42,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-orange) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-icon.purple {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-purple-glow) 100%);
}

.feature-icon.green {
  background: linear-gradient(135deg, var(--accent-green) 0%, #16a34a 100%);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* ---------------------------------------------
   Analytics Dashboard Section
   --------------------------------------------- */
.analytics {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.analytics-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.analytics-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.analytics-image {
  position: relative;
}

.analytics-image img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.analytics-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.analytics-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.analytics-feature:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.analytics-feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-fire) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.analytics-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.analytics-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .analytics-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .analytics-image {
    order: -1;
  }
}

/* ---------------------------------------------
   Extension Controls Section
   --------------------------------------------- */
.controls {
  position: relative;
}

.controls-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.controls-features {
  max-width: 500px;
}

.controls-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.control-item:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.control-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-orange) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.control-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.control-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.controls-image {
  display: flex;
  justify-content: center;
}

.controls-image img {
  max-width: 320px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .controls-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .controls-features {
    max-width: 100%;
  }

  .controls-image {
    order: -1;
  }

  .controls-image img {
    max-width: 280px;
  }
}

/* ---------------------------------------------
   Platforms Section
   --------------------------------------------- */
.platforms {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
}

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.platform-icon.twitter {
  background: #000;
  border: 1px solid #333;
}

.platform-icon.linkedin {
  background: #0a66c2;
}

.platform-icon.reddit {
  background: #ff4500;
  color: #fff;
}

.platform-icon.youtube {
  background: #ff0000;
  color: #fff;
}

.platform-icon.coming-soon {
  background: var(--bg-card);
  border: 2px dashed var(--border-subtle);
  color: var(--text-secondary);
}

.platform-card.coming-soon {
  opacity: 0.7;
  border-style: dashed;
}

.platform-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.platform-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------------------------------------------
   Languages Section
   --------------------------------------------- */
.languages {
  text-align: center;
}

.lang-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.lang-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  font-size: 1rem;
}

.lang-badge span {
  font-size: 1.5rem;
}

/* ---------------------------------------------
   CTA Section
   --------------------------------------------- */
.cta {
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
}

.cta p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.browser-icon {
  width: 24px;
  height: 24px;
}

/* ---------------------------------------------
   Pricing Hero Section
   --------------------------------------------- */
.pricing-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(168,85,247,0.08) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(255,77,42,0.06) 0%, transparent 50%);
}

.pricing-hero .container {
  position: relative;
  z-index: 1;
}

.pricing-hero .section-label {
  color: var(--accent-purple);
}

.pricing-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.pricing-hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-fire) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------------------------------------------
   Pricing Cards Section
   --------------------------------------------- */
.pricing-section {
  padding-top: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.pricing-card.featured {
  border-color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(168,85,247,0.08) 0%, var(--bg-card) 50%);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-fire));
  border-radius: 24px 24px 0 0;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-fire) 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card .tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

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

.price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.price .period {
  color: var(--text-muted);
  font-size: 1rem;
}

.price .currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 8px;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list .check {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--accent-green) 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-list .check svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
}

.features-list .pro-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-fire) 100%);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}

/* ---------------------------------------------
   FAQ Section
   --------------------------------------------- */
.faq-section {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 80px;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------------------------------------------
   Guarantee Section
   --------------------------------------------- */
.guarantee {
  text-align: center;
  margin-top: 60px;
  padding: 32px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.guarantee-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.guarantee h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.guarantee p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ---------------------------------------------
   Footer
   --------------------------------------------- */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-columns {
  display: flex;
  gap: 64px;
}

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

.footer-column h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ---------------------------------------------
   Responsive - Tablet
   --------------------------------------------- */
@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .nav-links {
    display: none;
  }

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

  .footer-columns {
    gap: 48px;
  }
}

/* ---------------------------------------------
   Responsive - Mobile
   --------------------------------------------- */
@media (max-width: 600px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .pricing-hero {
    padding-top: 100px;
  }

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

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .pricing-card {
    padding: 28px;
  }

  .price .amount {
    font-size: 2.75rem;
  }
}

/* Legal Pages (Privacy Policy, Terms) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-fire);
}

.legal-section a {
  color: var(--accent-fire);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-section a:hover {
  opacity: 0.8;
}

.legal-section strong {
  color: var(--text-primary);
}

/* ---------------------------------------------
   Platform-Specific Landing Pages (SEO)
   --------------------------------------------- */

/* Platform Hero */
.platform-hero {
  min-height: 80vh;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.platform-badge .platform-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

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

.platform-badge .platform-icon.twitter {
  background: #000;
  border: 1px solid #333;
}

.platform-badge .platform-icon.linkedin {
  background: #0a66c2;
  color: white;
}

.platform-badge .platform-icon.reddit {
  background: #ff4500;
  color: white;
}

.platform-badge .platform-icon.youtube {
  background: #ff0000;
  color: white;
}

/* Patterns Section */
.patterns {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.patterns-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.patterns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pattern-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.pattern-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.pattern-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* How It Works Section */
.how-it-works {
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-purple) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* Features Highlight Section */
.features-highlight {
  background: var(--bg-secondary);
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-highlight {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.feature-highlight-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-highlight h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-highlight p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Other Platforms Section */
.other-platforms {
  text-align: center;
  padding: 80px 0;
}

.other-platforms-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.other-platform-link {
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.other-platform-link:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Platform Pages - Responsive */
@media (max-width: 900px) {
  .patterns-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .features-highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .platform-hero {
    min-height: auto;
    padding-bottom: 60px;
  }

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

  .other-platforms-links {
    flex-direction: column;
    align-items: center;
  }

  .other-platform-link {
    width: 100%;
    max-width: 250px;
  }
}

/* ---------------------------------------------
   Glossary Pages (Pattern/Signal SEO)
   --------------------------------------------- */

/* Glossary Hero */
.glossary-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
}

.glossary-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255,77,42,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.glossary-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.glossary-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.glossary-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.glossary-breadcrumb a:hover {
  color: var(--accent-fire);
}

.glossary-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.glossary-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Glossary Article */
.glossary-article {
  padding: 60px 0 120px;
}

.glossary-content {
  max-width: 720px;
  margin: 0 auto;
}

.glossary-section {
  margin-bottom: 48px;
}

.glossary-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.glossary-definition {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.glossary-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.glossary-signals {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glossary-signals li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.6;
}

.glossary-signals li:last-child {
  border-bottom: none;
}

.glossary-signals li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-fire);
}

/* Glossary CTA Box */
.glossary-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.glossary-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.glossary-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.glossary-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Related Patterns */
.related-patterns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.related-pattern-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-pattern-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.related-pattern-title {
  font-weight: 600;
  color: var(--text-primary);
}

.related-pattern-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Glossary Index Page */
.glossary-index-hero {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
  position: relative;
}

.glossary-index-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(168,85,247,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.glossary-index-hero .glossary-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.glossary-index-hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.glossary-index-content {
  padding: 40px 0 80px;
}

.glossary-category {
  margin-bottom: 60px;
}

.glossary-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.category-icon {
  font-size: 1.5rem;
}

.glossary-category-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.glossary-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.glossary-index-card {
  display: block;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.glossary-index-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.glossary-index-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.glossary-index-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Glossary Responsive */
@media (max-width: 600px) {
  .glossary-hero {
    padding-top: 120px;
  }

  .glossary-index-hero {
    padding-top: 120px;
  }

  .glossary-cta {
    padding: 28px 20px;
  }

  .related-patterns {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------
   Use Case Pages (SEO)
   --------------------------------------------- */

/* Use Case Hero */
.usecase-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
}

.usecase-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255,77,42,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(168,85,247,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.usecase-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.usecase-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.usecase-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.usecase-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Problem Section */
.usecase-problem {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 100px 0;
}

.usecase-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.usecase-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
}

.usecase-problem-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.usecase-problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Solution Section */
.usecase-solution {
  padding: 100px 0;
}

.usecase-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.usecase-benefit-card:hover {
  border-color: var(--border-glow);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255,77,42,0.1) 0%, rgba(168,85,247,0.1) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-fire);
}

.usecase-benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.usecase-benefit-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Testimonial Section */
.usecase-testimonial {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
}

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

.testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Related Use Cases Section */
.related-usecases {
  padding: 80px 0;
  text-align: center;
}

.related-usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 40px auto 0;
}

.related-usecase-card {
  display: block;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
}

.related-usecase-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.related-usecase-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.related-usecase-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Use Case Pages - Responsive */
@media (max-width: 900px) {
  .usecase-problems-grid,
  .usecase-benefits-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .related-usecases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .usecase-hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .usecase-problem,
  .usecase-solution {
    padding: 60px 0;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }

  .usecase-testimonial {
    padding: 60px 0;
  }
}
