/* Global Styles */
:root {
  --primary-color: #8b5cf6;
  --primary-dark: #6d28d9;
  --secondary-color: #a78bfa;
  --accent-color: #c4b5fd;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
}

.logo span {
  color: var(--primary-color);
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.login-btn, .logout-btn {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.login-btn:hover, .logout-btn:hover {
  color: var(--primary-dark);
}

.register-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: background-color 0.3s;
}

.register-btn:hover {
  background-color: var(--primary-dark);
}

.welcome-msg {
  color: var(--text-light);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 90%;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s, transform 0.2s;
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn {
  background-color: transparent;
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s;
}

.secondary-btn:hover {
  background-color: var(--bg-light);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;

}

/* Features Section */
.features {
  background-color: var(--bg-light);
  padding: 4rem 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  text-align: center;
}


.feature-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}



/* Responsive Styles */
@media screen and (max-width: 768px) {
  .hero {
      flex-direction: column;
  }

  .hero-content, .hero-image {
      flex: none;
      width: 100%;
  }

  .hero-content {
      text-align: center;
  }

  .hero-content p {
      max-width: 100%;
  }

  .cta-buttons {
      justify-content: center;
  }

  .menu-toggle {
      display: flex;
  }

  .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      flex-direction: column;
      background-color: var(--bg-color);
      padding: 1.5rem;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      display: none;
  }

  .nav-menu.active {
      display: flex;
  }

  .menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }
}

.placeholder-image {
  width: 100%;
  height: 350px;
  background-color: #e5e7eb;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.placeholder-image i {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.placeholder-image p {
  font-weight: 400;
} 