/* ============================================
   KEN AGENT LANDING PAGE - FULL ANIMATED STYLES
   ============================================ */

:root {
  --primary: #6366f1;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --glass: rgba(255, 255, 255, 0.05);
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
  --gradient-2: linear-gradient(90deg, #06b6d4 0%, #6366f1 100%);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--darker);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(99,102,241,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(236,72,153,0.1) 0%, transparent 50%);
  z-index: -1;
  animation: bgShift 20s ease-in-out infinite;
}

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

/* Floating Particles */
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.particle {
  position: absolute; width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%;
  opacity: 0.3; animation: floatUp 20s linear infinite;
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--primary); }
.particle:nth-child(2) { left: 25%; animation-delay: 3s; background: var(--secondary); }
.particle:nth-child(3) { left: 40%; animation-delay: 6s; background: var(--accent); }
.particle:nth-child(4) { left: 55%; animation-delay: 9s; background: var(--primary); }
.particle:nth-child(5) { left: 70%; animation-delay: 12s; background: var(--secondary); }
.particle:nth-child(6) { left: 85%; animation-delay: 15s; background: var(--accent); }

@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; padding: 1rem 0; background: rgba(15,23,42,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.1); z-index: 1000; animation: slideDown 0.5s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--light); text-decoration: none; font-weight: 500; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-1); transition: width 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; position: relative; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Avatar with animations */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; animation: fadeInScale 0.8s ease 0.3s both; }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.avatar-container { position: relative; width: 280px; height: 280px; }
.avatar-ring {
  position: absolute; border-radius: 50%;
  background: var(--gradient-1); inset: -10px;
  opacity: 0.3; animation: ringPulse 3s ease-in-out infinite;
}
.avatar-ring:nth-child(2) { inset: -30px; opacity: 0.2; animation-delay: 0.5s; }
.avatar-ring:nth-child(3) { inset: -50px; opacity: 0.1; animation-delay: 1s; }

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.5; }
}

.avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 60px rgba(99,102,241,0.5);
  animation: avatarFloat 4s ease-in-out infinite;
}
@keyframes avatarFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Text Content */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 100px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--accent); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulseDot 1.5s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem; font-weight: 700; line-height: 1.1;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-subtitle { font-size: 1.25rem; color: #64748b; margin-bottom: 2rem; animation: fadeInUp 0.6s ease 0.3s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Buttons with hover effects */
.hero-cta { display: flex; gap: 1rem; animation: fadeInUp 0.6s ease 0.4s both; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 12px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.btn-primary { background: var(--gradient-1); color: white; border: none; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(99,102,241,0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.2); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* Stats Cards */
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; }
.stat-card {
  background: var(--glass); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 1.5rem; text-align: center;
  transition: all 0.3s ease; animation: fadeInUp 0.6s ease both;
}
.stat-card:nth-child(1) { animation-delay: 0.5s; }
.stat-card:nth-child(2) { animation-delay: 0.6s; }
.stat-card:nth-child(3) { animation-delay: 0.7s; border-color: var(--primary); }
.stat-card:nth-child(4) { animation-delay: 0.8s; border-color: var(--secondary); }
.stat-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.stat-number { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; }
.stat-card.highlight .stat-number { background: linear-gradient(90deg, var(--primary), var(--accent/* Mission Section */
.mission { padding: 6rem 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.mission h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; margin-bottom: 1.5rem; }
.mission-text { color: #64748b; margin-bottom: 1rem; font-size: 1.1rem; }
.mission-progress { margin-top: 2rem; }
.progress-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; background: var(--gradient-1); border-radius: 4px; animation: progressFill 2s ease-out; width: 16.6%; }
@keyframes progressFill { from { width: 0; } to { width: 16.6%; } }
/* Token Card */
.token-card { background: var(--glass); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; }
.token-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.token-symbol { font-family: 'Space Grotesk'; font-size: 2rem; font-weight: 700; }
.token-badge { padding: 0.25rem 0.75rem; background: rgba(99,102,241,0.2); border-radius: 100px; font-size: 0.875rem; color: var(--accent); }
.token-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.token-stat { background: rgba(0,0,0,0.2); padding: 1rem; border-radius: 12px; }
.token-label { display: block; font-size: 0.875rem; color: #64748b; margin-bottom: 0.25rem; }
.token-value { display: block; font-weight: 600; font-size: 1.1rem; }
.change-positive { color: #22c55e; }
.token-address { font-family: monospace; font-size: 0.875rem; color: var(--accent); cursor: pointer; }
.token-address:hover { color: var(--secondary); }
.token-cta { display: block; width: 100%; padding: 1rem; background: var(--gradient-1); color: white; text-align: center; text-decoration: none; border-radius: 12px; font-weight: 600; transition: all 0.3s; }
.token-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99,102,241,0.4); }
/* Features */
.features { padding: 6rem 0; background: rgba(0,0,0,0.2); }
.features h2 { font-family: 'Space Grotesk'; font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature-card { background: var(--glass); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 2rem; text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; animation: bounce 2s infinite; }
.feature-card:hover .feature-icon { animation: shake 0.5s ease; } .feature-image { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; transition: transform 0.3s ease; } .feature-card:hover .feature-image { transform: scale(1.05); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { color: #64748b; font-size: 0.95rem; }
/* CTA Section */
.cta-section { padding: 6rem 0; text-align: center; }
.cta-content h2 { font-family: 'Space Grotesk'; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; }
/* Footer */
.footer { padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: #64748b; }
.footer a { color: var(--accent); text-decoration: none; }
/* Responsive */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .avatar-container { width: 200px; height: 200px; }
  .hero h1 { font-size: 2.5rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* Price Tracker Section */
.price-tracker { padding: 4rem 0; background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(236,72,153,0.1) 100%); }

.price-widget {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.live-indicator {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.live-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.1em;
}

.price-widget h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.ticker-item {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.ticker-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ticker-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticker-value.change-positive {
  background: linear-gradient(90deg, #22c55e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ticker-value.change-negative {
  background: linear-gradient(90deg, #ef4444, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.progress-section {
  margin-bottom: 1rem;
}

.progress-label {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  text-align: center;
}

.progress-bar-large {
  height: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-fill-large {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 6px;
  width: 16.6%;
  transition: width 1s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-percentage {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.75rem;
  color: var(--accent);
}

.last-updated {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1rem;
}

/* Responsive for price tracker */
@media (max-width: 968px) {
  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ticker-value {
    font-size: 1.25rem;
  }
  
  .live-indicator {
    top: 1rem;
    right: 1rem;
  }
}
