/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Color System */
    --primary: hsl(259, 100%, 65%);
    --primary-light: hsl(259, 100%, 75%);
    --primary-dark: hsl(259, 100%, 55%);
    --secondary: hsl(200, 100%, 70%);
    --secondary-light: hsl(200, 100%, 80%);
    --secondary-dark: hsl(200, 100%, 60%);
    --accent: hsl(340, 100%, 75%);
    --accent-light: hsl(340, 100%, 85%);
    --accent-dark: hsl(340, 100%, 65%);

    /* Neutral Colors */
    --background: hsl(0, 0%, 100%);
    --surface: hsl(0, 0%, 98%);
    --surface-variant: hsl(0, 0%, 94%);
    --outline: hsl(0, 0%, 80%);
    --outline-variant: hsl(0, 0%, 90%);
    --text: hsl(0, 0%, 10%);
    --text-secondary: hsl(0, 0%, 40%);
    --text-tertiary: hsl(0, 0%, 60%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Borders */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Animation */
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 1000ms;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Layout */
    --container-max-width: 1200px;
    --nav-height: 80px;
}

/* Dark Theme */
[data-theme="dark"] {
    --background: hsl(240, 10%, 8%);
    --surface: hsl(240, 10%, 10%);
    --surface-variant: hsl(240, 10%, 14%);
    --outline: hsl(240, 5%, 30%);
    --outline-variant: hsl(240, 5%, 20%);
    --text: hsl(0, 0%, 95%);
    --text-secondary: hsl(0, 0%, 70%);
    --text-tertiary: hsl(0, 0%, 50%);
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
    transition: background-color var(--duration-normal) var(--easing),
                color var(--duration-normal) var(--easing);
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--duration-slow) var(--easing),
                visibility var(--duration-slow) var(--easing);
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-mandala {
    width: 200px;
    height: 200px;
    margin-bottom: var(--space-8);
}

.mandala-loader {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.mandala-group {
    animation: rotate 4s linear infinite;
    transform-origin: center;
}

.petals-outer {
    animation: rotate-reverse 6s linear infinite;
    transform-origin: center;
}

.loading-text {
    color: white;
    font-size: var(--font-size-xl);
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: var(--surface);
    border: 2px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all var(--duration-normal) var(--easing);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--text);
    stroke-width: 2;
    fill: none;
    transition: all var(--duration-normal) var(--easing);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    position: absolute;
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--outline-variant);
    z-index: 999;
    transition: all var(--duration-normal) var(--easing);
}

[data-theme="dark"] .nav {
    background: rgba(30, 30, 40, 0.9);
}

.nav-container {
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.nav-logo {
    font-size: var(--font-size-2xl);
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.nav-menu {
    display: flex;
    gap: var(--space-8);
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: color var(--duration-normal) var(--easing);
    padding: var(--space-2) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--duration-normal) var(--easing);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: all var(--duration-normal) var(--easing);
    transform-origin: center;
}

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

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

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

/* ===== MAIN LAYOUT ===== */
.main {
    margin-top: var(--nav-height);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(255, 255, 255, 0.1) 70%);
}

[data-theme="dark"] .gradient-overlay {
    background: radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.3) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.consciousness-mandala {
    width: 400px;
    height: 400px;
    margin: 0 auto var(--space-8);
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.3));
}

.mandala-svg {
    width: 100%;
    height: 100%;
}

.consciousness-group {
    animation: consciousness-pulse 4s ease-in-out infinite;
}

.ring {
    animation: ring-rotate 20s linear infinite;
    stroke-dasharray: 5, 10;
}

.ring-1 { animation-duration: 25s; }
.ring-2 { animation-duration: 20s; animation-direction: reverse; }
.ring-3 { animation-duration: 15s; }
.ring-4 { animation-duration: 12s; animation-direction: reverse; }
.ring-5 { animation-duration: 10s; }

.sacred-geometry {
    animation: sacred-breath 6s ease-in-out infinite;
}

.flower-of-life {
    animation: flower-pulse 3s ease-in-out infinite alternate;
}

.consciousness-rays {
    animation: rays-rotate 8s linear infinite;
}

.awareness-point {
    animation: awareness-pulse 2s ease-in-out infinite;
}

