/* All styles are scoped to this module */
#dhz-journey {
    max-width: 1200px;
    margin: 40px auto 70px;
    padding: 0 18px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* Main shell */

.dhz-j-shell {
    position: relative;
    border-radius: 26px;
    padding: 24px 22px 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.2), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.3), transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(45, 212, 191, 0.25), transparent 55%),
        #020617;
    color: #e5e7eb;
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(148, 163, 184, 0.55);
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

/* Animated orbs */

.dhz-j-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.9;
    pointer-events: none;
}

.dhz-j-orb-1 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8), transparent 70%);
    top: -40px;
    left: -40px;
    animation: dhz-orb-float 18s ease-in-out infinite alternate;
}

.dhz-j-orb-2 {
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.9), transparent 70%);
    bottom: -80px;
    right: -80px;
    animation: dhz-orb-float 22s ease-in-out infinite alternate-reverse;
}

.dhz-j-orb-3 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.8), transparent 75%);
    bottom: 10px;
    left: 35%;
    animation: dhz-orb-float 26s ease-in-out infinite alternate;
    opacity: 0.65;
}

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

    50% {
        transform: translate(12px, -8px) scale(1.05);
    }

    100% {
        transform: translate(-10px, 6px) scale(0.98);
    }
}

/* Reveal animation */

.dhz-j-reveal,
.dhz-content-reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.dhz-j-reveal.is-visible,
.dhz-content-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Header */

.dhz-j-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 3.2fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}

.dhz-j-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #a5b4fc;
    margin-bottom: 0.3rem;
}

.dhz-j-header h2 {
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    margin: 0 0 0.25rem;
    color: #f9fafb;
}

.dhz-j-sub {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5f5;
    max-width: 34rem;
}

/* Readiness score */

.dhz-j-score {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.dhz-j-score-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
}

.dhz-j-score-circle {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background:
        conic-gradient(from 210deg, #22c55e 0%, #a3e635 40%, #f97316 70%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    position: relative;
    box-shadow: 0 14px 32px rgba(34, 197, 94, 0.4);
    animation: dhz-score-spin 16s linear infinite;
}

.dhz-j-score-circle::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.25), transparent 55%),
        #020617;
}

#dhz-j-score-value {
    position: relative;
    font-weight: 700;
    font-size: 1.15rem;
    color: #f9fafb;
}

@keyframes dhz-score-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Layout */

.dhz-j-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 3fr);
    gap: 18px;
}

.dhz-j-panel {
    border-radius: 18px;
    padding: 14px 14px 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 32px rgba(15, 23, 42, 0.7),
        0 0 0 1px rgba(30, 64, 175, 0.45);
}

.dhz-j-block+.dhz-j-block {
    margin-top: 14px;
}

.dhz-j-block h3 {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
    color: #e5e7eb;
}

/* Constellation */

.dhz-j-constellation {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.dhz-j-constellation svg {
    width: 100%;
    height: 90px;
    display: block;
}

/* SVG styling */

#dhz-j-node-core {
    fill: #22c55e;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.9));
    animation: dhz-core-pulse 3.4s ease-in-out infinite;
}

#dhz-j-node-energy,
#dhz-j-node-focus,
#dhz-j-node-sleep,
#dhz-j-node-immune {
    fill: rgba(148, 163, 184, 0.7);
    transition: fill 0.25s ease, r 0.25s ease, filter 0.25s ease;
}

#dhz-j-line-energy,
#dhz-j-line-focus,
#dhz-j-line-sleep,
#dhz-j-line-immune {
    stroke: rgba(148, 163, 184, 0.45);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 6 6;
    opacity: 0.2;
    transition: stroke 0.25s ease, opacity 0.25s ease, stroke-width 0.25s ease;
}

.dhz-j-constellation--energy #dhz-j-node-energy,
.dhz-j-constellation--focus #dhz-j-node-focus,
.dhz-j-constellation--sleep #dhz-j-node-sleep,
.dhz-j-constellation--immune #dhz-j-node-immune {
    r: 8;
    fill: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.9));
}

.dhz-j-constellation--energy #dhz-j-line-energy,
.dhz-j-constellation--focus #dhz-j-line-focus,
.dhz-j-constellation--sleep #dhz-j-line-sleep,
.dhz-j-constellation--immune #dhz-j-line-immune {
    stroke-width: 2;
    opacity: 0.9;
    stroke: url(#dhz-line-gradient);
}

/* Mood-based shell highlight */

.dhz-j-shell[data-mood="low"] {
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(59, 130, 246, 0.8);
}

.dhz-j-shell[data-mood="ok"] {
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(45, 212, 191, 0.9);
}

.dhz-j-shell[data-mood="high"] {
    box-shadow:
        0 30px 90px rgba(30, 64, 175, 1),
        0 0 0 1px rgba(234, 179, 8, 1);
}

/* Moods */

.dhz-j-moods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.dhz-j-mood-btn {
    position: relative;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.45rem 0.4rem;
    font-size: 0.86rem;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    overflow: hidden;
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.13s ease,
        box-shadow 0.16s ease;
}

.dhz-j-mood-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(248, 250, 252, 0.25), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dhz-j-mood-btn:hover {
    background: rgba(30, 64, 175, 0.9);
}

.dhz-j-mood-btn:active {
    transform: scale(0.97);
}

.dhz-j-mood-btn.is-active {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.75);
}

.dhz-j-mood-btn.is-active::after {
    opacity: 1;
}

.dhz-j-mood-emoji {
    font-size: 1rem;
}

