/* ============================================
   ATTUNED TO THE LIGHT - Global Styles
   Color: Charcoal Blue + Electric Blue + Warm Amber
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Lexend:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --bg-primary: #101820;
    --bg-secondary: #141E2E;
    --bg-tertiary: #1A2538;
    --bg-card: rgba(20, 30, 46, 0.65);
    --bg-card-hover: rgba(26, 37, 56, 0.8);
    --accent-blue: #3B82F6;
    --accent-blue-light: #60A5FA;
    --accent-blue-glow: rgba(59, 130, 246, 0.3);
    --accent-amber: #F5A623;
    --accent-amber-light: #F7C15E;
    --accent-amber-glow: rgba(245, 166, 35, 0.3);
    --text-primary: #F0EDE8;
    --text-secondary: #BDB8AE;
    --text-muted: #7A7670;

    /* Section tone rotation */
    --tone-1: #F5A623;
    --tone-1-light: #F0C97A;
    --tone-1-text: #D4CFC6;
    --tone-1-bg: rgba(245, 166, 35, 0.04);
    --tone-2: #D4928E;
    --tone-2-light: #E8B4B0;
    --tone-2-text: #D6CBC6;
    --tone-2-bg: rgba(212, 146, 142, 0.04);
    --tone-3: #8EB89E;
    --tone-3-light: #A8D0B8;
    --tone-3-text: #C8D4CC;
    --tone-3-bg: rgba(142, 184, 158, 0.04);
    --tone-4: #A898BA;
    --tone-4-light: #C4B8D4;
    --tone-4-text: #CEC8D4;
    --tone-4-bg: rgba(168, 152, 186, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(16, 24, 32, 0.6);
    --glass-bg-strong: rgba(16, 24, 32, 0.85);
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lexend', 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --content-width: 800px;
    --nav-height: 70px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Star Canvas --- */
#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav.scrolled {
    background: var(--glass-bg-strong);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo span {
    color: var(--accent-amber);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue-light);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue-light);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.webp') center center / cover no-repeat;
    z-index: 1;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 16, 28, 0.1) 0%,
        rgba(10, 16, 28, 0.4) 50%,
        rgba(10, 16, 28, 0.85) 75%,
        rgba(10, 16, 28, 0.95) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 2rem;
    margin-right: 8%;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.hero-title .highlight {
    color: var(--accent-amber);
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.btn-primary:hover {
    background: var(--accent-blue-light);
    box-shadow: 0 6px 30px var(--accent-blue-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-amber-light);
    border: 1px solid var(--accent-amber);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.1);
}

.btn-secondary:hover {
    background: rgba(245, 166, 35, 0.1);
    box-shadow: 0 6px 30px var(--accent-amber-glow);
    transform: translateY(-2px);
}

/* --- Main Content Wrapper --- */
main {
    position: relative;
    z-index: 1;
}

/* --- Sections --- */
.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
}

/* --- Section Headers --- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title .amber {
    color: var(--accent-amber);
}

.section-text {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

a.glass-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Card color variants — border glow always visible */
.glass-card-blue {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.18);
}

a.glass-card-blue:hover {
    background: rgba(59, 130, 246, 0.14);
}

.glass-card-amber {
    background: rgba(245, 166, 35, 0.07);
    border-color: rgba(245, 166, 35, 0.32);
    box-shadow: 0 0 16px rgba(245, 166, 35, 0.15);
}

a.glass-card-amber:hover {
    background: rgba(245, 166, 35, 0.12);
}

.glass-card-teal {
    background: rgba(94, 234, 212, 0.06);
    border-color: rgba(94, 234, 212, 0.3);
    box-shadow: 0 0 16px rgba(94, 234, 212, 0.15);
}

a.glass-card-teal:hover {
    background: rgba(94, 234, 212, 0.1);
}

.glass-card-purple {
    background: rgba(167, 139, 250, 0.07);
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 0 16px rgba(167, 139, 250, 0.15);
}

a.glass-card-purple:hover {
    background: rgba(167, 139, 250, 0.12);
}

/* --- Phase Cards --- */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.phase-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.phase-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.phase-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.phase-days {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: 1.2rem;
}

.phase-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item {
    padding: 2rem;
    text-align: center;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Note/Callout Box --- */
.callout-box {
    background: rgba(245, 166, 35, 0.06);
    border-left: 3px solid var(--accent-amber);
    border-radius: 0 8px 8px 0;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
}

.callout-box .callout-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

.callout-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section .section-title {
    margin-bottom: 1rem;
}

.cta-section .section-text {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-free {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

/* --- Divider --- */
.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-amber));
    margin: 0 auto;
    opacity: 0.5;
}

/* --- Article/Practice Page Styles --- */
.article-header {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 3rem;
    text-align: center;
}

.article-meta {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Article Back Navigation --- */
.article-back {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 1.5rem) 2rem 0;
}

.article-back a {
    font-size: 0.88rem;
    color: var(--accent-blue-light);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
}

.article-back a:hover {
    color: var(--accent-amber-light);
}