@keyframes consciousness-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sacred-breath {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes flower-pulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes rays-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes awareness-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes pulse-glow {
    0% { text-shadow: 0 0 5px var(--primary); }
    100% { text-shadow: 0 0 20px var(--primary), 0 0 30px var(--secondary); }
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: title-reveal 1s var(--easing) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    opacity: 0;
    animation: fade-in-up 1s var(--easing) 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-in-up 1s var(--easing) 1.2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-outline {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--duration-normal) var(--easing);
    position: relative;
    overflow: hidden;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 2px solid var(--outline-variant);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--surface-variant);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== JOURNEY SECTION ===== */
.journey {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, transparent 0%, var(--surface) 50%, transparent 100%);
}

.journey-visualization {
    position: relative;
    margin-top: var(--space-16);
}

.journey-path {
    position: relative;
    width: 100%;
    height: 400px;
}

.path-svg {
    width: 100%;
    height: 100%;
}

.animated-path {
    stroke-dasharray: 10, 5;
    animation: path-draw 3s ease-in-out infinite;
}

@keyframes path-draw {
    0% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: -50; }
    100% { stroke-dashoffset: -100; }
}

.journey-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.journey-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.point-indicator {
    width: 20px;
    height: 20px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--easing);
    position: relative;
    z-index: 2;
}

.point-indicator::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.2;
    animation: point-pulse 2s ease-in-out infinite;
}

@keyframes point-pulse {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0.2; }
}

.point-content {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface);
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--duration-normal) var(--easing);
    backdrop-filter: blur(10px);
    border: 1px solid var(--outline-variant);
}

.journey-point:hover .point-content {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
    pointer-events: all;
}

.journey-point:hover .point-indicator {
    transform: scale(1.2);
}

.point-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--primary);
}

.point-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== PRACTICE SECTION ===== */
.practice {
    padding: var(--space-24) 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.practice-card {
    background: var(--surface);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-normal) var(--easing);
    border: 1px solid var(--outline-variant);
    backdrop-filter: blur(10px);
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    margin-bottom: var(--space-6);
}

.card-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    text-align: center;
}

/* Timer Card Styles */
.timer-controls {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-6);
}

.preset-btn {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    background: var(--surface-variant);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all var(--duration-normal) var(--easing);
    border: 1px solid var(--outline-variant);
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.timer-display {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.timer-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary);
}

.timer-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-4);
}

.timer-actions button {
    flex: 1;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--duration-normal) var(--easing);
}

.timer-settings {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    font-size: var(--font-size-sm);
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Breathing Card Styles */
.breathing-visualizer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-6);
}

.breath-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius-full);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all var(--duration-slower) var(--easing);
}

.breath-inner {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius-full);
    background: var(--surface);
    transition: all var(--duration-slower) var(--easing);
}

.breath-guide {
    position: absolute;
    font-weight: 600;
    color: var(--text);
    font-size: var(--font-size-lg);
}

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

.breath-phase {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--primary);
}

.breath-count {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text);
}

.breathing-controls {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.breath-select {
    padding: var(--space-3);
    border-radius: var(--border-radius);
    border: 1px solid var(--outline-variant);
    background: var(--surface-variant);
    color: var(--text);
    font-size: var(--font-size-base);
}

/* Audio Card Styles */
.audio-player {
    background: var(--surface-variant);
    border-radius: var(--border-radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
}

.track-info {
    text-align: center;
    margin-bottom: var(--space-4);
}

.track-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.track-duration {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.audio-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    transition: all var(--duration-normal) var(--easing);
}

.audio-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.play-pause {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
}

.progress-container {
    margin-bottom: var(--space-4);
}

.progress-bar {
    height: 6px;
    background: var(--outline-variant);
    border-radius: var(--border-radius-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width var(--duration-normal) var(--easing);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: var(--outline-variant);
    border-radius: var(--border-radius-full);
    outline: none;
    accent-color: var(--primary);
}

.playlist {
    border-top: 1px solid var(--outline-variant);
    padding-top: var(--space-4);
}

.playlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--duration-normal) var(--easing);
}

.playlist-item:hover,
.playlist-item.active {
    background: var(--primary);
    color: white;
}

.track-name {
    font-weight: 500;
}

.track-time {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* Progress Card Styles */
.progress-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-6);
}

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

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.progress-chart {
    margin-bottom: var(--space-6);
    text-align: center;
}

.milestones {
    display: flex;
    justify-content: space-between;
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
}

.milestone-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all var(--duration-normal) var(--easing);
}

.milestone.completed .milestone-icon {
    background: var(--primary);
    color: white;
}

.milestone.current .milestone-icon {
    background: var(--outline-variant);
    color: var(--text-secondary);
    animation: milestone-pulse 2s ease-in-out infinite;
}

