:root {
    --bg-color: #fcf9f2;
    --text-main: #4a5d4e;
    --text-light: #7a8b7d;
    --primary-color: #e6b9a6;
    --secondary-color: #d9c5b2;
    --accent-color: #8c9e8e;
    --bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #f4eee0 100%);
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-soft: 'Quicksand', sans-serif;
    --font-poetic: 'Cormorant Garamond', serif;
    --font-arabic: 'Amiri', serif;
    --font-brand: 'Philosopher', sans-serif;
    --font-brand-ar: 'Reem Kufi', sans-serif;
    --soft-shadow: 0 10px 30px rgba(140, 158, 142, 0.15);
}

/* --- Styles spécifiques à l'arabe (Amiri) --- */
.lang-ar button,
.lang-ar .btn-primary,
.lang-ar .action-btn,
.lang-ar .action-btn-small,
.lang-ar select,
.lang-ar input,
.lang-ar textarea,
.lang-ar .main-title,
.lang-ar h2,
.lang-ar h3,
.lang-ar .slogan,
.lang-ar .subtitle,
.lang-ar .quote-box,
.lang-ar .reading-body,
.lang-ar .date-display,
.lang-ar .note-content,
.lang-ar .note-date,
.lang-ar .badge,
.lang-ar #breathing-instruction {
    font-family: var(--font-arabic) !important;
}

.lang-ar .main-title {
    font-family: var(--font-brand-ar) !important;
    font-size: 5.5rem;
}

.lang-ar .action-btn, .lang-ar .btn-primary {
    font-size: 1.3rem;
    font-weight: 700;
}

.lang-ar .quote-box {
    border-left: none;
    border-right: 4px solid var(--accent-color);
    border-radius: 16px 0 0 16px;
    text-align: center;
}

.lang-ar .reading-body {
    text-align: center;
}

.lang-ar .reading-header {
    text-align: center;
}

.lang-ar .btn-back svg {
    transform: rotate(180deg);
}


[data-theme="yin"] {
    --bg-color: #f0f4f8;
    --text-main: #3b4d61;
    --text-light: #6a7b8e;
    --primary-color: #a6c0e6;
    --secondary-color: #b2cdd9;
    --accent-color: #7a9e9f;
    --bg-gradient: linear-gradient(135deg, #f0f4f8 0%, #e0eaf5 100%);
}

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

body { font-family: var(--font-sans); background-color: var(--bg-color); color: var(--text-main); min-height: 100vh; overflow-x: hidden; transition: background 1.5s ease, color 1.5s ease; }
body::before {
    content: '';
    position: fixed;
    top: -2%; left: -2%;
    width: 104%; height: 104%;
    background: url('bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    animation: gentleBreeze 12s infinite alternate ease-in-out;
    pointer-events: none;
}
@keyframes gentleBreeze {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15px, 8px) scale(1.03); }
}

/* Mode Soir / Nuit Étoilée */
body.mode-soir::before {
    filter: brightness(0.4) saturate(0.6) hue-rotate(20deg);
}
body.mode-soir::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 160px 120px, #ddd, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0;
    animation: starsFadeIn 2s ease forwards, starsTwinkle 4s infinite alternate;
    pointer-events: none;
    z-index: -1;
}
@keyframes starsFadeIn { from { opacity: 0; } to { opacity: 0.4; } }
@keyframes starsTwinkle { from { transform: scale(1); } to { transform: scale(1.1); } }

body.mode-soir {
    --bg-color: #1a2521;
    --text-main: #d1d9d1;
    --accent-color: #a6b5a8;
}
body.mode-soir .card, body.mode-soir .container {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    color: #eee;
}
body.mode-soir .action-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    border-color: rgba(255, 255, 255, 0.1);
}
body.mode-soir .main-title { color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.2); }
#app { width: 100%; height: 100vh; position: relative; }

.view { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity 1s ease-in-out; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding-top: 2rem; overflow-y: auto; }
.view.active { opacity: 1; pointer-events: all; z-index: 10; }
.view.hidden { display: none; }

