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

body {
  font-family: 'Source Sans 3', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
  background-color: #F3F2F0;
  color: #191919;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-linkedin {
  display: block;
}

.logo-premium {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #b38728;
  background: linear-gradient(135deg, #c5a059 0%, #b38728 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 2px 0 0 0;
}

.navbar-links a {
  color: #00000099;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.navbar-links a:hover {
  background-color: #0000000a;
  color: #000000e6;
}

/* Main Layout */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
}

/* Card Styling */
.card-container {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 440px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.premium-badge-container {
  margin-bottom: 20px;
  animation: pulse 2s infinite alternate;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #191919;
  text-align: center;
  margin-bottom: 12px;
}

.card-subtitle {
  font-size: 14px;
  color: #00000099;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
}

/* Form Fields */
.claim-form {
  width: 100%;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  position: relative;
}

.input-label {
  font-size: 14px;
  font-weight: 500;
  color: #00000099;
  margin-bottom: 6px;
}

input[type="text"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #00000099;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  color: #191919;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:hover {
  border-color: #191919;
}

input[type="text"]:focus {
  border-color: #0a66c2;
  box-shadow: 0 0 0 1px #0a66c2;
}

/* Error messages */
.error-message {
  color: #d11124;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 400;
  min-height: 18px;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

/* Buttons */
.btn-primary {
  width: 100%;
  height: 48px;
  background-color: #0a66c2;
  color: #ffffff;
  border: none;
  border-radius: 24px; /* Pill shape standard on LinkedIn */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background-color: #004182;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  background-color: #0000001f;
  color: #00000042;
  cursor: not-allowed;
  transform: none;
}

/* Info Alert Box */
.info-alert {
  background-color: #eef3f8;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  width: 100%;
  border: 1px solid #d0e1f0;
}

.alert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.alert-title {
  font-size: 14px;
  font-weight: 600;
  color: #0a66c2;
}

.alert-text {
  font-size: 13px;
  line-height: 1.4;
  color: #191919cc;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.spinner.hidden {
  display: none;
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* Footer Styling */
.footer {
  background-color: #f3f2f0;
  border-top: 1px solid #e0e0e0;
  padding: 24px 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 12px;
  color: #00000099;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #0a66c2;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: #00000099;
}

/* Responsive */
@media (max-width: 480px) {
  .main-content {
    padding: 20px 8px;
  }
  .card-container {
    padding: 24px 16px 16px 16px;
  }
}
