/* Page-specific v2 components — no content changes */

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100000;
  background: #f16101;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(241, 97, 1, 0.35);
}

.skip-link:focus {
  top: 16px;
}

/* Homepage — skills & HOTS */
.section-img-wrap {
  margin: 40px 0;
}

.hots-block {
  margin-bottom: 50px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hots-block-title {
  color: #2c3e50;
  font-weight: 800;
  margin-bottom: 20px;
}

.hots-block-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hots-block-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.hots-block-footer {
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
  color: #2c3e50;
}

.skills-core-section {
  margin-top: 50px;
}

.skills-core-title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.skill-card-gradient {
  color: white;
  border: none;
  transition: transform 0.3s ease;
}

.skill-card-gradient:hover {
  transform: translateY(-5px);
}

.skill-card-gradient strong {
  font-size: 1.2rem;
}

.skill-card-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.skill-card-heading .sa-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.skill-card-gradient p {
  margin-top: 10px;
  line-height: 1.6;
}

.skill-card-memory {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.skill-card-memory p {
  color: rgba(255, 255, 255, 0.95);
}

.skill-card-visual {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.skill-card-visual p {
  color: rgba(255, 255, 255, 0.95);
}

.skill-card-focus {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.skill-card-focus p {
  color: rgba(255, 255, 255, 0.95);
}

.skill-card-problem {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.skill-card-problem p {
  color: rgba(255, 255, 255, 0.95);
}

.skill-card-linguistic {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #2c3e50;
}

.skill-card-linguistic p,
.skill-card-critical p,
.skill-card-decision p {
  color: #2c3e50;
}

.skill-card-critical {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  color: #2c3e50;
}

.skill-card-decision {
  background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
  color: #2c3e50;
}

/* Program steps */
.step-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.step-icon-yellow { background: #ffeaa7; color: #e17055; }
.step-icon-teal { background: #81ecec; color: #00b894; }
.step-icon-purple { background: #a29bfe; color: #6c5ce7; }

.step-title-accent-1 { font-size: 1.3rem; color: #fab1a0; }
.step-title-accent-2 { font-size: 1.3rem; color: #00cec9; }
.step-title-accent-3 { font-size: 1.3rem; color: #6c5ce7; }

/* Video embed cards */
.section-videos {
  background: #fff;
  padding-bottom: 80px;
}

.video-card {
  padding: 20px;
}

.video-embed {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-card-caption {
  padding: 20px 10px 0;
}

.video-card-caption h4 {
  font-size: 1.1rem;
  color: #F16101;
  line-height: 1.5;
  font-weight: 700;
}

/* NEP & league */
.section-soft-gray {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.nep-list {
  text-align: start;
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.nep-list li,
.league-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.league-list li {
  align-items: center;
  font-weight: 600;
  color: #2c3e50;
}

.list-check {
  color: #2ed573;
  margin-inline-end: 15px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.list-check-top {
  margin-top: 2px;
}

.league-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.league-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.league-cta-box {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #eee;
}

.league-cta-icon {
  display: block;
  margin-bottom: 20px;
}

.league-cta-icon .sa-icon-wrap {
  margin: 0 auto;
  padding: 16px;
}

.league-cta-btn {
  width: 100%;
  justify-content: center;
}

/* Reviews / testimonials */
.section-reviews {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 80px 0;
  position: relative;
}

.reviews-header .kicker-light {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.reviews-title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 20px 0 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reviews-lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card-main {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  min-height: 300px;
}

.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 87, 108, 0.1);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: #f5576c;
  transition: background 0.3s ease;
}

.testimonial-nav-btn:hover,
.testimonial-nav-btn:focus-visible {
  background: rgba(245, 87, 108, 0.2);
}

.testimonial-nav-prev { left: 20px; }
.testimonial-nav-next { right: 20px; }

.testimonial-dots {
  text-align: center;
  margin-top: 25px;
}

.partners-logos-wrap {
  margin-top: 50px;
  text-align: center;
}

.partners-logos-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-bottom: 20px;
}

.partners-logos-img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.faq-grid {
  margin-top: 18px;
}

/* Pricing */
.pricing-grid {
  margin-top: 50px;
}

.pricing-card {
  text-align: left;
}

.pricing-card-starter { border-top: 6px solid #ff4757; }
.pricing-card-featured {
  border-top: 6px solid #2ed573;
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(46, 213, 115, 0.15);
  z-index: 2;
  position: relative;
}

.pricing-card-year { border-top: 6px solid #a55eea; }

.pricing-pop-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #2ed573;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(46, 213, 115, 0.4);
  white-space: nowrap;
}

.pricing-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-plan-badge {
  width: fit-content;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.pricing-badge-starter {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

.pricing-badge-fast {
  background: rgba(46, 213, 115, 0.1);
  color: #21ba45;
}

.pricing-badge-year {
  background: rgba(165, 94, 234, 0.1);
  color: #a55eea;
}

.pricing-plan-title-green {
  margin-bottom: 0;
  color: #2ed573;
}

.pricing-plan-desc {
  color: var(--muted);
  font-size: 1rem;
}

.pricing-price-block {
  margin: 25px 0;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2c3e50;
}

.pricing-save {
  font-size: 0.9rem;
  color: #2ecc71;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
  color: var(--text);
}

.pricing-features li.is-muted {
  color: var(--muted);
}

.pricing-features .mark-yes,
.pricing-features .mark-no {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.pricing-features .mark-yes { color: #2ed573; }
.pricing-features .mark-no { color: #ccc; }

.pricing-btn-full { width: 100%; }

.pricing-btn-fast {
  width: 100%;
  box-shadow: 0 10px 20px rgba(46, 213, 115, 0.3);
  background: #2ed573;
  border-color: #2ed573;
}

.pricing-compare-wrap {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pricing-compare-table thead {
  background: #f8f9fa;
}

.pricing-compare-table th,
.pricing-compare-table td {
  padding: 20px;
}

.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
  text-align: left;
}

.pricing-compare-table th:not(:first-child),
.pricing-compare-table td:not(:first-child) {
  text-align: center;
}

.pricing-col-fast {
  background: rgba(46, 213, 115, 0.05);
  color: #2ed573;
  font-weight: 800;
}

.pricing-col-year {
  color: #a55eea;
  font-weight: 800;
}

.pricing-row-border {
  border-bottom: 1px solid #eee;
}

/* Registration form */
.registration-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 30px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.registration-form-wide {
  max-width: 800px;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header img {
  width: 180px;
  margin-bottom: 15px;
}

.form-header h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.form-header .subtitle {
  color: #546e7a;
  font-size: 1rem;
}

.form-header .subtitle a {
  color: var(--cta-link);
  font-weight: 700;
  text-decoration: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-group label span {
  color: #ff4757;
}

.form-control {
  width: 100%;
  padding: 12px 20px;
  border: 2px solid #edeff0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Baloo 2', sans-serif;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box;
  font-weight: 600;
  min-height: 52px;
  display: block;
}

.sa-field-hidden {
  display: none !important;
}

select.form-control {
  height: 52px !important;
  padding: 12px 20px !important;
}

.form-control:focus {
  outline: none;
  border-color: #F16101;
  background: white;
  box-shadow: 0 4px 15px rgba(241, 97, 1, 0.1);
}

.split-row,
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  display: flex;
  gap: 0;
}

.input-group-addon {
  background: #edeff0;
  border: 2px solid #edeff0;
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 12px 16px;
  font-weight: 700;
  color: #546e7a;
  min-width: 50px;
  text-align: center;
}

.input-group .form-control {
  border-radius: 0 12px 12px 0;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-weight: 600;
  color: #546e7a;
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--cta-link);
  text-decoration: none;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--cta) 0%, #ff6b35 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Baloo 2', sans-serif;
  box-shadow: 0 4px 15px rgba(241, 97, 1, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 97, 1, 0.4);
}

.error {
  color: #ff4757 !important;
  font-size: 0.85rem !important;
  margin-top: 5px;
  font-weight: 600 !important;
}

input.error,
select.error,
.form-control.error-field {
  border-color: #e74c3c !important;
  background-color: #fff9f9 !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.success-msg,
.error-msg {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.success-msg {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-msg {
  background: #fde8e8;
  color: #c0392b;
  border: 1px solid #fab1a0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.error-msg::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.otp-section {
  display: none;
}

.otp-info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  color: #1565c0;
  font-weight: 600;
}

.otp-timer {
  color: #ff4757;
  font-weight: 700;
}

.resend-link {
  color: var(--cta);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.otpexpiry {
  color: #ff4757;
  margin-top: 10px;
}

#Loading {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

#Loading::after {
  content: "";
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--cta);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.registration-main {
  min-height: calc(100vh - 200px);
  background: linear-gradient(180deg, #fff8f5 0%, #ffffff 40%, #f7faff 100%);
}

.form-agree-box {
  background: #fff8f5;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(241, 97, 1, 0.12);
}

.form-agree-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.form-agree-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 15px;
  accent-color: #F16101;
  flex-shrink: 0;
}

[dir="rtl"] .form-agree-label input[type="checkbox"] {
  margin-right: 0;
  margin-left: 15px;
}

.otp-timer-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.otp-timer-row {
  margin-bottom: 10px;
}

.registration-success-card .payment-icon {
  color: #fff;
}

.registration-success-card .payment-icon .sa-icon {
  width: 40px;
  height: 40px;
}

/* Payment status */
.payment-main {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-main-success {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f0fff4 100%);
}

.payment-main-failure {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 50%, #fff8f5 100%);
}

.payment-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.registration-form.payment-card {
  max-width: 700px;
  padding: 40px 30px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.registration-form.payment-card .form-header {
  margin-bottom: 24px;
}

.registration-form.payment-card .payment-title {
  margin-bottom: 10px;
}

.registration-form.payment-card .payment-msg.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.payment-next-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: start;
}

.payment-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.5;
}

.payment-help-box {
  background: #fff8f5;
  border: 1px solid rgba(241, 97, 1, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  text-align: center;
}

.payment-help-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
}

.payment-help-box a {
  color: var(--cta-link);
  font-weight: 800;
  text-decoration: none;
}

.payment-actions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.registration-form.payment-card .payment-icon-wrap {
  margin: 0 0 16px;
}

.gift-share-form {
  text-align: start;
}

.gift-share-form .btn-submit {
  margin-top: 8px;
}

.payment-card-failure {
  border-top: 5px solid #ff4757;
}

.payment-icon-wrap {
  margin-bottom: 30px;
}

.payment-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.payment-icon-success {
  background: #2ed573;
  box-shadow: 0 10px 20px rgba(46, 213, 115, 0.3);
  color: #fff;
}

.payment-icon-failure {
  background: #ff4757;
  box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
  color: #fff;
}

.payment-icon .sa-icon {
  width: 40px;
  height: 40px;
}

.payment-icon-pop {
  animation: paymentIconPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.payment-title-lg {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}

.success-confetti-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  top: -20px;
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
  animation: confettiFall 4s linear infinite;
}

.confetti-1 { left: 5%; animation-delay: 0s; background: #e74c3c; }
.confetti-2 { left: 15%; animation-delay: 1.2s; background: #3498db; border-radius: 50%; animation-duration: 3.5s; }
.confetti-3 { left: 25%; animation-delay: 2.5s; background: #f1c40f; animation-duration: 5s; }
.confetti-4 { left: 35%; animation-delay: 0.8s; background: #2ecc71; transform: rotate(45deg); animation-duration: 4.2s; }
.confetti-5 { left: 45%; animation-delay: 3s; background: #9b59b6; border-radius: 50%; animation-duration: 3.8s; }
.confetti-6 { left: 55%; animation-delay: 1.5s; background: #e67e22; animation-duration: 4.5s; }
.confetti-7 { left: 65%; animation-delay: 0.5s; background: #1abc9c; transform: rotate(30deg); animation-duration: 5.2s; }
.confetti-8 { left: 75%; animation-delay: 2.2s; background: #ea4c89; border-radius: 50%; animation-duration: 3.9s; }
.confetti-9 { left: 85%; animation-delay: 1.1s; background: #34495e; animation-duration: 4.7s; }
.confetti-10 { left: 95%; animation-delay: 2.8s; background: #f1c40f; transform: rotate(15deg); animation-duration: 4.1s; }

@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(600px) rotate(720deg); opacity: 0; }
}

@keyframes paymentIconPop {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }

  .payment-icon-pop {
    animation: none;
  }
}

.payment-title {
  color: #2c3e50;
  font-family: 'Baloo 2', sans-serif;
  margin-bottom: 15px;
}

.payment-msg {
  color: #7f8c8d;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.payment-ref-box {
  background: #f1f2f6;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
  display: inline-block;
}

.payment-ref-label {
  color: #57606f;
  font-weight: 600;
}

.payment-ref-value {
  color: #2c3e50;
  font-weight: 700;
}

.payment-actions {
  justify-content: center;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.payment-btn-lg {
  padding: 15px 40px;
  font-size: 1.2rem;
}

.payment-btn-failure {
  padding: 15px 40px;
  font-size: 1.1rem;
  background: #ff4757;
  border-color: #ff4757;
}

/* Cookie settings — avoid overlap with mobile CTAs */
@media (max-width: 768px) {
  #saCookieSettingsLink {
    bottom: 72px;
  }

  #saCookieBanner {
    bottom: 12px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .testimonial-card-main {
    padding: 40px 50px;
  }

  .testimonial-nav-prev { left: 8px; }
  .testimonial-nav-next { right: 8px; }

  .split-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .registration-form {
    padding: 30px 20px;
  }

  .payment-card {
    padding: 32px 24px;
  }

  [dir="rtl"] .input-group-addon {
    border-radius: 0 12px 12px 0;
    border-right: 2px solid #edeff0;
    border-left: none;
  }

  [dir="rtl"] .input-group .form-control {
    border-radius: 12px 0 0 12px;
  }
}

[dir="rtl"] .input-group-addon {
  border-radius: 0 12px 12px 0;
  border-right: 2px solid #edeff0;
  border-left: none;
}

[dir="rtl"] .input-group .form-control {
  border-radius: 12px 0 0 12px;
}

[dir="rtl"] .checkbox-group input[type="checkbox"] {
  margin-right: 0;
  margin-left: 15px;
}

/* SVG icon system */
.sa-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

.sa-icon-sm { width: 20px; height: 20px; }
.sa-icon-md { width: 28px; height: 28px; }
.sa-icon-lg { width: 36px; height: 36px; }
.sa-icon-xl { width: 48px; height: 48px; }

.sa-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px;
  background: rgba(241, 97, 1, 0.1);
  color: #f16101;
}

.sa-icon-wrap-teal { background: rgba(46, 213, 115, 0.12); color: #21ba45; }
.sa-icon-wrap-blue { background: rgba(30, 144, 255, 0.12); color: #1e90ff; }
.sa-icon-wrap-purple { background: rgba(108, 92, 231, 0.12); color: #6c5ce7; }

.skill-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-icon-card {
  text-align: center;
  padding: 25px 15px;
  background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
}

.skill-icon-card .sa-icon-wrap {
  margin: 0 auto 15px;
}

.quote-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border-left: 5px solid #2ed573;
}

.quote-card-blue { border-left-color: #1e90ff; }

.trusted-inline-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  gap: 10px;
}

.trusted-inline-badge .badge-title {
  font-weight: 800;
  color: #2c3e50;
  font-size: 1.1rem;
}

.trusted-inline-badge .badge-sub {
  font-size: 0.8rem;
  color: var(--muted2);
  font-weight: 600;
  text-align: left;
}

.beyond-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.beyond-item h4 {
  font-weight: 700;
  color: #e67e22;
  margin-bottom: 8px;
}

.how-block {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.how-block h3 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-block .sa-icon-wrap {
  display: inline-flex;
  margin-bottom: 20px;
}

/* Homepage split hero */
.hero-split-layout .hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 48px;
  align-items: center;
}

.hero-split-main .hero-intro {
  text-align: left;
  margin-bottom: 24px;
}

.hero-split-main .hero-cta-row {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.hero-trust-strip {
  margin-bottom: 0;
  gap: 20px;
}

.hero-trust-strip .hero-card {
  min-width: 0;
  max-width: none;
  flex: 1;
  padding: 20px 24px;
}

.hero-split-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}

.hero-below-fold {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[dir="rtl"] .hero-split-main .hero-intro {
  text-align: right;
}

[dir="rtl"] .hero-split-main .hero-cta-row {
  justify-content: flex-end;
}

@media (max-width: 992px) {
  .hero-split-layout .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-split-main .hero-intro,
  [dir="rtl"] .hero-split-main .hero-intro {
    text-align: center;
  }

  .hero-split-main .hero-cta-row,
  [dir="rtl"] .hero-split-main .hero-cta-row {
    justify-content: center;
  }

  .hero-split-visual {
    order: -1;
  }

  .hero-visual-img {
    max-width: 420px;
  }

  .hero-trust-strip {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 993px) {
  .hero-split-layout .hero-headline-primary {
    white-space: normal;
  }
}

/* Registration funnel */
.reg-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.reg-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted2);
  font-weight: 600;
  font-size: 0.92rem;
}

.reg-progress-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf2f7;
  color: #64748b;
  font-weight: 800;
  flex-shrink: 0;
}

.reg-progress-step.is-active {
  color: #2c3e50;
}

.reg-progress-step.is-active .reg-progress-num {
  background: linear-gradient(135deg, #F16101 0%, #ff6b35 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(241, 97, 1, 0.28);
}

.reg-progress-step.is-complete .reg-progress-num {
  background: #2ed573;
  color: #fff;
}

.reg-progress-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
}

.otp-input-lg {
  font-size: 1.5rem !important;
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 700;
  padding: 16px 20px !important;
}

.grade-ajax-wrap.is-loading select {
  opacity: 0.65;
}

/* Homepage density */
.hero-compact .hero-intro {
  margin-bottom: 28px;
}

.hero-compact .hero-headline-tertiary {
  margin-bottom: 12px;
}

.hero-compact .cards-row {
  margin-bottom: 32px;
}

.hero-compact .hero-cta-row {
  margin-bottom: 28px;
}

.hero-compact .hero-features-wrap {
  margin-top: 32px;
  padding-top: 20px;
}

.hero-compact .hero-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}

.hero-compact .hero-langs-row {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .hero-compact .hero-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-compact .hero-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.mobile-sticky-cta .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }

  body.has-mobile-cta {
    padding-bottom: 72px;
  }

  body.has-mobile-cta #saCookieSettingsLink {
    bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta {
    backdrop-filter: none;
  }
}

/* Visually hidden — available to screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Login page */
.login-main {
  min-height: calc(100vh - 200px);
  background: linear-gradient(180deg, #fff8f5 0%, #ffffff 40%, #f7faff 100%);
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.login-panel {
  max-width: none;
  margin: 0;
}

.login-panel-title {
  font-size: 2rem;
  color: #2c3e50;
  margin: 0 0 10px;
}

.login-footer-link {
  text-align: center;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.login-footer-link a {
  color: var(--cta-link);
  font-weight: 800;
  text-decoration: none;
}

.login-footer-link a:hover,
.login-footer-link a:focus-visible {
  text-decoration: underline;
}

.login-msg {
  margin-top: 16px;
}

.login-otp-actions {
  display: grid;
  gap: 12px;
}

.btn-submit-secondary {
  background: linear-gradient(135deg, #546e7a 0%, #455a64 100%);
  box-shadow: 0 4px 15px rgba(69, 90, 100, 0.25);
}

.btn-submit-secondary:hover {
  box-shadow: 0 6px 20px rgba(69, 90, 100, 0.35);
}

.form-help {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

[dir="rtl"] .login-grid {
  direction: rtl;
}

[dir="rtl"] .login-footer-link {
  text-align: center;
}

@media (max-width: 900px) {
  .login-grid {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .login-panel {
    padding: 30px 20px;
  }
}

/* Footer v2 */
.footer-v2 {
  background: white;
  border-top: 2px solid #f0f0f0;
  padding: 60px 0 30px;
  color: #2c3e50;
  font-family: 'Baloo 2', sans-serif;
}

.footer-v2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  text-align: start;
}

.footer-v2-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-v2-links a {
  color: #3498db;
  text-decoration: none;
  font-weight: 600;
}

.footer-v2-heading {
  color: #2c3e50;
  font-weight: 800;
  margin: 0 0 10px;
}

.footer-v2-address {
  font-size: 0.9rem;
  margin: 0;
  color: #546e7a;
  line-height: 1.6;
}

.footer-v2-partner {
  align-items: flex-start;
}

.footer-v2-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 30px;
  gap: 20px;
}

.footer-v2-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #546e7a;
}

.league-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-v2-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-v2-partner {
    align-items: center;
  }
}

/* -----------------------------------------------------------------
   Full RTL pass — v2 marketing + funnel
   ----------------------------------------------------------------- */
[dir="rtl"] .footer-v2-grid,
[dir="rtl"] .footer-v2-col,
[dir="rtl"] .nep-list,
[dir="rtl"] .league-list,
[dir="rtl"] .section-header-center,
[dir="rtl"] .section-header-center-sm,
[dir="rtl"] .form-header,
[dir="rtl"] .otp-info,
[dir="rtl"] .login-footer-link,
[dir="rtl"] .payment-card,
[dir="rtl"] .registration-success-card {
  text-align: right;
}

[dir="rtl"] .footer-v2-partner {
  align-items: flex-end;
}

[dir="rtl"] .input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .input-group-addon {
  border-radius: 0 12px 12px 0;
  border-inline-end: 2px solid #edeff0;
  border-inline-start: none;
}

[dir="rtl"] .input-group .form-control {
  border-radius: 12px 0 0 12px;
}

[dir="rtl"] .form-agree-label {
  flex-direction: row-reverse;
}

[dir="rtl"] .form-agree-label input[type="checkbox"] {
  margin-inline-end: 15px;
  margin-inline-start: 0;
}

[dir="rtl"] .reg-progress {
  flex-direction: row-reverse;
}

[dir="rtl"] .split-row,
[dir="rtl"] .form-row {
  direction: rtl;
}

[dir="rtl"] .pricing-compare-table th:first-child,
[dir="rtl"] .pricing-compare-table td:first-child {
  text-align: right;
}

[dir="rtl"] .pricing-compare-table th:not(:first-child),
[dir="rtl"] .pricing-compare-table td:not(:first-child) {
  text-align: center;
}

[dir="rtl"] .mobile-menu a {
  text-align: right;
}

[dir="rtl"] .nav ul {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-nav-prev {
  left: auto;
  right: 8px;
}

[dir="rtl"] .testimonial-nav-next {
  right: auto;
  left: 8px;
}

[dir="rtl"] .success-msg,
[dir="rtl"] .error-msg {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] #saCookieActions {
  flex-direction: row-reverse;
}

[dir="rtl"] #saCookieManagePanel label {
  flex-direction: row-reverse;
}

[dir="rtl"] .skip-link {
  left: auto;
  right: 16px;
}

[dir="rtl"] .hero-centered,
[dir="rtl"] .hero-intro,
[dir="rtl"] .hero-trust-row,
[dir="rtl"] .stem-card-body,
[dir="rtl"] .video-card-caption {
  text-align: right;
}

[dir="rtl"] .checklist-mark {
  margin-inline-end: 0;
  margin-inline-start: 10px;
}

[dir="rtl"] .payment-next-steps {
  text-align: right;
}

[dir="rtl"] .payment-next-steps li {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .registration-form.payment-card {
  text-align: center;
}

@media (max-width: 768px) {
  .payment-actions-split {
    grid-template-columns: 1fr;
  }

  .registration-form.payment-card {
    padding: 30px 20px;
  }
}