/* Splash Screen */
#splash-screen { text-align: center; padding: 2rem; }
.app-logo { width: 220px; height: 220px; object-fit: contain; margin-bottom: 0.5rem; animation: fadeInDown 1.5s ease forwards; mix-blend-mode: multiply; }
.container { width: 90%; max-width: 600px; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(25px); border-radius: 30px; padding: 3rem; box-shadow: var(--soft-shadow); text-align: center; border: 1px solid rgba(255,255,255,0.4); margin-bottom: 2rem; }
.dashboard-container { margin-top: 3rem; }
.main-title { font-family: var(--font-brand); font-size: 4.5rem; font-style: italic; color: var(--accent-color); margin-bottom: 1rem; animation: fadeInDown 2s ease forwards; }
.subtitle { font-family: var(--font-soft); font-size: 1.3rem; margin-bottom: 3rem; opacity: 0; letter-spacing: 1px; color: var(--text-main); }
.slogan { font-family: var(--font-poetic); font-size: 1.8rem; font-style: italic; line-height: 1.6; color: var(--text-light); opacity: 0; }
.delay-1 { animation: fadeIn 2.5s ease 1.5s forwards; }
.delay-2 { animation: fadeIn 3s ease 4s forwards; }
.delay-3 { animation: fadeIn 2s ease 8s forwards; }

