:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #3f37c9;
  --accent: #4895ef;
  --danger: #f72585;
  --success: #4cc9f0;
  --warning: #f8961e;
  --dark: #212529;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #f5f7fa;
  color: var(--dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 1.8rem;
  color: var(--white);
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a:hover {
  opacity: 0.8;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Signup Page Styles */
.signup-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: url("https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
    no-repeat center center/cover;
  position: relative;
}

.signup-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(67, 97, 238, 0.9);
}

.signup-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
}

.signup-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.signup-logo {
  margin-bottom: 1.5rem;
}

.signup-logo i {
  font-size: 3rem;
  color: var(--primary);
}

.signup-logo h2 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
  color: var(--dark);
}

.signup-card p {
  color: var(--gray);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.terms-conditions {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.terms-conditions input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.terms-conditions label {
  font-size: 0.9rem;
  color: var(--gray);
}

.terms-conditions a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.terms-conditions a:hover {
  text-decoration: underline;
}

.btn-signup {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.btn-signup:hover {
  background: var(--primary-dark);
}

.social-signup {
  margin-bottom: 1.5rem;
}

.social-signup p {
  position: relative;
  color: var(--gray);
  margin-bottom: 1rem;
}

.social-signup p::before,
.social-signup p::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: #e0e0e0;
}

.social-signup p::before {
  left: 0;
}

.social-signup p::after {
  right: 0;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn.google {
  background: #db4437;
}

.social-btn.facebook {
  background: #4267b2;
}

.social-btn.apple {
  background: #000000;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.login-link {
  font-size: 0.9rem;
  color: var(--gray);
}

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

.login-link a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #adb5bd;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--primary);
    padding: 1rem 0;
    transition: var(--transition);
    z-index: 999;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .signup-card {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .signup-logo h2 {
    font-size: 1.5rem;
  }
}