.article-back + .article-header {
    padding-top: 1.5rem;
}

.article-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
    letter-spacing: 0.03em;
}

.article-body {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--accent-amber);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-amber);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-blue-light);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.article-body p {
    font-size: 1.12rem;
    font-weight: 300;
    color: #D4CFC6;
    line-height: 1.95;
    margin-bottom: 1.6rem;
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-body blockquote {
    border-left: 3px solid var(--accent-amber);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(245, 166, 35, 0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body em {
    color: var(--accent-blue-light);
    font-style: italic;
}

.article-body h2 + p::first-letter {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent-amber-light);
    float: left;
    line-height: 1;
    margin-right: 0.12em;
    margin-top: 0.1em;
}

/* --- Section Tone Rotation --- */
.article-section.tone-1 h2 { color: var(--tone-1); border-left-color: var(--tone-1); }
.article-section.tone-2 h2 { color: var(--tone-2); border-left-color: var(--tone-2); }
.article-section.tone-3 h2 { color: var(--tone-3); border-left-color: var(--tone-3); }
.article-section.tone-4 h2 { color: var(--tone-4); border-left-color: var(--tone-4); }

.article-section.tone-1 h2 + p::first-letter { color: var(--tone-1-light); }
.article-section.tone-2 h2 + p::first-letter { color: var(--tone-2-light); }
.article-section.tone-3 h2 + p::first-letter { color: var(--tone-3-light); }
.article-section.tone-4 h2 + p::first-letter { color: var(--tone-4-light); }

.article-section.tone-1 .pull-quote { border-left-color: var(--tone-1); background: var(--tone-1-bg); }
.article-section.tone-2 .pull-quote { border-left-color: var(--tone-2); background: var(--tone-2-bg); }
.article-section.tone-3 .pull-quote { border-left-color: var(--tone-3); background: var(--tone-3-bg); }
.article-section.tone-4 .pull-quote { border-left-color: var(--tone-4); background: var(--tone-4-bg); }

.article-section.tone-1 .pull-quote::before { background: var(--tone-1); }
.article-section.tone-2 .pull-quote::before { background: var(--tone-2); }
.article-section.tone-3 .pull-quote::before { background: var(--tone-3); }
.article-section.tone-4 .pull-quote::before { background: var(--tone-4); }

.article-section.tone-1 .expand-header h4 { color: var(--tone-1-light); }
.article-section.tone-2 .expand-header h4 { color: var(--tone-2-light); }
.article-section.tone-3 .expand-header h4 { color: var(--tone-3-light); }
.article-section.tone-4 .expand-header h4 { color: var(--tone-4-light); }

.article-section.tone-1 .expand-header .expand-icon { color: var(--tone-1-light); }
.article-section.tone-2 .expand-header .expand-icon { color: var(--tone-2-light); }
.article-section.tone-3 .expand-header .expand-icon { color: var(--tone-3-light); }
.article-section.tone-4 .expand-header .expand-icon { color: var(--tone-4-light); }

.article-section.tone-1 .symbol-divider .symbol { color: var(--tone-1); }
.article-section.tone-2 .symbol-divider .symbol { color: var(--tone-2); }
.article-section.tone-3 .symbol-divider .symbol { color: var(--tone-3); }
.article-section.tone-4 .symbol-divider .symbol { color: var(--tone-4); }

.article-section.tone-1 .key-term { color: var(--tone-1-light); }
.article-section.tone-2 .key-term { color: var(--tone-2-light); }
.article-section.tone-3 .key-term { color: var(--tone-3-light); }
.article-section.tone-4 .key-term { color: var(--tone-4-light); }

.article-section.tone-1 em { color: var(--tone-1-light); }
.article-section.tone-2 em { color: var(--tone-2-light); }
.article-section.tone-3 em { color: var(--tone-3-light); }
.article-section.tone-4 em { color: var(--tone-4-light); }

.article-section.tone-1 strong { color: #F0EDE8; }
.article-section.tone-2 strong { color: #F0EDE8; }
.article-section.tone-3 strong { color: #F0EDE8; }
.article-section.tone-4 strong { color: #F0EDE8; }

/* --- Practice Library Grid --- */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.practice-card {
    padding: 2rem;
    text-decoration: none;
    display: block;
}

.practice-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.practice-card:hover .practice-card-title {
    color: var(--accent-blue-light);
}

.practice-card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-amber);
    margin: 3rem 0 0.5rem;
}

.category-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* --- Challenge Dashboard --- */
.dashboard-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
}

.dashboard-day {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.dashboard-phase {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    text-align: center;
    margin-bottom: 3rem;
}

.task-card {
    margin-bottom: 1.5rem;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    user-select: none;
}

.task-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-card.completed .task-checkbox {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.task-card.completed .task-checkbox::after {
    content: '\2713';
    color: #fff;
    font-size: 14px;
}

.task-card.completed .task-title {
    color: var(--text-muted);
}

.task-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    transition: var(--transition-smooth);
}

.task-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.task-link {
    font-size: 0.8rem;
    color: var(--accent-blue-light);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.task-link:hover {
    color: var(--accent-amber-light);
}

/* --- Dashboard Progress Bar --- */
.dashboard-progress-track {
    max-width: 400px;
    margin: 0 auto 3rem;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.dashboard-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-amber));
    border-radius: 2px;
    transition: width 0.6s ease;
}

/* --- Dashboard Tasks --- */
.dashboard-tasks {
    max-width: 650px;
    margin: 0 auto;
}

.task-info {
    flex: 1;
}

/* --- Selection UI --- */
.selection-category {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.selection-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selection-card {
    padding: 1.5rem 1.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.selection-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.selection-card.selected {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.sel-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--accent-blue);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.selection-card.selected .sel-checkbox {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.selection-card.selected .sel-checkbox::after {
    content: '\2713';
    color: #fff;
    font-size: 13px;
}

.sel-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.sel-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.sel-info {
    flex: 1;
}

.selection-count {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    letter-spacing: 0.03em;
}

/* --- Reset Button --- */
.btn-reset {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
}

.btn-reset:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.completion-message {
    text-align: center;
    padding: 3rem 2rem;
    display: none;
}

.completion-message.show {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.completion-message p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent-amber-light);
    font-style: italic;
}

/* --- FAQ --- */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1.3rem 2rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question .arrow {
    font-size: 0.8rem;
    color: var(--accent-blue-light);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--accent-amber);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-blue-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Scroll reveal - disabled, content always visible */
.reveal {
    opacity: 1;
    transform: none;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .phase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #101820;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .nav {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    .hero {
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(10, 16, 28, 0.3) 0%,
            rgba(10, 16, 28, 0.7) 50%,
            rgba(10, 16, 28, 0.95) 100%
        );
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .article-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

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

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

    .callout-box {
        padding: 1.5rem;
    }

    .task-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   ADDITIONAL EFFECTS & ARTICLE ENHANCEMENTS
   ============================================ */

/* --- Effect Canvas (shared for orbs, constellation, ripples) --- */
#effect-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Animated Gradient Background (Article pages) --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0B1A3B, #101820, #141230, #0E2244, #101820, #0B1A3B);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 0% 75%; }
    100% { background-position: 0% 50%; }
}

/* --- Reading Progress Bar --- */
.reading-progress {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-amber));
    z-index: 999;
    transition: width 0.1s linear;
}

/* --- Pull Quotes --- */
.pull-quote {
    border-left: 3px solid var(--accent-blue);
    padding: 1.8rem 2.5rem;
    margin: 2.5rem 0;
    background: rgba(59, 130, 246, 0.04);
    border-radius: 0 10px 10px 0;
    position: relative;
    overflow: hidden;
}

.pull-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-blue);
    animation: pullQuotePulse 3s ease-in-out infinite;
}

