* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

:root {
    --font: 'Vazirmatn', sans-serif;
    --blue: #3b82f6;
    --green: #10b981;
    --red: #ef4444;
    --yellow: #f59e0b;
    --purple: #8b5cf6;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --card-bg: rgba(255,255,255,0.8);
    --blur: blur(20px);
    --radius: 18px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

@font-face {
    font-family: 'Vazirmatn';
src: url('../font/vazir.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
input,
select,
textarea {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    font-family: var(--font);
    background: #f5f5f7;
    color: var(--text);
    direction: rtl;
    margin: 0;
    padding: 0;
}

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.ms-2 { margin-right: 0.5rem; }
.me-2 { margin-left: 0.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.gap-2 { gap: 0.5rem; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 0.5rem; }

.main-content {
    flex: 1;
    margin-right: 260px;
    padding: 2rem;
}

.task-list-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.quick-add-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 6px 12px;
    margin: 24px 0 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.quick-add-card:focus-within {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15), 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.quick-add {
    display: flex;
    gap: 8px;
    align-items: center;
}

.quick-add input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 4px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
    color: #1d1d1f;
}

.quick-add input::placeholder {
    color: #9ca3af;
}

.btn-add {
    background: var(--blue);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-add:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.4);
}

.btn-voice {
    font-size: 1.3rem;
    position: relative;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(59, 130, 246, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-voice:hover {
    background: rgba(59, 130, 246, 0.12);
}

.btn-voice.listening {
    color: transparent;
    background: #fee2e2;
}

.btn-voice .penumbra-ring {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.2);
    border-top-color: var(--red);
    animation: penumbra-spin 900ms linear infinite;
}

.btn-voice.listening .penumbra-ring {
    display: block;
}

.btn-voice.listening i {
    opacity: 0;
}

@keyframes penumbra-spin {
    to { transform: rotate(360deg); }
}

.btn-settings {
    font-size: 1.3rem;
    position: relative;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(107, 114, 128, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-settings:hover {
    background: rgba(107, 114, 128, 0.15);
}

.task-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 20px;
    margin-bottom: 8px;
    transition: background 0.2s;
    overflow: visible;
    cursor: default;
}

.task-card:hover {
    background: #fcfcfc;
}

.task-card.completed .task-title {
    text-decoration: line-through;
    color: #9e9e9e;
}

.task-card.removing {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    transition: 0.4s ease;
}

.card-actions {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
    z-index: 20;
}

.task-card:hover .card-actions {
    opacity: 1;
    pointer-events: auto;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: #555;
    transition: background 0.15s, color 0.15s;
}

.action-btn:hover {
    background: #f0f0f0;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn i {
    font-size: 14px;
}

.drag-handle {
    cursor: grab;
    color: #888;
}

.drag-handle:active {
    cursor: grabbing;
}

.action-btn.delete-btn {
    color: var(--red);
    background: rgba(239, 68, 68, 0.08);
}

.action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
}

.action-btn.edit-btn {
    color: var(--blue);
    background: rgba(59, 130, 246, 0.08);
}

.action-btn.edit-btn:hover {
    background: rgba(59, 130, 246, 0.15);
}

.task-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px dashed #9e9e9e;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, border-color 0.2s, background 0.2s;
    margin-top: 2px;
}

.task-checkbox.ready {
    border-color: #a5d6a7;
    background: #e8f5e9;
    opacity: 0.7;
}

.task-checkbox.checked {
    border-style: solid;
    border-color: #4CAF50;
    background: #4CAF50;
    opacity: 1;
}

.task-checkbox.checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.task-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-title {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    text-align: right;
    word-break: break-word;
}

.task-description {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 1.4em;
}

.more-link {
    font-size: 12px;
    color: var(--blue);
    cursor: pointer;
    display: none;
    margin-right: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.more-link.show {
    display: inline;
}

.more-link:hover {
    text-decoration: underline;
}

.task-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.progress-bar-bg {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #0a84ff;
    border-radius: 2px;
    transition: width 0.3s;
}

.sub-count {
    font-size: 11px;
    color: #86868b;
    white-space: nowrap;
}

.subtasks-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.subtask-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.subtask-title {
    color: #334155;
}

.subtask-item.completed .subtask-title {
    text-decoration: line-through;
    color: #94a3b8;
}

.subtask-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px dashed #cbd5e1;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.subtask-check.checked {
    border-style: solid;
    border-color: #4CAF50;
    background: #4CAF50;
}

.subtask-check.checked::after {
    content: "";
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

.star-bridge,
.folder-badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.star-bridge {
    background: #fff9c4;
    border-color: #fdd835;
    color: var(--yellow);
    gap: 2px;
}

.folder-badge {
    background: #f3f6fa;
    border: 1px solid #eef2f6;
    color: #5b6472;
    letter-spacing: 0.01em;
    text-transform: none;
}

.folder-badge[style*="background:"] {
    color: #fff;
    border-color: transparent;
}

.completed-divider {
    text-align: center;
    color: #9E9E9E;
    font-size: 14px;
    margin: 32px 0 8px;
    border-bottom: 1px solid #EAEAEA;
    line-height: 0.1em;
}

.completed-divider span {
    background: #f5f5f7;
    padding: 0 16px;
}

.filter-bar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 10px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-bar input,
.filter-bar select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--blue);
}

.btn-filter {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 7px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-filter:hover {
    background: #2563eb;
}

.btn-filter.reset {
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-filter.reset:hover {
    background: #e2e8f0;
}

.prompt-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #e3e8ee;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.prompt-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #1d1d1f;
}

.prompt-card p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 0.9rem;
}

.prompt-card .btn-new-task {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.7rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.prompt-card .btn-new-task:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    margin: 5vh auto;
    border-radius: 32px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 2rem 1.8rem;
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

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

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--red);
    color: white;
    border-color: var(--red);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-content .form-group {
    margin-bottom: 1.2rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: white;
}

.btn-modal-primary {
    background: var(--blue);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-modal-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-modal-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-modal-cancel:hover {
    background: #e2e8f0;
}

.subtask-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.subtask-input-group input {
    flex: 1;
}

.btn-add-subtask {
    background: none;
    border: 1px dashed #94a3b8;
    color: #64748b;
    border-radius: 12px;
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    justify-content: center;
    width: 100%;
}

.btn-add-subtask:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.date-popover-trigger {
    cursor: pointer;
    position: relative;
}

.date-popover {
    display: none;
    position: absolute;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 1rem;
    width: 300px;
    max-width: 90vw;
    font-family: var(--font);
}

.date-popover.active {
    display: block;
}

.shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.shortcut-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.shortcut-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.calendar-grid .day-name {
    font-size: 0.7rem;
    color: #86868b;
    padding: 0.3rem 0;
}

.calendar-grid .day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.2s;
}

.calendar-grid .day:hover {
    background: rgba(0, 0, 0, 0.05);
}

.calendar-grid .day.selected {
    background: var(--blue);
    color: #fff;
}

.calendar-grid .day.today {
    border: 1px solid var(--blue);
}

.calendar-grid .day.other-month {
    color: #ccc;
}

.time-recurrence {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.8rem;
}

.time-recurrence button {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.time-picker {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.time-picker input {
    width: 40px;
    text-align: center;
}

.auth-page {
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
}

.auth-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blue);
}

.auth-icon {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.input-group i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-group input {
    width: 100%;
    padding: 0.9rem 2.8rem 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;
    font-family: var(--font);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color var(--transition);
}

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

.btn-auth {
    width: 100%;
    padding: 0.9rem;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-auth:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.auth-link {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.navbar-public {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 200;
}

.navbar-logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.navbar-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color var(--transition);
}

.navbar-links a:hover {
    color: var(--blue);
}

.navbar-actions .btn-nav {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.btn-login:hover {
    background: var(--blue);
    color: #fff;
}

.btn-register {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-register:hover {
    background: #2563eb;
}

.btn-start {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.home-page {
    flex-direction: column;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-icon {
    font-size: 5rem;
    color: var(--green);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 0.8rem 2.5rem;
    background: var(--blue);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cta:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.task-item.adding {
    animation: fadeInUp 0.4s ease forwards;
}

.task-item.removing {
    animation: fadeOut 0.3s ease forwards;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: #94a3b8;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .main-content {
        margin-right: 0;
        padding: 1rem;
        padding-bottom: 70px;
    }
    .navbar-links {
        display: none;
    }
}