/* --- Design Variables --- */
:root {
  --bg-dark: #0b0f19;
  --bg-darker: #060911;
  --bg-card: #131a29;
  --bg-surface: #1e293b;
  --bg-input: #0f172a;
  
  --primary-orange: #ff6b1a;
  --primary-glow: rgba(255, 107, 26, 0.35);
  --primary-hover: #fa5600;
  --amber-gold: #f59e0b;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #ff6b1a;
  --error-color: #ef4444;
  --success-color: #10b981;

  --card-radius: 16px;
  --input-radius: 10px;
  --transition-speed: 0.25s;
  --font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-cn: 'Noto Sans SC', sans-serif;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Typography Helpers --- */
.gradient-text {
  background: linear-gradient(135deg, #ff8a3d 0%, #ff5200 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: transform var(--transition-speed);
}

.logo-wrapper:hover {
  transform: scale(1.05);
}

.mgb-wrapper {
  width: 56px;
  height: 56px;
}

.sba-wrapper {
  background: transparent !important;
  border: none !important;
  width: 56px;
  height: 56px;
}

.sba-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.logo-divider {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.25), transparent);
  margin: 0 0.5rem;
}

.footer-logo-divider {
  width: 1.5px;
  height: 38px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 0 0.75rem;
}

.mgb-footer-logo {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
}

.sba-footer-logo {
  background: transparent !important;
  border: none !important;
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fallback-logo {
  font-size: 1.5rem;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-link:hover {
  color: #fff;
}

.header-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-orange), #e04e00);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 10%, rgba(255, 107, 26, 0.12) 0%, rgba(11, 15, 25, 0) 70%), var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.18) 0%, rgba(245, 158, 11, 0.05) 50%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
}

.court-lines-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: 
    radial-gradient(circle at center, transparent 30%, #ffffff 31%, #ffffff 32%, transparent 33%),
    linear-gradient(to right, #ffffff 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff9b57;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 107, 26, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

.subtitle-cn {
  display: block;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 0.4rem;
  font-family: var(--font-cn);
  font-weight: 400;
}

/* --- Highlight Cards Grid --- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.highlight-card {
  background: rgba(19, 26, 41, 0.75);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 26, 0.35);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.highlight-card-featured {
  background: linear-gradient(145deg, rgba(255, 107, 26, 0.12) 0%, rgba(19, 26, 41, 0.85) 100%);
  border-color: rgba(255, 107, 26, 0.4);
}

.highlight-icon {
  font-size: 1.85rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.5rem;
}

.highlight-details {
  display: flex;
  flex-direction: column;
}

.highlight-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.highlight-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.badge-free {
  color: #34d399;
  display: inline-block;
}

.highlight-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.hero-action-row {
  display: flex;
  justify-content: center;
}

/* --- Feature Strip --- */
.section-feature-strip {
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.features-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 240px;
}

.f-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 107, 26, 0.4);
  line-height: 1;
}

.feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.feature-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

@media (max-width: 768px) {
  .feature-divider {
    display: none;
  }
}

/* --- Registration Section --- */
.section-register {
  padding: 4.5rem 0 5rem;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.3) 0%, rgba(11, 15, 25, 1) 100%);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.sub-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-orange);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
}

.cn-title {
  font-family: var(--font-cn);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.5rem auto 0;
  font-size: 0.95rem;
}

/* --- Registration Invitation CTA Card on Landing Page --- */
.registration-cta-card {
  max-width: 820px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.12) 0%, rgba(19, 26, 41, 0.95) 100%);
  border: 1px solid rgba(255, 107, 26, 0.35);
  border-radius: var(--card-radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

.registration-cta-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.25), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-pill {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-orange);
  background: rgba(255, 107, 26, 0.15);
  border: 1px solid rgba(255, 107, 26, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.cta-cn-heading {
  font-family: var(--font-cn);
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
  margin-bottom: 1.2rem;
}

.cta-description {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.8rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.cta-feature-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.cta-btn-wrap {
  display: flex;
  justify-content: center;
}

/* --- Standalone Register Page Styles --- */
.register-header-banner {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 107, 26, 0.12) 0%, rgba(11, 15, 25, 0) 75%), var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 107, 26, 0.12);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff9b57;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.page-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.page-main-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.section-register-standalone {
  padding: 3.5rem 0 5rem;
  background: var(--bg-dark);
}
.form-wrapper-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  position: relative;
}

