/* Auth & Landing Pages Styling - Stripe-inspired Design */
/* This file only affects landing.html, login.html, and register.html */

/* CSS Custom Properties - Brand Colors */
:root {
  --lockin-primary: #1e40af;
  --lockin-primary-dark: #1e3a8a;
  --lockin-primary-light: #3b82f6;
  --lockin-secondary: #0ea5e9;
  --lockin-accent: #0284c7;
  --lockin-success: #10b981;
  --lockin-warning: #f59e0b;
  --lockin-error: #ef4444;
  --lockin-gray-50: #f9fafb;
  --lockin-gray-100: #f3f4f6;
  --lockin-gray-200: #e5e7eb;
  --lockin-gray-300: #d1d5db;
  --lockin-gray-600: #4b5563;
  --lockin-gray-700: #374151;
  --lockin-gray-900: #111827;
}

/* ===== AUTH FORM STYLES ===== */
.auth-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.auth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--lockin-gray-900);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--lockin-gray-600);
  font-size: 1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-form-group {
  position: relative;
}

.auth-form-group label {
  display: block;
  font-weight: 600;
  color: var(--lockin-gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.auth-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--lockin-gray-200);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--lockin-gray-900);
}

.auth-input:focus {
  outline: none;
  border-color: var(--lockin-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.auth-form-group.focused label {
  color: var(--lockin-primary);
  transform: scale(0.95);
}

.auth-submit-btn {
  background: linear-gradient(135deg, var(--lockin-primary) 0%, var(--lockin-primary-dark) 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-flash-messages {
  margin-bottom: 1rem;
}

.auth-flash-message {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  animation: slideIn 0.3s ease;
}

.auth-flash-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--lockin-error);
}

.auth-flash-message.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--lockin-success);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-footer-links {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lockin-gray-200);
}

.auth-footer-links p {
  color: var(--lockin-gray-600);
  font-size: 0.875rem;
}

.auth-link {
  color: var(--lockin-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: var(--lockin-primary-dark);
  text-decoration: underline;
}

/* ===== LANDING PAGE STYLES ===== */
.landing-body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Global Network Background Animation */
.global-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

#globalNetworkCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

/* Animated Background with Study Emojis */
.landing-body::before {
  content: '📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆 📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  font-size: 2rem;
  opacity: 0.08;
  animation: floatEmojis 30s linear infinite;
  z-index: -2;
  white-space: pre-wrap;
  word-spacing: 4rem;
  line-height: 8rem;
  pointer-events: none;
}

.landing-body::after {
  content: '🎨 📐 🧮 🔍 📋 💻 🎪 🌟 🚀 🎯 📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆';
  position: fixed;
  top: 50%;
  left: 0;
  width: 200%;
  height: 200%;
  font-size: 1.5rem;
  opacity: 0.06;
  animation: floatEmojis 25s linear infinite reverse;
  z-index: -1;
  white-space: pre-wrap;
  word-spacing: 3rem;
  line-height: 6rem;
  pointer-events: none;
}

@keyframes floatEmojis {
  0% { 
    transform: translateX(-50%) translateY(-10%);
  }
  100% { 
    transform: translateX(-100%) translateY(-20%);
  }
}

/* Global Floating Particles */
.landing-body {
  position: relative;
}

.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-particles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(30, 64, 175, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 30% 90%, rgba(96, 165, 250, 0.06) 0%, transparent 35%);
  animation: particleFloat 20s ease-in-out infinite;
}

.floating-particles::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 60% 40%, rgba(30, 64, 175, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 20% 60%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 40% 20%, rgba(2, 132, 199, 0.06) 0%, transparent 40%);
  animation: particleFloat 25s ease-in-out infinite reverse;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateX(0px) translateY(0px) scale(1) rotate(0deg);
    opacity: 1;
  }
  25% { 
    transform: translateX(20px) translateY(-15px) scale(1.1) rotate(90deg);
    opacity: 0.8;
  }
  50% { 
    transform: translateX(-10px) translateY(-30px) scale(0.9) rotate(180deg);
    opacity: 0.6;
  }
  75% { 
    transform: translateX(-25px) translateY(-10px) scale(1.05) rotate(270deg);
    opacity: 0.9;
  }
}

