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

:root {
    --primary: #7C9A92;
    --primary-light: #A8C5BE;
    --accent: #E8D5B7;
    --warm: #D4A574;
    --text: #4A5568;
    --text-light: #718096;
    --bg: #FAFAF8;
    --card: #FFFFFF;
    --shadow: rgba(124, 154, 146, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 30px 0;
}

header h1 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 300;
    letter-spacing: 2px;
}

header p {
    color: var(--text-light);
    margin-top: 8px;
    font-size: 0.95rem;
}

.greeting {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border-radius: 20px;
    margin-bottom: 25px;
}

.greeting h2 {
    font-weight: 400;
    font-size: 1.3rem;
}

.time-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.time-btn {
    padding: 12px 8px;
    border: none;
    background: var(--card);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.time-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.time-btn.active {
    background: var(--primary);
    color: white;
}

.time-btn .icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.time-btn .label {
    font-size: 0.75rem;
    font-weight: 500;
}

.card {
    background: var(--card);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--shadow);
}

.card h3 {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.mood-scale {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
}

.mood-btn {
    flex: 1;
    padding: 15px 10px;
    border: 2px solid var(--primary-light);
    background: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.mood-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.mood-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
}

.message-box {
    background: linear-gradient(135deg, var(--accent), #F5E6D3);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 15px 0;
}

.message-box p {
    font-style: italic;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
}

.input-group {
    margin: 15px 0;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
    transition: border-color 0.3s ease;
}

.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.exercise-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    border-left: 4px solid var(--primary);
}

.exercise-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.exercise-box p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.progress-ring {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-light);
    transition: all 0.3s ease;
}

.progress-dot.completed {
    background: var(--primary);
    transform: scale(1.2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: var(--bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.stat-card .number {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 300;
}

.stat-card .label {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
}

.breathing-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: breathe 8s ease-in-out infinite;
}

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

.hidden {
    display: none !important;
}

.section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.checklist {
    list-style: none;
}

.checklist li {
    padding: 12px 0;
    border-bottom: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checklist li:last-child {
    border-bottom: none;
}

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

.streak-badge {
    display: inline-block;
    background: var(--warm);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
    font-size: 0.85rem;
}
