/* ============================= REGISTRATION PAGE ============================= */

.registration-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 25%, #e0e7ff 50%, #ddd6fe 75%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Animated background elements */
.registration-wrapper::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.registration-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
}

.registration-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(37, 99, 235, 0.2),
    0 10px 20px rgba(59, 130, 246, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 700px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 1;
  animation: slideIn 0.6s ease-out;
}

.registration-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
  border-radius: 28px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(15px);
}

.registration-card.terms-card {
  max-width: 900px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.registration-card .auth-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.registration-card .auth-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.registration-card .auth-logo-link:hover {
  transform: scale(1.05);
}

.registration-card .auth-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.card-header .header-icon {
  color: #3b82f6;
  animation: sparkle 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

@keyframes sparkle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  50% {
    transform: scale(1.15) rotate(180deg);
    opacity: 0.8;
  }
}

.card-header h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.back-button {
  cursor: pointer;
  color: #64748b;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.05));
  border: 2px solid rgba(59, 130, 246, 0.15);
}

.back-button:hover {
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.1));
  transform: translateX(-6px) scale(1.05);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
}

.form-group label svg {
  color: #3b82f6;
  filter: drop-shadow(0 1px 3px rgba(59, 130, 246, 0.3));
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 2px solid #bfdbfe;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
  color: #1e293b;
  font-family: inherit;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.05);
}

.form-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.form-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15),
    0 4px 12px rgba(59, 130, 246, 0.2);
  background: #ffffff;
  transform: translateY(-2px) scale(1.01);
}

.form-input:hover:not(:focus) {
  border-color: #60a5fa;
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.1);
}

.error-message {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.08));
  color: #dc2626;
  padding: 1.125rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  border: 2px solid rgba(239, 68, 68, 0.25);
  animation: shake 0.5s ease-in-out;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-10px);
  }

  75% {
    transform: translateX(10px);
  }
}

.error-icon {
  font-size: 1.3rem;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.08));
  padding: 1rem 1.5rem;
  border-radius: 14px;
  color: #1e40af;
  font-size: 0.95rem;
  border: 2px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.12);
}

.form-note svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(59, 130, 246, 0.3));
}

.form-note p {
  margin: 0;
  font-weight: 600;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  background-size: 200% 200%;
  color: #ffffff;
  padding: 1.125rem 2.5rem;
  border-radius: 18px;
  border: none;
  font-weight: 800;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35),
    0 4px 12px rgba(59, 130, 246, 0.2);
  animation: gradientShift 4s ease infinite;
  margin-top: 1.5rem;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.45),
    0 6px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

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

/* Terms & Conditions specific styles */
.pdf-container {
  margin: 1.5rem 0 2rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  border: 3px solid rgba(59, 130, 246, 0.2);
  background: #ffffff;
}

.pdf-container iframe {
  border: none;
  display: block;
  width: 100%;
  min-height: 600px;
}

.tc-buttons {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  border-radius: 18px;
  border: none;
  font-weight: 800;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-agree {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
  animation: gradientShift 4s ease infinite;
}

.btn-agree:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), rgba(100, 116, 139, 0.08));
  border: 2px solid #bfdbfe;
  color: #64748b;
  font-weight: 800;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.08);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(100, 116, 139, 0.12));
  border-color: #60a5fa;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(100, 116, 139, 0.15);
}

/* Utility class for margin top */
.mt-4 {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {

  .registration-wrapper,
  .login-wrapper {
    padding: 1.5rem;
  }

  .registration-card,
  .login-wrapper .card {
    padding: 2.5rem 2rem;
  }

  .card-header h2,
  .login-wrapper .form-header h2 {
    font-size: 1.75rem;
  }

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

  .form-group.full-width {
    grid-column: 1;
  }

  .tc-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .login-wrapper {
    padding: 1rem;
  }

  .login-wrapper .card {
    padding: 2rem 1.5rem;
  }

  .login-wrapper .form-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {

  .registration-card,
  .login-wrapper .card {
    padding: 2rem 1.5rem;
  }

  .card-header,
  .login-wrapper .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .card-header h2,
  .login-wrapper .form-header h2 {
    font-size: 1.5rem;
  }

  .form-input,
  .login-wrapper input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .btn-submit,
  .login-wrapper .btn-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* General page background */
.landing-page {
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 25%, #e0e7ff 50%, #ddd6fe 75%, #e0e7ff 100%);
  min-height: 100vh;
  font-family: var(--body-font);
  position: relative;
  overflow-x: hidden;
}

/* Decorative background elements */
.landing-page::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

.landing-page::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite reverse;
}

/* Fade-in animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -30px);
  }
}

@keyframes bounce-gentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(180deg);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #e0f2fe 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  animation: float 25s ease-in-out infinite;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media(min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.hero-text p {
  font-size: 1.3rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2),
    0 0 0 1px rgba(37, 99, 235, 0.1);
  margin-bottom: 1.5rem;
  white-space: nowrap;
  border: 2px solid rgba(59, 130, 246, 0.15);
}

.hero-badge .icon {
  color: #3b82f6;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  animation: sparkle 2s ease-in-out infinite;
}

.hero-badge span {
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1e293b;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 1.125rem 2.25rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  background-size: 200% 200%;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35),
    0 2px 8px rgba(59, 130, 246, 0.2);
  border: none;
  cursor: pointer;
  display: inline-block;
  font-size: 1.05rem;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45),
    0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  padding: 1.125rem 2.25rem;
  border-radius: 1rem;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid #bfdbfe;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-secondary:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
  border-color: #60a5fa;
  transform: translateY(-3px) scale(1.02);
  background: #fff;
}

.hero-note {
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 600;
}

/* Hero Image Card */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  animation: bounce-gentle 4s ease-in-out infinite;
}

.hero-image-bg {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
  opacity: 0.15;
  filter: blur(2.5rem);
  animation: float 20s ease-in-out infinite;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  border: 3px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15),
    0 5px 15px rgba(59, 130, 246, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
  border-radius: 2rem;
  z-index: -1;
  opacity: 0.3;
  filter: blur(10px);
}

.hero-card .book-icon {
  font-size: 6rem;
  color: #3b82f6;
  margin-bottom: 1.5rem;
  stroke-width: 1.5;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.3));
}