/* Landing Navigation */
.landing-nav {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav .nav-brand {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.landing-nav .nav-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.landing-nav .nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

.landing-nav .nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Landing Hero Section */
.landing-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  color: white;
  position: relative;
}

.landing-hero-content {
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.landing-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.landing-hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 400;
}

.landing-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--lockin-primary), var(--lockin-secondary));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.landing-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.landing-cta-button:hover::before {
  left: 100%;
}

.landing-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Elements */
.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; }
.floating-element:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 4s; }
.floating-element:nth-child(4) { bottom: 10%; right: 20%; animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== AUTH PAGES STYLES ===== */
.auth-body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Animated background emojis for auth pages */
.auth-body::before {
  content: '📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆 📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  font-size: 2rem;
  opacity: 0.08;
  animation: floatEmojis 30s linear infinite;
  z-index: -2;
  white-space: pre-wrap;
  word-spacing: 4rem;
  line-height: 8rem;
  pointer-events: none;
}

.auth-body::after {
  content: '🎨 📐 🧮 🔍 📋 💻 🎪 🌟 🚀 🎯 📚 ✏️ 🎓 📖 🖊️ 💡 🔬 📝 🎯 ⭐ 📊 🏆';
  position: fixed;
  top: 50%;
  left: 0;
  width: 200%;
  height: 200%;
  font-size: 1.5rem;
  opacity: 0.06;
  animation: floatEmojis 25s linear infinite reverse;
  z-index: -1;
  white-space: pre-wrap;
  word-spacing: 3rem;
  line-height: 6rem;
  pointer-events: none;
}

/* Auth Navigation */
.auth-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lockin-gray-200);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.auth-nav .nav-brand {
  color: var(--lockin-gray-900);
  font-weight: 700;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.auth-nav .nav-brand:hover {
  color: var(--lockin-primary);
  transform: scale(1.02);
}

.auth-nav .nav-links a {
  color: var(--lockin-gray-700);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
}

.auth-nav .nav-links a:hover {
  color: var(--lockin-primary);
  background: var(--lockin-gray-100);
}

/* Auth Form Container */
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 400px;
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.auth-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lockin-primary), var(--lockin-secondary), var(--lockin-accent));
  border-radius: 1.5rem 1.5rem 0 0;
}

.auth-form h2 {
  color: var(--lockin-gray-900);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.auth-form h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--lockin-primary), var(--lockin-secondary));
  border-radius: 1px;
}

