/* Modern Minimalist Design for Daily Tasks */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}

.nav-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a1a1a;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background: #ffffff;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 64px;
    font-weight: 400;
    line-height: 1.4;
}

/* Task Demo */
.task-demo {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    margin: 64px 0;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

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

.task-item.completed {
    opacity: 0.6;
}

.task-item.completed .task-text {
    text-decoration: line-through;
}

.task-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.task-item.completed .task-check {
    background: #000;
    border-color: #000;
    color: #fff;
}

.task-text {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Hero CTA */
.hero-cta {
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 18px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.btn-download:hover {
    background: #333;
    transform: translateY(-1px);
}

.download-icon {
    font-size: 1.2rem;
}

.download-note {
    color: #666;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Minimalist Icons */
.icon-plus {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-plus::before,
.icon-plus::after {
    content: '';
    position: absolute;
    background: #1a1a1a;
    border-radius: 1px;
}

.icon-plus::before {
    width: 24px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.icon-plus::after {
    width: 2px;
    height: 24px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icon-sync {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-sync::before,
.icon-sync::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    border-right-color: transparent;
}

.icon-sync::before {
    top: 2px;
    left: 2px;
    transform: rotate(-45deg);
}

.icon-sync::after {
    bottom: 2px;
    right: 2px;
    transform: rotate(135deg);
}

.icon-chart {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-chart::before,
.icon-chart::after {
    content: '';
    position: absolute;
    width: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    bottom: 0;
}

.icon-chart::before {
    height: 12px;
    left: 6px;
}

.icon-chart::after {
    height: 20px;
    right: 6px;
}

.icon-theme {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-theme::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(90deg, #1a1a1a 50%, transparent 50%);
    border: 2px solid #1a1a1a;
}

.icon-bell {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-bell::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 2px;
    left: 4px;
    border: 2px solid #1a1a1a;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.icon-bell::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    bottom: 4px;
    left: 2px;
    background: #1a1a1a;
    border-radius: 1px;
}

.icon-lock {
    width: 24px;
    height: 24px;
    position: relative;
}

.icon-lock::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 4px;
    left: 8px;
    border: 2px solid #1a1a1a;
    border-radius: 4px 4px 0 0;
    border-bottom: none;
}

.icon-lock::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    bottom: 2px;
    left: 4px;
    background: #1a1a1a;
    border-radius: 2px;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-content p {
    color: #666;
    line-height: 1.5;
}

/* Preview Sections */
.analytics-preview,
.task-organization,
.theme-demo {
    padding: 100px 0;
}

.analytics-preview {
    background: #fff;
}

.task-organization {
    background: #f8f9fa;
}

.theme-demo {
    background: #fff;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.preview-content.reverse {
    direction: rtl;
}

.preview-content.reverse > * {
    direction: ltr;
}

.preview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
    line-height: 1.2;
}

.preview-text p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

.preview-mockup {
    display: flex;
    justify-content: center;
}

/* Analytics Preview Specific */
.analytics-content {
    flex: 1;
    padding: 16px 0;
}

.completion-rate {
    text-align: center;
    margin-bottom: 32px;
}

.rate-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.rate-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-container {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    height: 80px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.chart-bar {
    width: 24px;
    background: #1a1a1a;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.chart-labels span {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.period-selector {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

/* Task Organization Specific */
.task-list-demo {
    flex: 1;
    padding: 8px 0;
}

.priority-section {
    margin-bottom: 24px;
}

.priority-label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-weight: 500;
}

.task-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.task-row:last-child {
    border-bottom: none;
}

.task-row.completed {
    opacity: 0.6;
}

.task-row .check {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.task-row.completed .check {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.task-row .task {
    flex: 1;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.task-row.completed .task {
    text-decoration: line-through;
}

.priority-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.priority-dot.red {
    background: #ff4444;
}

.priority-dot.orange {
    background: #ff8800;
}

.priority-dot.green {
    background: #44aa44;
}

/* Theme Demo Specific */
.theme-comparison {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.theme-example {
    text-align: center;
}

.phone-frame-small {
    width: 200px;
    height: 350px;
    background: #1a1a1a;
    border-radius: 24px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screen.light-theme {
    background: #ffffff;
    color: #1a1a1a;
}

.screen.dark-theme {
    background: #1a1a1a;
    color: #ffffff;
}

.theme-header {
    padding: 16px 16px 8px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    margin-bottom: 16px;
}

.theme-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.dark-theme .theme-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.theme-tasks {
    padding: 0 16px;
}

.theme-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    font-size: 0.9rem;
}

.theme-task:last-child {
    border-bottom: none;
}

.dark-theme .theme-task {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.theme-check {
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    font-weight: 600;
}

.light-theme .theme-check {
    border-color: #ddd;
}

.dark-theme .theme-check {
    border-color: #555;
}

.theme-task:first-child .theme-check {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.dark-theme .theme-task:first-child .theme-check {
    background: #fff;
    border-color: #fff;
    color: #1a1a1a;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.cta-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 64px;
}

/* Phone Frame */
.app-preview {
    display: flex;
    justify-content: center;
    margin: 64px 0;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.status-bar {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.app-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.add-btn {
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.task-list {
    flex: 1;
}

.task-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.task-row:last-child {
    border-bottom: none;
}

.task-row.completed {
    opacity: 0.5;
}

.task-row .check {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.task-row.completed .check {
    background: #000;
    border-color: #000;
    color: #fff;
}

.task-row .task {
    color: #333;
    font-weight: 500;
}

.task-row.completed .task {
    text-decoration: line-through;
}

/* Reminders Preview Section */
.reminders-preview {
    padding: 100px 0;
    background: #f8f9fa;
}

.reminders-content {
    padding: 20px;
}

.reminder-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

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

.reminder-item.upcoming {
    background: rgba(0, 122, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    border-bottom: none;
    margin-bottom: 12px;
}

.reminder-time {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 80px;
}

.reminder-time .time {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a1a;
}

.reminder-time .date {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 2px;
}

.reminder-task {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 16px;
}

.reminder-task .task-title {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.reminder-task .task-priority {
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 500;
}

.task-priority.high {
    color: #ff4444;
}

.task-priority.medium {
    color: #ff8800;
}

.task-priority.low {
    color: #44aa44;
}

.reminder-icon {
    font-size: 1.2rem;
    opacity: 0.7;
}

.settings-btn {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-content p {
    font-size: 1.25rem;
    color: #999;
    margin-bottom: 48px;
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: #000;
    padding: 20px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.btn-download-large:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.9rem;
    color: #666;
}

.download-store {
    font-size: 1.25rem;
    font-weight: 700;
}

.download-info {
    color: #999;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand span {
    font-weight: 600;
    color: #1a1a1a;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .task-demo {
        padding: 24px;
        margin: 48px 0;
    }
    
    .features,
    .cta-section,
    .download-section {
        padding: 80px 0;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
}

/* Smooth animations */
.task-item,
.feature,
.btn-download,
.btn-download-large {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.btn-download:focus,
.btn-download-large:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Improved contrast for readability */
::selection {
    background: #000;
    color: #fff;
}

/* Screenshot Images */
.screenshot-image {
    max-width: 65%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-image:hover {
    transform: translateY(-8px);
}

.screenshot-image-small {
    max-width: 60%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot-image-small:hover {
    transform: translateY(-4px);
}

/* New Sections Styling */
.schedule-tasks,
.track-tasks,
.analytics-productivity,
.completion-trends,
.carry-forward {
    padding: 80px 0;
    background: #fafafa;
}

.track-tasks,
.completion-trends {
    background: #ffffff;
}

/* Responsive adjustments for screenshots */
@media (max-width: 768px) {
    .screenshot-image,
    .screenshot-image-small {
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    
    .screenshot-image:hover,
    .screenshot-image-small:hover {
        transform: translateY(-4px);
    }
    
    .schedule-tasks,
    .track-tasks,
    .analytics-productivity,
    .completion-trends,
    .carry-forward {
        padding: 60px 0;
    }
}