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

:root {
  --primary:        #7c3aed;
  --primary-light:  #a78bfa;
  --primary-dark:   #5b21b6;
  --accent:         #f59e0b;
  --accent-orange:  #f97316;
  --success:        #10b981;
  --bg-body:        #ffffff;
  --bg-alt:         #f8f7ff;
  --bg-card:        #ffffff;
  --border-light:   #e8e4f8;
  --text-primary:   #1a1033;
  --text-secondary: #4a4068;
  --text-muted:     #8b80a8;
  --radius-lg:      24px;
  --radius-md:      16px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow:    0 0 40px rgba(124, 58, 237, 0.15);
  --shadow-card:    0 20px 60px rgba(0, 0, 0, 0.05);
}

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

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;

  /* --- LIGHT GRID BACKGROUND --- */
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.03) 0%, transparent 70%);

  background-size: 40px 40px, 40px 40px, 100% 100%;
  background-attachment: fixed;
}

/* Background Shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
}

.shape-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.shape-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -100px; }

/* Main layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  padding: 20px 0 0;
}

.header-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f5f3ff;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 28px;
  border: 1px solid #ddd6fe;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.05);
}

.header-content h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.header-content h1 .accent {
  color: var(--primary);
}

.header-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-icon {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

.logo .accent {
  color: var(--primary);
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 40px;
}

.content-wrapper.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

/* Form Section */
.form-section {
  width: 100%;
  max-width: 550px;
}

.registration-card {
  background: white;
  padding: 40px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: visible;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.registration-card .badge {
  margin-bottom: 10px;
}


.card-header {
  margin-bottom: 16px;
}

.price-container {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35), 
              0 0 15px rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35), 
                0 0 15px rgba(245, 158, 11, 0.15);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5), 
                0 0 25px rgba(245, 158, 11, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35), 
                0 0 15px rgba(245, 158, 11, 0.15);
  }
}

.price-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: center;
}

.discount-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
}

.actual-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: line-through;
}

.card-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
}

.form-group input:not([type="checkbox"]) {
  width: 100%;
  padding: 14px 16px;
}

.input-wrapper input, .input-wrapper select {
  padding-left: 48px !important;
}

.form-group input, .form-group select {
  background: #fdfcff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  width: 100%;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237c3aed' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  font-weight: 600;
  background-color: #fdfcff;
  padding: 14px 16px;
  line-height: inherit;
}

.input-wrapper select {
  padding-left: 48px !important;
}

.form-group select:hover {
  border-color: var(--primary);
  background-color: #fff;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

/* Phone input styling (intl-tel-input) */
.iti {
  width: 100%;
}

.iti__flag-container {
  border-right: 1px solid var(--border-light);
  padding: 0 10px;
}

/* Checkbox Toggle Styling */
.whatsapp-toggle-group {
  margin-top: -8px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0; width: 0;
}

.checkmark {
  position: absolute;
  top: 0; left: 0;
  height: 22px; width: 22px;
  background-color: #f0f0f0;
  border-radius: 6px;
  transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #e0e0e0;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 8px; top: 4px;
  width: 5px; height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Slide Down Animation */
.slide-down {
  display: block !important;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.slide-down.active {
  max-height: 400px;
  opacity: 1;
  margin-top: 24px;
  margin-bottom: 24px;
  pointer-events: all;
  overflow: visible;
}

/* Button Styling */
.register-btn {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.register-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

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

.form-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 10px;
  }
  .info-section {
    max-width: 100%;
    text-align: center;
  }
  .badge, .trainer-card, .benefit-item {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .registration-card { padding: 32px 24px; }
  .header { padding-bottom: 20px; }
}

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

/* ============================================
   DOUBT SUPPORT CALL BUTTONS
   ============================================ */

.doubt-call-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 24px 0 12px 0;
  padding: 16px;
  background: var(--bg-alt);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.doubt-call-container:hover {
  border-color: var(--primary-light);
  background: #fdfcff;
}

.doubt-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.doubt-call-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: 8px;
}

.doubt-call-inline-btn i {
  font-size: 0.95rem;
  animation: phoneWobble 3s infinite;
}

.doubt-call-inline-btn:hover {
  color: var(--primary-dark);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-1px);
}

/* Floating Doubt Call Button */
.doubt-call-floating-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
  color: white;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
  animation: floatPulse 2.5s infinite;
}

.doubt-call-floating-btn i {
  font-size: 1.15rem;
  animation: phoneWobble 2.5s infinite;
}

.doubt-call-floating-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.5);
  color: white;
}

.doubt-call-floating-btn:active {
  transform: translateY(-2px);
}

/* Animations */
@keyframes phoneWobble {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
  20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

@keyframes floatPulse {
  0% {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 0 0 rgba(245, 158, 11, 0.5);
  }
  70% {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 0 15px rgba(245, 158, 11, 0);
  }
  100% {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 0 0 rgba(245, 158, 11, 0);
  }
}

/* Mobile Responsiveness for Floating Button */
@media (max-width: 576px) {
  .doubt-call-floating-btn {
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    font-size: 0.9rem;
    gap: 8px;
  }
  .doubt-call-floating-btn i {
    font-size: 1rem;
  }
}

