/* AIUNITES Webring Bar */
.aiunites-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(90deg, #0a0a0f 0%, #1a1a2e 100%); border-bottom: 1px solid rgba(99, 102, 241, 0.3); padding: 8px 0; font-size: 12px; }
.aiunites-bar-content { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.aiunites-bar-content::-webkit-scrollbar { display: none; }
.aiunites-bar a { color: rgba(255,255,255,0.7); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.aiunites-bar a:hover { color: #fff; }
.aiunites-bar-brand { color: #6366f1 !important; font-weight: 600; }
.aiunites-bar-brand:hover { color: #818cf8 !important; }
.aiunites-bar-divider { color: rgba(255,255,255,0.2); }

:root {
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --dark: #0a0a0f;
  --dark-light: #12121a;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --gradient: linear-gradient(135deg, #ef4444, #f97316);
  --font: 'Inter', sans-serif;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--dark); color: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav { position: fixed; top: 36px; left: 0; right: 0; z-index: 100; padding: 1rem 0; background: rgba(10,10,15,0.9); backdrop-filter: blur(10px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
.nav-links a { font-size: 0.85rem; color: var(--gray-light); transition: color 0.3s; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.3s; }
.btn-primary { background: var(--gradient); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(239,68,68,0.3); }
.btn-secondary { background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Hero */
.hero { padding: 10rem 0 6rem; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(239,68,68,0.15), transparent 60%); }
.hero-badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); border-radius: 50px; font-size: 0.85rem; color: var(--primary); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.2rem; color: var(--gray-light); max-width: 600px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats { display: flex; justify-content: center; gap: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--gray); }

/* Sections */
.section-header { text-align: center; margin-bottom: 3rem; }
.badge { display: inline-block; padding: 0.4rem 0.8rem; background: rgba(239,68,68,0.1); border-radius: 50px; font-size: 0.75rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-header p { color: var(--gray-light); }

/* Features */
.features { padding: 5rem 0; background: var(--dark-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); padding: 2rem; transition: all 0.3s; }
.feature-card:hover { border-color: rgba(239,68,68,0.3); transform: translateY(-5px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--gray-light); font-size: 0.95rem; }

/* How It Works */
.how { padding: 5rem 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.step { text-align: center; padding: 2rem; }
.step-num { width: 60px; height: 60px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.step p { color: var(--gray-light); font-size: 0.95rem; }

/* Topics */
.topics { padding: 5rem 0; background: var(--dark-light); }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.topic-card { background: var(--dark); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s; }
.topic-card:hover { border-color: rgba(239,68,68,0.3); }
.topic-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.topic-name { font-weight: 600; margin-bottom: 0.25rem; }
.topic-count { font-size: 0.8rem; color: var(--gray); }

/* CTA */
.cta-section { padding: 5rem 0; background: var(--gradient); text-align: center; }
.cta-section h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; }
.cta-section .btn-primary { background: var(--white); color: var(--primary-dark); }

/* Contact */
.contact { padding: 5rem 0; }
.waitlist-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }
.waitlist-form input { flex: 1; padding: 1rem; background: var(--dark-light); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); color: var(--white); font-size: 1rem; }
.waitlist-form input:focus { outline: none; border-color: var(--primary); }

/* Footer */
.footer { padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--gray); font-size: 0.9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: var(--gray); font-size: 0.85rem; }
.footer-bottom a { color: var(--primary); }

/* Feedback Button */
.feedback-btn { position: fixed; bottom: 24px; right: 24px; padding: 0.75rem 1.25rem; background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: white; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 20px rgba(139,92,246,0.4); transition: all 0.3s; z-index: 100; }
.feedback-btn:hover { transform: translateY(-3px); }

/* Disclaimer */
.footer-bottom .disclaimer { background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3); padding: 0.75rem 1rem; border-radius: 8px; color: #fbbf24; font-size: 0.8rem; margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  /* Nav - show below logo on mobile */
  .nav-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .nav-links {
    width: 100%;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  
  .nav-links a {
    font-size: 0.85rem;
  }
  
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
  .waitlist-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 0.75rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
}
