/* ============================
   Global Reset & Base Styles
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f2f5;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================
   Header / Navbar
   ============================ */
.navbar {
  background-color: #1a73e8;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: #fff;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.navbar .nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar .nav-links li a.active {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ============================
   Hero Section
   ============================ */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1a73e8, #6c63ff);
  color: #fff;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.hero .btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #fff;
  color: #1a73e8;
  font-size: 18px;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================
   Container
   ============================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ============================
   Features Section
   ============================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #1a73e8;
}

.feature-card p {
  font-size: 15px;
  color: #666;
}

/* ============================
   Form Styles (Login / Register)
   ============================ */
.form-wrapper {
  max-width: 440px;
  margin: 60px auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #1a73e8;
  font-size: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #1a73e8;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #1557b0;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #888;
}

.form-footer a {
  color: #1a73e8;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ============================
   Footer
   ============================ */
.footer {
  background-color: #333;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}

.footer a {
  color: #1a73e8;
}
