:root {
    --text-main: #2C3E2D;
    --text-muted: #5C705D;
    --accent-color: #8A9A8B;
    --golden-ratio: 1.618;
    --font-base: 16px;
    --font-h1: calc(var(--font-base) * var(--golden-ratio) * var(--golden-ratio));
    --font-h2: calc(var(--font-base) * var(--golden-ratio));
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

/* Renk Terapisi Sınıfları */
body { transition: background-color 1.5s ease; color: var(--text-main); display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; }
.mood-notr { background-color: #F7F9F6; }
.mood-panik { background-color: #EAF2F8; }
.mood-tukenmis { background-color: #FFF2E6; }
.mood-ofkeli { background-color: #F8EAEA; }
.mood-kararsiz { background-color: #F0F4EC; }

.container { width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: calc(20px * var(--golden-ratio)); }
.title { font-size: var(--font-h1); font-weight: 300; letter-spacing: -1px; }
.subtitle { font-size: var(--font-base); color: var(--text-muted); line-height: var(--golden-ratio); }

.input-wrapper { position: relative; width: 100%; }
textarea { width: 100%; padding: 15px; padding-bottom: 45px; border: 1px solid #D1D8D1; border-radius: 12px; font-size: var(--font-base); resize: none; outline: none; transition: 0.3s; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
textarea:focus { border-color: var(--accent-color); box-shadow: 0 0 8px rgba(138,154,139,0.2); }

.icon-btn { position: absolute; bottom: 12px; right: 12px; background: white; border: none; color: var(--accent-color); font-size: 22px; cursor: pointer; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);}
.icon-btn:hover { background: #E8ECE8; }
.icon-btn.recording { color: #d9534f; animation: pulseRecord 1.5s infinite; }
@keyframes pulseRecord { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.3); } 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(217, 83, 79, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); } }

.primary-btn { width: 100%; padding: 16px; border-radius: 12px; font-size: var(--font-base); font-weight: 600; cursor: pointer; transition: 0.2s; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; background-color: var(--accent-color); color: white; margin-top: 15px; }
.primary-btn:active { transform: scale(0.98); }

/* =========================================
   FARKLI AÇI (PARADOKS) BUTONU - MERKEZLENMİŞ PREMİUM TASARIM
========================================= */
#paradoxBtn, .paradox-btn { 
    background: linear-gradient(135deg, #5C705D 0%, #2C3E2D 100%) !important; 
    color: #F7F9F6 !important; 
    border: none !important;
    padding: 14px 28px !important; 
    border-radius: 30px !important; 
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important; 
    cursor: pointer !important;
    /* Centering Fix: inline-flex yerine flex ve margin-auto kombinasyonu */
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
    margin: 20px auto !important; 
    gap: 10px !important; 
    box-shadow: 0 8px 25px rgba(44, 62, 45, 0.3) !important; 
    transition: all 0.3s ease !important;
    width: 100% !important; 
    max-width: 320px !important; 
    text-decoration: none !important;
}

#paradoxBtn:hover, .paradox-btn:hover {
    transform: translateY(-3px) !important; 
    box-shadow: 0 12px 30px rgba(44, 62, 45, 0.45) !important; 
    background: linear-gradient(135deg, #4A5D4F 0%, #1E2B1F 100%) !important; 
}

#paradoxBtn i, .paradox-btn i {
    font-size: 22px !important;
    color: #F2F0E6 !important; 
    animation: ideaPulse 2s infinite alternate ease-in-out !important; 
}

@keyframes ideaPulse {
    0% { opacity: 0.8; transform: scale(1); filter: drop-shadow(0 0 2px rgba(242,240,230,0.3)); }
    100% { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 12px rgba(242,240,230,0.8)); }
}

/* =========================================
   MODERN AKSİYON BUTONLARI (FIT VE ESTETİK)
========================================= */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    border: 1px solid rgba(138, 154, 139, 0.3);
    border-radius: 16px; 
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    padding: 0 20px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 154, 139, 0.15);
}

.secondary-btn i {
    font-size: 20px;
    color: var(--accent-color);
}

.secondary-btn.icon-only {
    padding: 0;
    width: 48px;
    height: 48px;
    flex-shrink: 0; 
}

.secondary-btn.share-btn {
    flex-grow: 1; 
    height: 48px;
}

/* Görevler, Timer ve Diğer Bileşenler */
.task-item { background: rgba(255,255,255,0.8); padding: 15px; border-radius: 12px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: 0.5s; backdrop-filter: blur(10px);}
.task-item.completed { opacity: 0.5; text-decoration: line-through; }
input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--accent-color); cursor: pointer; flex-shrink: 0; margin-top: 2px;}
.start-timer-btn { background: none; border: none; color: var(--accent-color); font-size: 20px; cursor: pointer; margin-left: auto; padding-top: 2px; transition: transform 0.2s;}
.start-timer-btn:hover { transform: scale(1.1); }