@keyframes milestone-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== CHAPTERS SECTION ===== */
.chapters {
    padding: var(--space-24) 0;
    background: var(--surface);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.chapter-card {
    background: var(--background);
    border-radius: var(--border-radius-xl);
    padding: var(--space-6);
    display: flex;
    gap: var(--space-4);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-normal) var(--easing);
    cursor: pointer;
    border: 1px solid var(--outline-variant);
    position: relative;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity var(--duration-normal) var(--easing);
    z-index: 1;
}

.chapter-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: var(--shadow-2xl);
}

.chapter-card:hover::before {
    opacity: 0.05;
}

.chapter-card > * {
    position: relative;
    z-index: 2;
}

.chapter-number {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary);
    opacity: 0.7;
    min-width: 40px;
}

.chapter-content {
    flex: 1;
}

.chapter-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text);
}

.chapter-excerpt {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.chapter-meta {
    display: flex;
    gap: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.chapter-visual {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-icon {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    transition: all var(--duration-normal) var(--easing);
}

.chapter-card:hover .chapter-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--space-24) 0;
}

.testimonials-slider {
    position: relative;
    margin-top: var(--space-16);
    margin-bottom: var(--space-8);
}

.testimonial-card {
    background: var(--surface);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(100px);
    transition: all var(--duration-slow) var(--easing);
    border: 1px solid var(--outline-variant);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content blockquote {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--text);
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-6);
}

.testimonial-content blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: var(--font-size-4xl);
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text);
}

.author-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: var(--surface);
    border: 2px solid var(--outline-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--text);
    transition: all var(--duration-normal) var(--easing);
    cursor: pointer;
}

.testimonial-nav:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

.testimonial-indicators {
    display: flex;
    gap: var(--space-2);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background: var(--outline-variant);
    transition: all var(--duration-normal) var(--easing);
    cursor: pointer;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--outline-variant);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h3,
.footer-section h4 {
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.footer-section h3 {
    font-size: var(--font-size-xl);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    color: var(--text-secondary);
    transition: color var(--duration-normal) var(--easing);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration-normal) var(--easing);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--outline-variant);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.footer-bottom p:first-child {
    margin-bottom: var(--space-2);
}

/* ===== WEBGL BACKGROUND ===== */
.webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    :root {
        --space-6: 1rem;
        --space-8: 1.5rem;
        --space-12: 2rem;
        --space-16: 2.5rem;
        --space-24: 4rem;
        --space-32: 5rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--surface);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--space-8) 0;
        transform: translateX(-100%);
        transition: transform var(--duration-normal) var(--easing);
        border-right: 1px solid var(--outline-variant);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .consciousness-mandala {
        width: 300px;
        height: 300px;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

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

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .practice-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .chapters-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .chapter-card {
        flex-direction: column;
        text-align: center;
    }

    .journey-path {
        height: 300px;
    }

    .journey-points .point-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        opacity: 1;
        pointer-events: all;
        margin-top: var(--space-4);
        min-width: auto;
    }

    .timer-actions {
        flex-direction: column;
    }

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

    .testimonials-controls {
        gap: var(--space-4);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .consciousness-mandala {
        width: 250px;
        height: 250px;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .practice-card {
        padding: var(--space-4);
    }

    .testimonial-card {
        padding: var(--space-6);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(240, 10%, 8%);
        --surface: hsl(240, 10%, 10%);
        --surface-variant: hsl(240, 10%, 14%);
        --outline: hsl(240, 5%, 30%);
        --outline-variant: hsl(240, 5%, 20%);
        --text: hsl(0, 0%, 95%);
        --text-secondary: hsl(0, 0%, 70%);
        --text-tertiary: hsl(0, 0%, 50%);
    }
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loading {
    overflow: hidden;
}

.fade-in {
    opacity: 0;
    animation: fade-in 1s var(--easing) forwards;
}

.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-in-up 1s var(--easing) forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slide-in-left 1s var(--easing) forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slide-in-right 1s var(--easing) forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes slide-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-variant);
}

::-webkit-scrollbar-thumb {
    background: var(--outline);
    border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
/* Special Immersive Version Button */
.btn-special {
    display: inline-block;
    background: linear-gradient(135deg, #f4d03f 0%, #6c5ce7 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(244, 208, 63, 0.3);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-special:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(244, 208, 63, 0.5);
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(244, 208, 63, 0.3); }
    50% { box-shadow: 0 10px 40px rgba(244, 208, 63, 0.6); }
}