@keyframes pullQuotePulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 8px var(--accent-blue-glow); }
    50% { opacity: 1; box-shadow: 0 0 20px var(--accent-blue-glow); }
}

.pull-quote p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
}

/* --- Section Symbol Divider --- */
.symbol-divider {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.symbol-divider .symbol {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--accent-amber);
    opacity: 0.5;
    animation: symbolPulse 4s ease-in-out infinite;
    letter-spacing: 1rem;
}

@keyframes symbolPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* --- Key Term Glow --- */
.key-term {
    color: var(--accent-blue-light);
    cursor: default;
    transition: var(--transition-smooth);
    position: relative;
}

.key-term:hover {
    text-shadow: 0 0 12px var(--accent-blue-glow), 0 0 24px rgba(59, 130, 246, 0.15);
}

/* --- Collapsible / Expand Sections --- */
.expand-section {
    margin: 2rem 0;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
}

.expand-header {
    padding: 1.2rem 1.8rem;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.expand-header:hover {
    background: var(--bg-card-hover);
}

.expand-header h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-blue-light);
}

.expand-header .expand-icon {
    font-size: 0.85rem;
    color: var(--accent-blue-light);
    transition: transform 0.3s ease;
}

.expand-section.open .expand-icon {
    transform: rotate(180deg);
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 1.8rem;
}

.expand-section.open .expand-content {
    max-height: 2000px;
    padding: 1.5rem 1.8rem;
}

.expand-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--accent-blue-light);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

/* --- Page-specific Hero Variants --- */
.hero-practices {
    background: url('../images/practices-bg.webp') center center / cover no-repeat;
}

.hero-challenge {
    background: url('../images/challenge-bg.webp') center center / cover no-repeat;
}

.hero-inner {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-inner .hero-overlay {
    background: radial-gradient(
        ellipse at center,
        rgba(10, 16, 28, 0.4) 0%,
        rgba(10, 16, 28, 0.75) 60%,
        rgba(10, 16, 28, 0.95) 100%
    );
}

.hero-inner .hero-content {
    margin-right: 0;
    text-align: center;
    max-width: 700px;
}

.hero-inner .hero-title {
    font-size: 3.2rem;
}

@media (max-width: 768px) {
    .hero-inner .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-inner {
        min-height: 40vh;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}
