:root {
    --gold: #e69700;
    --gold-light: #f5c842;
    --gold-dark: #b87800;
    --gold-bg: #fff8ec;
    --gold-border: #f0c060;
    --primary-color: #e69700;
    --white-color: #fff;
    --charcoal: #1a1a2e;
    --charcoal-mid: #2d2d44;
    --muted: #7a7a9a;
    --white: #ffffff;
    --off-white: #fafaf8;
    --green: #2ecc71;
    --shadow: 0 8px 32px rgba(232, 160, 0, 0.12);
    --shadow-hover: 0 16px 48px rgba(232, 160, 0, 0.22);
    --radius: 16px;
    --radius-sm: 10px;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: #fafaf8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* BG decoration */
body::before {
    content: "";
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(232, 160, 0, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}
body::after {
    content: "";
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(232, 160, 0, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 20px 0;
}

p {
    margin: 0 0 20px 0;
}

p:last-child {
    margin-bottom: 0;
}

.d-block {
    display: block !important;
}

.mb-15 {
    margin-bottom: 15px;
}

.form-wrapper {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 30px 20px 40px;
    position: relative;
}
@media (min-width: 600px) {
    .form-wrapper {
        margin: 40px auto;
        min-height: auto;
        border-radius: 24px;
        /* overflow: hidden; Removed to allow sticky positioning of CTA */
        background-color: #ffffff;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    }
}

.option-btn {
    position: relative;
    border: 2px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.option-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
/* Removed redundant small restriction for grid images */
.option-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(232, 160, 0, 0.04) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.22s;
}
.option-btn:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.option-btn:hover::after {
    opacity: 1;
}

.btn-check:checked + .option-btn,
.option-btn.selected {
    border-color: var(--gold);
    background: var(--gold-bg);
    box-shadow: var(--shadow);
}

.check-tick {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    border: 2px solid #fff;
}

.check-tick svg {
    width: 14px;
    height: 14px;
}

.btn-check:checked + .option-btn .check-tick,
.btn-check:checked + label .age-card .check-tick,
.option-btn.selected .check-tick,
.age-card.selected .check-tick {
    opacity: 1;
    transform: scale(1);
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 5px;
    text-align: left;
}

.form-field .form-label {
    font-size: 13px;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    border: 2px solid var(--gold-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    font-family: "DM Sans", sans-serif;
    color: var(--charcoal);
    background: var(--white);
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    text-align: left;
    font-weight: 500;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
}

.form-control:focus,
.form-control:focus-visible {
    color: var(--primary-color);
    outline: none;
}

.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 15px;
    vertical-align: middle;
    border: 1px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary {
    color: var(--white-color);
    background-color: var(--primary-color);
}

.btn-check {
    display: none;
}

.btn-check:checked + .btn {
    background-color: #e6960023;
}

header {
    position: relative;
    text-align: center;
    padding-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

header .logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.process-line {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #eee;
    border-radius: 99px;
}
.process-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: var(--progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    border-radius: 99px;
    transition: width 0.4s ease-in-out;
}

/* .tabs-wrap {
    height: calc(100vh - 220px);
    overflow-y: scroll;
} */

.tabs-wrap {
    padding-top: 20px;
}

.tab {
    display: none;
    text-align: center;
}
.tab.active {
    display: block;
}

.steps {
    display: none;
    margin-bottom: 20px;
}
.step {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    text-align: center;
    line-height: 30px;
    margin-right: 5px;
}
.step.active {
    background: #007bff;
    color: #fff;
}

.nav-btn-left,
.nav-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-btn-left {
    left: 0;
}

.nav-btn-right {
    right: 0;
}

.nav-btn-left button,
.nav-btn-right button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 50px;
    color: var(--primary-color);
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-weight: 500;
}

.nav-btn-left button img,
.nav-btn-right button img {
    height: 10px;
}

.nav-btn-left button:hover,
.nav-btn-right button:hover {
    background-color: #e6960013;
}

.tabs-wrap .inner {
    max-width: 500px;
    margin: 0 auto;
}

.age-card-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.age-card {
    position: relative;
    border: 2px solid var(--gold-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.age-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(232, 160, 0, 0.04) 0%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.22s;
}
.age-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.age-card:hover::after {
    opacity: 1;
}
.age-card.selected {
    border-color: var(--gold);
    background: var(--gold-bg);
    box-shadow: var(--shadow);
}
.age-card.selected .check-dot {
    opacity: 1;
    transform: scale(1);
}


.age-card figure {
    margin: 0;
    padding: 0;
}

.age-card figure img {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    object-fit: contain;
    background: linear-gradient(135deg, #fff8ec 0%, #fff3dc 100%);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.age-card-footer {
    color: var(--white-color);
    padding: 10px;
    background-color: var(--primary-color);
}

.btn-check:checked + label .age-card {
    background-color: var(--gold-bg);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.asses-report {
    text-align: left;
}

.note {
    padding: 15px;
    margin-bottom: 15px;
    background-color: #d8ffe9;
}

.progress {
    overflow: hidden;
    height: 20px;
    background-color: #d9ffea;
    border-radius: 50px;
    margin-bottom: 20px;
}
.progress-bar {
    width: 0;
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #048c41;
    border-radius: 50px;
}
.progress.active .progress-bar {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    -moz-animation: progress-bar-stripes 2s linear infinite;
}

.submit-btn {
    margin-top: 8px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    transition: all 0.22s;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(232, 160, 0, 0.3);
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 160, 0, 0.4);
}
.submit-btn:active {
    transform: translateY(0);
}

/* RESULTS PAGE */

.result-header {
    text-align: center;
    margin-bottom: 28px;
}
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.result-stage {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 20px;
}
.result-stage strong {
    color: var(--gold-dark);
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.stat-box {
    background: var(--white);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}
.stat-box .stat-val {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-dark);
}
.stat-box .stat-lbl {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.growth-bar-wrap {
    background: var(--white);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
}
.growth-bar-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}
.growth-bar-top span:first-child {
    color: var(--muted);
}
.growth-bar-top span:last-child {
    font-weight: 700;
    color: var(--green);
}
.growth-track {
    height: 10px;
    background: #eee;
    border-radius: 99px;
    overflow: hidden;
}
.growth-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, var(--green));
    border-radius: 99px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.result-text {
    background: linear-gradient(135deg, #fff8ec, #fffdf5);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--charcoal-mid);
    line-height: 1.7;
}
.result-text p + p {
    margin-top: 10px;
}

.book-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 18px;
    font-size: 17px;
    font-weight: 700;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    transition: all 0.22s;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(232, 160, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 160, 0, 0.45);
}

.sticky-book-wrapper {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, #fff 0%, #fff 85%, rgba(255,255,255,0) 100%);
    margin: 40px -20px -40px -20px; /* Bleed to edges */
    padding: 30px 20px 40px; /* Bottom padding matches the bleed */
    z-index: 2000;
    display: flex;
    justify-content: center;
    border-radius: 0;
}

.sticky-book-wrapper button {
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(232, 160, 0, 0.4);
}

/*@media (max-width: 600px) {*/
/*    .sticky-book-wrapper {*/
/*        margin: 20px -20px -20px -20px;*/
/*        padding-left: 20px;*/
/*        padding-right: 20px;*/
/*    }*/
/*}*/
.book-btn svg {
    width: 20px;
    height: 20px;
}

/* STEP PANEL */
.step-panel {
  display:none;
  animation: slideIn 0.4s cubic-bezier(.4,0,.2,1);
}
.step-panel.active { display:block; }

@keyframes slideIn {
  from { opacity:0; transform:translateX(24px); }
  to   { opacity:1; transform:translateX(0); }
}

/* WELCOME / START PAGE */
.welcome-panel { text-align:center; }
.hero-icon {
  width:120px; height:120px;
  background:linear-gradient(135deg, var(--gold-bg), #FFE8A0);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 24px;
  font-size:56px;
  border:3px solid var(--gold-border);
  box-shadow: 0 8px 32px rgba(232,160,0,0.2);
}
.welcome-title {
  font-family:'Playfair Display',serif;
  font-size:clamp(26px,6vw,34px);
  color:var(--charcoal);
  margin-bottom:12px;
}
.welcome-sub {
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
  margin-bottom:32px;
  max-width:360px;
  margin-left:auto; margin-right:auto;
}
.feature-pills {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-bottom:36px;
}
.pill {
  background:var(--white);
  border:1px solid var(--gold-border);
  border-radius:99px;
  padding:8px 16px;
  font-size:13px;
  color:var(--charcoal);
  display:flex; align-items:center; gap:6px;
}
.pill .pill-dot { width:8px;height:8px;border-radius:50%;background:var(--gold); }

.start-btn {
  width:100%;
  background:linear-gradient(135deg, var(--gold-dark), var(--gold));
  color:#fff;
  border:none;
  border-radius:var(--radius-sm);
  padding:18px;
  font-size:17px;
  font-weight:700;
  font-family:'DM Sans',sans-serif;
  cursor:pointer;
  transition:all 0.22s;
  letter-spacing:0.5px;
  box-shadow:0 6px 20px rgba(232,160,0,0.35);
}
.start-btn:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(232,160,0,0.45); }


/* REPORT MEDIA SECTION */
.result-media {
    margin-bottom: 24px;
}

.media-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    text-align: left;
}

.report-slider {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius);
}

.report-slider .swiper-slide {
    width: auto;
    height: 300px;
}

.report-slider .swiper-btn-next,
.report-slider .swiper-btn-prev {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.9);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.report-slider .swiper-btn-next::after,
.report-slider .swiper-btn-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.report-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fdfdfd;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gold-border);
    cursor: pointer;
    transition: transform 0.22s ease;
}

.report-slider img:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

.report-videos {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--gold-border);
    background: #000;
    line-height: 0;
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

/* LIGHTBOX */
.lightbox-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.lightbox-mask.is-visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

@media (min-width: 600px) {
    .lightbox-close {
        top: 0;
        right: -50px;
    }
}
