@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --jazanix-green: #0f271c;
  --jazanix-title: #b47a39;
  --jazanix-cream: #e8dbc6;
  --jazanix-button: #5e9918;
  --jazanix-dark: #07150f;
  --jazanix-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tajawal", Arial, sans-serif;
  background: var(--jazanix-green);
  color: var(--jazanix-white);
}

/* GLOBAL LOGO HEADER */

.global-logo-header {
  width: 100%;
  background: var(--jazanix-green);
  padding: 22px 10px 14px;
  text-align: center;
}

.global-logo-header a {
  display: inline-block;
}

.global-logo-header img {
  width: 145px;
  max-width: 34vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* HOME */

.hero {
  min-height: calc(100vh - 170px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(180, 122, 57, 0.18), transparent 28%),
    linear-gradient(135deg, #0f271c 0%, #173b2b 45%, #07150f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  width: 100%;
  text-align: center;
  padding: 62px 40px;
  border: 1px solid rgba(232, 219, 198, 0.12);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.brand-badge {
  display: inline-block;
  color: var(--jazanix-title);
  border: 1px solid rgba(180, 122, 57, 0.45);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 800;
  direction: ltr;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--jazanix-cream);
}

.hero p {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.9;
  color: rgba(232, 219, 198, 0.88);
}

.readiness-root {
  margin: 38px auto 24px;
  max-width: 560px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(180, 122, 57, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(180, 122, 57, 0.35);
}

.readiness-root span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--jazanix-white);
}

.readiness-root small {
  display: block;
  margin-top: 8px;
  color: rgba(232, 219, 198, 0.85);
  font-size: 16px;
}

.actions,
.result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  transition: 0.2s ease;
  display: inline-block;
}

.btn.primary {
  background: var(--jazanix-button);
  color: white;
}

.btn.secondary {
  color: var(--jazanix-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn.secondary.dark {
  color: var(--jazanix-green);
  border: 1px solid rgba(15, 39, 28, 0.25);
}

/* REGISTER */

.register-shell {
  min-height: calc(100vh - 170px);
  padding: 20px 28px 28px;
  display: grid;
  grid-template-columns: 0.92fr 1.48fr;
  background:
    radial-gradient(circle at 8% 10%, rgba(180, 122, 57, 0.22), transparent 32%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  font-family: "Tajawal", Arial, sans-serif;
}

.register-intro {
  background:
    radial-gradient(circle at 35% 18%, rgba(232, 219, 198, 0.08), transparent 35%),
    linear-gradient(150deg, #0f271c, #07150f);
  color: var(--jazanix-cream);
  padding: 50px 46px;
  border: 1px solid rgba(180, 122, 57, 0.35);
  border-left: none;
  border-radius: 28px 0 0 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.register-intro::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(180, 122, 57, 0.22);
  border-radius: 50%;
  bottom: -250px;
  right: -190px;
}

.register-intro h1 {
  color: var(--jazanix-title);
  font-size: clamp(38px, 3.1vw, 50px);
  line-height: 1.35;
  margin: 0 0 24px;
  font-weight: 800;
}

.register-intro p {
  color: var(--jazanix-cream);
  font-size: 20px;
  line-height: 1.95;
  margin: 0;
}

.intro-line {
  width: 76px;
  height: 3px;
  background: var(--jazanix-button);
  margin: 36px auto;
}

.register-intro h3 {
  color: var(--jazanix-title);
  font-size: 25px;
  margin: 0 0 16px;
  font-weight: 800;
}

.register-intro .small {
  font-size: 18px;
  line-height: 2;
}

.program-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 38px;
  position: relative;
  z-index: 2;
}

.program-pillars div {
  min-height: 86px;
  color: var(--jazanix-cream);
  border-top: 1px solid rgba(180, 122, 57, 0.35);
  padding-top: 15px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
}

.program-pillars span {
  display: block;
  color: var(--jazanix-button);
  font-size: 14px;
  margin-bottom: 5px;
}

.register-form-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.65), transparent 38%),
    var(--jazanix-cream);
  color: var(--jazanix-green);
  padding: 50px 74px 34px;
  border-radius: 0 28px 28px 0;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.form-top {
  font-size: 22px;
  font-weight: 800;
  color: var(--jazanix-green);
  margin-bottom: 8px;
}

.register-form-panel h2 {
  color: var(--jazanix-green);
  font-size: clamp(38px, 3.2vw, 52px);
  line-height: 1.3;
  margin: 0;
  font-weight: 800;
}

.register-form-panel p {
  color: rgba(15, 39, 28, 0.72);
  font-size: 20px;
  line-height: 1.8;
  margin: 16px 0 34px;
}

.premium-form {
  text-align: right;
}

.premium-form label {
  display: block;
  color: var(--jazanix-green);
  font-weight: 800;
  font-size: 17.5px;
  margin: 16px 0 8px;
}

.premium-form input,
.premium-form select {
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 28, 0.18);
  background: rgba(255, 255, 255, 0.58);
  color: var(--jazanix-green);
  padding: 0 18px;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 17px;
  outline: none;
}

.premium-form input::placeholder {
  color: rgba(15, 39, 28, 0.45);
}

.premium-form input:focus,
.premium-form select:focus {
  border-color: var(--jazanix-button);
  box-shadow: 0 0 0 3px rgba(94, 153, 24, 0.12);
}

.premium-form button {
  width: 100%;
  margin-top: 30px;
  height: 60px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #5e9918, #3f7f11);
  color: white;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(94, 153, 24, 0.28);
}

.privacy-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 39, 28, 0.12);
  color: rgba(15, 39, 28, 0.75);
  font-weight: 700;
  font-size: 16px;
}

/* TEST + RESULT */

