@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
* { font-family: 'Inter', sans-serif; }

:root {
  --primary: #2C2F73;
  --primary-dark: #1B1D52;
  --primary-light: #4A4D99;
  --secondary: #6F72A6;
  --secondary-light: #A8AAE0;
  --tertiary: #11BFBF;
  --tertiary-dark: #0D9A9A;
  --tertiary-light: #4DDEDE;
  --light: #F2F2F2;
  --dark: #0D0D0D;
  --card: #FFFFFF;
  --text: #0D0D0D;
  --text-muted: #6F72A6;
  --text-light: #A8AAE0;
  --border: #DCDCE8;
  --success: #11BFBF;
  --danger: #E84A5F;
  --warning: #F5A623;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 4px 24px rgba(44,47,115,0.08);
  --shadow-btn: 0 6px 20px rgba(44,47,115,0.25);
  --shadow-btn-accent: 0 6px 20px rgba(17,191,191,0.3);
  --shadow-lg: 0 12px 40px rgba(44,47,115,0.12);
}

body { background: var(--light); }

/* GRADIENTS */
.gradient-primary { background: linear-gradient(135deg, #2C2F73 0%, #6F72A6 100%); }
.gradient-accent { background: linear-gradient(135deg, #11BFBF 0%, #0D9A9A 100%); }
.gradient-dark { background: linear-gradient(160deg, #0D0D0D 0%, #2C2F73 100%); }
.gradient-text {
  background: linear-gradient(135deg, #2C2F73, #11BFBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-subtle { background: linear-gradient(135deg, #F2F2F2, #E8E8F2); }

/* SHADOWS */
.card-shadow { box-shadow: var(--shadow-card); }
.shadow-soft { box-shadow: 0 4px 16px rgba(44,47,115,0.06); }
.shadow-btn { box-shadow: var(--shadow-btn); }
.shadow-btn-accent { box-shadow: var(--shadow-btn-accent); }
.shadow-lg-custom { box-shadow: var(--shadow-lg); }

/* ANIMATIONS */
.slide-up { animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.slide-down { animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

.fade-in { animation: fadeIn 0.4s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bounce-in { animation: bounceIn 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  60% { transform: scale(1.02) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.scale-in { animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.float-delayed { animation: float 4s ease-in-out 2s infinite; }

.progress-bar { transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* BUTTONS */
.btn-primary {
  background: #2C2F73;
  box-shadow: 0 6px 0 #1B1D52, 0 8px 20px rgba(44,47,115,0.25);
  transition: all 0.1s ease;
  color: white;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: #1B1D52;
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #111246, 0 10px 25px rgba(44,47,115,0.35);
}
.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #1B1D52, 0 4px 12px rgba(44,47,115,0.2);
}
.btn-primary:disabled {
  opacity: 0.5;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #1B1D52;
  pointer-events: none;
}

.btn-accent {
  background: #11BFBF;
  box-shadow: 0 6px 0 #0D9A9A, 0 8px 20px rgba(17,191,191,0.3);
  transition: all 0.1s ease;
  color: white;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
}
.btn-accent:hover {
  background: #0D9A9A;
  transform: translateY(-1px);
  box-shadow: 0 7px 0 #0A7A7A, 0 10px 25px rgba(17,191,191,0.4);
}
.btn-accent:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #0D9A9A, 0 4px 12px rgba(17,191,191,0.25);
}
.btn-accent:disabled {
  opacity: 0.5;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #0D9A9A;
  pointer-events: none;
}

.btn-outline {
  background: white;
  border: 2px solid #DCDCE8;
  color: #2C2F73;
  font-weight: 700;
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: #6F72A6;
  color: #2C2F73;
  background: #F2F2F2;
}
.btn-outline.active, .btn-outline.btn-active {
  border-color: #2C2F73;
  background: #2C2F73;
  color: white;
}

.btn-danger {
  background: #E84A5F;
  box-shadow: 0 6px 0 #C42E42, 0 8px 20px rgba(232,74,95,0.25);
  transition: all 0.1s ease;
  color: white;
  font-weight: 800;
  cursor: pointer;
  border: none;
}
.btn-danger:hover {
  background: #D63D52;
  transform: translateY(-1px);
}
.btn-danger:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #C42E42;
}

.btn-sm { font-size: 0.85rem; padding: 0.65rem 1.2rem; border-radius: 14px; }
.btn-md { font-size: 1rem; padding: 0.9rem 1.8rem; border-radius: 16px; }
.btn-lg { font-size: 1.15rem; padding: 1rem 2rem; border-radius: 18px; }
.btn-full { width: 100%; }

/* INPUTS */
.input-base {
  border: 2px solid #DCDCE8;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  background: #F2F2F2;
  transition: all 0.15s ease;
  width: 100%;
  color: #0D0D0D;
}
.input-base:focus {
  border-color: #6F72A6;
  background: white;
  box-shadow: 0 0 0 4px rgba(111,114,166,0.12);
  outline: none;
}
.input-base:hover { border-color: #A8AAE0; }
.input-base:read-only, .input-base[readonly] {
  background: #E8E8F2;
  color: #6F72A6;
  cursor: not-allowed;
}

/* CARDS */
.card-base {
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(44,47,115,0.06);
}

/* TAGS */
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* HOVER LIFT */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(44,47,115,0.1);
}

/* FAB */
.fab-accent {
  box-shadow: 0 8px 32px rgba(17,191,191,0.35);
  animation: fabPulse 3s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(17,191,191,0.35); }
  50% { box-shadow: 0 8px 48px rgba(17,191,191,0.55); }
}

/* DIVIDER */
.divider { height: 1px; background: linear-gradient(90deg, transparent, #DCDCE8, transparent); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #A8AAE0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #6F72A6; }
@media (max-width: 640px) { ::-webkit-scrollbar { width: 3px; } }

/* DUO TO COMPANY ALIASES */
.btn-duo { background: #2C2F73; box-shadow: 0 6px 0 #1B1D52, 0 8px 20px rgba(44,47,115,0.25); color: white; font-weight: 800; letter-spacing: 0.01em; cursor: pointer; border: none; transition: all 0.1s ease; }
.btn-duo:hover { background: #1B1D52; transform: translateY(-1px); box-shadow: 0 7px 0 #111246, 0 10px 25px rgba(44,47,115,0.35); }
.btn-duo:active { transform: translateY(4px); box-shadow: 0 2px 0 #1B1D52, 0 4px 12px rgba(44,47,115,0.2); }
.btn-duo:disabled { opacity: 0.5; transform: translateY(2px); box-shadow: 0 4px 0 #1B1D52; pointer-events: none; }
.btn-duo-sm { font-size: 0.85rem; padding: 0.65rem 1.2rem; border-radius: 14px; }
.btn-duo-md { font-size: 1rem; padding: 0.9rem 1.8rem; border-radius: 16px; }
.btn-duo-lg { font-size: 1.15rem; padding: 1rem 2rem; border-radius: 18px; }
.btn-duo-outline { background: white; border: 2px solid #DCDCE8; color: #2C2F73; font-weight: 700; transition: all 0.15s ease; cursor: pointer; }
.btn-duo-outline:hover { border-color: #6F72A6; color: #2C2F73; background: #F2F2F2; }
.btn-duo-outline.active { border-color: #2C2F73; background: #2C2F73; color: white; }
.btn-duo-red { background: #E84A5F; box-shadow: 0 6px 0 #C42E42, 0 8px 20px rgba(232,74,95,0.25); color: white; font-weight: 800; transition: all 0.1s ease; cursor: pointer; border: none; }
.btn-duo-red:hover { background: #D63D52; transform: translateY(-1px); }
.btn-duo-red:active { transform: translateY(4px); box-shadow: 0 2px 0 #C42E42; }
.input-duo { border: 2px solid #DCDCE8; border-radius: 14px; padding: 0.9rem 1rem; font-size: 0.95rem; background: #F2F2F2; transition: all 0.15s ease; width: 100%; color: #0D0D0D; }
.input-duo:focus { border-color: #6F72A6; background: white; box-shadow: 0 0 0 4px rgba(111,114,166,0.12); outline: none; }
.input-duo:hover { border-color: #A8AAE0; }
.input-duo:read-only, .input-duo[readonly] { background: #E8E8F2; color: #6F72A6; cursor: not-allowed; }
.card-duo { background: white; border-radius: 24px; box-shadow: 0 4px 20px rgba(44,47,115,0.06); }
.tag-duo { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 10px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.bg-duo { background: #F2F2F2; }

@media (min-width: 768px) {
  .register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .register-grid .full-width { grid-column: 1 / -1; }
}
