* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 { top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { top: 20%; right: 10%; animation-delay: 1s; }
.shape-3 { top: 50%; left: 5%; animation-delay: 2s; }
.shape-4 { top: 70%; right: 15%; animation-delay: 3s; }
.shape-5 { bottom: 20%; left: 20%; animation-delay: 4s; }
.shape-6 { bottom: 10%; right: 20%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
  border-radius: 0 0 40px 40px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: bounceIn 1s ease-out;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.1;
}

.word {
  display: inline-block;
  opacity: 0;
  animation: slideInUp 0.8s ease-out forwards;
}

.word[data-delay="0"] { animation-delay: 0.2s; }
.word[data-delay="200"] { animation-delay: 0.4s; }
.word[data-delay="400"] { animation-delay: 0.6s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typewriter {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-right: 2px solid #3b82f6;
  white-space: nowrap;
  animation: typing 3s steps(60) 1s forwards, blinkCursor 0.5s step-end infinite;
  width: 0;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  from, to { border-color: transparent; }
  50% { border-color: #3b82f6; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

.stat {
  text-align: center;
  position: relative;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-bar {
  width: 80px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 8px auto 0;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
  animation: fillBar 2s ease-out 2s forwards;
  width: 0 !important;
}

@keyframes fillBar {
  to { width: var(--width, 95%) !important; }
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  margin: 8px auto 0;
  animation: pulseGreen 1.5s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.rotating-icon {
  font-size: 1.5rem;
  margin-top: 8px;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Features Section */
.features {
  margin-bottom: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.slide-in-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 16px;
  opacity: 0;
  animation: slideInLeft 1s ease-out 0.5s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-text {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.8s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card.primary .card-glow {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
}

.feature-card.secondary .card-glow {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
}

.feature-card.accent .card-glow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
}

.feature-card:hover .card-glow {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.icon-wrapper {
  position: relative;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.icon-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0;
  animation: ripple 2s infinite;
}

.feature-card.primary .icon-ripple { border-color: #3b82f6; }
.feature-card.secondary .icon-ripple { border-color: #10b981; }
.feature-card.accent .icon-ripple { border-color: #f59e0b; }

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-card p {
  color: #64748b;
  margin-bottom: 20px;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.list-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  opacity: 0;
  animation: slideInRight 0.5s ease-out forwards;
}

.list-item:nth-child(1) { animation-delay: 0.1s; }
.list-item:nth-child(2) { animation-delay: 0.2s; }
.list-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.checkmark {
  color: #10b981;
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.1rem;
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  color: #0f172a;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 30px;
  padding: 80px 40px;
  margin-bottom: 80px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  animation: particleFloat var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 60%; left: 80%; }
.particle:nth-child(3) { top: 80%; left: 30%; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 1; }
}

.glitch-text {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
  position: relative;
  animation: glitch 2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  animation: glitch-1 2s infinite;
  color: #ff0000;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-2 2s infinite;
  color: #00ffff;
  z-index: -2;
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(-1px, -1px); }
  60% { transform: translate(1px, 1px); }
  80% { transform: translate(1px, -1px); }
}

@keyframes glitch-2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(1px, -1px); }
  40% { transform: translate(1px, 1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(-1px, 1px); }
}

.cta-content > p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 50px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  z-index: 2;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
  width: 100%;
  padding: 16px 16px 16px 45px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.input-wrapper input:focus + label,
.input-wrapper input:valid + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:valid + label {
  top: -10px;
  left: 12px;
  font-size: 0.8rem;
  color: #3b82f6;
  background: #1e293b;
  padding: 0 8px;
  border-radius: 4px;
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
  color: #3b82f6;
  transform: translateY(-50%) scale(1.1);
}

.input-wrapper label {
  position: absolute;
  left: 45px;
  top: 16px;
  color: #94a3b8;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.input-wrapper input:focus ~ .input-border,
.input-wrapper textarea:focus ~ .input-border {
  width: 100%;
}

.input-wrapper textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 16px;
}

.cta-button {
  width: 100%;
  padding: 18px;
  background: transparent;
  color: white;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  transition: left 0.3s ease;
  z-index: -1;
}

.cta-button:hover .btn-bg {
  left: 0;
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.btn-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  opacity: 0;
}

.cta-button:hover .btn-particles span {
  animation: particleExplode 0.6s ease-out;
}

.btn-particles span:nth-child(1) { animation-delay: 0s; }
.btn-particles span:nth-child(2) { animation-delay: 0.1s; }
.btn-particles span:nth-child(3) { animation-delay: 0.2s; }

@keyframes particleExplode {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x, 20px), var(--y, -20px)) scale(1);
  }
}

.btn-particles span:nth-child(1) { --x: -30px; --y: -30px; }
.btn-particles span:nth-child(2) { --x: 30px; --y: -30px; }
.btn-particles span:nth-child(3) { --x: 0px; --y: -40px; }

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-content p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 60px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  animation: wave 3s ease-in-out infinite;
}

.wave:nth-child(2) {
  animation-delay: 1s;
  opacity: 0.7;
}

.wave:nth-child(3) {
  animation-delay: 2s;
  opacity: 0.5;
}

@keyframes wave {
  0%, 100% { transform: translateX(-50%); }
  50% { transform: translateX(-25%); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
    margin-bottom: 60px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .typewriter {
    font-size: 1.1rem;
    white-space: normal;
    border-right: none;
    animation: none;
    width: auto;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-section {
    padding: 60px 20px;
    margin-bottom: 60px;
  }
  
  .glitch-text {
    font-size: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 25px 15px;
  }
  
  .input-wrapper input,
  .input-wrapper textarea {
    padding: 14px 14px 14px 40px;
  }
  
  .input-wrapper label {
    left: 40px;
    top: 14px;
  }
} 