.test-page,
.result-page {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 57, 0.18), transparent 30%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 20px 28px 42px;
  color: #0f271c;
}

.test-card,
.result-card {
  max-width: 1080px;
  margin: 0 auto;
  background: #e8dbc6;
  border-radius: 28px;
  padding: 52px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.test-card h1,
.result-card h1 {
  font-size: clamp(38px, 3.8vw, 54px);
  color: #0f271c;
  margin: 0 0 16px;
  line-height: 1.35;
}

.test-card p,
.result-card p {
  font-size: 20px;
  line-height: 1.95;
  color: rgba(15, 39, 28, 0.76);
}

.readiness-form {
  margin-top: 38px;
  text-align: right;
}

.readiness-form h2 {
  color: #b47a39;
  font-size: 31px;
  margin: 42px 0 20px;
  border-bottom: 1px solid rgba(15, 39, 28, 0.12);
  padding-bottom: 14px;
  font-weight: 800;
}

.question {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(15, 39, 28, 0.12);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
}

.question h3 {
  margin: 0 0 18px;
  font-size: 22px;
  color: #0f271c;
  line-height: 1.7;
}

.question label {
  display: block;
  padding: 14px 16px;
  margin: 10px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  font-size: 18px;
  line-height: 1.7;
  color: #0f271c;
}

.question input {
  margin-left: 8px;
}

.readiness-form button {
  width: 100%;
  margin-top: 30px;
  height: 64px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #5e9918, #3f7f11);
  color: white;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.score-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 10px solid #5e9918;
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(255,255,255,0.45);
}

.score-circle strong {
  font-size: 52px;
  color: #0f271c;
}

.score-circle span {
  color: rgba(15, 39, 28, 0.7);
  font-weight: 700;
  font-size: 16px;
}

.result-card h2 {
  color: #b47a39;
  font-size: 38px;
  margin: 14px 0 26px;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 26px 0;
}

.result-grid div,
.obstacle-box {
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 18px;
  padding: 24px;
}

.result-grid span,
.obstacle-box span {
  display: block;
  color: rgba(15, 39, 28, 0.7);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 17px;
}

.result-grid strong,
.obstacle-box strong {
  display: block;
  color: #0f271c;
  font-size: 29px;
}

.obstacle-box {
  margin: 22px 0;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .global-logo-header {
    padding: 12px 8px 8px;
  }

  .global-logo-header img {
    width: 86px;
  }

  .register-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 12px;
  }

  .register-intro,
  .register-form-panel {
    border-radius: 22px;
  }

  .register-intro {
    border-left: 1px solid rgba(180, 122, 57, 0.35);
    padding: 30px 18px;
  }

  .register-form-panel {
    padding: 30px 18px 24px;
  }

  .program-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .test-page,
  .result-page {
    min-height: auto;
    padding: 10px;
  }

  .test-card,
  .result-card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .global-logo-header {
    padding: 10px 8px 6px;
  }

  .global-logo-header img {
    width: 78px;
  }

  .hero {
    min-height: auto;
    padding: 10px 10px 24px;
  }

  .hero-content {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.85;
  }

  .register-shell {
    padding: 8px;
  }

  .register-intro,
  .register-form-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .register-intro h1,
  .register-form-panel h2,
  .test-card h1,
  .result-card h1 {
    font-size: 27px;
  }

  .register-intro p,
  .register-form-panel p,
  .test-card p,
  .result-card p {
    font-size: 16px;
    line-height: 1.85;
  }

  .register-intro h3 {
    font-size: 21px;
  }

  .form-top {
    font-size: 17px;
  }

  .program-pillars {
    grid-template-columns: 1fr;
  }

  .premium-form label {
    font-size: 15.5px;
  }

  .premium-form input,
  .premium-form select {
    height: 48px;
    font-size: 15px;
  }

  .premium-form button {
    height: 56px;
    font-size: 18px;
  }

  .question {
    padding: 16px;
  }

  .question h3 {
    font-size: 18px;
  }

  .question label {
    font-size: 15.5px;
  }

  .readiness-form h2 {
    font-size: 24px;
  }

  .readiness-form button {
    height: 58px;
    font-size: 18px;
  }

  .score-circle {
    width: 150px;
    height: 150px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* 21 DAY JOURNEY */

.day-page {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 57, 0.18), transparent 30%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 20px 28px 42px;
  color: #0f271c;
}

.day-card {
  max-width: 1080px;
  margin: 0 auto;
  background: #e8dbc6;
  border-radius: 28px;
  padding: 52px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.day-progress-top {
  max-width: 720px;
  margin: 0 auto 26px;
}

.day-progress-top span {
  display: block;
  color: rgba(15, 39, 28, 0.75);
  font-weight: 800;
  margin-bottom: 10px;
}

.day-progress-bar {
  height: 12px;
  background: rgba(15, 39, 28, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.day-progress-bar div {
  height: 100%;
  background: linear-gradient(135deg, #5e9918, #3f7f11);
}

.day-card h1 {
  font-size: clamp(38px, 3.8vw, 54px);
  color: #0f271c;
  margin: 0 0 24px;
  line-height: 1.35;
}

.day-objective,
.day-task {
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 18px;
  padding: 22px;
  margin: 22px 0;
  text-align: right;
}

.day-objective span,
.day-task span {
  display: block;
  color: rgba(15, 39, 28, 0.7);
  font-weight: 800;
  margin-bottom: 8px;
}

.day-objective strong,
.day-task strong {
  display: block;
  color: #0f271c;
  font-size: 22px;
  line-height: 1.8;
}

.video-box {
  margin: 30px 0;
  border-radius: 22px;
  overflow: hidden;
  background: #0f271c;
}

.video-box video {
  width: 100%;
  display: block;
}

.video-placeholder {
  margin: 30px 0;
  min-height: 260px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(180, 122, 57, 0.24), transparent 35%),
    linear-gradient(135deg, #0f271c, #07150f);
  color: #e8dbc6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(180, 122, 57, 0.25);
}

.video-placeholder strong {
  font-size: 30px;
  color: #b47a39;
  margin-bottom: 10px;
}

.video-placeholder span {
  font-size: 17px;
  color: rgba(232, 219, 198, 0.82);
}

.day-content {
  text-align: right;
  margin: 30px 0;
}

.day-content p {
  font-size: 20px;
  line-height: 2;
  color: rgba(15, 39, 28, 0.82);
  margin: 0 0 16px;
}

.day-task-form {
  margin-top: 30px;
}

.day-task-form textarea {
  width: 100%;
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid rgba(15, 39, 28, 0.18);
  background: rgba(255, 255, 255, 0.58);
  color: #0f271c;
  padding: 18px;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  outline: none;
  resize: vertical;
}

.day-task-form button {
  width: 100%;
  margin-top: 24px;
  height: 64px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #5e9918, #3f7f11);
  color: white;
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
}

.completed-note {
  margin-top: 16px;
  background: rgba(94, 153, 24, 0.12);
  color: #0f271c;
  border: 1px solid rgba(94, 153, 24, 0.25);
  border-radius: 14px;
  padding: 14px;
  font-weight: 800;
}

.day-navigation {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .day-page {
    padding: 10px;
  }

  .day-card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .day-card h1 {
    font-size: 28px;
  }

  .day-objective strong,
  .day-task strong {
    font-size: 18px;
  }

  .day-content p {
    font-size: 16px;
    line-height: 1.9;
  }

  .video-placeholder {
    min-height: 190px;
  }

  .video-placeholder strong {
    font-size: 24px;
  }

  .day-task-form textarea {
    font-size: 16px;
  }

  .day-task-form button {
    height: 58px;
    font-size: 18px;
  }
}

/* ADMIN DASHBOARD */

.admin-page {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 57, 0.18), transparent 30%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 20px 28px 42px;
  color: #0f271c;
}

.admin-card {
  max-width: 1400px;
  margin: 0 auto;
  background: #e8dbc6;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.admin-card h1 {
  font-size: clamp(34px, 4vw, 52px);
  color: #0f271c;
  margin: 0 0 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 28px 0 34px;
}

.admin-stats div {
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 18px;
  padding: 20px;
}

.admin-stats span {
  display: block;
  color: rgba(15, 39, 28, 0.7);
  font-weight: 800;
  margin-bottom: 8px;
}

.admin-stats strong {
  display: block;
  font-size: 34px;
  color: #0f271c;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(15,39,28,0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.42);
  min-width: 1100px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(15,39,28,0.1);
  text-align: right;
  color: #0f271c;
  font-size: 15px;
  vertical-align: middle;
}

.admin-table th {
  background: rgba(15, 39, 28, 0.08);
  font-weight: 800;
  color: #0f271c;
}

.admin-table small {
  color: rgba(15,39,28,0.75);
  line-height: 1.8;
}

.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(180, 122, 57, 0.18);
  color: #0f271c;
  font-weight: 800;
  font-size: 13px;
}

.admin-action {
  border: none;
  background: #5e9918;
  color: white;
  font-family: "Tajawal", Arial, sans-serif;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.enrolled-label {
  color: #5e9918;
  font-weight: 800;
}

@media (max-width: 980px) {
  .admin-card {
    padding: 28px 16px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .admin-page {
    padding: 10px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}

/* ANSWER EXAMPLE */

.answer-example {
  margin: 18px 0;
  text-align: right;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(15, 39, 28, 0.14);
  overflow: hidden;
}

.answer-example summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  color: #0f271c;
  background: rgba(180, 122, 57, 0.12);
}

.answer-example div {
  padding: 18px;
}

.answer-example p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(15, 39, 28, 0.82);
}

/* CHINA STAGE */

.china-page {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 57, 0.18), transparent 30%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 24px;
  color: #0f271c;
}

.china-hero {
  max-width: 1400px;
  margin: 0 auto 24px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 35px 100px rgba(0,0,0,0.35);
}

.china-hero img {
  width: 100%;
  display: block;
}

.china-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,21,15,0.82), rgba(7,21,15,0.05));
}