.hero-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
}

.stars-row {
  display: flex;
  gap: 0.375rem;
  margin-top: 1.5rem;
}

.star-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #facc15;
  fill: #facc15;
  filter: drop-shadow(0 2px 6px rgba(250, 204, 21, 0.4));
  animation: sparkle 3s ease-in-out infinite;
}

.star-icon:nth-child(2) {
  animation-delay: 0.2s;
}

.star-icon:nth-child(3) {
  animation-delay: 0.4s;
}

.star-icon:nth-child(4) {
  animation-delay: 0.6s;
}

.star-icon:nth-child(5) {
  animation-delay: 0.8s;
}

/* Section Wrapper */
.section {
  padding: 5rem 1rem;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #fff 0%, #dbeafe 50%, #bfdbfe 100%);
}

.section:nth-child(odd) {
  background: linear-gradient(135deg, #e0f2fe 0%, #e0e7ff 50%, #dbeafe 100%);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.section-header p {
  font-size: 1.2rem;
  color: #64748b;
  text-align: center;
  font-weight: 600;
}

/* Steps Section */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media(min-width:768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 2px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(59, 130, 246, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2),
    0 5px 15px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  color: #fff;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.step-card:hover .step-icon {
  transform: scale(1.15) rotate(5deg) translateZ(20px);
}

.step-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.step-icon.pink {
  background: linear-gradient(135deg, #ec4899, #f472b6);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

.step-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.step-number {
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.step-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.step-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 500;
}

/* Features Grid - Enhanced 3D Colorful Icons */
.features-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media(min-width:768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 2px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12),
    0 2px 8px rgba(59, 130, 246, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.18),
    0 4px 12px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  color: #fff;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 1.5rem;
  background: inherit;
  filter: blur(15px);
  opacity: 0.6;
  z-index: -1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(-5deg) translateZ(30px);
}

.feature-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.feature-icon.green {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.feature-icon.pink {
  background: linear-gradient(135deg, #ec4899, #f472b6);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.5);
}

.feature-icon.yellow {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.feature-icon.indigo {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.feature-icon.red {
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 500;
}

/* Testimonials */
.feature-card p {
  margin-top: 1rem;
}

.hero-badge.avatar-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  border: 3px solid #fff;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

@media(min-width:768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 3px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.25);
}

.pricing-card.free {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
  border: 3px solid rgba(59, 130, 246, 0.2);
  color: #000;
  backdrop-filter: blur(10px);
}

.pricing-card.premium {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #1d4ed8);
  background-size: 200% 200%;
  color: #fff;
  animation: gradientShift 6s ease infinite;
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35),
    0 5px 15px rgba(59, 130, 246, 0.2);
}

.popular-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #facc15, #fbbf24);
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: bounce-gentle 2s ease-in-out infinite;
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-card .price span {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.85;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  text-align: left;
}

.pricing-card ul li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.pricing-card ul li::before {
  content: "●";
  color: inherit;
  font-size: 0.75rem;
  margin-top: 0.375rem;
}

.pricing-card.free .btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.pricing-card.free .btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.pricing-card.premium .btn-primary {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pricing-card.premium .btn-primary:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Footer - Navy Background with Enlarged Logo */
.footer {
  background: linear-gradient(135deg, #0c1844, #1e3a8a, #1e40af);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  padding: 4rem 1rem 2.5rem;
  box-shadow: 0 -10px 40px rgba(37, 99, 235, 0.2);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

@media(min-width:768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer a {
  color: #dbeafe;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
}

.footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9375rem;
  color: #dbeafe;
  padding-top: 2.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.footer .logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  font-weight: 800;
}

/* Enlarged Footer Logo */
.footer-logo-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer>div:first-child p {
  color: #dbeafe;
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .pricing-card {
    padding: 2.5rem 2rem;
  }

  .footer-logo-img {
    height: 2.75rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.875rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }

  .footer-logo-img {
    height: 2.5rem;
  }
}

/* Add these styles to your RegistrationPage.css file */

/* Input error state */
.form-input.input-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-input.input-error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Field-level error message (appears below the input) */
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left: 3px solid #ef4444;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #dc2626;
  animation: slideDown 0.3s ease;
}

.field-error .error-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Slide down animation for error messages */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Update existing error-message styling if needed */
.error-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left: 4px solid #ef4444;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #dc2626;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.error-icon {
  font-size: 1.2rem;
}

/* Disable submit button when there's an age error */
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
}

.btn-submit:disabled:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}