.form-badge-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
}

.dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.step-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

/* --- Form Controls --- */
.form-group {
  margin-bottom: 1.6rem;
}

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

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.45rem;
}

.form-sublabel {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.cn-label {
  font-family: var(--font-cn);
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.9rem;
}

.required {
  color: var(--primary-orange);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  background-color: var(--bg-input);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--input-radius);
  outline: none;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-control::placeholder {
  color: #475569;
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control.is-invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Select specific styling */
.select-container {
  position: relative;
}

.select-container select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.select-container::after {
  content: "▾";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 1.1rem;
}

.other-school-field {
  margin-top: 0.75rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 107, 26, 0.3);
  border-radius: var(--input-radius);
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Phone input with +60 prefix */
.phone-input-group {
  display: flex;
  align-items: center;
  background-color: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--input-radius);
  overflow: hidden;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.phone-input-group:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.phone-input-group.is-invalid {
  border-color: var(--error-color);
}

.phone-prefix {
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.92rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.phone-input-group .form-control {
  border: none;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--error-color);
  margin-top: 0.35rem;
  font-weight: 500;
}

.field-error.active {
  display: block;
}

/* Facility Radio Cards */
.facility-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 580px) {
  .facility-options-grid {
    grid-template-columns: 1fr;
  }
}

.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-content {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--input-radius);
  transition: all var(--transition-speed);
}

.radio-card:hover .radio-card-content {
  border-color: rgba(255, 107, 26, 0.4);
  background: rgba(30, 41, 59, 0.6);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
  border-color: var(--primary-orange);
  background: rgba(255, 107, 26, 0.08);
  box-shadow: 0 0 0 2px var(--primary-orange);
}

.radio-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.radio-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.radio-cn {
  display: block;
  font-size: 0.82rem;
  color: var(--primary-orange);
  font-family: var(--font-cn);
  margin-bottom: 0.2rem;
}

.radio-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Terms Checkbox */
.terms-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--input-radius);
  padding: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 0.75rem;
}

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

.checkmark {
  width: 20px;
  height: 20px;
  background-color: var(--bg-input);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}

.checkbox-container:hover .checkmark {
  border-color: var(--primary-orange);
}

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

.checkmark::after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

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

.consent-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition-speed);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  padding: 0.9rem 1.5rem;
}

.btn-submit {
  width: 100%;
  padding: 1.15rem 1.75rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #ff6b1a 0%, #f55100 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.35);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 26, 0.45);
}

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

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.submit-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.85rem;
}