.btn-primary { background: var(--primary-color); color: #fff; border: none; padding: 1.2rem 3rem; border-radius: 50px; font-size: 1.1rem; cursor: pointer; box-shadow: var(--soft-shadow); transition: all 0.4s ease; opacity: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;}
.btn-primary:hover { transform: translateY(-5px); background: var(--accent-color); }
.btn-primary.show { opacity: 1; }
.btn-secondary { background: transparent; color: var(--text-light); border: 1px solid rgba(140, 158, 142, 0.3); padding: 0.8rem 2rem; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; }
.btn-secondary:hover { background: rgba(255,255,255,0.5); color: var(--text-main); }
.btn-back { background: transparent; border: none; color: var(--text-light); font-size: 1rem; cursor: pointer; text-align: left; margin-bottom: 1rem; font-family: var(--font-sans); transition: color 0.3s; display: block; }
.btn-back:hover { color: var(--accent-color); }
.dashboard-container { text-align: center; }
.dashboard-header { display: flex; justify-content: center; align-items: center; margin-bottom: 0.5rem; }
.date-display { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; font-family: var(--font-serif); font-style: italic; }

.onboarding-step { display: none; flex-direction: column; align-items: center; width: 100%; animation: fadeIn 0.5s ease; }
.onboarding-step.active { display: flex; }
.lang-ar .onboarding-step { text-align: center; }
.lang-ar .onboarding-step label { text-align: center; width: 100%; }
.lang-ar .settings-grid { justify-content: center; }
.settings-grid { display: flex; gap: 1rem; width: 100%; justify-content: center; }
.settings-group { flex: 1; min-width: 140px; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.flower-container.small { transform: scale(0.6); margin-bottom: 0; }
.flower.slow { animation: breathe 12s infinite ease-in-out; }
.closure-container h2 { font-family: var(--font-serif); font-style: italic; margin-top: 1rem; }
.closure-subtitle { color: var(--text-light); margin-bottom: 2rem; }
.container h2 { font-family: var(--font-serif); font-size: 2.2rem; color: var(--accent-color); margin-bottom: 0.5rem; }
#quiz-title { margin-bottom: 2rem; }

/* Onboarding */
.settings-group { margin-bottom: 2.5rem; text-align: left; }
.theme-selector { display: flex; gap: 1rem; }
.theme-btn { flex: 1; padding: 1.2rem; border-radius: 16px; border: 2px solid transparent; background: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.3s ease; }
.theme-btn.active { border-color: var(--accent-color); transform: scale(1.02); }
.custom-select { width: 100%; padding: 1.2rem; border-radius: 16px; border: 1px solid rgba(140,158,142,0.2); background: rgba(255,255,255,0.7); cursor: pointer; }

/* Fleur de respiration */
.breathing-container { min-height: 450px; }
#breathing-instruction { font-size: 1.2rem; transition: opacity 1s ease; color: var(--text-light); margin-bottom: 2rem;}
.flower-container { position: relative; width: 150px; height: 150px; margin: 3rem auto; display: flex; justify-content: center; align-items: center; }
.flower { position: relative; width: 50px; height: 50px; animation: breathe 10s infinite ease-in-out; }
.petal { position: absolute; width: 50px; height: 50px; background: var(--primary-color); border-radius: 50% 50% 0 50%; opacity: 0.6; transform-origin: bottom right; mix-blend-mode: multiply; transition: background 1.5s ease;}
[data-theme="yin"] .petal { background: var(--primary-color); }
.p1 { transform: rotate(0deg) translate(-50%, -50%); }
.p2 { transform: rotate(60deg) translate(-50%, -50%); }
.p3 { transform: rotate(120deg) translate(-50%, -50%); }
.p4 { transform: rotate(180deg) translate(-50%, -50%); }
.p5 { transform: rotate(240deg) translate(-50%, -50%); }
.p6 { transform: rotate(300deg) translate(-50%, -50%); }
.center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: #fff; border-radius: 50%; z-index: 10; box-shadow: 0 0 20px rgba(255,255,255,0.8); }
@keyframes breathe { 0%, 100% { transform: scale(0.8) rotate(0deg); } 50% { transform: scale(2) rotate(90deg); } }

/* Dashboard & Cards */
.card { background: rgba(255, 255, 255, 0.7); border-radius: 20px; padding: 2rem; margin-top: 1.5rem; }
.date-display { font-family: var(--font-sans); color: var(--text-light); font-size: 1.1rem; margin-bottom: 1rem; }
.slider-group { margin-bottom: 2rem; text-align: left; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.slider-header label { margin-bottom: 0; font-weight: 500; font-family: var(--font-sans); color: var(--text-main); }
.slider-value { background: var(--accent-color); color: white; padding: 2px 10px; border-radius: 12px; font-size: 0.9rem; font-weight: bold; min-width: 25px; text-align: center; }

.slider-controls { display: flex; align-items: center; gap: 0.8rem; }
.slider-icon { font-size: 1.2rem; color: var(--text-light); font-weight: bold; width: 20px; text-align: center; }
.slider-icon.plus { color: var(--accent-color); }

input[type=range].quiz-range { 
    -webkit-appearance: none; 
    width: 100%; 
    height: 8px; 
    border-radius: 10px; 
    background: rgba(140, 158, 142, 0.2); 
    outline: none;
    transition: all 0.3s ease;
}

input[type=range].quiz-range::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    height: 24px; 
    width: 24px; 
    border-radius: 50%; 
    background: white; 
    border: 3px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer; 
    transition: transform 0.2s ease;
}

input[type=range].quiz-range::-webkit-slider-thumb:active {
    transform: scale(1.2);
}
.quote-box { font-family: var(--font-serif); font-size: 1.3rem; font-style: italic; color: var(--accent-color); padding: 1.5rem; border-left: 4px solid var(--accent-color); background: rgba(255,255,255,0.5); border-radius: 0 16px 16px 0; }
.action-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.action-btn { background: rgba(255,255,255,0.8); backdrop-filter: blur(5px); border: 1px solid rgba(140, 158, 142, 0.2); padding: 1rem; border-radius: 16px; font-size: 1.1rem; color: var(--text-main); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.3s ease; width: 100%; text-decoration: none; }
.action-btn:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }

.lang-btn { font-size: 1.3rem; padding: 1.5rem; border-radius: 20px; }

/* Coaching Section douce */
.coaching-wrapper { width: 100%; margin-top: 1rem; }
.action-btn-small { background: rgba(255,255,255,0.4); border: 1px solid rgba(140, 158, 142, 0.2); padding: 0.6rem 1rem; border-radius: 30px; font-size: 0.9rem; color: var(--text-main); cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; }
.action-btn-small:hover { background: rgba(255,255,255,0.8); }

#coaching-panel { overflow: hidden; transition: max-height 0.5s ease-out, opacity 0.5s ease; }
.coaching-panel-hidden { max-height: 0; opacity: 0; pointer-events: none; }
.coaching-panel-visible { max-height: 500px; opacity: 1; pointer-events: auto; }

.coaching-card { background: rgba(255,255,255,0.6); backdrop-filter: blur(5px); border: 1px solid rgba(140, 158, 142, 0.2); border-radius: 16px; padding: 1rem; text-align: left; }
.coaching-header { display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); font-size: 1.1rem; margin-bottom: 0.8rem; font-family: var(--font-serif); font-weight: 600; }
.coaching-options { display: flex; flex-direction: column; gap: 0.5rem; max-height: 350px; overflow-y: auto; padding-right: 5px; }
.coaching-option { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.8); padding: 0.8rem 1rem; border-radius: 12px; text-decoration: none; color: var(--text-main); transition: all 0.3s ease; font-family: var(--font-sans); flex-shrink: 0; }
.coaching-option:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }
.coaching-option-featured { padding: 1.2rem; font-weight: 700; border: 1.5px solid var(--accent-color); background: rgba(255,255,255,1); }
.coaching-title { font-size: 0.95rem; }
.coaching-price { font-size: 0.9rem; opacity: 0.8; font-style: italic;}