.china-hero-content {
  position: absolute;
  right: 50px;
  bottom: 42px;
  z-index: 2;
  max-width: 720px;
  color: #e8dbc6;
}

.china-hero-content h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.3;
  margin: 0 0 14px;
  color: #e8dbc6;
}

.china-hero-content p {
  font-size: 21px;
  line-height: 1.9;
  margin: 0;
  color: rgba(232,219,198,0.9);
}

.china-card,
.china-timeline,
.china-next {
  max-width: 1200px;
  margin: 24px auto;
  background: #e8dbc6;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.22);
  text-align: center;
}

.china-card h2,
.china-timeline h2,
.china-next h2 {
  color: #b47a39;
  font-size: clamp(30px, 3vw, 44px);
  margin: 0 0 18px;
}

.china-card p,
.china-next p {
  font-size: 20px;
  line-height: 2;
  color: rgba(15,39,28,0.8);
  margin: 0;
}

.china-grid {
  max-width: 1200px;
  margin: 24px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.china-grid div {
  background: #e8dbc6;
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
}

.china-grid span {
  display: block;
  color: #5e9918;
  font-weight: 800;
  letter-spacing: 1px;
  direction: ltr;
}

.china-grid h3 {
  color: #b47a39;
  font-size: 28px;
  margin: 10px 0;
}

.china-grid p {
  color: rgba(15,39,28,0.78);
  font-size: 17px;
  line-height: 1.8;
}

.china-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.china-points div {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 16px;
  padding: 18px;
  font-weight: 800;
  color: #0f271c;
}

.china-card.dark {
  background:
    radial-gradient(circle at 20% 15%, rgba(180,122,57,0.18), transparent 30%),
    linear-gradient(135deg, #0f271c, #07150f);
}

.china-card.dark h2 {
  color: #b47a39;
}

.china-card.dark p {
  color: #e8dbc6;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  text-align: right;
  background: rgba(255,255,255,0.48);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.timeline-item strong {
  color: #5e9918;
  font-size: 19px;
}

.timeline-item span {
  color: #0f271c;
  font-weight: 800;
  font-size: 18px;
}

@media (max-width: 980px) {
  .china-grid,
  .china-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .china-hero-content {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .china-hero-content p {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .china-page {
    padding: 10px;
  }

  .china-hero {
    border-radius: 22px;
  }

  .china-hero img {
    min-height: 260px;
    object-fit: cover;
  }

  .china-hero-content {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .china-hero-content h1 {
    font-size: 26px;
  }

  .china-hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .china-card,
  .china-timeline,
  .china-next {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .china-grid,
  .china-points {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

/* MEMBER DASHBOARD V2 */

.member-dashboard-page {
  min-height: calc(100vh - 170px);
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 122, 57, 0.18), transparent 30%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 24px;
  color: #0f271c;
}

.member-hero,
.member-progress-card,
.member-stages,
.member-actions {
  max-width: 1200px;
  margin: 0 auto 24px;
  background: #e8dbc6;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
  text-align: center;
}

.member-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  color: #0f271c;
  margin: 0 0 16px;
}

.member-hero p {
  max-width: 860px;
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.9;
  color: rgba(15,39,28,0.78);
}

.member-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.member-score-grid div {
  background: rgba(255,255,255,0.52);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 18px;
  padding: 22px;
}

.member-score-grid span {
  display: block;
  color: rgba(15,39,28,0.68);
  font-weight: 800;
  margin-bottom: 8px;
}

.member-score-grid strong {
  display: block;
  color: #0f271c;
  font-size: 28px;
}

.member-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  text-align: right;
}

.member-progress-head span {
  display: block;
  color: rgba(15,39,28,0.7);
  font-weight: 800;
}

.member-progress-head h2 {
  margin: 6px 0 0;
  color: #b47a39;
  font-size: 48px;
}

.member-progress-bar {
  height: 16px;
  background: rgba(15,39,28,0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 24px 0 16px;
}

.member-progress-bar div {
  height: 100%;
  background: linear-gradient(135deg, #5e9918, #3f7f11);
}

.member-progress-card p {
  margin: 0;
  font-size: 17px;
  color: rgba(15,39,28,0.75);
  font-weight: 800;
}

.member-stages h2 {
  color: #b47a39;
  font-size: clamp(30px, 3vw, 44px);
  margin: 0 0 28px;
}

.stage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stage-card {
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
}

.stage-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(15,39,28,0.12);
  color: #0f271c;
  font-weight: 800;
  margin-bottom: 12px;
}

.stage-card h3 {
  color: #0f271c;
  font-size: 22px;
  margin: 0 0 10px;
}

.stage-card p {
  color: rgba(15,39,28,0.72);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.stage-card.done span,
.stage-card.active span {
  background: #5e9918;
  color: white;
}

.stage-card.done {
  border-color: rgba(94,153,24,0.4);
}

.stage-card.active {
  border-color: rgba(180,122,57,0.55);
  box-shadow: inset 0 0 0 2px rgba(180,122,57,0.18);
}

.member-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .member-score-grid,
  .stage-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-progress-head {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .member-dashboard-page {
    padding: 10px;
  }

  .member-hero,
  .member-progress-card,
  .member-stages,
  .member-actions {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .member-score-grid,
  .stage-cards {
    grid-template-columns: 1fr;
  }

  .member-hero p {
    font-size: 16px;
  }

  .member-score-grid strong {
    font-size: 24px;
  }
}

/* CHINA COUNTDOWN */

.china-countdown-card {
  max-width: 1200px;
  margin: 24px auto;
  background:
    radial-gradient(circle at 20% 10%, rgba(180,122,57,0.22), transparent 30%),
    linear-gradient(135deg, #0f271c, #07150f);
  border: 1px solid rgba(180,122,57,0.28);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  color: #e8dbc6;
}

.china-countdown-card span {
  display: block;
  color: rgba(232,219,198,0.75);
  font-weight: 800;
  margin-bottom: 10px;
}

.china-countdown-card h2 {
  color: #b47a39;
  font-size: clamp(34px, 5vw, 64px);
  margin: 0;
  line-height: 1.25;
}

.flight-info {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,219,198,0.12);
  border-radius: 22px;
  padding: 24px;
}

.flight-info strong {
  display: block;
  color: #b47a39;
  margin-top: 10px;
  font-size: 16px;
}

.flight-info strong:first-child {
  margin-top: 0;
}

.flight-info p {
  margin: 5px 0 12px;
  color: #e8dbc6;
  font-weight: 800;
}

@media (max-width: 760px) {
  .china-countdown-card {
    grid-template-columns: 1fr;
    padding: 28px 18px;
    border-radius: 22px;
    text-align: center;
  }

  .flight-info {
    text-align: center;
  }
}


/* =====================================================
   JAZANIX OS POLISH V2
   Clean global unification without breaking page identity
===================================================== */

:root {
  --jx-green: #0f271c;
  --jx-dark: #07150f;
  --jx-deep: #04100b;
  --jx-gold: #b47a39;
  --jx-cream: #e8dbc6;
  --jx-action: #5e9918;
  --jx-muted: rgba(15, 39, 28, 0.74);
  --jx-card-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --jx-radius-lg: 28px;
  --jx-radius-md: 20px;
  --jx-radius-sm: 14px;

  --jx-h1: clamp(32px, 3.6vw, 50px);
  --jx-h2: clamp(26px, 2.8vw, 38px);
  --jx-h3: 23px;
  --jx-body: 18px;
  --jx-small: 15px;
}

/* Global base */

body {
  font-family: "Tajawal", Arial, sans-serif;
  background: var(--jx-green);
}

.global-logo-header {
  padding: 20px 10px 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 122, 57, 0.10), transparent 38%),
    var(--jx-green);
}

.global-logo-header img {
  width: 122px;
  max-width: 32vw;
}

/* Premium shared background */

.test-page,
.result-page,
.day-page,
.admin-page,
.member-dashboard-page,
.china-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 122, 57, 0.13), transparent 34%),
    radial-gradient(circle at 12% 30%, rgba(94, 153, 24, 0.10), transparent 28%),
    linear-gradient(160deg, #10291d 0%, #07150f 58%, #04100b 100%);
}

/* Shared cards */

.test-card,
.result-card,
.day-card,
.admin-card,
.member-hero,
.member-progress-card,
.member-stages,
.member-actions,
.china-card,
.china-timeline,
.china-next {
  border-radius: var(--jx-radius-lg);
  box-shadow: var(--jx-card-shadow);
}

/* Typography scale */

.test-card h1,
.result-card h1,
.day-card h1,
.admin-card h1,
.member-hero h1 {
  font-size: var(--jx-h1);
  line-height: 1.3;
  font-weight: 800;
}

.result-card h2,
.readiness-form h2,
.member-stages h2,
.china-card h2,
.china-timeline h2,
.china-next h2 {
  font-size: var(--jx-h2);
  line-height: 1.35;
  font-weight: 800;
}

.test-card p,
.result-card p,
.register-form-panel p,
.register-intro p,
.member-hero p,
.china-card p,
.china-next p,
.day-content p {
  font-size: var(--jx-body);
  line-height: 1.9;
}

/* Inner content boxes */

.result-grid div,
.obstacle-box,
.day-objective,
.day-task,
.member-score-grid div,
.admin-stats div,
.stage-card,
.timeline-item,
.answer-example {
  border-radius: var(--jx-radius-md);
  border: 1px solid rgba(15, 39, 28, 0.12);
}

.result-grid strong {
  font-size: 26px;
  line-height: 1.5;
}

.obstacle-box strong {
  font-size: 20px;
  line-height: 1.85;
}

.obstacle-box p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(15, 39, 28, 0.74);
}

/* Buttons */

.btn,
.premium-form button,
.readiness-form button,
.day-task-form button,
.admin-action {
  font-family: "Tajawal", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  border-radius: 999px;
}

.btn.primary,
.premium-form button,
.readiness-form button,
.day-task-form button,
.admin-action {
  background: linear-gradient(135deg, #5e9918, #3f7f11);
  color: #ffffff;
  border: none;
}

.btn.secondary.dark {
  background: rgba(255, 255, 255, 0.34);
  color: var(--jx-green);
  border: 1px solid rgba(15, 39, 28, 0.18);
}

/* Forms */

input,
select,
textarea {
  font-family: "Tajawal", Arial, sans-serif;
}

/* Score circle */

.score-circle {
  width: 168px;
  height: 168px;
  border-width: 9px;
}

.score-circle strong {
  font-size: 46px;
}

/* Day page polish */

.day-content {
  max-width: 900px;
  margin: 34px auto;
}

.day-content p {
  text-align: right;
}

.day-objective strong,
.day-task strong,
.question h3,
.timeline-item span,
.stage-card h3 {
  font-size: var(--jx-h3);
  line-height: 1.65;
}

/* China page identity protection */

.china-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 122, 57, 0.16), transparent 34%),
    radial-gradient(circle at 10% 30%, rgba(94, 153, 24, 0.12), transparent 28%),
    linear-gradient(160deg, #10291d 0%, #07150f 58%, #04100b 100%);
}

.china-hero {
  max-width: 1320px;
  border-radius: 26px;
}

.china-hero::after {
  background:
    linear-gradient(to top, rgba(7, 21, 15, 0.78), rgba(7, 21, 15, 0.18) 55%, rgba(7, 21, 15, 0.04));
}

.china-hero-content {
  max-width: 640px;
}

.china-hero-content h1 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.22;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.china-hero-content p {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  max-width: 620px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
}

.china-grid div {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.65), transparent 42%),
    #e8dbc6;
  border: 1px solid rgba(15, 39, 28, 0.08);
  border-radius: 24px;
}

.china-points div {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(15, 39, 28, 0.12);
  border-radius: 16px;
}

.china-grid h3 {
  font-size: 27px;
}

.china-grid p {
  font-size: 17px;
  line-height: 1.75;
}

.china-countdown-card {
  background:
    radial-gradient(circle at 20% 10%, rgba(180,122,57,0.22), transparent 30%),
    linear-gradient(135deg, #10291d, #07150f);
}

.china-countdown-card h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.25;
}

/* Desktop spacing consistency */

.result-page,
.day-page,
.admin-page,
.member-dashboard-page,
.china-page {
  padding-top: 24px;
}

/* Mobile polish */

@media (max-width: 560px) {
  :root {
    --jx-h1: 27px;
    --jx-h2: 24px;
    --jx-h3: 19px;
    --jx-body: 16px;
    --jx-small: 14px;
  }

  .global-logo-header {
    padding: 12px 8px 8px;
  }

  .global-logo-header img {
    width: 86px;
  }

  .test-page,
  .result-page,
  .day-page,
  .admin-page,
  .member-dashboard-page,
  .china-page {
    padding: 10px;
  }

  .test-card,
  .result-card,
  .day-card,
  .admin-card,
  .member-hero,
  .member-progress-card,
  .member-stages,
  .member-actions,
  .china-card,
  .china-timeline,
  .china-next {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .score-circle {
    width: 136px;
    height: 136px;
    border-width: 8px;
  }

  .score-circle strong {
    font-size: 36px;
  }

  .result-grid strong {
    font-size: 22px;
  }

  .obstacle-box strong {
    font-size: 17px;
    line-height: 1.85;
  }

  .btn,
  .premium-form button,
  .readiness-form button,
  .day-task-form button {
    width: 100%;
    font-size: 16px;
    text-align: center;
  }

  .china-hero {
    border-radius: 22px;
  }

  .china-hero img {
    min-height: 315px;
    object-fit: cover;
    object-position: center;
  }

  .china-hero-content {
    right: 18px;
    left: 18px;
    bottom: 20px;
    max-width: none;
  }

  .china-hero-content .brand-badge {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 7px 12px;
    margin-bottom: 8px;
  }

  .china-hero-content h1 {
    font-size: 27px;
    line-height: 1.25;
  }

  .china-hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .china-countdown-card h2 {
    font-size: 34px;
    line-height: 1.35;
  }

  .china-grid h3 {
    font-size: 26px;
  }

  .china-grid p {
    font-size: 16px;
  }

  .member-score-grid strong {
    font-size: 23px;
  }

  .member-progress-head h2 {
    font-size: 38px;
  }
}

/* JAZANIX CERTIFICATE */

.certificate-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 122, 57, 0.2), transparent 34%),
    linear-gradient(135deg, #0f271c 0%, #07150f 100%);
  padding: 28px;
  color: #0f271c;
}