/* Goals */

.dhz-j-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dhz-j-goal-pill {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.65);
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    background: rgba(15, 23, 42, 0.78);
    color: #e5e7eb;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.13s ease;
}

.dhz-j-goal-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.7), transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dhz-j-goal-pill:hover {
    transform: translateY(-1px);
}

.dhz-j-goal-pill.is-selected {
    background: rgba(37, 99, 235, 0.95);
    border-color: rgba(191, 219, 254, 0.95);
}

.dhz-j-goal-pill.is-selected::after {
    opacity: 1;
    transform: translateX(8%);
}

.dhz-j-hint {
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Steps */

.dhz-j-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: grid;
    gap: 0.45rem;
}

.dhz-j-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
    align-items: flex-start;
    border-radius: 12px;
    padding: 0.5rem 0.65rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(55, 65, 81, 0.9);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.16s ease;
}

.dhz-j-step input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.dhz-j-step-main {
    font-size: 0.86rem;
    color: #e5e7eb;
}

.dhz-j-step--done {
    background: rgba(21, 128, 61, 0.25);
    border-color: rgba(22, 163, 74, 0.85);
    transform: translateY(-1px);
}

/* Progress */

.dhz-j-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.dhz-j-progress-bar {
    flex: 1 1 auto;
    height: 6px;
    border-radius: 999px;
    background: rgba(30, 64, 175, 0.9);
    overflow: hidden;
}

.dhz-j-progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #a3e635, #f97316);
    transition: width 0.25s ease-out;
}

.dhz-j-progress-text {
    flex: 0 0 auto;
    font-size: 0.78rem;
    color: #cbd5f5;
}

/* Seed visual */

.dhz-j-seed-wrap {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dhz-j-seed {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.4), transparent 70%);
}

.dhz-j-seed-core {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    transform: scale(0.6);
    transition: transform 0.25s ease-out;
}

.dhz-j-seed-label {
    font-size: 0.78rem;
    color: #a7f3d0;
}

/* Product suggestion */

.dhz-j-product {
    background: linear-gradient(145deg, rgba(22, 101, 52, 0.9), rgba(30, 64, 175, 0.96));
    border: 1px solid rgba(187, 247, 208, 0.7);
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.85);
}

.dhz-j-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.dhz-j-product-label {
    font-size: 0.8rem;
    margin: 0;
    color: #bbf7d0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dhz-j-product-tag {
    font-size: 0.75rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(187, 247, 208, 0.7);
}

.dhz-j-product-title {
    margin: 0 0 0.15rem;
    font-size: 1rem;
    color: #ecfdf5;
}

.dhz-j-product-copy {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    color: #dcfce7;
}

.dhz-j-product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.84rem;
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 500;
}

.dhz-j-product-link:hover {
    text-decoration: underline;
}

/* Tip */

.dhz-j-tip {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.84rem;
    color: #e5e7eb;
}

.dhz-j-tip-label {
    margin: 0 0 0.15rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

#dhz-j-tip-text {
    margin: 0 0 0.35rem;
}

.dhz-j-tip-next {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.75);
    padding: 0.2rem 0.65rem;
    font-size: 0.78rem;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    cursor: pointer;
    transition: background 0.16s ease, transform 0.13s ease;
}

.dhz-j-tip-next:hover {
    background: rgba(31, 41, 55, 0.9);
    transform: translateY(-1px);
}

/* Animations */

@keyframes dhz-core-pulse {
    0% {
        r: 11;
    }

    50% {
        r: 13;
    }

    100% {
        r: 11;
    }
}

/* Responsive */

@media (max-width: 900px) {
    .dhz-j-header {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }

    .dhz-j-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .dhz-j-score {
        justify-self: start;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    #dhz-journey {
        margin-top: 28px;
        padding: 0 14px;
    }

    .dhz-j-shell {
        padding-inline: 14px;
        border-radius: 22px;
    }

    .dhz-j-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .dhz-j-score {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
    }

    .dhz-j-moods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* -------------------------
   SEO / Content sections
   ------------------------- */

.dhz-content-section {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 20px 22px 22px;
    color: var(--text, #e5e7eb);
    line-height: 1.7;
    position: relative;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(45, 212, 191, 0.14), transparent 60%),
        rgba(15, 23, 42, 0.92);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.85),
        0 0 0 1px rgba(30, 64, 175, 0.55);
}

/* subtle top accent line */
.dhz-content-section::before {
    content: "";
    position: absolute;
    inset-inline: 18px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #a855f7, #22c55e);
    opacity: 0.85;
}

/* spacing between sections */
.dhz-content-section+.dhz-content-section {
    margin-top: 22px;
}

/* headings */
.dhz-content-section h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.dhz-content-section h3 {
    font-size: 1.1rem;
    margin: 1.1rem 0 0.3rem;
}

/* text & lists */
.dhz-content-section p {
    margin: 0.35rem 0;
}

.dhz-content-section ul,
.dhz-content-section ol {
    padding-left: 1.25rem;
    margin: 0.4rem 0 0.8rem;
    font-size: 0.95rem;
}

/* prettier bullets */
.dhz-content-section ul {
    list-style: none;
    padding-left: 0;
}

.dhz-content-section ul li {
    position: relative;
    padding-left: 1.3rem;
    margin: 0.25rem 0;
}

.dhz-content-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    color: #38bdf8;
}

/* responsive padding */
@media (max-width: 640px) {
    .dhz-content-section {
        padding-inline: 14px;
    }
}