/* Master Stylesheet (Polymarket Bot Web Platform) */
@import url('critical.css');

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #02050E;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.6);
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #FFF;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sci-fi Panel Card */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.cyber-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.12);
  transform: translateY(-3px);
}

/* Corner Accents */
.cyber-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
}
.cyber-card::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
}

/* Video Showcase Pod */
.video-showcase-pod {
  max-width: 1060px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--border-accent);
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.video-header-bar {
  background: #040915;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.video-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-green);
  font-weight: 700;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02040A;
}

.video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 30px;
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}
.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Social Proof Bar */
.social-proof-banner {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08), rgba(0, 255, 157, 0.08));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
}

/* Trader Proof Grid */
.trader-proof-card {
  padding: 32px;
  background: #040916;
  border: 1px solid var(--border-accent);
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .stats-counter-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}
.stat-val {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--neon-green);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Key Takeaways Box (AEO essential) */
.key-takeaways-box {
  background: rgba(0, 229, 255, 0.05);
  border-left: 4px solid var(--neon-cyan);
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin: 30px 0;
  font-size: 0.95rem;
}
.key-takeaways-box h4 {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.site-footer {
  background: #010309;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h5 {
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
