:root {
    /* Spiritual & Serene Palette (Brahma Kumaris inspired) */
    --bg: #ffffff;
    --surface: #fff9f5;
    /* Very soft peach/cream */
    --card: #ffffff;
    --accent-red: #ff4d4d;
    /* Symbolic BK red point of light */
    --accent-gold: #e6b800;
    --accent-blue: #e3f2fd;
    /* Airy blue */
    --text: #2d3436;
    --muted: #7f8c8d;
    --border: rgba(255, 77, 77, 0.1);
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Shared page rail — header, main, plan sections */
    --site-max: 960px;
    --site-gutter: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* Subtle spiritual gradient bg */
    background: radial-gradient(circle at 50% -20%, #fff0f0 0%, #ffffff 50%);
}

.container {
    width: 100%;
    max-width: var(--site-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--site-gutter);
    padding-right: var(--site-gutter);
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

/* Spiritual Background Elements */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    animation: float 25s infinite alternate;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-red);
    top: -200px;
    left: 10%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #ffeb3b;
    /* Sun-like gold */
    bottom: -100px;
    right: 10%;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo {
    height: 70px;
    /* High quality size */
    width: auto;
    object-fit: contain;
}

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

.logo-tag {
    background: var(--accent-red);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switcher {
    background: #fdf2f2;
    padding: 4px;
    border-radius: 30px;
    display: flex;
    border: 1px solid #ffebeb;
}

.lang-btn {
    padding: 6px 18px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
    font-family: inherit;
}

.lang-btn.active {
    background: white;
    color: var(--accent-red);
    box-shadow: 0 2px 10px rgba(255, 77, 77, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    min-height: auto;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.t-title,
.gradient-text {
    color: var(--text);
    font-size: clamp(2.2rem, 8vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .t-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--muted);
    font-weight: 400;
}

.t-tagline {
    font-size: clamp(1.2rem, 4vw, 1.75rem);
    font-weight: 600;
    color: #1a5fb4;
    /* Deep Professional Blue */
    margin-bottom: 15px;
    line-height: 1.3;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.stat-pill {
    background: #fffafa;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fee;
    box-shadow: var(--shadow);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.d0 {
    background: #4caf50;
}

.d1 {
    background: #8bc34a;
}

.d2 {
    background: #ff9800;
}

.d3 {
    background: #ff5722;
}

.d4 {
    background: #f44336;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

.btn {
    padding: 16px 36px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffeaea;
    color: var(--accent-red);
}

.btn-outline:hover {
    background: #fff5f5;
    border-color: #ffdada;
}

/* Quiz Content (Questions & Lead Section) */
.glass-card {
    background: white;
    border: 1px solid #fef0f0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    padding: 40px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-red);
    opacity: 0.2;
}

/* Progress Section */
.quiz-progress-wrapper {
    margin: 40px 0;
    position: sticky;
    top: 90px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 10px;
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text);
}

#score-text {
    color: var(--accent-red);
}

.progress-bar-bg {
    height: 6px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
    transition: width 0.5s ease;
}

/* Questions */
.questions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.q-card {
    opacity: 0;
    transform: translateY(30px);
    scroll-margin-top: 180px;
}

.q-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.q-card.answered {
    background: #fffafa;
    border-color: #ffeaea;
}

.q-header {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.q-num {
    background: #ffeded;
    color: var(--accent-red);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.1);
}

.q-text {
    font-size: 22px;
    font-weight: 600;
    color: #2d3436;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.option-btn {
    background: #fff;
    border: 2px solid #f8f9fa;
    padding: 18px 25px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text);
    font-family: inherit;
    font-weight: 600;
    text-align: left;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.option-btn:hover {
    border-color: #ffdcdc;
    background: #fffafa;
    transform: translateY(-2px);
}

.option-btn.selected {
    background: #ff4d4d;
    color: white;
    border-color: #ff4d4d;
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.option-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    transition: 0.3s;
}

.selected .option-dot {
    background: white;
    border-color: white;
}

/* Forms */
input {
    width: 100%;
    background: #fff9f9;
    border: 2px solid #ffecec;
    color: var(--text);
    padding: 18px 25px;
    border-radius: 20px;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 5px rgba(255, 77, 77, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Result Page */
.result-hero {
    padding: 80px 20px;
    text-align: center;
}

.score-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 40px auto;
}

.score-ring-bg {
    stroke: #fdf2f2;
}

.score-ring-fill {
    stroke: var(--accent-red);
}

.score-num {
    font-size: 70px;
    color: var(--text);
}

.category-badge {
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

/* Category Specific Themes (Light Spiritual Versions) */
.conscious-theme {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.distracted-theme {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}

.dependent-theme {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.slave-theme {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.result-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.tips-list li::before {
    content: '🕊️';
    margin-right: 15px;
}

/* Footer */
.main-footer {
    padding: 60px 0;
    text-align: center;
    color: var(--muted);
    font-weight: 500;
}

/* Mobile Adjustments (Responsive Stack) */
@media (max-width: 768px) {
    :root {
        --site-gutter: 16px;
    }

    .container {
        padding-left: var(--site-gutter);
        padding-right: var(--site-gutter);
    }

    .hero {
        padding: 50px 15px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
        font-size: 16px;
    }

    /* Keep header actions intrinsic width (do not stretch like page CTAs) */
    .header-content .btn,
    .plan-back-btn {
        width: auto;
        flex-shrink: 0;
    }

    .stats-row {
        gap: 8px;
        margin-bottom: 30px;
    }

    .stat-pill {
        padding: 8px 15px;
        font-size: 12px;
    }

    .q-text {
        font-size: 18px;
    }

    .q-num {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .glass-card {
        padding: 20px;
        border-radius: 20px;
    }

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

    .result-cards-grid {
        grid-template-columns: 1fr;
        margin: 30px 0;
        gap: 20px;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 15px;
    }

    .score-container {
        width: 200px;
        height: 200px;
    }

    .score-svg {
        width: 200px;
        height: 200px;
    }

    .score-num {
        font-size: 50px;
    }

    .category-badge {
        font-size: 18px;
        padding: 10px 20px;
    }
}

/* Very Small Mobile (320px) */
@media (max-width: 360px) {
    .t-title {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 18px;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 13px;
    }

    .q-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Tablet & Smaller Laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 80px 20px;
    }

    .result-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Result Page Specifics */
.score-svg {
    width: 250px;
    height: 250px;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: #fff1f1;
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke: var(--accent-red);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.score-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-total {
    display: block;
    font-size: 18px;
    color: var(--muted);
    font-weight: 600;
}

.q-badge {
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 800;
    min-width: 30px;
    text-align: center;
}

.accordion-item {
    margin-bottom: 15px;
}

.card-title {
    margin-bottom: 25px;
    font-size: 22px;
}

.tips-list {
    list-style: none;
    text-align: left;
}

.tips-list li {
    margin-bottom: 15px;
}

.share-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

/* Thank-you page */
.thankyou-page {
    max-width: var(--site-max);
    padding-top: 40px;
    padding-bottom: 20px;
}

.thankyou-card {
    text-align: center;
    padding: 50px 40px;
}

.thankyou-lead {
    font-size: 20px;
    margin-top: 5px;
    font-weight: 500;
}

.thankyou-score {
    font-size: 90px;
    font-weight: 800;
    color: var(--accent-red);
    margin: 10px 0;
    display: block;
    line-height: 1;
}

.thankyou-inbox {
    font-size: 18px;
    color: var(--muted);
    margin-top: 30px;
}

/* Embedded 7-day plan on thank-you */
.thankyou-plan {
    margin-top: 28px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 32px;
}

.thankyou-plan-intro {
    margin-bottom: 8px;
}

.thankyou-plan-intro h2 {
    font-size: clamp(24px, 4.5vw, 34px);
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text);
}

.thankyou-plan-intro .t-muted {
    font-size: 15px;
    max-width: 560px;
    margin-bottom: 0;
}

.thankyou-plan-days {
    padding: 24px 0 8px;
}

.thankyou-plan-days .plan-days-head h3 {
    font-size: clamp(20px, 3.5vw, 26px);
    margin-bottom: 6px;
}

.thankyou-plan .plan-day h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.thankyou-plan-download {
    margin-top: 20px;
    border-radius: 18px;
    padding: 28px 22px 32px;
    text-align: left;
}

.thankyou-plan-download h3 {
    font-size: clamp(22px, 4vw, 28px);
    margin-bottom: 10px;
}

.thankyou-plan-download h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.thankyou-lead-block {
    margin-top: 40px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.thankyou-lead-intro {
    margin-bottom: 25px;
}

.thankyou-lead-sparkle {
    display: block;
    font-size: 40px;
    line-height: 1;
}

.thankyou-lead-intro h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--text);
}

.thankyou-lead-intro .t-muted {
    max-width: 500px;
    margin: 0 auto;
}

.thankyou-lead-form .form-group {
    margin-bottom: 16px;
}

.thankyou-lead-block label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.thankyou-lead-block input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
}

.thankyou-lead-submit {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 15px 40px;
    margin-top: 8px;
}

.thankyou-lead-success {
    padding: 20px;
}

.thankyou-lead-success p {
    color: #2a6f71;
    font-weight: 600;
    font-size: 18px;
}

.interpretation-guide {
    margin-top: 50px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.guide-header {
    display: inline-block;
    background: #2a6f71;
    color: white;
    padding: 8px 25px;
    border-radius: 40px 0 40px 0;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 25px;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guide-item {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.g-conscious { color: #2a6f71; }
.g-distracted { color: #7f8c8d; }
.g-dependent { color: #a17e4a; }
.g-slave { color: #d35400; }

.thankyou-retake {
    margin-top: 40px;
}

/* 7-day wellness plan landing */
.plan-page {
    background: #fffaf7;
}

.plan-back-btn {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.plan-hero {
    background: linear-gradient(180deg, #fff0f0 0%, #fffaf7 100%);
    border-bottom: 1px solid #ffeaea;
}

.plan-hero-copy {
    padding-top: 36px;
    padding-bottom: 28px;
    max-width: var(--site-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.plan-kicker {
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--accent-red);
}

.plan-hero-copy h1 {
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--text);
}

.plan-hero-copy p {
    font-size: 17px;
    max-width: 36em;
    margin-bottom: 22px;
    color: var(--muted);
}

.plan-hero-btn {
    background: var(--accent-red);
}

.plan-days {
    padding-top: 40px;
    padding-bottom: 48px;
}

.plan-days-head {
    margin-bottom: 22px;
}

.plan-days-head h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 8px;
}

.plan-day-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.plan-day {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    text-align: left;
    padding: 18px 18px;
}

.plan-day-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff0f0;
    color: var(--accent-red);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-day h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.plan-day ul {
    padding-left: 18px;
    color: var(--muted);
}

.plan-day li {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.45;
}

.plan-download {
    background: #1d2433;
    color: #fff;
    padding: 48px 0 56px;
}

/* Embedded download on thank-you keeps inset padding (not full-bleed) */
.thankyou-plan-download.plan-download {
    padding: 28px 22px 32px;
}

.plan-download-inner {
    max-width: var(--site-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.plan-download h2,
.plan-download h3 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 10px;
}

.plan-download .t-muted {
    color: rgba(255,255,255,0.75);
    max-width: 36em;
}

.plan-dl-lang {
    margin: 16px 0;
    font-weight: 700;
    color: #ffb3b3;
}

.plan-dl-btn {
    font-size: 18px;
    padding: 16px 36px;
}

.plan-tracker-block {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.plan-tracker-block h3,
.plan-tracker-block h4 {
    font-size: 22px;
    margin-bottom: 8px;
}

.plan-tracker-btn {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    font-size: 16px;
    padding: 14px 28px;
}

.plan-tracker-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: #fff;
}

@media (max-width: 900px) {
    .thankyou-score {
        font-size: 64px;
    }

    .thankyou-card {
        padding: 32px 20px;
    }

    .thankyou-plan {
        padding-top: 24px;
        margin-top: 20px;
    }

    .thankyou-plan-intro h2 {
        font-size: 24px;
    }

    .thankyou-plan-intro .t-muted {
        font-size: 14px;
    }

    .thankyou-plan-days {
        padding: 18px 0 4px;
    }

    .thankyou-plan .plan-day h4 {
        font-size: 15px;
    }

    .thankyou-plan-download {
        margin-left: 0;
        margin-right: 0;
        padding: 24px 16px 28px;
        border-radius: 14px;
    }

    .plan-hero-copy {
        padding-top: 24px;
        padding-bottom: 20px;
    }

    .plan-hero-copy h1 {
        font-size: 28px;
    }

    .plan-hero-copy p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .plan-days {
        padding-top: 28px;
        padding-bottom: 36px;
    }

    .thankyou-plan-days.plan-days {
        padding-left: 0;
        padding-right: 0;
    }

    .plan-day {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .plan-day-num {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .plan-day h3,
    .thankyou-plan .plan-day h4 {
        font-size: 15px;
    }

    .plan-day li {
        font-size: 14px;
    }

    .plan-download {
        padding: 36px 0 48px;
    }

    .thankyou-plan-download.plan-download {
        padding: 24px 16px 28px;
    }

    .plan-dl-btn,
    .plan-hero-btn,
    .plan-tracker-btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
        min-height: 48px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .header-content {
        gap: 12px;
    }

    .plan-back-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}