.timer-box { text-align: center; margin-top: 20px; padding: 20px; background: rgba(255,255,255,0.5); border-radius: 12px; border: 1px dashed var(--accent-color); animation: fadeIn 0.5s;}
.timer-display { font-size: 40px; font-weight: 300; color: var(--text-main); font-variant-numeric: tabular-nums; letter-spacing: 2px;}
.timer-text { font-size: 14px; color: var(--text-muted); margin-top: 5px;}

.hidden { display: none !important; }
.success-text { text-align: center; color: var(--accent-color); font-weight: 600; margin-top: 20px; animation: fadeIn 1s ease-in-out; }
.result-title { font-size: var(--font-h2); font-weight: 400; margin-bottom: 15px;}

#loadingState { text-align: center; padding: 40px 0; }
.breathing-circle { width: 100px; height: 100px; border-radius: 50%; background-color: var(--accent-color); margin: 0 auto 30px auto; opacity: 0.2; animation: breathe 6s infinite ease-in-out; }
.breathing-text { font-size: var(--font-h2); color: var(--text-muted); font-weight: 300; transition: opacity 0.5s; }
@keyframes breathe { 0% { transform: scale(0.5); opacity: 0.2; } 50% { transform: scale(1.5); opacity: 0.6; } 100% { transform: scale(0.5); opacity: 0.2; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   YENİ NESİL ESTETİK PAYLAŞIM KARTI TASARIMI
========================================= */
#shareCard {
    width: 1080px;
    height: 1350px;
    background: linear-gradient(135deg, #8A9A8B 0%, #F2F0E6 100%);
    padding: 60px 50px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 12px solid #F2F0E6;
    position: fixed;
    top: -9999px;
    left: -9999px;
    z-index: -1;
    box-sizing: border-box;
}

.share-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 95%; 
}

#sharePrinciple {
    font-family: 'Playfair Display', sans-serif;
    font-weight: 600; /* Kalınlığı biraz kıstık, daha kibar duracak */
    font-size: 32px; /* Boyutunu küçülttük */
    color: #2C3E2D; /* Koyu yeşil tonumuz */
    line-height: 1.2;
    margin-bottom: 25px; /* Felsefe yazısıyla arasına biraz nefes payı bıraktık */
    text-transform: uppercase; /* Tüm harfler büyük */
    letter-spacing: 1px; /* Harflerin arasını çok hafif açtık */
}

#sharePhilosophy {
    font-family: 'Caveat', cursive;
    font-size: 55px; 
    font-weight: 700; 
    color: #4A5D4F;
    line-height: 1.25; 
    margin-bottom: 20px; 
    position: relative;
    max-width: 96%;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 10; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.share-brand-logo {
    width: 110px; 
    height: auto;
    margin-bottom: 8px;
    opacity: 0.9;
    content: url('dengebul_logo.png');
}

.share-website-url {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #5C705D;
    margin-top: 15px;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 500;
}

.brand-logo {
    width: 120px; 
    max-width: 100%; 
    height: auto;
    margin: 0 auto 20px auto;
    display: block;
    animation: fadeIn 1.5s ease;
}

@media (max-width: 600px) {
    .brand-logo {
        width: 100px; 
        margin-bottom: 10px; 
    }
}

/* =========================================
   GERİ GETİRİLEN EKSİK PARÇALAR (ALT KISIM)
========================================= */

/* 1. EMDR Göz Takip (Bilateral) Animasyonu - GERİ GELDİ */
.emdr-track {
    width: 200px; height: 8px; margin: 0 auto 30px auto; 
    position: relative; border-radius: 10px; 
    background: rgba(0,0,0,0.05); overflow: hidden;
}
.emdr-dot {
    width: 14px; height: 14px; background: var(--accent-color); 
    border-radius: 50%; position: absolute; top: -3px; left: 0; 
    animation: emdrMove 2.5s infinite alternate ease-in-out;
    box-shadow: 0 0 10px var(--accent-color);
}
@keyframes emdrMove {
    0% { left: 0; }
    100% { left: calc(100% - 14px); }
}

