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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: #f8f9fa;
  min-height: 100vh;
}

/* Navigation Bar */
.navbar {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  padding: 0 40px;
  min-height: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #4338ca;
}

.logo-icon {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4338ca;
}

.nav-login-btn {
  padding: 10px 24px;
  background: #4338ca;
  color: white !important;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-login-btn:hover {
  background: #3730a3;
}

/* Signup Container */
.signup-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.signup-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left Side - Benefits */
.signup-left h1 {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 48px;
  line-height: 1.2;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  align-items: start;
}

.benefit-icon {
  font-size: 40px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 12px;
}

.benefit-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.benefit-text p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

/* Right Side - Signup Card */
.signup-right {
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 40px;
}

.signup-card {
  background: white;
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.signup-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
}

/* LinkedIn Button */
.linkedin-btn {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
}

.linkedin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:active {
  transform: translateY(0);
}

.linkedin-btn img {
  width: auto;
  max-width: 300px;
  height: auto;
  display: block;
}

/* Terms Text */
.terms-text {
  margin-top: 24px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.terms-text a {
  color: #4338ca;
  text-decoration: none;
  font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 968px) {
  .signup-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .signup-left h1 {
    font-size: 36px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .signup-container {
    padding: 0 20px;
    margin: 40px auto;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-login-btn) {
    display: none;
  }

  .signup-left h1 {
    font-size: 32px;
  }

  .benefit-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
  }

  .benefit-text h3 {
    font-size: 18px;
  }

  .signup-card {
    padding: 32px 24px;
  }

  .signup-card h2 {
    font-size: 24px;
  }
}

/* User Sign-In Page Styles */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
  background: white;
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  max-width: 440px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* OAuth Buttons */
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.auth-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-btn:active {
  transform: translateY(0);
}

.auth-btn-icon {
  flex-shrink: 0;
}

.google-btn {
  color: #1f2937;
}

.google-btn:hover {
  background: #f9fafb;
}

.linkedin-btn {
  color: white;
  background: #0077b5;
  border-color: #0077b5;
}

.linkedin-btn:hover {
  background: #006399;
  border-color: #006399;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: #9ca3af;
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider-text {
  padding: 0 16px;
  font-weight: 500;
}

/* Email Form */
.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-input {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #4338ca;
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-hint {
  font-size: 13px;
  color: #6b7280;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 8px 0;
}

/* Link Button */
.link-btn {
  background: none;
  border: none;
  color: #4338ca;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s;
}

.link-btn:hover {
  color: #3730a3;
  text-decoration: underline;
}

/* Primary Button */
.primary-btn {
  background: #4338ca;
  color: white;
  border: none;
  margin-top: 8px;
}

.primary-btn:hover {
  background: #3730a3;
  border-color: #3730a3;
}

/* Auth Toggle */
.auth-toggle {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.auth-toggle p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
}

.loading-spinner p {
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive - Auth Page */
@media (max-width: 640px) {
  .auth-card {
    padding: 32px 24px;
  }

  .auth-title {
    font-size: 24px;
  }

  .auth-subtitle {
    font-size: 14px;
  }

  .auth-btn {
    font-size: 14px;
    padding: 11px 20px;
  }
}
