:root {
    --primary-color: #ab5230;
    --primary-dark: #823a22;
    --primary-light: #c05f35;
    --text-dark: #1a1a1a;
    --text-gray: #6b7280;
    --bg-light: #fafafa;

    --color-critical: #ef4444;
    --color-high:     #f97316;
    --color-moderate: #eab308;
    --color-good:     #22c55e;
    --color-excellent: #10b981;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.hero-subtitle{
    margin: 0;
}

body {
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Inter", sans-serif;
    padding: 0;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 0px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.75rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 50px;
}
.navbar-brand { font-size: 1.35rem; font-weight: 700; color: var(--primary-color) !important; letter-spacing: -0.3px; }
.logo-img { width: 20%; height: auto;}

.btn-primary-custom {
    border: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-custom:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
    color: white;
    box-shadow: 0 4px 12px rgba(171, 82, 48, 0.25);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    width: 100%;
    background: white;
    overflow: hidden;
}
.text-imgcon {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-top: 60px;
    width: 100%;
}

.section-doodles{
    position: absolute;
    right: 23%;
    bottom: 35px;
}

.hero-doodle-underline{
    width: 35%;
    margin-top: 10px;
}

.hero-title { font-size: clamp(1.5rem, 3vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--text-dark); letter-spacing: -0.02em; }
.hero-title2 { font-size: 3rem; font-weight: 700; line-height: 1.15; margin-top: 0; color: var(--text-dark); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.image-con { width: 58%; max-width: 800px; height: 60vh; aspect-ratio: 1.2;}
.hero-image { width: 100%; object-fit: contain; position: relative; bottom: 7%; }
.hero-text-con{width: 42%}
.hero-highlight { color: var(--primary-color); }
.action-btn { font-size: 1.3rem; margin-top: 20px; }
.hero-subcon{
    position: relative;
    display: inline-block;
}

.hero-doodle-arrow{
    width: 60px; /* fixed size is better than % */
    transform: rotate(200deg);
    position: absolute;
    top: 80%;
    left: 60%;
}

.mobile-cta-btn{
    display: none;
}


/* Each section section is position:relative to contain doodles */
.section {
    padding-bottom: 100px;
    background: white;
    position: relative;
    overflow: hidden;
}

#CTA-form{
    padding-bottom: 50px;
}

/*.section--gray { background: #faf9f7; }*/

/* Container inside sections is z-indexed above doodles */
.section > .container { position: relative; z-index: 1; }

/* =============================================
   SCROLL-ENTRY ANIMATIONS
   Base state: hidden (outside view)
   ============================================= */

.chart-title{
    text-align: center;    
}