/* 2. Gelecekteki Senden Gelen Not (El Yazısı) - GERİ GELDİ */
.future-note-box {
    margin-top: 30px; padding: 20px; text-align: center;
    border-top: 1px dashed rgba(138,154,139,0.3);
    animation: fadeIn 1.5s ease-in-out;
}
.future-note-text {
    font-family: 'Caveat', cursive; /* El yazısı fontu */
    font-size: 26px; color: var(--text-main); line-height: 1.3; 
    transform: rotate(-2deg); /* Hafif eğiklik */
}
.future-note-signature {
    font-family: 'Inter', sans-serif; font-size: 11px; 
    color: var(--text-muted); margin-top: 15px; 
    text-transform: uppercase; letter-spacing: 3px;
}

/* 3. Gizlilik Sözü (Ortalanmış ve Düzenli) - GERİ GELDİ */
.privacy-note {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Tekrar ortaladık */
    gap: 6px;
    opacity: 0.8;
}
.privacy-note i {
    font-size: 18px;
    color: var(--accent-color);
}

/* Çözüm Üret Butonu Altı Bekleme Notu */
.button-info-note {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.4;
    animation: fadeIn 2s ease-in-out;
}

/* =========================================
   YENİ EKLENTİLER: YÜKÜNÜ BIRAK VE SADECE NEFES
========================================= */

/* Sadece Nefes Linki Estetiği */
.just-breathe-link {
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(92, 112, 93, 0.3);
    text-underline-offset: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.just-breathe-link:hover {
    color: var(--text-main);
    text-decoration-color: var(--text-main);
}

/* Yükünü Bırak Butonu Estetiği */
.release-btn {
    background-color: rgba(248, 234, 234, 0.5) !important; /* Rahatlatıcı soft bir ton */
    border-color: rgba(217, 83, 79, 0.2) !important;
    color: #5C705D !important;
}
.release-btn:hover {
    background-color: rgba(248, 234, 234, 0.9) !important;
    transform: translateY(-2px);
}
.release-btn i {
    color: #d9534f !important; /* Rüzgar ikonu için zarif kiremit/kırmızı */
}

/* Katarsis (Yok Olma/Uçup Gitme) Animasyonu */
.dissolve-animation {
    animation: dissolveAndFly 2s forwards ease-in-out;
    pointer-events: none;
}
@keyframes dissolveAndFly {
    0% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    50% { opacity: 0.5; transform: translateY(-10px) scale(0.98); filter: blur(3px); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.95); filter: blur(10px); display: none; }
}
/* Dil Değiştirme Butonu */
.lang-toggle-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1.5px solid var(--accent-color);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 100;
}
.lang-toggle-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 154, 139, 0.2);
}
/* =========================================
   ÜST KÖŞE BUTONLARI (KUSURSUZ SİMETRİ - WEB VE MOBİL)
========================================= */
.lang-toggle-btn, .nav-ig-btn {
    position: absolute !important;
    top: 25px !important;
    height: 34px !important;      /* İkisinin de boyu tam eşit */
    min-width: 48px !important;   /* İkisinin de eni tam eşit */
    padding: 0 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(5px) !important;
    border: 1.5px solid var(--accent-color) !important;
    color: var(--text-main) !important;
    border-radius: 20px !important; /* Her cihazda şık kapsül görünümü */
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* Sol taraftaki Instagram Butonu (Ayna Karşıtlığı) */
.nav-ig-btn {
    left: 25px !important;
}

/* Sağ taraftaki Dil Butonu (Ayna Karşıtlığı) */
.lang-toggle-btn {
    right: 25px !important;
}

/* Üzerine gelinceki parlama efekti (İkisi için de ortak) */
.lang-toggle-btn:hover, .nav-ig-btn:hover {
    background: var(--accent-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(138, 154, 139, 0.2) !important;
}

/* İkonun tam ortalanması ve boyutu */
.nav-ig-btn i {
    font-size: 18px !important;
    text-decoration: none !important;
    margin-top: 1px !important; /* İkonu metinle optik olarak hizalar */
}