/* --- START OF FILE styles.css --- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary-color: #6366f1; /* Indigo */
  --primary-dark: #4338ca;
  --secondary-color: #ec4899; /* Pink/Coral */
  --accent-color: #14b8a6; /* Teal */
  --dark-bg: #0f172a;
  --light-bg: #f3f4f6;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

body {
  font-family: 'Poppins', sans-serif; /* Modern Font */
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Navigation */
nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(99, 102, 241, 0.35);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  font-weight: 500;
}

.btn-secondary:hover {
  color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- REDESIGNED HERO SECTION (Vector Style) --- */
.hero {
  position: relative;
  background-color: #ffffff; /* Clean white background for vector pop */
  color: var(--text-dark);
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
}

/* Background blob for visual interest */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(236,72,153,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 550px;
  z-index: 2;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none; /* Prevent clicking hidden slides */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* Split Layout for Hero */
.slide-content {
  flex: 1;
  max-width: 550px;
  padding-right: 40px;
  z-index: 10;
}

.slide-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

/* Vector Art SVG Styling */
.vector-art {
  width: 100%;
  max-width: 500px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.hero-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.slide-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(to right, var(--text-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-content p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  color: var(--text-light);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Carousel Controls - Updated Styling */
.carousel-controls-container {
  position: absolute;
  bottom: 0;
  left: 2rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-button {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  box-shadow: var(--shadow-md);
}

.carousel-button:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}

/* Statistics Section */
.stats-section {
  background: var(--dark-bg);
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--accent-color);
  background: linear-gradient(to bottom, #2dd4bf, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  background: white;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content .btn-primary {
  background: white;
  color: var(--primary-color);
}
.cta-content .btn-primary:hover {
  background: #f8f9fa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-content .btn-outline {
  border-color: white;
  color: white;
}
.cta-content .btn-outline:hover {
  background: white;
  color: var(--primary-color);
}

/* Footer */
footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
  position: relative;
}

/* Form Styles */
.form-group label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input, .form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f8fafc;
}

.form-group input:focus, .form-group select:focus {
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .carousel-container {
    height: auto;
    min-height: 600px;
  }
  
  .carousel-slide {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    gap: 40px;
    padding: 0 1rem;
  }
  
  .slide-content {
    padding-right: 0;
    max-width: 100%;
  }

  .slide-image-container {
    height: 300px;
    width: 100%;
  }
  
  .vector-art {
    max-height: 280px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .carousel-controls-container {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 15px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-buttons {
    display: none;
  }

  .nav-buttons.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 350px; /* Adjust based on nav links height */
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    width: 100%;
    z-index: 999;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-badge {
    margin: 0 auto 20px;
  }
}
/* --- START OF AUTH PAGE STYLES (Add to styles.css) --- */

.auth-page {
  background-color: var(--light-bg);
  min-height: 100vh;
}

.auth-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px); /* Subtract nav height */
  padding: 2rem;
}

.auth-container {
  display: flex;
  background: white;
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Left Side: Form */
.auth-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header {
  margin-bottom: 2.5rem;
}

.auth-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-light);
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  opacity: 0.5;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding-left: 40px; /* Space for icon */
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  color: var(--text-light);
  user-select: none;
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  padding: 0.8rem;
  font-size: 1.05rem;
}

.auth-footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--text-dark);
  text-decoration: underline;
}

/* Right Side: Visuals */
.auth-visual {
  flex: 1;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative circles behind the vector */
.auth-visual::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.auth-visual::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
}

.auth-vector {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  animation: float 6s ease-in-out infinite;
}

.visual-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.visual-text p {
  opacity: 0.9;
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Floating Animation classes */
.float-slow { animation: float 8s ease-in-out infinite; }
.float-medium { animation: float 6s ease-in-out infinite; }
.float-fast { animation: float 4s ease-in-out infinite; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsive Design for Auth Page */
@media (max-width: 900px) {
  .auth-container {
    flex-direction: column;
    max-width: 500px;
    min-height: auto;
  }

  .auth-visual {
    display: none; /* Hide visual on mobile to save space */
  }

  .auth-content {
    padding: 2rem;
  }
}
/* --- ADD TO END OF styles.css --- */

/* Specific styles for Register Page Layout */

/* Create a 2-column grid for inputs inside the form */
.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

/* Flame animation for the Rocket Vector */
@keyframes flameFlicker {
  0% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(1.1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0.9; }
}

.flame-anim {
  animation: flameFlicker 0.2s infinite alternate;
  transform-origin: top center;
}

/* Responsive adjustment for the 2-column form inputs */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Ensure Select dropdown matches Input styling perfectly */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 16px 12px 40px; /* Left padding for icon */
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #f8fafc;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}

select:focus {
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Custom arrow for select dropdown since we removed default appearance */
.form-group:has(select)::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-light);
  position: absolute;
  right: 15px;
  top: 50px; /* Adjust based on label height */
  pointer-events: none;
}