/* --- Modal Overlay & Card --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #141d2e;
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 2.2rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUpModal {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-confetti-badge {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
}

.modal-cn-title {
  font-family: var(--font-cn);
  font-size: 1.05rem;
  color: var(--primary-orange);
  margin-bottom: 1.2rem;
}

.modal-body-notice {
  background: rgba(255, 107, 26, 0.08);
  border-left: 4px solid var(--primary-orange);
  padding: 1rem 1.15rem;
  border-radius: 8px;
  text-align: left;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.modal-body-notice p + p {
  margin-top: 0.5rem;
}

.recap-box {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.15rem;
  text-align: left;
  margin-bottom: 1.6rem;
}

.recap-box h4 {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  color: #cbd5e1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.recap-row span {
  color: #94a3b8;
  flex-shrink: 0;
}

.recap-row strong {
  color: #fff;
  text-align: right;
  word-break: break-word;
  max-width: 65%;
}

/* --- Footer --- */
.site-footer {
  background: #080c14;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

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

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.footer-sub {
  font-size: 0.75rem;
  color: var(--primary-orange);
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.55;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: flex;
  justify-content: space-between;
  max-width: 320px;
}

.footer-links strong {
  color: #f1f5f9;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.contact-card:hover {
  background: rgba(255, 107, 26, 0.1);
  border-color: rgba(255, 107, 26, 0.3);
  transform: translateX(4px);
}

.contact-icon {
  font-size: 1.25rem;
}

.c-title {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.c-val {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.footer-bottom {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* WhatsApp Specific Button in Footer */
.btn-whatsapp-footer {
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-speed);
  margin-top: 0.25rem;
}

.btn-whatsapp-footer:hover {
  background: #1eb954;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.contact-card-wa:hover {
  background: rgba(37, 211, 102, 0.12) !important;
  border-color: rgba(37, 211, 102, 0.35) !important;
}

.wa-icon-green {
  color: #25d366;
}

/* Floating WhatsApp Quick Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.65), 0 6px 12px -2px rgba(0, 0, 0, 0.4);
}

.wa-badge-pulse {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

@media (max-width: 580px) {
  .floating-wa-label {
    display: none;
  }
  .floating-wa-btn {
    padding: 0.85rem;
    bottom: 18px;
    right: 18px;
  }
}

/* --- Mobile Responsiveness & Screen Auto-Fit Optimizations --- */
@media (max-width: 768px) {
  .site-header {
    padding: 0.65rem 0;
  }

  .nav-container {
    padding: 0 0.85rem;
  }

  .logo-wrapper {
    width: 44px;
    height: 44px;
  }

  .mgb-wrapper, .sba-wrapper {
    width: 44px;
    height: 44px;
  }

  .logo-divider {
    height: 28px;
    margin: 0 0.35rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-tag {
    font-size: 0.68rem;
  }

  .nav-actions {
    gap: 0.75rem;
  }

  .nav-actions .nav-link {
    display: none;
  }

  .header-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .highlight-card {
    padding: 1rem;
  }

  .features-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-item {
    width: 100%;
    min-width: 0;
  }

  .feature-divider {
    display: none;
  }

  .registration-cta-card {
    padding: 1.75rem 1.25rem;
  }

  .cta-features-list {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .cta-feature-badge {
    text-align: center;
  }

  .btn-large {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    justify-content: center;
  }

  .hero-action-row {
    width: 100%;
  }

  .hero-action-row .btn {
    width: 100%;
  }

  .cta-btn-wrap {
    width: 100%;
  }

  .cta-btn-wrap .btn {
    width: 100%;
  }

  .form-wrapper-card {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .facility-options-grid {
    grid-template-columns: 1fr;
  }

  .radio-card-content {
    padding: 0.85rem;
  }

  .recap-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .recap-row strong {
    max-width: 100%;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-links li {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-wrapper {
    width: 38px;
    height: 38px;
  }

  .mgb-wrapper, .sba-wrapper {
    width: 38px;
    height: 38px;
  }

  .logo-divider {
    height: 24px;
    margin: 0 0.25rem;
  }

  .brand-title {
    font-size: 0.92rem;
  }

  .brand-tag {
    font-size: 0.62rem;
  }

  .header-cta {
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .container {
    padding: 0 0.85rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title, .page-main-title {
    font-size: 1.55rem;
  }

  .cta-heading {
    font-size: 1.45rem;
  }

  .btn-submit {
    font-size: 0.98rem;
    padding: 0.95rem 1.25rem;
  }

  .modal-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .footer-logo-row {
    gap: 0.5rem;
  }

  .mgb-footer-logo, .sba-footer-logo {
    width: 42px !important;
    height: 42px !important;
  }

  .footer-logo-divider {
    height: 30px;
    margin: 0 0.4rem;
  }
}

