@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: white;
  background: radial-gradient(circle at top, #0d0d0d 0%, #050505 100%);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ============ NAVBAR ============ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo img { width: 40px; }
.logo h1 { font-weight: 700; letter-spacing: 1px; }
.navbar nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar nav a:hover { color: #fff; }
.navbar .cta {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero-content {
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}
.hero-content h2 {
  font-size: 3rem;
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  animation: floatGlow 5s ease-in-out infinite alternate;
}
.hero-content p {
  color: #b5b5b5;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  animation: fadeInUp 2s ease;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }
.btn {
  padding: 0.9rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.primary {
  background: linear-gradient(90deg, #8b5cf6, #6366f1);
  color: #fff;
}
.secondary {
  border: 1px solid #888;
  color: #ccc;
}
.btn:hover { transform: translateY(-3px); }

.hero-bg {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at 50% 30%, #7c3aed33 0%, transparent 60%),
              radial-gradient(circle at 80% 70%, #2563eb22 0%, transparent 60%);
  z-index: 1;
  filter: blur(80px);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}

/* ============ ANIMATIONS ============ */
@keyframes floatGlow {
  0% { text-shadow: 0 0 20px rgba(140,100,255,0.2); }
  100% { text-shadow: 0 0 40px rgba(140,100,255,0.5); }
}
@keyframes pulseGlow {
  0% { opacity: 0.7; filter: blur(80px); }
  100% { opacity: 1; filter: blur(100px); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============ FEATURES MARQUEE (LEFT ➜ RIGHT) ============ */
.features {
  padding: 6rem 2rem;
  text-align: center;
  background: #0a0a0a;
  overflow: hidden;
}
.features h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease;
}

/* container scrolls continuously */
.feature-grid {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marqueeRight 35s linear infinite;
}

/* each card */
.feature {
  min-width: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  animation: floatY 6s ease-in-out infinite;
}
.feature:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 25px rgba(163, 121, 255, 0.25);
}

/* horizontal scroll motion */
@keyframes marqueeRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* vertical floating */
@keyframes floatY {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* pause on hover */
.features:hover .feature-grid {
  animation-play-state: paused;
}

/* ============ AI PERSONAS MARQUEE (RIGHT ➜ LEFT) ============ */
.ai-personas {
  padding: 6rem 2rem;
  background: radial-gradient(circle at top, #0f0f0f 0%, #090909 100%);
  text-align: center;
  overflow: hidden;
}
.ai-personas h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease;
}

/* opposite direction scroll */
.persona-cards {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeLeft 40s linear infinite;
}

.persona {
  min-width: 230px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 12px;
  transition: 0.3s;
  animation: floatY 7s ease-in-out infinite;
}
.persona:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 30px rgba(120,120,255,0.25);
  transform: translateY(-6px);
}

@keyframes marqueeLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ai-personas:hover .persona-cards {
  animation-play-state: paused;
}

/* ============ VISION / DOWNLOAD / FOOTER ============ */
.vision, .download {
  padding: 8rem 2rem;
  text-align: center;
  background: #0b0b0b;
}
.vision h2, .download h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 2s ease;
}
.download .hero-buttons {
  margin-top: 2.5rem;
}
.download p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}
.download .btn {
  transition: all 0.3s ease, box-shadow 0.3s ease;
}
.download .btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 25px rgba(150, 120, 255, 0.4);
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #050505;
  color: #666;
  font-size: 0.9rem;
}
footer a { color: #888; text-decoration: none; }
