/* Custom CSS for Pomodoro Timer Landing Page */

/* Tomato Animation */
.tomato-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tomato-container {
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.tomato {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.tomato::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 25px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50% 50% 0 0;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.tomato::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: linear-gradient(135deg, #8BC34A, #689F38);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

.tomato-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: shadow-pulse 3s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(255, 107, 107, 0.4);
    }
}

@keyframes shadow-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Timer Styles */
.timer-display {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.timer-mode {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.timer-mode-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timer-mode-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.timer-mode-btn.active {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* Progress Ring */
.progress-ring {
    position: relative;
    display: inline-block;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: #ef4444;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 502.4;
    stroke-dashoffset: 502.4;
    transition: stroke-dashoffset 0.3s ease;
}

/* Step Cards */
.step-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

/* Download Cards */
.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ef4444;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timer-mode {
        flex-direction: column;
        align-items: center;
    }
    
    .timer-mode-btn {
        width: 200px;
    }
    
    .step-card,
    .benefit-card,
    .download-card {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    animation: spin 1s linear infinite;
}

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

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ef4444;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    margin-right: 1rem;
}

.testimonial-avatar img {
    border: 3px solid #fef2f2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.testimonial-info h4 {
    margin: 0;
    color: #374151;
}

.testimonial-info p {
    margin: 0;
    color: #6b7280;
}

.testimonial-text {
    color: #6b7280;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: #ef4444;
    font-family: serif;
    line-height: 1;
}

/* Testimonial Animation */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Modern Todo List Styles */
.modern-todo-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    height: 650px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    backdrop-filter: blur(16px);
}

/* Modern Todo Header */
.todo-header-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.todo-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.header-content {
    flex: 1;
}

.todo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.todo-subtitle {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 400;
}

.header-stats {
    display: flex;
    gap: 1.5rem;
}

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

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Section */
.todo-input-section {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: rgba(248, 250, 252, 0.5);
}

.input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.task-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
    outline: none;
}

.task-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.task-input::placeholder {
    color: #94a3b8;
}

.input-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.priority-select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.priority-select:focus {
    outline: none;
    border-color: #667eea;
}

.add-task-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-task-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Filters */
.todo-filters {
    display: flex;
    padding: 0 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    background: white;
}

.filter-btn {
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.filter-btn:hover {
    color: #667eea;
}

.filter-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* Todo List Container */
.todo-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modern-todo-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Modern Task Item */
.modern-task-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(0);
}

.modern-task-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.modern-task-item.completed {
    background: #f8fafc;
    border-color: #22c55e;
    opacity: 0.75;
}

.modern-task-item.completed .task-content {
    text-decoration: line-through;
    color: #64748b;
}

/* Task Components */
.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-checkbox:hover {
    border-color: #667eea;
}

.task-checkbox.checked {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.task-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.task-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.task-priority {
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.task-priority.high {
    background: #fef2f2;
    color: #dc2626;
}

.task-priority.medium {
    background: #fefbf2;
    color: #d97706;
}

.task-priority.low {
    background: #f0fdf4;
    color: #16a34a;
}

/* Task Actions */
.task-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modern-task-item:hover .task-actions {
    opacity: 1;
}

.task-action-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.task-action-btn.edit {
    background: #dbeafe;
    color: #3b82f6;
}

.task-action-btn.edit:hover {
    background: #3b82f6;
    color: white;
}

.task-action-btn.delete {
    background: #fef2f2;
    color: #ef4444;
}

.task-action-btn.delete:hover {
    background: #ef4444;
    color: white;
}

.task-action-btn.start {
    background: #f0fdf4;
    color: #22c55e;
    width: auto;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.task-action-btn.start:hover {
    background: #22c55e;
    color: white;
}

/* Bottom Actions Bar */
.todo-actions-bar {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.action-btn.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.action-btn.secondary {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.action-btn.secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Empty State */
.todo-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: #64748b;
}

.empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-description {
    font-size: 0.875rem;
    color: #64748b;
    max-width: 300px;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modern-task-item {
    animation: slideInUp 0.3s ease-out;
}

.modern-task-item.removing {
    animation: slideInUp 0.3s ease-out reverse;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-todo-container {
        height: auto;
        min-height: 500px;
    }
    
    .todo-header-modern {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .input-actions {
        justify-content: stretch;
        width: 100%;
    }
    
    .priority-select {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .modern-todo-container {
        margin-top: 1rem;
        border-radius: 16px;
        height: auto;
        min-height: 400px;
    }
    
    .todo-input-section,
    .todo-actions-bar {
        padding: 1rem;
    }
    
    .todo-filters {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
        min-width: 80px;
    }
    
    .modern-task-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .task-checkbox {
        align-self: flex-start;
    }
    
    .task-actions {
        opacity: 1;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .todo-actions-bar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-btn {
        justify-content: center;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    min-width: 30px;
    text-align: right;
}

.checklist-preview {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    flex: 1;
    overflow: hidden;
}

.checklist-preview-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.checklist-preview-item:last-child {
    margin-bottom: 0;
}

.checklist-preview-more {
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
    margin-top: 0.25rem;
}

.todo-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.todo-buttons {
    display: flex;
    gap: 0.75rem;
}

.todo-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.todo-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.todo-btn.edit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.todo-btn.edit:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.todo-btn.delete {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.todo-btn.delete:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.todo-btn.start {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    width: auto;
    height: auto;
}

.todo-btn.start:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
}

.todo-input-container {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.todo-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.todo-input:focus {
    outline: none;
    border-color: #ef4444;
    background: white;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.add-todo-btn {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.add-todo-btn:hover {
    transform: scale(1.05) rotate(90deg);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.4);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
}

.modal-title.editing {
    color: #fbbf24;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: #ef4444;
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.tab-btn:hover:not(.active) {
    background: #f1f5f9;
    color: #374151;
}

.modal-content {
    padding: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #ef4444;
    background: white;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.cancel-btn {
    background: #f1f5f9;
    color: #6b7280;
}

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

.save-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
}

.save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Checklist Styles */
.checklist-items {
    margin-bottom: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checklist-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

.checklist-input:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.remove-item-btn {
    background: #ef4444;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.remove-item-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.add-checklist-btn {
    background: #f1f5f9;
    color: #6b7280;
    border: 1px dashed #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.add-checklist-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    color: #374151;
}

/* Open Modal Button */
.open-modal-btn {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
}

.open-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

/* Reset Todos Button */
.reset-todos-btn {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    box-shadow: 0 2px 6px rgba(107, 114, 128, 0.25);
}

.reset-todos-btn:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.35);
}

.todo-add {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    max-height: none;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3f2 0%, #fef7f6 100%);
    border-radius: 16px;
    border: 1px solid #fee2e2;
}

.steps-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(transparent, #fafafa);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.steps-grid.has-scroll::after {
    opacity: 1;
}

/* Step Items */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #fee2e2;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 120px;
    opacity: 1;
}

/* Step items styling complete */
/* Clean styling without animation delays */

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #ef4444, #f97316);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover {
    transform: translateX(5px) translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #ef4444;
}

.step-item:hover::before {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    position: relative;
    z-index: 1;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.step-content p {
    color: #6b7280;
    line-height: 1.4;
    font-size: 0.875rem;
    margin: 0;
}

/* Custom scrollbar for steps grid */
.steps-grid::-webkit-scrollbar {
    width: 8px;
}

.steps-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.steps-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.steps-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #dc2626, #ea580c);
}

/* Responsive adjustments for steps grid */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .step-item {
        min-height: 100px;
        padding: 1rem;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .step-content h3 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.825rem;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive grid styles */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-height: auto;
        padding: 0.75rem;
    }
    
    .step-item {
        min-height: 140px;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-height: auto;
        padding: 0.5rem;
    }
    
    .step-item {
        padding: 1rem;
        gap: 0.75rem;
        min-height: 120px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Empty state */
.todo-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
    margin: 1rem 0;
}

.todo-empty i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.todo-empty p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #64748b;
}

/* Scrollbar for todo items */
.todo-items::-webkit-scrollbar {
    width: 6px;
}

.todo-items::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.todo-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.todo-items::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Navigation Styles */
.burger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-button.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-button.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-button.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    min-width: 120px;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-nav.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-link:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
    color: #fecaca;
}

.mobile-nav-link i {
    font-size: 1.5rem;
}

/* Desktop Navigation Enhancements */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ef4444;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Section padding adjustment for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .burger-button:hover {
        transform: scale(1.1);
    }
    
    .mobile-nav-link {
        min-width: 140px;
        padding: 1.25rem;
    }
    
    /* Hide desktop nav completely on mobile */
    .nav-link {
        display: none;
    }
    
    /* Adjust header height for mobile */
    header {
        padding: 0.75rem 0;
    }
    
    section[id] {
        scroll-margin-top: 70px;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* FAQ Section Styles */
.faq-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #ef4444;
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    transform-origin: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ef4444;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    padding-right: 2rem;
}

.faq-item.active {
    background: rgba(239, 68, 68, 0.02);
    border-radius: 12px;
    padding: 0 1rem;
    margin: 0.5rem 0;
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.faq-item.active .faq-question {
    color: #ef4444;
}

/* FAQ Animation Effects */
.faq-item:hover {
    background: rgba(239, 68, 68, 0.01);
    border-radius: 8px;
    padding: 0 0.5rem;
    margin: 0.25rem 0;
}

/* Mobile FAQ Optimizations */
@media (max-width: 768px) {
    .faq-container {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        padding-right: 1rem;
    }
    
    .faq-item.active {
        padding: 0 0.75rem;
    }
}

/* Windows Download Section */
.windows-download-btn {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.windows-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.windows-download-btn:hover {
    background: linear-gradient(135deg, #106ebe, #005a9e);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 120, 212, 0.4);
}

.windows-download-btn:hover::before {
    left: 100%;
}

.download-size {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

/* App mockup animations */
.relative:hover .absolute {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ef4444, #f97316);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #dc2626, #ea580c);
}

/* Todo card improvements for consistent height */
.todo-item .todo-text i {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.todo-item .todo-text .todo-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Ensure consistent card heights */
@media (min-width: 768px) {
    .todo-item {
        min-height: 160px;
    }
}

@media (max-width: 767px) {
    .todo-item {
        min-height: 130px;
    }
    
    .todo-text {
        font-size: 0.95rem;
    }
    
    .todo-description {
        font-size: 0.8rem;
    }
    
    .checklist-preview-item {
        font-size: 0.8rem;
    }
} 