* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, input, textarea, button {
  font-family: 'Segoe UI', sans-serif;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: #111;
  color: white;
  padding: 20px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

#hero {
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  padding: 100px 0;
  text-align: center;
}

#hero .btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: white;
  color: #764ba2;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
}

#features {
  padding: 60px 0;
  background: #f9f9f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 1.2em;
}

#contact {
  padding: 60px 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  padding: 12px;
  background: #764ba2;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsive Menu */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 10px;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
.auth-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.auth-form {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
}

.auth-form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.auth-form button {
  width: 100%;
  background: #667eea;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.auth-form p {
  text-align: center;
  margin-top: 10px;
}

.hidden {
  display: none;
}

#user-greeting {
  text-align: center;
  padding: 20px;
}

#user-greeting button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