.certificate-sheet {
  max-width: 1120px;
  min-height: 790px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, #0f271c 0%, #0f271c 25%, #e8dbc6 25%, #f3ead8 100%);
  border: 3px solid #b47a39;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.42);
  position: relative;
}

.certificate-sheet::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(180, 122, 57, 0.55);
  border-radius: 20px;
  pointer-events: none;
}

.certificate-top {
  height: 215px;
  text-align: center;
  color: #e8dbc6;
  padding-top: 26px;
  position: relative;
  z-index: 2;
}

.certificate-top img {
  width: 118px;
  height: auto;
  margin: 0 auto 8px;
  display: block;
}

.certificate-top h1 {
  margin: 0;
  font-size: 48px;
  letter-spacing: 9px;
  color: #b47a39;
  direction: ltr;
}

.certificate-top p {
  margin: 5px 0 0;
  color: #e8dbc6;
  letter-spacing: 2px;
  direction: ltr;
  font-weight: 800;
}

.certificate-body {
  padding: 42px 70px 48px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.certificate-body h2 {
  font-size: 46px;
  margin: 18px 0 14px;
  color: #0f271c;
}

.certificate-intro,
.certificate-text {
  font-size: 22px;
  color: rgba(15,39,28,0.82);
  margin: 8px 0;
}

.certificate-body h3 {
  font-size: 46px;
  color: #b47a39;
  margin: 8px 0;
}

.certificate-line {
  width: 520px;
  max-width: 80%;
  height: 1px;
  background: rgba(180,122,57,0.65);
  margin: 12px auto 22px;
}

.certificate-level {
  display: inline-block;
  margin: 18px auto 28px;
  padding: 16px 54px;
  background: linear-gradient(135deg, #0f271c, #07150f);
  color: #b47a39;
  border: 2px solid #b47a39;
  border-radius: 14px;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(0,0,0,0.2);
}

.certificate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
  margin: 10px auto 24px;
  max-width: 820px;
}

.certificate-score,
.certificate-strengths,
.certificate-growth {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(15,39,28,0.12);
  border-radius: 20px;
  padding: 24px;
}

.certificate-score span,
.certificate-strengths span,
.certificate-growth span,
.certificate-footer span {
  display: block;
  color: rgba(15,39,28,0.7);
  font-weight: 800;
  margin-bottom: 8px;
}

.certificate-score strong {
  display: block;
  font-size: 58px;
  color: #0f271c;
  line-height: 1;
}

.certificate-score small {
  display: block;
  margin-top: 10px;
  color: rgba(15,39,28,0.7);
  font-weight: 800;
}

.certificate-strengths strong {
  display: block;
  color: #0f271c;
  font-size: 20px;
  margin: 8px 0;
}

.certificate-growth {
  max-width: 560px;
  margin: 0 auto 24px;
}

.certificate-growth strong {
  display: block;
  font-size: 25px;
  color: #0f271c;
}

.certificate-body blockquote {
  margin: 22px auto;
  max-width: 720px;
  color: #0f271c;
  font-size: 22px;
  line-height: 1.8;
  font-weight: 800;
}

.certificate-footer {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.certificate-footer strong {
  color: #0f271c;
  font-size: 18px;
}

.certificate-seal {
  width: 116px;
  height: 116px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #b47a39 0%, #8b5d24 70%);
  color: #0f271c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 1px;
  border: 6px solid rgba(15,39,28,0.2);
  box-shadow: 0 15px 35px rgba(0,0,0,0.22);
}

.certificate-qr-note {
  margin-top: 22px;
  color: rgba(15,39,28,0.68);
  font-weight: 800;
}

.certificate-actions {
  max-width: 1120px;
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media print {
  body {
    background: white !important;
  }

  .certificate-page {
    padding: 0;
    background: white !important;
  }

  .certificate-actions,
  .global-logo-header {
    display: none !important;
  }

  .certificate-sheet {
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    min-height: 100vh;
  }
}

@media (max-width: 760px) {
  .certificate-page {
    padding: 10px;
  }

  .certificate-sheet {
    border-radius: 22px;
  }

  .certificate-body {
    padding: 32px 18px;
  }

  .certificate-top {
    height: 190px;
  }

  .certificate-top img {
    width: 92px;
  }

  .certificate-top h1 {
    font-size: 34px;
    letter-spacing: 5px;
  }

  .certificate-body h2 {
    font-size: 30px;
  }

  .certificate-body h3 {
    font-size: 30px;
  }

  .certificate-level {
    font-size: 25px;
    padding: 14px 28px;
  }

  .certificate-grid,
  .certificate-footer {
    grid-template-columns: 1fr;
  }
}

/* CERTIFICATE ONE PAGE FIX */

.certificate-page {
  min-height: 100vh;
  padding: 18px;
}

.certificate-sheet {
  max-width: 1000px;
  min-height: auto;
  aspect-ratio: 1.414 / 1;
}

.certificate-top {
  height: 150px;
  padding-top: 16px;
}

.certificate-top img {
  width: 82px;
}

.certificate-top h1 {
  font-size: 34px;
  letter-spacing: 7px;
}

.certificate-top p {
  font-size: 13px;
}

.certificate-body {
  padding: 26px 56px 30px;
}

.certificate-body h2 {
  font-size: 34px;
  margin: 10px 0;
}

.certificate-intro,
.certificate-text {
  font-size: 17px;
  margin: 5px 0;
}

.certificate-body h3 {
  font-size: 34px;
  margin: 4px 0;
}

.certificate-line {
  margin: 8px auto 14px;
}

.certificate-level {
  margin: 10px auto 18px;
  padding: 10px 42px;
  font-size: 25px;
}

.certificate-grid {
  gap: 18px;
  margin: 6px auto 14px;
}

.certificate-score,
.certificate-strengths,
.certificate-growth {
  padding: 16px;
  border-radius: 16px;
}

.certificate-score strong {
  font-size: 42px;
}

.certificate-strengths strong {
  font-size: 17px;
  margin: 5px 0;
}

.certificate-growth {
  margin-bottom: 12px;
}

.certificate-growth strong {
  font-size: 21px;
}

.certificate-body blockquote {
  margin: 12px auto;
  font-size: 18px;
  line-height: 1.6;
}

.certificate-footer {
  margin-top: 14px;
  grid-template-columns: 1fr 100px 1fr;
}

.certificate-seal {
  width: 86px;
  height: 86px;
  font-size: 13px;
}

.certificate-footer strong {
  font-size: 15px;
}

.certificate-qr-note {
  margin-top: 12px;
  font-size: 14px;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  html,
  body {
    width: 297mm;
    height: 210mm;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .certificate-page {
    width: 297mm;
    height: 210mm;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
    overflow: hidden;
  }

  .certificate-sheet {
    width: 297mm;
    height: 210mm;
    max-width: none;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    border: 2px solid #b47a39;
    box-shadow: none;
    page-break-after: avoid;
    page-break-before: avoid;
    page-break-inside: avoid;
  }

  .certificate-actions {
    display: none !important;
  }

  .certificate-top {
    height: 42mm;
    padding-top: 5mm;
  }

  .certificate-top img {
    width: 22mm;
  }

  .certificate-top h1 {
    font-size: 24pt;
  }

  .certificate-body {
    padding: 8mm 18mm 8mm;
  }

  .certificate-body h2 {
    font-size: 25pt;
  }

  .certificate-body h3 {
    font-size: 24pt;
  }

  .certificate-level {
    font-size: 18pt;
    padding: 7px 36px;
  }

  .certificate-score strong {
    font-size: 34pt;
  }

  .certificate-body blockquote {
    font-size: 14pt;
  }
}

/* CERTIFICATE TEMPLATE OVERLAY */

.certificate-bg-page {
  min-height: 100vh;
  background: #0f271c;
  padding: 20px;
}

.certificate-bg-sheet {
  width: min(100%, 794px);
  aspect-ratio: 794 / 1123;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.certificate-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  text-align: center;
  color: #0f271c;
  font-family: "Tajawal", Arial, sans-serif;
}

.certificate-title {
  position: absolute;
  top: 170px;
  left: 80px;
  right: 80px;
  font-size: 36px;
  font-weight: 800;
  color: #0f271c;
}

.certificate-subtitle {
  position: absolute;
  top: 230px;
  left: 80px;
  right: 80px;
  font-size: 19px;
  font-weight: 700;
}

.certificate-name {
  position: absolute;
  top: 268px;
  left: 80px;
  right: 80px;
  font-size: 38px;
  font-weight: 800;
  color: #b47a39;
}

.certificate-text {
  position: absolute;
  top: 330px;
  left: 80px;
  right: 80px;
  font-size: 19px;
  font-weight: 700;
}

.certificate-level-box {
  position: absolute;
  top: 372px;
  left: 245px;
  right: 245px;
  padding: 12px 10px;
  background: #0f271c;
  border: 2px solid #b47a39;
  border-radius: 12px;
  color: #b47a39;
  font-size: 27px;
  font-weight: 800;
}

.certificate-score-box {
  position: absolute;
  top: 485px;
  right: 85px;
  width: 190px;
}

.certificate-score-box span,
.certificate-strength-box span,
.certificate-growth-box span,
.certificate-number span,
.certificate-date span {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: rgba(15,39,28,0.7);
  margin-bottom: 6px;
}

.certificate-score-box strong {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: #0f271c;
}

.certificate-score-box small {
  font-size: 15px;
  font-weight: 800;
}

.certificate-strength-box {
  position: absolute;
  top: 485px;
  left: 85px;
  width: 230px;
  text-align: right;
}

.certificate-strength-box strong {
  display: block;
  font-size: 18px;
  margin: 8px 0;
  color: #0f271c;
}

.certificate-growth-box {
  position: absolute;
  top: 595px;
  left: 265px;
  right: 265px;
  padding: 12px;
  border: 1px solid rgba(180,122,57,0.55);
  border-radius: 10px;
  background: rgba(255,255,255,0.55);
}

.certificate-growth-box strong {
  font-size: 20px;
  color: #0f271c;
}

.certificate-quote {
  position: absolute;
  top: 690px;
  left: 130px;
  right: 130px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 800;
  color: #0f271c;
}

.certificate-number {
  position: absolute;
  bottom: 125px;
  right: 105px;
  width: 230px;
}

.certificate-date {
  position: absolute;
  bottom: 125px;
  left: 105px;
  width: 230px;
}

.certificate-number strong,
.certificate-date strong {
  font-size: 18px;
  color: #0f271c;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  html, body {
    width: 210mm;
    height: 297mm;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .certificate-bg-page {
    padding: 0 !important;
    background: white !important;
  }

  .certificate-bg-sheet {
    width: 210mm;
    height: 297mm;
    box-shadow: none;
  }

  .certificate-actions {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .certificate-bg-page {
    padding: 8px;
  }

  .certificate-title { top: 15%; font-size: 24px; left: 40px; right: 40px; }
  .certificate-subtitle { top: 20%; font-size: 15px; }
  .certificate-name { top: 23%; font-size: 25px; }
  .certificate-text { top: 29%; font-size: 14px; }
  .certificate-level-box { top: 33%; left: 28%; right: 28%; font-size: 18px; }
  .certificate-score-box { top: 43%; right: 8%; width: 28%; }
  .certificate-score-box strong { font-size: 34px; }
  .certificate-strength-box { top: 43%; left: 8%; width: 34%; }
  .certificate-strength-box strong { font-size: 13px; }
  .certificate-growth-box { top: 53%; left: 28%; right: 28%; }
  .certificate-quote { top: 62%; left: 15%; right: 15%; font-size: 14px; }
  .certificate-number { bottom: 11%; right: 9%; width: 32%; }
  .certificate-date { bottom: 11%; left: 9%; width: 32%; }
}

/* Certificate growth box position fix */

.certificate-growth-box {
  top: 625px !important;
}

.certificate-quote {
  top: 725px !important;
}

/* NEW JAZANIX HOME */

.new-home {
  background: #0f271c;
  color: #e8dbc6;
}

.home-hero,
.home-wide {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  position: relative;
}

.home-hero::before,
.home-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.home-glass {
  position: relative;
  max-width: 680px;
  background: rgba(15,39,28,.72);
  border: 1px solid rgba(180,122,57,.35);
  border-radius: 34px;
  padding: 42px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}

.home-glass span,
.section-kicker {
  color: #b47a39;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-glass h1,
.home-glass h2,
.home-index h2,
.home-text h2,
.home-final h2 {
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.25;
  margin: 14px 0;
  color: #b47a39;
}

.home-glass p,
.home-index p,
.home-text p,
.home-final p {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.9;
  color: #f2eadb;
}

.home-actions,
.home-final,
.result-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.home-index {
  padding: 80px 8%;
  text-align: center;
  background: #e8dbc6;
  color: #0f271c;
}

.home-index.dark {
  background: #0b2017;
  color: #e8dbc6;
}

.home-index p {
  max-width: 850px;
  margin: 0 auto 28px;
  color: #0f271c;
}

.home-index.dark p {
  color: #e8dbc6;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 32px auto;
}

.home-stats div {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(180,122,57,.25);
  border-radius: 26px;
  padding: 28px 18px;
}

.home-index:not(.dark) .home-stats div {
  background: rgba(15,39,28,.08);
}

.home-stats strong {
  display: block;
  font-size: clamp(34px, 4vw, 56px);
  color: #b47a39;
}

.home-stats span {
  display: block;
  margin-top: 8px;
  font-weight: 800;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: #0f271c;
}

.home-split.reverse {
  direction: ltr;
}

.home-split.reverse > * {
  direction: rtl;
}

.home-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-text {
  padding: 80px 9%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-box {
  background: #07150f;
}

.mini-tags,
.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.mini-tags span,
.track-grid div {
  background: #e8dbc6;
  color: #0f271c;
  padding: 16px;
  border-radius: 18px;
  font-weight: 900;
  text-align: center;
}

.track-grid span {
  display: block;
  margin-top: 8px;
  color: #5e9918;
}

.home-wide {
  min-height: 720px;
  justify-content: flex-start;
}

.home-final {
  min-height: 520px;
  padding: 80px 8%;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(180,122,57,.25), transparent 35%),
    #0f271c;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.home-final p {
  max-width: 760px;
}

@media (max-width: 850px) {
  .home-hero,
  .home-wide {
    min-height: 72vh;
    padding: 42px 18px;
  }

  .home-glass {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .home-stats,
  .home-split,
  .mini-tags,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .home-split {
    min-height: auto;
  }

  .home-split img {
    min-height: 320px;
  }

  .home-text,
  .home-index,
  .home-final {
    padding: 54px 20px;
  }

  .home-actions,
  .result-actions {
    flex-direction: column;
  }

  .home-actions a,
  .result-actions a,
  .home-final a {
    width: 100%;
    text-align: center;
  }
}