/* Form Fields */
.auth-form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.auth-form-group label {
  display: block;
  color: var(--lockin-gray-700);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.auth-form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--lockin-gray-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  color: var(--lockin-gray-900);
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--lockin-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.auth-form-group input:focus + label,
.auth-form-group input:not(:placeholder-shown) + label {
  color: var(--lockin-primary);
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--lockin-primary), var(--lockin-primary-light));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.auth-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.auth-submit-btn:hover::before {
  left: 100%;
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

/* Links and Secondary Actions */
.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.auth-links a {
  color: var(--lockin-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.auth-links a:hover {
  color: var(--lockin-primary-dark);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px);
}

/* Checkbox Styling */
.auth-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.auth-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  accent-color: var(--lockin-primary);
  cursor: pointer;
}

.auth-checkbox label {
  color: var(--lockin-gray-600);
  font-size: 0.875rem;
  cursor: pointer;
  margin-bottom: 0;
}

.auth-checkbox a {
  color: var(--lockin-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-checkbox a:hover {
  text-decoration: underline;
}

/* Flash Messages */
.auth-flash-messages {
  margin-bottom: 1.5rem;
}

.auth-flash-message {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  animation: slideInDown 0.4s ease-out;
}

.auth-flash-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--lockin-error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-flash-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--lockin-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.auth-footer {
  text-align: center;
  color: var(--lockin-gray-600);
  font-size: 0.75rem;
  padding: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .landing-hero h1 {
    font-size: 2.5rem;
  }
  
  .landing-hero p {
    font-size: 1.1rem;
  }
  
  .auth-form {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .auth-links {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* Loading Animation for Forms */
.auth-submit-btn.loading {
  background: var(--lockin-gray-300);
  cursor: not-allowed;
  position: relative;
}

.auth-submit-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Accessibility Improvements */
.auth-form input:focus-visible,
.auth-submit-btn:focus-visible {
  outline: 2px solid var(--lockin-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .auth-form {
    border: 2px solid var(--lockin-gray-900);
  }
  
  .auth-form-group input {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#networkCanvas {
  width: 100%;
  height: 100%;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.float-icon:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.float-icon:nth-child(4) { top: 80%; right: 20%; animation-delay: 3s; }
.float-icon:nth-child(5) { top: 40%; right: 30%; animation-delay: 4s; }
.float-icon:nth-child(6) { bottom: 20%; left: 25%; animation-delay: 5s; }

/* Additional Animated Background Elements */
.dynamic-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.shape-morph {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(30, 64, 175, 0.12), rgba(14, 165, 233, 0.1));
  animation: morphing 15s ease-in-out infinite;
}

.shape-morph:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 5%;
  left: 10%;
  animation-delay: 0s;
}

.shape-morph:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 15%;
  animation-delay: 3s;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(2, 132, 199, 0.08));
}

.shape-morph:nth-child(3) {
  width: 180px;
  height: 180px;
  bottom: 20%;
  left: 20%;
  animation-delay: 6s;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.06));
}

.shape-morph:nth-child(4) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 25%;
  animation-delay: 9s;
  background: linear-gradient(45deg, rgba(14, 165, 233, 0.08), rgba(30, 64, 175, 0.06));
}

.shape-morph:nth-child(5) {
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 10%;
  animation-delay: 12s;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(2, 132, 199, 0.08));
}

@keyframes morphing {
  0%, 100% {
    transform: scale(1) rotate(0deg) translateX(0px) translateY(0px);
    border-radius: 50%;
    opacity: 0.1;
  }
  25% {
    transform: scale(1.2) rotate(90deg) translateX(20px) translateY(-15px);
    border-radius: 40% 60% 30% 70%;
    opacity: 0.15;
  }
  50% {
    transform: scale(0.8) rotate(180deg) translateX(-10px) translateY(25px);
    border-radius: 30% 70% 60% 40%;
    opacity: 0.08;
  }
  75% {
    transform: scale(1.1) rotate(270deg) translateX(-25px) translateY(-20px);
    border-radius: 60% 40% 70% 30%;
    opacity: 0.12;
  }
}

/* Flowing Lines Animation - REMOVED */

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(30, 64, 175, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: #1e40af;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1e293b;
  text-align: center;
  letter-spacing: -0.02em;
}

.hero-title .word {
  display: inline-block;
  color: #1e293b;
}

.hero-title .word.animate {
  color: #1e293b;
}

.highlight-text {
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1e40af;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-hero:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-stats {
  display: flex;
  gap: 4rem;
  justify-content: center;
  animation: slideInUp 0.8s ease-out 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Container */
.container-wide {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Features Section */
.features-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

@keyframes featuresFloat {
  0%, 100% { 
    transform: translateY(0px) scale(1);
  }
  33% { 
    transform: translateY(-15px) scale(1.02);
  }
  66% { 
    transform: translateY(10px) scale(0.98);
  }
}

.features-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float-shapes 12s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00ff88, #00d4ff);
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b, #feca57);
  bottom: 30%;
  left: 15%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  bottom: 20%;
  right: 20%;
  animation-delay: 1s;
}

.shape-5 {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: 60%;
  left: 50%;
  animation-delay: 3s;
}

.shape-6 {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  top: 40%;
  right: 30%;
  animation-delay: 5s;
}

.gradient-waves {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: wave-pulse 8s ease-in-out infinite;
}

.wave-1 {
  top: -50%;
  left: -50%;
  animation-delay: 0s;
}

.wave-2 {
  top: -30%;
  right: -50%;
  animation-delay: 2s;
}

.wave-3 {
  bottom: -50%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float-shapes {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  33% { transform: translateY(-30px) rotate(120deg) scale(1.1); }
  66% { transform: translateY(-15px) rotate(240deg) scale(0.9); }
}

@keyframes wave-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.05; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.1; }
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 10;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.feature-card-enhanced {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(14, 165, 233, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card-enhanced:hover::before {
  opacity: 1;
}

.feature-card-enhanced:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(30, 64, 175, 0.25);
  border-color: rgba(30, 64, 175, 0.3);
}

.feature-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.feature-icon {
  font-size: 4rem;
  position: relative;
  z-index: 2;
  animation: icon-float 3s ease-in-out infinite;
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: glow-pulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes icon-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.feature-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.feature-stats {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.stat {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(14, 165, 233, 0.1));
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(30, 64, 175, 0.2);
}

.feature-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
}

.feature-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
}

/* Demo Section */
.demo-section {
  padding: 8rem 0;
  background: transparent;
  z-index: 10;
  position: relative;
}

@keyframes demoWave {
  0%, 100% { 
    transform: translateX(0px) translateY(0px);
  }
  50% { 
    transform: translateX(-10px) translateY(-5px);
  }
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.demo-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.demo-description {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.demo-features {
  list-style: none;
  padding: 0;
}

.demo-features li {
  padding: 0.5rem 0;
  color: #64748b;
  font-weight: 500;
}

.demo-interface {
  display: flex;
  justify-content: center;
}

.demo-dashboard {
  width: 350px;
  height: 450px;
  background: #1e293b;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.demo-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.demo-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.productivity-score {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.demo-task {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
}

.task-icon {
  font-size: 1.5rem;
}

.task-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.task-details p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.task-status {
  background: #00ff88;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: auto;
}

.demo-stats {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.stat-box {
  flex: 1;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pricing Section */
.pricing-section {
  padding: 8rem 0;
  background: transparent;
  position: relative;
}

@keyframes pricingPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: #1e40af;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card:hover {
  border-color: #1e40af;
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.15);
  transform: translateY(-5px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 2rem;
}

.pricing-price span {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #64748b;
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00ff88;
  font-weight: bold;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  background: #1e40af;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pricing-cta:hover {
  background: #1e3a8a;
  transform: translateY(-2px);
}

.pricing-cta.featured {
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
}

.pricing-footer {
  text-align: center;
  color: #64748b;
}

.pricing-footer p {
  margin: 0.5rem 0;
}

.pricing-footer a {
  color: #1e40af;
  text-decoration: none;
}

/* Final CTA Section */
.final-cta-section {
  position: relative;
  padding: 8rem 2rem;
  background: transparent;
  overflow: hidden;
  z-index: 10;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.cta-buttons {
  margin-bottom: 3rem;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #1e40af, #0ea5e9);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.4);
}

.btn-shine {
  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.6s;
}

.btn-cta-primary:hover .btn-shine {
  left: 100%;
}

.cta-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}

.point-icon {
  color: #00ff88;
  font-weight: bold;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth entrance animations for sections */
.hero-content,
.section-header,
.feature-card-enhanced,
.demo-content,
.pricing-card,
.cta-content {
  animation: fadeInUp 0.8s ease-out;
}

.feature-card-enhanced:nth-child(1) { animation-delay: 0.1s; }
.feature-card-enhanced:nth-child(2) { animation-delay: 0.2s; }
.feature-card-enhanced:nth-child(3) { animation-delay: 0.3s; }
.feature-card-enhanced:nth-child(4) { animation-delay: 0.4s; }

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
    order: -1;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
  }
}

/* Updated Hero Section Styles */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 6rem 2rem;
  background: transparent;
  color: #1e293b;
  position: relative;
  min-height: 70vh;
}

@keyframes heroGlow {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% { 
    transform: scale(1.1) rotate(2deg);
    opacity: 0.8;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-top: -2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Word-by-word animation styles */
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordFadeIn 0.8s ease-out forwards;
  margin-right: 0.5rem;
}

.hero-title .word.word-1 { animation-delay: 0.2s; }
.hero-title .word.word-2 { animation-delay: 0.4s; }
.hero-title .word.word-3 { animation-delay: 0.6s; }
.hero-title .word.word-4 { animation-delay: 0.8s; }
.hero-title .word.word-5 { animation-delay: 1.0s; }
.hero-title .word.word-6 { animation-delay: 1.2s; }
.hero-title .word.word-7 { animation-delay: 1.4s; }

/* Color variants for visual variety */
.hero-title .highlight-primary {
  color: #1e40af;
  font-weight: 800;
}

.hero-title .highlight-secondary {
  color: #0ea5e9;
  font-weight: 800;
}

@keyframes wordFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #1e40af;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #1e40af;
  padding: 1rem 2rem;
  border: 2px solid #1e40af;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(30, 64, 175, 0.1);
  transform: translateY(-2px);
}