/* AutoClip Streamer Landing Page Stylesheet */

:root {
  --bg-main: #080c14;
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --success: #10b981;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.35);
  --radius: 12px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Banner */
.top-banner {
  background: linear-gradient(90deg, #7c3aed, #ec4899, #7c3aed);
  background-size: 200% auto;
  animation: shine 6s linear infinite;
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-icon {
  font-size: 1.4rem;
}

.brand-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  gap: 0.75rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.4);
}

.btn-secondary:hover {
  background: rgba(236, 72, 153, 0.25);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.1);
}

.shadow-glow {
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.45);
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
}

.hero-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c4b5fd;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #f472b6, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text-group small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Mockup */
.hero-mockup {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 40px rgba(139, 92, 246, 0.2);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: #0b0f19;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
  margin-left: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mockup-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 400px;
  background: #0a0f1d;
}

.mockup-sidebar {
  padding: 1.25rem;
  border-right: 1px solid var(--border-color);
  text-align: left;
}

.mockup-sidebar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.badge-mini {
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.mockup-clip-card {
  background: #111827;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 0.75rem;
}

.mockup-clip-card.active {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.1);
}

.clip-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
}

.score-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.mockup-preview-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.phone-frame {
  width: 220px;
  height: 380px;
  background: #000;
  border-radius: 24px;
  border: 3px solid #334155;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-bg-blur {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=600&q=80') center/cover;
  filter: blur(14px) brightness(0.4);
}

.video-gameplay-center {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 124px;
  background: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=600&q=80') center/cover;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gameplay-tag {
  background: rgba(0,0,0,0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
}

.subtitles-preview {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  padding: 0 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

.sub-word { color: #fff; }
.sub-word.highlight { color: #fde047; }

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Compare Grid */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
}

.compare-card.bad {
  border-color: rgba(239, 68, 68, 0.2);
}

.compare-card.good {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.4), rgba(15, 23, 42, 0.9));
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.badge-recommended {
  position: absolute;
  top: -12px;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.compare-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.compare-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.2s ease;
}

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

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

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

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

/* Specs Table Card */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, .specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.specs-footer-notices {
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured-plan {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6), rgba(15, 23, 42, 0.95));
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.3);
  transform: scale(1.03);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
}

.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.plan-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.plan-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.plan-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-subprice {
  font-size: 0.85rem;
  color: #a78bfa;
  margin-bottom: 1.5rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
  font-size: 0.95rem;
}

.payment-guarantee {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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

.faq-question {
  padding: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  background: #05080e;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  color: #64748b;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.3rem; }
  .compare-grid { grid-template-columns: 1fr; }
  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .nav-links { display: none; }
}
