/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
    font-size: 18px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1em;
}

.lead {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5em;
    color: #666;
}

/* Layout utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main content */
main {
    margin: 0;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}


.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.download-note {
    margin: 0.5rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App preview */
.app-preview {
    perspective: 1000px;
    transform: rotateY(-5deg) rotateX(5deg);
}

.preview-window {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 520px;
    border: 1px solid #d1d5db;
}

.window-controls {
    display: flex;
    gap: 8px;
    padding: 14px 18px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.app-content {
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    background: #ffffff;
}

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

.nav-arrow {
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    background: #f3f4f6;
    color: #374151;
}

.header-center {
    text-align: center;
}

.month-name {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.week-info {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.week-info .separator {
    margin: 0 4px;
}

.header-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.app-body {
    display: flex;
    height: 300px;
}

.days-column {
    flex: 1.2;
    background: #ffffff;
    overflow-y: auto;
}

.vertical-divider {
    width: 1px;
    background: #e5e7eb;
}

.notes-column {
    flex: 1;
    background: #f9fafb;
    padding: 20px;
    overflow-y: auto;
}

.day-row {
    padding: 16px 20px 14px;
    transition: background-color 0.2s ease;
}

.day-row:hover {
    background: #f8fafc;
}

.day-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    gap: 8px;
}

.day-number {
    font-weight: 700;
    font-size: 19px;
    color: #1f2937;
    letter-spacing: -0.02em;
    line-height: 1;
}

.day-name {
    font-weight: 500;
    font-size: 13px;
    color: #6b7280;
    text-transform: capitalize;
    position: relative;
    top: -4px;
    line-height: 1;
}

.day-content {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
    padding-left: 0;
    font-weight: 400;
    text-align: left;
}

.day-divider {
    height: 0.5px;
    background: #e5e7eb;
    opacity: 0.7;
}

.notes-content {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
    font-weight: 400;
    text-align: left;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #2c2c2c;
    color: #fff;
    border-color: #2c2c2c;
}

.btn-primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-secondary {
    background: transparent;
    color: #2c2c2c;
    border-color: #2c2c2c;
}

.btn-secondary:hover {
    background: #2c2c2c;
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}


/* Footer */
.site-footer {
    background: #f8f8f8;
    color: #666;
    padding: 2rem 0;
    border-top: 1px solid #e8e8e8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    main {
        margin-top: 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        min-height: 100vh;
        padding: 2rem 1rem;
    }


    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .preview-window {
        width: 320px;
        transform: none;
    }

    .app-preview {
        transform: none;
    }

}

@media (max-width: 480px) {

    .hero-title {
        font-size: 2rem;
    }

    .preview-window {
        width: 280px;
    }

    .app-body {
        flex-direction: column;
        height: auto;
    }

    .vertical-divider {
        width: auto;
        height: 1px;
    }

    .days-column {
        max-height: 200px;
    }

    .notes-column {
        padding: 12px;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}