.login-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 0;
}

.login-card {
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--border-color);
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.login-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.login-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--primary);
}

.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.forgot-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

.btn-login {
  width: 100%;
  padding: 1.25rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.4);
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(245, 158, 11, 0.5);
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  border: 2px solid rgba(245, 158, 11, 0.2);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.demo-notice {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(139, 92, 246, 0.05));
  padding: 1.5rem;
  border-radius: 15px;
  border-left: 4px solid var(--primary);
  margin-top: 1.5rem;
  text-align: center;
}

.demo-notice p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.demo-notice strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .login-card {
    padding: 2rem;
  }
  
  .remember-forgot {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}