/* --- Section header titles --- */
.section__header,
.section-title-wrap {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.section__header.in-view,
.section-title-wrap.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Standalone section-title (sections 2 & 4) */
.section--alt .section-title {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.section--alt .section-title.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Bento image card: slide in from left --- */
.bento-card--image {
    opacity: 0;
    transform: translateX(-80px) scale(0.96);
    transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.bento-card--image.in-view {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Mirrored grid image: slide from right */
.bento-grid--mirrored .bento-card--image {
    transform: translateX(80px) scale(0.96);
}
.bento-grid--mirrored .bento-card--image.in-view {
    transform: translateX(0) scale(1);
}

/* --- Bento point cards: pop up from below with stagger --- */
.bento-card--point {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.34,1.56,0.64,1), transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.bento-card--point.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays for bento point cards */
.bento-card--point:nth-of-type(2) { transition-delay: 0.08s; }
.bento-card--point:nth-of-type(3) { transition-delay: 0.16s; }
.bento-card--point:nth-of-type(4) { transition-delay: 0.24s; }
.bento-card--point:nth-of-type(5) { transition-delay: 0.32s; }

/* --- Alt layout image (sections 2 & 4) --- */
.alt-image {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.alt-image.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Reversed layout image: from right */
.alt-layout--reversed .alt-image {
    transform: translateX(70px);
}
.alt-layout--reversed .alt-image.in-view {
    transform: translateX(0);
}

/* --- Alt content: slide from opposite side --- */
.alt-content {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s, transform 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s;
}
.alt-content.in-view {
    opacity: 1;
    transform: translateX(0);
}
.alt-layout--reversed .alt-content {
    transform: translateX(-70px);
}
.alt-layout--reversed .alt-content.in-view {
    transform: translateX(0);
}

.credibility-points-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.credibility-points-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; font-weight: 500; padding: 14px 18px; border: 1px solid #ede9e6; border-radius: 10px; transition: border-color 0.2s, transform 0.2s; }
.credibility-points-list li:hover { border-color: rgba(171, 82, 48, 0.3); transform: translateX(4px); }


/* --- section points list items: cascade in --- */
.section-points-list li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.section-points-list li.in-view {
    opacity: 1;
    transform: translateX(0);
}
.section-points-list li:nth-child(1) { transition-delay: 0.05s; }
.section-points-list li:nth-child(2) { transition-delay: 0.13s; }
.section-points-list li:nth-child(3) { transition-delay: 0.21s; }
.section-points-list li:nth-child(4) { transition-delay: 0.29s; }

.alt-layout--reversed .section-points-list li {
    transform: translateX(-30px);
}
.alt-layout--reversed .section-points-list li.in-view {
    transform: translateX(0);
}

/* --- CTA buttons in sections --- */
.section__cta {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.section__cta.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* alt-content CTA btn */
.alt-content .btn-primary-custom {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
}
.alt-content.in-view .btn-primary-custom {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   BENTO CARD BASE STYLES (non-animated)
   ============================================= */
.section-badge { display: inline-block; color: var(--primary-color); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; border: 1px solid var(--primary-color); }
.section__header { text-align: center;}
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: var(--text-dark); line-height: 1.2; text-align: center; padding-bottom: 30px; margin: 0;}
.section__cta { text-align: center; margin-top: 40px; }
.section__cta .btn-primary-custom { padding: 0.75rem 2rem; font-size: 0.95rem; }

.bento-grid { display: grid; grid-template-columns: repeat(4, 2fr); grid-template-rows: auto auto; gap: 20px; }
.bento-card--span2 { grid-column: span 2; grid-row: span 2; }
.bento-grid--mirrored .bento-card--span2 { grid-column: 3 / span 2; grid-row: 1 / span 2; }
.bento-grid--mirrored .bento-card:not(.bento-card--span2):nth-child(1) { grid-column: 1; grid-row: 1; }
.bento-grid--mirrored .bento-card:not(.bento-card--span2):nth-child(2) { grid-column: 2; grid-row: 1; }
.bento-grid--mirrored .bento-card:not(.bento-card--span2):nth-child(3) { grid-column: 1; grid-row: 2; }
.bento-grid--mirrored .bento-card:not(.bento-card--span2):nth-child(4) { grid-column: 2; grid-row: 2; }

.bento-card { border-radius: 24px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.bento-card--image { position: relative; min-height: 380px; }
.bento-card--image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; aspect-ratio: 1.4;}
.bento-card__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; color: white; }
.bento-card__quote { color: white; font-size: 1.1rem; font-weight: 600; line-height: 1.5; font-style: italic; margin: 0; max-width: 80%; }

.bento-card--point {
    background: white;
    border: 1px solid #f0eae4;
    padding: 10px 24px;
    display: flex;
    /*max-height: 100px;*/
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px -8px rgba(0,0,0,0.06);
    border-radius: 24px;
}
.bento-card--point:hover { border-color: var(--primary-color); box-shadow: 0 20px 30px -10px rgba(171, 82, 48, 0.15); }

.bento-point-icon { width: 48px; height: 48px; border-radius: 16px; background: rgba(171, 82, 48, 0.1); display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1.3rem; flex-shrink: 0; transition: all 0.3s ease; }
.bento-card--point:hover .bento-point-icon { background: var(--primary-color); color: white; transform: scale(1.05); }
.bento-card--point p { font-size: 1rem; color: var(--text-dark); line-height: 1.6; margin: 0; font-weight: 500; }

/* =============================================
   DOODLE ARROW / DECORATION STYLES
   ============================================= */
.doodle-svg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
}
.doodle-svg.in-view { opacity: 1; }

/* Wiggle animation for doodles */
@keyframes doodleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-6px) rotate(1.5deg); }
    66% { transform: translateY(4px) rotate(-1deg); }
}
@keyframes doodleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes doodlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.doodle-float { animation: doodleFloat 5s ease-in-out infinite; }
.doodle-spin-slow { animation: doodleSpin 20s linear infinite; }
.doodle-pulse { animation: doodlePulse 3s ease-in-out infinite; }

/* =============================================
   ALT LAYOUT
   ============================================= */
.alt-layout { display: flex; align-items: center; gap: 64px; }
.alt-layout--reversed { flex-direction: row-reverse; }
.alt-image { flex: 1; min-width: 0; }
.alt-image img { width: 100%; max-width: 520px; object-fit: cover; display: block; aspect-ratio: 1.3;}
.alt-content { flex: 1; min-width: 0; }
.alt-content .section-title { padding-bottom: 30px; }

.section-points-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.section-points-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; font-weight: 500; padding: 14px 18px; border: 1px solid #ede9e6; border-radius: 10px; transition: border-color 0.2s, transform 0.2s; }
.section-points-list li:hover { border-color: rgba(171, 82, 48, 0.3); transform: translateX(4px); }
.pp-dot { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; background: var(--primary-color); margin-top: 8px; }

/* =============================================
   QUIZ SECTION
   ============================================= */
.quiz-section { padding: 60px 0 80px; text-align: center; }
.quiz-info { flex: 1; min-width: 0; }
.quiz-info-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.quiz-benefits { list-style: none; padding: 0; margin: 0; text-align: left; }
.quiz-benefits li { font-size: 1rem; padding: 14px 0; color: var(--text-dark); display: flex; align-items: center; gap: 12px; font-weight: 500; }
.quiz-benefits li i { font-size: 18px; color: white; background-color: var(--primary-color); padding: 5px 10px; border-radius: 30px; flex-shrink: 0; }
.quiz-benefits hr { border-color: #f0f0f0; margin: 0; }
.quiz-form-con { width: 30%; margin: auto; flex-shrink: 0; }
.quiz-form { background: #ffffff; padding: 35px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.07); border: 1px solid #f0f0f0; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: #1a1a1a; }
.form-group input { width: 100%; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-size: 15px; transition: all 0.3s ease; }
.form-group input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(171, 82, 48, 0.12); }
.form-flex-con { display: flex; gap: 16px; width: 100%; margin-bottom: 20px; }
.form-flex-con .form-group { flex: 1; }
.form-group select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #e2e8f0; background-color: #ffffff; font-size: 14px; color: #0f172a; outline: none; transition: all 0.3s ease; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; }
.form-group select:hover { border-color: var(--primary-color); }
.form-group select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(171, 82, 48, 0.12); }

.yn-options { display: flex; flex-direction: column; gap: 14px; }
.yn-option { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 2px solid #e5e7eb; border-radius: 12px; cursor: pointer; transition: all 0.2s ease; background: #fafafa; user-select: none; }
.yn-option:hover { border-color: var(--primary-color); background: #fff8f5; transform: translateX(4px); }
.yn-option.selected { background: #fff8f5; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(171, 82, 48, 0.1); }
.yn-yes.selected { border-color: #22c55e; background: rgba(34, 197, 94, 0.06); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12); }
.yn-no.selected  { border-color: #ef4444; background: rgba(239, 68, 68, 0.06); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.yn-icon { font-size: 1.5rem; flex-shrink: 0; display: flex; align-items: center; }
.yn-yes .yn-icon { color: #22c55e; }
.yn-no  .yn-icon { color: #ef4444; }
.yn-content { flex: 1; }
.yn-text { font-size: 0.975rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }

.quiz-questions-wrapper { width: 85%; max-width: 760px; margin: 30px auto 0; }
.quiz-progress-bar-wrap { width: 100%; height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary-dark), var(--primary-light)); border-radius: 99px; width: 0%; transition: width 0.5s ease; }
.quiz-progress-label { font-size: 0.85rem; color: var(--text-gray); text-align: right; margin-bottom: 20px; font-weight: 500; }
.quiz-act-btn { width: 100%; }
.quiz-question-card { background: white; border-radius: 16px; padding: 40px 40px 32px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); border: 1px solid #f0ece9; text-align: left; margin-bottom: 24px; }
.question-text { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); line-height: 1.45; margin-bottom: 28px; }
.answer-options { display: flex; flex-direction: column; gap: 12px; }
.answer-option { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1.5px solid #e5e7eb; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; background: #fafafa; user-select: none; }
.answer-option:hover { border-color: var(--primary-color); transform: translateX(4px); }
.answer-option.selected { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(171, 82, 48, 0.1); }
.quiz-nav-btns { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.btn-outline-quiz { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; padding: 0.6rem 1.5rem; font-weight: 600; font-size: 0.875rem; border-radius: 6px; transition: all 0.25s ease; cursor: pointer; display: inline-flex; align-items: center; }
.btn-outline-quiz:hover { background: rgba(171, 82, 48, 0.06); }
.quiz-error-msg { color: #ef4444; font-size: 0.875rem; font-weight: 500; text-align: center; margin-bottom: 10px; }

@keyframes slideInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.quiz-question-card.slide-in { animation: slideInRight 0.35s ease forwards; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
.quiz-question-card.shake { animation: shake 0.4s ease; }

/* =============================================
   QUIZ REPORT
   ============================================= */
.quiz-report-wrapper { width: 90%; max-width: 900px; margin: 30px auto 0; text-align: left; }
.report-header { text-align: center; margin-bottom: 40px; }
.report-greeting { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--primary-color); font-weight: 700; margin-bottom: 8px; }
.report-title { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.2; }
.gauge-section { display: flex; justify-content: center; margin-bottom: 48px; }
.gauge-container { background: white; border-radius: 20px; padding: 40px 60px; box-shadow: 0 8px 40px rgba(0,0,0,0.08); border: 1px solid #f0ece9; text-align: center; width: 100%; max-width: 420px; }
.gauge-wrap { position: relative; display: inline-block; width: 100%; }
.gauge-svg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.gauge-labels { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 6px; }
.gauge-label-left, .gauge-label-right { font-size: 0.72rem; font-weight: 600; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.05em; }
.gauge-score-display { margin-top: 18px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.gauge-score-number { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; color: var(--text-dark); letter-spacing: -0.04em; line-height: 1; }
.gauge-score-label { font-size: 1.2rem; color: var(--text-gray); font-weight: 600; }
.gauge-status-text { margin-top: 14px; font-size: 0.95rem; font-weight: 700; padding: 8px 20px; border-radius: 30px; display: inline-block; }
.status-critical  { color: var(--color-critical); background: rgba(239,68,68,0.1); }
.status-high      { color: var(--color-high);     background: rgba(249,115,22,0.1); }
.status-moderate  { color: #a16207;               background: rgba(234,179,8,0.1); }
.status-good      { color: #16a34a;               background: rgba(34,197,94,0.1); }
.status-excellent { color: #059669;               background: rgba(16,185,129,0.1); }

.report-categories, .report-recommendations { background: white; border-radius: 16px; padding: 36px 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #f0ece9; margin-bottom: 24px; }
.report-section-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; display: flex; align-items: center; gap: 8px; }
.report-section-title i { color: var(--primary-color); }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.category-card { background: #fafafa; border-radius: 12px; padding: 18px 20px; border: 1px solid #f0f0f0; }
.category-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.category-icon-wrap { width: 34px; height: 34px; background: rgba(171,82,48,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 1rem; flex-shrink: 0; }
.category-name { flex: 1; font-size: 0.875rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.category-status-icon { font-size: 1.1rem; }
.category-bar-wrap { width: 100%; height: 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.category-bar { height: 100%; border-radius: 99px; width: 0%; transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bar-critical { background: var(--color-critical); }
.bar-good     { background: var(--color-good); }
.category-score-label { font-size: 0.75rem; font-weight: 600; text-align: right; }
.label-pass { color: var(--color-good); }
.label-fail { color: var(--color-critical); }
.improvement-banner { background: linear-gradient(135deg, rgba(171,82,48,0.07), rgba(171,82,48,0.03)); border: 1px solid rgba(171,82,48,0.2); border-radius: 12px; padding: 18px 22px; margin-bottom: 24px; }
.improvement-banner-inner { display: flex; align-items: flex-start; gap: 16px; }
.improvement-icon { font-size: 2rem; flex-shrink: 0; }
.improvement-banner-inner strong { display: block; font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.improvement-banner-inner p { font-size: 0.875rem; color: var(--text-gray); margin: 0; }
.rec-group-title { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.rec-group-title i { color: var(--primary-color); }
.mt-rec { margin-top: 28px; }
.recommendations-list { display: flex; flex-direction: column; gap: 16px; }
.recommendation-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: #fafafa; border-radius: 12px; border: 1px solid #f0f0f0; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.recommendation-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.07); }
.rec-number { width: 36px; height: 36px; min-width: 36px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.rec-content h4 { font-size: 0.975rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.rec-content h4 i { color: var(--primary-color); }
.rec-content p { font-size: 0.875rem; color: var(--text-gray); line-height: 1.6; margin: 0; }
.strengths-list { display: flex; flex-direction: column; gap: 12px; }
.strength-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: rgba(34,197,94,0.05); border-radius: 10px; border: 1px solid rgba(34,197,94,0.15); }
.strength-check { color: #22c55e; font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.strength-item strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.strength-item p { font-size: 0.85rem; color: var(--text-gray); margin: 0; line-height: 1.5; }

/* =============================================
   CREDIBILITY SECTION
   ============================================= */
.credebility-section { padding: 60px 0; }
.credibility-wrapper { display: flex; gap: 60px; padding: 30px 0; }
.credibility-image { flex-shrink: 0; }
.credibility-image img { width: 100%; max-width: 650px; height: 400px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); transition: transform 0.3s ease; display: block; object-fit: cover; }
.credibility-image img:hover { transform: scale(1.02); }
.who-title { text-align: center; margin-bottom: 16px; }
.who-subtitle { font-size: 1.1rem; color: var(--text-dark); font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
.credibility-content { flex: 1; min-width: 0; }
.credibility-content p { font-size: 16px; line-height: 1.8; color: #6b7280; }

/*form*/


        .wrap {
            display: flex;
            width: 100%;
            max-width: 1100px;
            min-height: 520px;
            margin: auto;
            padding-bottom: 50px;
            border-radius: 10px;
            overflow: hidden;
        }

        /* ── LEFT PANEL ── */
        .left {
            width: 42%;
            background: #000;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 36px 40px 40px;
            flex-shrink: 0;
            border-bottom-left-radius: 10px;
        }

        .book-title {
            font-size: 4.5rem;
            font-weight: 500;
            color: #fff;
            line-height: 0.92;
            letter-spacing: -0.03em;
            margin-top: auto;
            padding-top: 130px;
        }

        .squiggle {
            margin-top: 28px;
        }

        /* ── RIGHT PANEL ── */
        .right {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px 64px;
            background: #AB5230;
            border-bottom-right-radius: 10px;
        }

        .right-title {
            font-size: clamp(26px, 3.5vw, 42px);
            font-weight: 800;
            color: #fff;
            line-height: 1.05;
            letter-spacing: -0.025em;
            margin-bottom: 6px;
        }

        .right-title span {
            display: block;
            font-weight: 400;
            font-size: clamp(22px, 3vw, 36px);
        }

        .right-desc {
            font-size: 14px;
            color: #fff;
            line-height: 1.65;
            margin-bottom: 32px;
            max-width: 480px;
        }

        /* ── FORM FIELDS ── */
        .field {
            position: relative;
            margin-bottom: 14px;
        }

        .field-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            opacity: 0.4;
            pointer-events: none;
            flex-shrink: 0;
        }

        .field input {
            width: 100%;
            padding: 16px 16px 16px 46px;
            border: 1.5px solid rgba(0, 0, 0, 0.12);
            border-radius: 10px;
            font-size: 15px;
            background: #fff;
            color: #000;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            font-family: inherit;
        }

        .field input::placeholder {
            color: #000;
        }

        .field input:focus {
            border-color: #000;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
        }

        .submit-btn {
            width: 100%;
            padding: 17px;
            background: #000;
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            letter-spacing: 0.02em;
            transition: background 0.2s, transform 0.1s;
            margin-top: 4px;
            font-family: inherit;
        }

        .submit-btn:hover {
            background: #1a1a1a;
        }

        .submit-btn:active {
            transform: scale(0.99);
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 720px) {
            #CTA-form{
                padding-bottom: 0;
                padding-top: 50px;
            }
            .wrap {
                flex-direction: column;
                margin: 0;
                min-height: 75vh;
                padding: 0;
            }

            .left {
                width: 100%;
                min-height: 260px;
                padding: 28px 28px 24px;
            }

            .book-title {
                font-size: 52px;
                padding-top: 20px;
            }

            .squiggle {
                margin-top: 16px;
            }

            .right {
                flex: 1;
                padding: 36px 28px 48px;
            }
        }

        @media (max-width: 400px) {
            .book-title { font-size: 42px; }
            .right { padding: 28px 20px 27px; }
            .left{
                display: none;
            }
        }

 .sour-gummy-100 {
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.cat {
  select,
  ::picker(select) {
    appearance: base-select;

    font-size: 18px;
  }

  select {
    min-width: 400px;
    padding: 16px;
    border-radius: 8px;
    min-height: 58px;
    background-color: white;
    cursor: pointer;

    &:hover {
      background-color: yellow;
    }
  }

  ::picker(select) {
    border-radius: 0px 0px 8px 8px;
    border-top: none;
  }

  ::picker-icon,
  ::checkmark {
    display: none;
  }

  [hidden] {
    display: none;
  }

  option {
    padding: 0px;
    padding-left: 20px;
    padding-right: 10px;

    &:hover {
      background: yellow;
    }
    display: flex;
    justify-content: space-between;
  }

  .sleep-symbol {
    font-weight: 600;
    margin-bottom: -40px;
    /*color: var(--primary-color);*/

    span {
      position: relative;
      display: inline-block;
      opacity: 1;
      transform: scale(1);
      animation: sleep 4s ease-in-out infinite;
    }

    span:nth-child(1) {
      animation-delay: 0s;
    }

    span:nth-child(2) {
      animation-delay: 1s;
      margin-left: -10px;
    }

    span:nth-child(3) {
      animation-delay: 2s;
      margin-left: -10px;
    }
  }
}

#tail {
  visibility: visible;
}
#longtail {
  visibility: hidden;
}

option {
  svg {
    margin-right: -3px;
  }
}

/* activate cat when mouse approaches! */
.mouse-detector {
  &:hover {
    #lefteyelid {
      visibility: hidden;
    }
    #righteyelid {
        visibility: hidden;
    }
    .sleep-symbol {
      visibility: hidden;
    }
  }
}

.cat {
    z-index: 2;
    left: 84%;
    margin-bottom: -70px;
    position: relative;
    pointer-events: none;
  &:hover {
    #righteyelid {
      visibility: hidden;
    }
  }
}

.thecat {
  #eyesdown {
    visibility: hidden;
  }
}

.cat:has(.side-select:hover) {
  #eyesdown {
    visibility: visible;
  }
}

select:open {
  border-radius: 8px 8px 0px 0px;
}

.cat:has(option:hover) {
  #righteyelid, #lefteyelid, .sleep-symbol {
    visibility: hidden;
  }
  #eyesdown {
    visibility: visible;
  }
}

/* auto-cat tail assist */
selectedcontent {
  svg {
    display: none;
    visibility: hidden;
  }
}

.cat:has(option:hover) {
  #tail {
    visibility: hidden;
  }
  #longtail{
    visibility: visible;
  } 
}

option:has(~ option:hover) {
  #tailpiece {
      visibility: visible;
  }
}

option {
  min-height: 48px;
  &:hover {
    #endpiece {
      visibility: visible;
    }
  }
  #tailpiece {
    visibility: hidden;
  }
  #endpiece {
    visibility: hidden;
  }
}

.instructions {
  color: #444;
}

@keyframes sleep {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-5px, -35px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1.5);
  }
}



/* =============================================
   HERO ANIMATION
   ============================================= */
.fade-in { animation: fadeIn 0.6s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   ACCESSIBILITY
   ============================================= */
.answer-option:focus-visible, .btn-primary-custom:focus-visible, .btn-outline-quiz:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

/* =============================================
   RESPONSIVE — DESKTOP (992px – 1199px)
   ============================================= */
@media (max-width: 1199px) {
    .hero-title2 { font-size: 3.2rem; }
    .hero-image { max-width: 420px; }
    .quiz-con { width: 95%; }
    .bento-grid { gap: 14px; }
    .alt-layout { gap: 48px; }
}

/* =============================================
   RESPONSIVE — TABLET LANDSCAPE (768px – 991px)
   ============================================= */
@media (max-width: 991px) {
    .text-imgcon { flex-direction: column; text-align: center; gap: 24px; padding-top: 40px; }
    .col-lg-6.fade-in { width: 100%; }
    .hero-title2 { font-size: 2.6rem; margin-bottom: 1.2rem; }
    .hero-image { max-width: 460px; width: 90%; }
    .action-btn { font-size: 1.1rem; }
    .section { padding: 60px 0; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .bento-card--span2 { grid-column: span 2; grid-row: auto; min-height: 260px; }
    .bento-grid--mirrored .bento-card--span2 { grid-column: span 2; grid-row: auto; }
    .bento-grid--mirrored .bento-card:not(.bento-card--span2):nth-child(n) { grid-column: auto; grid-row: auto; }
    .alt-layout { gap: 36px; }
    .alt-image img { max-width: 100%; }
    .quiz-con { width: 95%; gap: 30px; padding: 28px 30px; }
    .quiz-form-con { width: 55%; }
    .quiz-questions-wrapper, .quiz-report-wrapper { width: 95%; }
    .credibility-wrapper { gap: 40px; }
    .credibility-image img { max-width: 400px; }
    .doodle-svg { display: none; }
    .doodle-svg { display: none; }
    .quiz-form-con { width: 70%; }
}

@media (max-width: 767px) {
    .hero-section { padding: 0 0 40px; }
    .text-imgcon { flex-direction: column; text-align: center; gap: 20px; padding-top: 24px; }
    .hero-title2 { font-size: 2rem; }
    .hero-image { max-width: 100%; width: 100%; border-radius: 12px; }
    .action-btn { font-size: 1rem; width: 100%; max-width: 320px; }
    .section { padding: 50px 0; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card--span2 { grid-column: 1; min-height: 220px; }
    .bento-grid--mirrored .bento-card--span2 { grid-column: 1; }
    .alt-layout, .alt-layout--reversed { flex-direction: column; gap: 28px; }
    .alt-image img { aspect-ratio: 16/9; max-width: 100%; }
    .section-title { font-size: 1.6rem; }
    .quiz-section { padding: 40px 0 60px; }
    .quiz-con { width: 95%; flex-direction: column; padding: 28px 24px; gap: 24px; align-items: stretch; }
    .quiz-info { text-align: center; }
    .quiz-benefits { display: inline-block; text-align: left; }
    .quiz-form-con { width: 100%; }
    .quiz-form { padding: 24px 20px; }
    .quiz-questions-wrapper { width: 100%; padding: 0 8px; }
    .quiz-question-card { padding: 28px 24px; }
    .question-text { font-size: 1.1rem; margin-bottom: 20px; }
    .quiz-report-wrapper { width: 100%; padding: 0 8px; }
    .category-grid { grid-template-columns: 1fr; }
    .gauge-container { padding: 28px 24px; max-width: 100%; }
    .report-categories, .report-recommendations { padding: 24px 20px; }
    .credibility-wrapper { flex-direction: column; gap: 24px; }
    .credibility-image { width: 100%; }
    .credibility-image img { max-width: 100%; width: 100%; }
    .quiz-nav-btns { flex-direction: column-reverse; gap: 10px; }
    .btn-outline-quiz, .quiz-nav-btns .btn-primary-custom { width: 100%; justify-content: center; }
    .doodle-svg { display: none; }
}

@media (max-width: 575px) {
    .desktop-cta-btn { display: none; }
    .mobile-cta-btn { display: block; margin: auto}
    .navbar{ padding-bottom: 20px; padding-top: 10px;}
    .navbar-brand { font-size: 1rem; }
    .hero-image{ margin-top: 50px; }
    .btn-primary-custom { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
    .logo-img { width: 41%; }
    .hero-section { padding: 0 0 0px; }
    .text-imgcon { padding-top: 20px; }
    .hero-title2 { font-size: 1.7rem; line-height: 1.2; }
    .stats-section { margin-left: 57px; padding: 50px 0; }
    .section { padding: 40px 0; }
    .bento-card--point { padding: 18px; }
    .bento-card--point p { font-size: 0.875rem; }
    .bento-card--image { min-height: 180px; }
    .section-title { font-size: 1.4rem; }
    .section-points-list li { font-size: 0.875rem; padding: 12px 14px; }
    .quiz-section { padding: 32px 0 48px; }
    .quiz-con { width: 100%; border-radius: 0; border-left: none; border-right: none; padding: 24px 16px; }
    .quiz-info-title { font-size: 1.2rem; }
    .quiz-benefits li { font-size: 0.9rem; padding: 12px 0; }
    .quiz-question-card { padding: 22px 16px; border-radius: 12px; }
    .question-text { font-size: 1rem; }
    .yn-icon { font-size: 1.3rem; }
    .yn-text { font-size: 0.9rem; }
    .report-categories, .report-recommendations { padding: 20px 16px; border-radius: 12px; }
    .improvement-banner-inner { flex-direction: column; text-align: center; gap: 10px; }
    .recommendation-item { padding: 14px; gap: 12px; }
    .quiz-nav-btns { flex-direction: column-reverse; gap: 10px; }
    .btn-outline-quiz, .quiz-nav-btns .btn-primary-custom { width: 100%; justify-content: center; font-size: 0.875rem; }
    .credebility-section { padding: 40px 0; }
    .stat-box-card { gap: 24px; }
    .doodle-svg { display: none; }
        .quiz-form-con { width: 100%; }
    
    .sleep-symbol {
        padding-right: 6px;
    }
    
    .thecat {
        padding-right: 6px;
    }
    
    .thecat svg {
        width: 100px;
        height: auto;
    }
}

@media (max-width: 400px) {
    .hero-title2 { font-size: 1.45rem; }
    .image-con {width: 100%; height: 31vh;}
    .text-imgcon{ width: 100%}
    .section-title { font-size: 1.35rem; }
    .stat-number { font-size: 1rem; }
    .stat-label { font-size: 0.3rem; }
    .gauge-svg { width: 85%; }
    .report-title { font-size: 1.15rem; }
    .report-greeting { font-size: 1.2rem; }
    .section-title { font-size: 1.25rem; margin: 0;}
    .cat{
        left: 77%;
        bottom: 31px;
    }
    .sleep-symbol{
        position: relative;
        left: 0px;
    }
    .thecat svg {
        width: 80px;
        height: auto;
    }
    .hero-doodle-arrow{
        display: none;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { padding: 16px 0; }
    .text-imgcon { padding-top: 10px; }
    .hero-title2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
}

@media print {
    .navbar, .quiz-nav-btns, #quiz-intro, #quiz-questions, .section { display: none !important; }
    .print-only { display: block !important; }
    .quiz-report-wrapper { display: block !important; }
    .print-header { text-align: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #e5e7eb; }
    .print-logo { font-size: 1.4rem; font-weight: 700; color: var(--primary-color); }
    .print-tagline { font-size: 0.875rem; color: var(--text-gray); margin-top: 4px; }
    .print-date { font-size: 0.8rem; color: var(--text-gray); margin-top: 4px; }
    .print-footer { text-align: center; margin-top: 30px; font-size: 0.75rem; color: var(--text-gray); border-top: 1px solid #e5e7eb; padding-top: 12px; }
}