/* Jardin de Notes */
.jardin-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.note-card { background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); border: 1px solid rgba(140, 158, 142, 0.2); border-radius: 20px; padding: 1.5rem; position: relative; animation: fadeIn 0.5s ease-out; box-shadow: var(--soft-shadow); }
.note-date { font-family: var(--font-serif); font-style: italic; color: var(--accent-color); font-size: 0.9rem; margin-bottom: 0.8rem; display: block; border-bottom: 1px solid rgba(140, 158, 142, 0.1); padding-bottom: 0.5rem; }
.note-content { font-family: var(--font-sans); color: var(--text-main); line-height: 1.6; white-space: pre-wrap; font-size: 1rem; }
.note-delete { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #cc8888; cursor: pointer; padding: 5px; opacity: 0.5; transition: opacity 0.3s; }
.note-delete:hover { opacity: 1; }
.note-actions { display: flex; gap: 0.8rem; margin-top: 1rem; border-top: 1px solid rgba(140, 158, 142, 0.1); padding-top: 0.8rem; justify-content: flex-end; }
.note-btn { background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(140, 158, 142, 0.2); padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.85rem; color: var(--text-main); cursor: pointer; transition: all 0.3s ease; }
.edit-btn:hover { background: var(--primary-color); color: white; }
.delete-btn { color: #e07a5f; }
.delete-btn:hover { background: #e07a5f; color: white; }
.empty-jardin { text-align: center; padding: 3rem; color: var(--text-light); font-style: italic; }

/* --- Journaling --- */
.journal-container { position: relative; overflow: hidden; transition: background 0.5s ease; }
.journal-decor-selector { margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; }
.icon { font-size: 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--accent-color); }
.icon svg { stroke: var(--accent-color); }
.lang-ar .icon { margin-right: 0; margin-left: 1rem; }
.small-select { padding: 0.5rem; font-size: 0.9rem; width: auto; flex: 1; margin-left: 1rem; }
#journal-entry { width: 100%; height: 200px; padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(140, 158, 142, 0.3); background: rgba(255,255,255,0.6); font-family: var(--font-serif); font-size: 1.2rem; color: var(--text-main); resize: none; margin-bottom: 1.5rem; outline: none; transition: all 0.5s ease; }
#journal-entry:focus { background: rgba(255,255,255,0.9); box-shadow: 0 0 0 3px rgba(140, 158, 142, 0.1); }
#journal-entry.burning { animation: burnEffect 2s forwards; }
.journal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.danger-btn { color: #e07a5f; border-color: rgba(224, 122, 95, 0.3); }
.danger-btn:hover { background: #e07a5f; color: white; }
.success-btn { color: #81b29a; border-color: rgba(129, 178, 154, 0.3); }
.success-btn:hover { background: #81b29a; color: white; }

@keyframes burnEffect {
    0% { transform: scale(1); filter: sepia(0) hue-rotate(0deg); opacity: 1; }
    50% { transform: scale(0.95); filter: sepia(1) hue-rotate(-50deg) saturate(3); opacity: 0.8; background: #ffe6cc; color: transparent; text-shadow: 0 0 5px #e07a5f;}
    100% { transform: scale(0.9) translateY(-20px); filter: blur(5px); opacity: 0; }
}

/* --- Landing Page Premium --- */
#view-landing {
    background: transparent;
    overflow-y: auto;
    height: 100vh;
    position: relative;
}

#view-landing::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    opacity: 0.8;
}

.landing-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    padding: 2rem;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.2);
}

.landing-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.landing-hero-phrase.large {
    font-size: 2.8rem;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.landing-subtitle.small {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.landing-mockup-container {
    position: relative;
    z-index: 1;
    width: 35%;
    display: flex;
    justify-content: center;
    animation: floatPhone 6s infinite ease-in-out;
}

.landing-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.landing-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-primary-large {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: #6a8c7a;
}

.landing-install-hint {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.5);
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: white;
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(25px); opacity: 0; }
}

.landing-sections {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.landing-card-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 colonnes pour l'harmonie */
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

@media (max-width: 600px) {
    .landing-card-section {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur mobile pour la lisibilité */
    }
}

.feature-icon.green {
    color: var(--accent-color);
}

.feature-card.compact {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(140, 158, 142, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover { transform: translateY(-10px); }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.philosophy-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid rgba(140, 158, 142, 0.1);
}

.philosophy-section h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.philosophy-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-main);
    font-style: italic;
}

/* RTL Adjustment for Landing */
.lang-ar .landing-hero { text-align: right; direction: rtl; }
.lang-ar .philosophy-section { direction: rtl; }
.lang-ar .feature-card { direction: rtl; }
/* --- Landing Page Floral Extensions --- */
.landing-breathe-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    margin: 4rem 0;
    border-radius: 50px;
}

.flower-container, .flower-preview {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flower {
    position: relative;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.petal {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50% 50% 0 50%;
    opacity: 0.8;
    transform-origin: bottom right;
    transition: all 0.5s ease;
}

.p1 { transform: rotate(0deg) translate(-50%, -50%); }
.p2 { transform: rotate(60deg) translate(-50%, -50%); }
.p3 { transform: rotate(120deg) translate(-50%, -50%); }
.p4 { transform: rotate(180deg) translate(-50%, -50%); }
.p5 { transform: rotate(240deg) translate(-50%, -50%); }
.p6 { transform: rotate(300deg) translate(-50%, -50%); }

.center {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    z-index: 5;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

@keyframes breathe {
    0%, 100% { transform: scale(0.8); }
    50% { transform: scale(1.4); }
}

.landing-flower {
    animation: breathe 10s infinite ease-in-out;
}

.breathe-text h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.landing-reading-preview {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.reading-preview-card {
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f1e8 100%);
    padding: 3rem;
    border-radius: 40px;
    max-width: 700px;
    text-align: center;
    border: 1px solid rgba(140, 158, 142, 0.2);
}

.preview-tag {
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reading-preview-card h2 {
    margin-top: 1.5rem;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-color);
}

.reading-preview-card p {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.8;
}

.landing-quotes {
    padding: 4rem 2rem;
    text-align: center;
}

.quote-item p {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent-color);
    font-style: italic;
}

.quote-item span {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .landing-breathe-section { flex-direction: column; text-align: center; gap: 4rem; }
    .landing-title { font-size: 3.5rem; }
}

#fire-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.9); z-index: 20; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
#fire-animation.active { opacity: 1; pointer-events: all; }
#fire-animation p { font-family: var(--font-serif); font-size: 1.2rem; color: #e07a5f; margin-top: 1rem; }
.flames { font-size: 4rem; animation: flicker 1s infinite alternate; }
.flames::before { content: "🔥"; }
@keyframes flicker { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.2); opacity: 1; } }

#seed-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.9); z-index: 20; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
#seed-animation.active { opacity: 1; pointer-events: all; }
#seed-animation p { font-family: var(--font-serif); font-size: 1.2rem; color: var(--accent-color); margin-top: 1rem; }
.seed-icon { font-size: 4rem; animation: grow 2s infinite alternate; }
@keyframes grow { 0% { transform: scale(0.8); } 100% { transform: scale(1.1); } }

/* Décors de fond du journal */
.bg-minimal { background: rgba(255, 255, 255, 0.5); }
.bg-watercolor-yin { background: linear-gradient(135deg, rgba(166, 192, 230, 0.4), rgba(255,255,255,0.7)); }
.bg-watercolor-yang { background: linear-gradient(135deg, rgba(230, 185, 166, 0.4), rgba(255,255,255,0.7)); }
.bg-nature-leaves { background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path d="M50 0 C70 30 90 50 50 100 C10 50 30 30 50 0" fill="%234a5d4e"/></svg>') repeat; background-color: rgba(255, 255, 255, 0.8); }

/* --- Lecture --- */
.reading-header { margin-bottom: 2rem; border-bottom: 1px solid rgba(140, 158, 142, 0.2); padding-bottom: 1rem; }
.badge { display: inline-block; background: var(--accent-color); color: white; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.reading-body { text-align: left; line-height: 1.8; color: var(--text-main); font-size: 1.1rem; }
.reading-body p { margin-bottom: 1rem; }
.premium-block { background: linear-gradient(135deg, #f4eee0 0%, #e6b9a6 100%); padding: 1.5rem; border-radius: 16px; text-align: center; color: #4a5d4e; margin-top: 2rem; border: 2px dashed rgba(255,255,255,0.5); }
.premium-title { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 1rem; }
.btn-premium { background: white; color: var(--text-main); border: none; padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: transform 0.2s; }
.btn-premium:hover { transform: scale(1.05); }
