/* Landing Page Styles */
/* This file contains styles specific to the landing/auth page */

@layer landing {
    /* ===== Container Layout ===== */
    .section-container {
        border-radius: var(--border-radius-container);
        padding: 2rem;
        margin: 3rem auto;
        max-width: var(--max-width);
        width: 100%;
        box-sizing: border-box;
    }

    .content-section {
        padding: 0;
        margin: 0;
    }

    /* ===== Hero Section ===== */
    .hero-section {
        padding: 3rem 0 6rem 0;
        margin-bottom: 4rem;
        position: relative;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    }

    .hero-cta-section {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-cta-text {
        font-size: 1.1rem;
        color: var(--fg-color-black);
        opacity: 0.9;
        font-weight: 300;
        margin: 0;
        text-align: center;
        width: 67%;

        strong {
            font-weight: 550;
        }
    }

    .hero-cta {
        margin-top: 0;
    }

    .hero-benefits {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .hero-benefit-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1rem;
        color: var(--fg-color-black);
        font-weight: 400;
    }

    .hero-benefit-item svg {
        color: var(--bg-color-accent);
        flex-shrink: 0;
    }

    .hero-gradient {
        padding: 4rem 2rem;
        text-rendering: optimizeLegibility;
        border-radius: 1.5rem;
        color: var(--fg-color-black);
        text-align: center;
        position: relative;
        overflow: hidden;
        margin: 2rem;
        width: auto;
        box-sizing: border-box;
        max-width: calc(100% - 4rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .hero-text-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-demo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    @media (min-width: 900px) {
        .hero-content-wrapper {
            flex-direction: row;
            align-items: flex-start;
            justify-content: space-between;
            gap: 2.5rem;
            max-width: 1200px;
        }

        .hero-text-section {
            flex: 1;
            text-align: left;
            align-items: flex-start;
            max-width: 48%;
        }

        .hero-demo-section {
            flex: 1;
            max-width: 48%;
        }

        .hero-title {
            text-align: left;
        }

        .hero-subtitle {
            text-align: left;
            margin-inline: 0;
            max-width: 100%;
        }

        .hero-cta-section {
            justify-content: flex-start;
        }

        .hero-benefits {
            align-items: flex-start;
        }
    }

    @media (min-width: 1200px) {
        .hero-content-wrapper {
            gap: 3rem;
        }

        .hero-text-section {
            max-width: 50%;
        }

        .hero-demo-section {
            max-width: 50%;
        }
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
        font-family: Georgia, 'Times New Roman', Times, serif;

        strong {
            color: var(--bg-color-accent);
            font-weight: 400;
        }
    }

    .hero-subtitle {
        font-size: 1.1rem;
        color: var(--fg-color-black);
        opacity: 0.9;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
        font-weight: 300;
        max-width: 50%;
        text-align: left;

        strong {
            font-weight: 550;
        }
    }

    .citation-link {
        font-size: 0.7em;
        vertical-align: super;
        color: var(--bg-color-accent);
        text-decoration: none;
        font-weight: 600;
        margin-left: 0.1em;
        transition: color 0.2s ease;

        &:hover {
            color: var(--fg-color-black);
            text-decoration: underline;
        }
    }

    .section-title {
        font-size: clamp(1.25rem, 3.5vw, 1.875rem);
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
        font-family: Georgia, 'Times New Roman', Times, serif;
        text-align: center;
        color: var(--fg-color-black);

        strong {
            color: var(--bg-color-accent);
            font-weight: 400;
        }
    }

    .section-subtitle {
        text-align: center;
        color: var(--fg-color-muted);
        margin-bottom: 3rem;
        font-size: 1.125rem;
    }

    .section-title + p {
        text-align: center;
        color: var(--fg-color-muted);
        margin-bottom: 3rem;
        font-size: 1.0625rem;
    }

    /* ===== Features Grid ===== */
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin: 4rem 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        margin: 2rem 0 0 0;
        align-items: stretch;
    }

    .feature-card {
        background: var(--bg-color-muted);
        padding: 2rem;
        border-radius: 1rem;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;

        &:hover {
            border-color: var(--bg-color-accent);
        }

        &.coming-soon {
            opacity: 0.8;
            position: relative;

            &::after {
                content: "Coming Soon";
                position: absolute;
                top: 1rem;
                right: 1rem;
                background: var(--bg-color-accent);
                color: var(--fg-color-inverse);
                font-size: 0.75rem;
                font-weight: 600;
                padding: 0.25rem 0.5rem;
                border-radius: 9999px;
                text-transform: uppercase;
                letter-spacing: 0.05em;
            }
        }

        &.most-popular {
            border: 2px solid var(--bg-color-accent);
            transform: scale(1.05);
            box-shadow: 0 16px 32px rgba(9, 105, 218, 0.15);
            position: relative;

            &::after {
                content: "Recommended";
                position: absolute;
                top: -1px;
                left: 50%;
                transform: translateX(-50%);
                background: var(--bg-color-accent);
                color: var(--fg-color-inverse);
                font-size: 0.75rem;
                font-weight: 600;
                padding: 0.5rem 1rem;
                border-radius: 0 0 0.5rem 0.5rem;
                text-transform: uppercase;
                letter-spacing: 0.05em;
                z-index: 1;
            }
        }
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        background: var(--bg-color-accent);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 24px;
        color: var(--fg-color-inverse);
    }

    .feature-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--fg-color-black);
    }

    .feature-description {
        color: var(--fg-color-muted);
        line-height: 1.6;
    }

    /* ===== Features List ===== */
    .features-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin: 4rem 0;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        background: var(--bg-color-muted);
        border-radius: 1rem;
        border: 1px solid var(--border-color);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .feature-status {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .feature-item.available .feature-status {
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
    }

    .feature-item.upcoming .feature-status {
        background: var(--fg-color-muted);
        color: var(--fg-color-inverse);
    }

    .feature-item.upcoming.premium .feature-status {
        background: var(--fg-color-black);
        color: var(--fg-color-inverse);
        font-size: 0.8rem;
    }

    .feature-content {
        display: flex;
        gap: 1.5rem;
        padding: 2rem;
        align-items: flex-start;
    }

    .feature-item .feature-icon {
        width: 48px;
        height: 48px;
        background: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .feature-details {
        flex: 1;
    }

    .feature-details .feature-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--fg-color-black);
    }

    .feature-details .feature-description {
        color: var(--fg-color-muted);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .feature-impact {
        background: rgba(9, 105, 218, 0.05);
        padding: 1rem;
        border-radius: 0.5rem;
        border-left: 3px solid var(--bg-color-accent);
        color: var(--fg-color-black);
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;

        strong {
            color: var(--bg-color-accent);
            font-weight: 600;
        }
    }

    .early-adopter-badge {
        background: var(--bg-color-accent-light);
        border: 1px solid var(--bg-color-accent);
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.4;
        color: var(--fg-color-black);
        position: relative;

        strong {
            color: var(--bg-color-accent);
            font-weight: 700;
        }
    }


    /* Mobile responsiveness for features list */
    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: flex;
        }

        .nav-container {
            padding: 1rem 1.5rem;
        }

        .nav-links {
            position: fixed;
            top: 60px;
            right: -100%;
            width: 100%;
            max-width: 300px;
            height: calc(100vh - 60px);
            background: var(--bg-color-default);
            flex-direction: column;
            align-items: flex-start;
            padding: 2rem 1.5rem;
            gap: 1rem;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 99;
            overflow-y: auto;
            border-left: 1px solid var(--border-color);
        }

        .nav-links.mobile-menu-open {
            right: 0;
        }

        .nav-links form {
            width: 100%;
        }

        .nav-link {
            width: 100%;
            padding: 0.75rem 1rem;
            font-size: 1rem;
            display: block;
            text-align: left;
        }

        .nav-link-button {
            width: 100%;
            text-align: left;
        }

        .feature-content {
            flex-direction: column;
            gap: 1rem;
        }

        .feature-item .feature-icon {
            align-self: flex-start;
        }

        .feature-details .feature-title {
            font-size: 1.25rem;
        }
    }

    /* ===== Pricing & CTA ===== */
    .cta-section {
        text-align: center;
        margin: 4rem 0;
    }

    .cta-primary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        border: none;
        border-radius: 9999px;
        font-size: 1.125rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 14px rgba(9, 105, 218, 0.4);

        &:hover {
            background-color: var(--fg-color-black);
        }
    }

    .plan-price {
        display: inline-block;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--fg-color-black);
        margin-bottom: 0.25rem;
    }

    .large-price {
        font-size: 2.5rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    .price-period {
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--fg-color-muted);
        margin-left: 0.25rem;
    }

    .plan-subtitle {
        font-size: 0.9rem;
        color: var(--fg-color-muted);
        font-weight: 400;
        margin-top: 0.5rem;
    }

    .pricing-note {
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        border-radius: 0.75rem;
        background: var(--bg-color-accent-light);
        color: var(--fg-color-black);
        font-weight: 400;
        margin-bottom: 0.5rem;
    }

    .plan-features {
        margin-top: 1rem;
        font-size: 0.9rem;
        color: var(--fg-color-muted);
        line-height: 1.5;
        list-style: none;
        padding-left: 0;
        text-align: left;
    }

    .plan-features li {
        padding: 0.5rem 0;
        position: relative;
        padding-left: 1.5rem;
    }

    .plan-features li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary-color);
        font-weight: bold;
    }

    .guarantee-note {
        background: var(--bg-color-accent-light);
        padding: 1rem;
        border-radius: 0.75rem;
        color: var(--fg-color-black);
        font-size: 0.95rem;
        border: 1px solid var(--bg-color-accent);
        text-align: center;
    }

    .muted-subtext {
        font-size: 0.85em;
        color: var(--fg-color-muted);
    }

    .savings-highlight {
        font-size: 0.9em;
        color: var(--bg-color-accent);
        font-weight: 600;
    }

    .section-lead {
        color: var(--fg-color-muted);
        margin-bottom: 2rem;
        font-size: 1.125rem;
    }

    .section-lead.large {
        margin-bottom: 3rem;
    }

    .section-spacer-top-lg {
        margin: 4rem 0 0 0;
    }

    .inline-icon {
        display: inline-block;
        vertical-align: middle;
    }

    .cta-footnote {
        margin-top: 1.5rem;
        color: var(--fg-color-muted);
        font-size: 0.875rem;
    }

    .guarantee-note-spaced {
        margin-top: 1.5rem;
    }

    /* ===== Interactive & Accessibility States ===== */
    .cta-primary:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--bg-color-accent-light), 0 0 0 6px var(--bg-color-accent);
    }

    .cta-primary:disabled,
    .cta-primary[aria-disabled="true"] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .plan-button:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--bg-color-accent-light);
    }

    .plan-button:disabled,
    .plan-button[aria-disabled="true"] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .newsletter-button:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--bg-color-accent-light), 0 0 0 6px var(--bg-color-accent);
    }

    .newsletter-button:disabled,
    .newsletter-button[aria-disabled="true"] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .nav-link:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px var(--bg-color-accent);
    }


    .indicator:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px var(--bg-color-accent-light), 0 0 0 6px var(--bg-color-accent);
    }

    /* ===== Reduced Motion ===== */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation: none !important;
            transition: none !important;
            scroll-behavior: auto !important;
        }


        .cta-primary,
        .plan-button,
        .newsletter-button,
        .nav-link,
        .indicator {
            transition: none !important;
        }
    }

    .pricing-card {
        text-align: center;
        
        .feature-title {
            margin-top: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .feature-description {
            margin-bottom: 1.5rem;
        }
    }

    .plan-cta {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .plan-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        border: none;
        border-radius: 9999px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: none;
        font-family: inherit;
    }

    .plan-button-primary {
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        box-shadow: 0 4px 14px rgba(9, 105, 218, 0.3);

        &:hover {
            background-color: var(--fg-color-black);
        }
    }

    .plan-button-secondary {
        background: var(--bg-color-default);
        color: var(--fg-color-black);
        border: 2px solid var(--border-color);

        &:hover {
            background-color: var(--bg-color-accent);
            color: var(--fg-color-inverse);
            border-color: var(--bg-color-accent);
        }
    }

    /* ===== Research-Backed Value Proposition Section ===== */
    .value-proof-section {
        background: linear-gradient(135deg, var(--bg-color-muted) 0%, rgba(9, 105, 218, 0.03) 100%);
        padding: 4rem 2rem;
        border-radius: 1.5rem;
        margin: 4rem 0;
        border: 1px solid var(--border-color);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    }

    .proof-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1.25rem;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        margin: 0 auto 2.5rem auto;
        text-align: center;
        display: block;
        width: fit-content;
        box-shadow: 0 4px 14px rgba(9, 105, 218, 0.25);
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 3rem;
    }

    .stat-group {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .primary-stats {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .primary-stats .stat-item {
        flex: 1;
        max-width: 250px;
        min-width: 200px;
    }

    .secondary-stats {
        gap: 1.5rem;
    }

    .stat-item {
        text-align: center;
        padding: 0.5rem;
    }

    .stat-item.large {
        padding: 1rem;
        background: rgba(9, 105, 218, 0.05);
        border-radius: 1rem;
        border: 1px solid rgba(9, 105, 218, 0.1);
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 800;
        color: var(--bg-color-accent);
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .stat-number.highlight {
        font-size: 2.75rem;
        background: linear-gradient(135deg, var(--bg-color-accent), #4338ca);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 900;
    }

    .stat-label {
        font-size: 0.9rem;
        color: var(--fg-color-muted);
        font-weight: 500;
        line-height: 1.3;
    }

    .research-indicators {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 1rem;
        border: 1px solid rgba(9, 105, 218, 0.1);
    }

    .research-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem;
        background: var(--bg-color-default);
        border-radius: 0.75rem;
        border: 1px solid var(--border-color);
        transition: all 0.2s ease;
    }

    .research-icon {
        font-size: 1.25rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: var(--bg-color-accent-light);
        border-radius: 50%;
    }

    .research-text {
        font-size: 0.95rem;
        color: var(--fg-color-black);
        line-height: 1.4;
    }

    .research-text strong {
        color: var(--bg-color-accent);
        font-weight: 600;
    }

    .value-trust-note {
        text-align: center;
        padding: 1.25rem 2rem;
        background: var(--bg-color-accent-light);
        border-radius: 1rem;
        color: var(--fg-color-black);
        font-size: 1.05rem;
        line-height: 1.4;
        border: 2px solid rgba(9, 105, 218, 0.15);
    }

    .value-trust-note strong {
        color: var(--bg-color-accent);
        font-weight: 700;
    }

    .research-sources {
        margin-top: 2rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 1rem;
        border: 1px solid rgba(9, 105, 218, 0.08);
    }

    .sources-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--fg-color-black);
        margin: 0 0 1rem 0;
        text-align: center;
    }

    .sources-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 0.75rem;
    }

    .source-link {
        display: flex;
        flex-direction: column;
        padding: 0.75rem;
        background: var(--bg-color-default);
        border-radius: 0.5rem;
        border: 1px solid var(--border-color);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .source-link:hover {
        border-color: var(--bg-color-accent);
    }

    .source-title {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--bg-color-accent);
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .source-author {
        font-size: 0.75rem;
        color: var(--fg-color-muted);
        line-height: 1.3;
    }

    /* ===== Stats & Preview ===== */
    .preview-section {
        background: var(--bg-color-muted);
        padding: 4rem 2rem;
        border-radius: 1.5rem;
        margin: 4rem 0;
    }

    .preview-badge {
        display: inline-block;
        padding: 0.25rem 1rem;
        background: var(--bg-color-accent-light);
        color: var(--bg-color-accent);
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .stats-row {
        display: flex;
        justify-content: center;
        gap: 4rem;
        margin: 3rem 0;
        flex-wrap: wrap;
    }

    /* ===== Comparison Sections ===== */
    .comparison-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin: 4rem auto;
        max-width: 700px;
    }

    .comparison-column {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .comparison-old {
        background: rgba(217, 26, 9, 0.1);
    }

    .comparison-new {
        background: rgba(9, 105, 218, 0.05);
        border: 2px solid var(--bg-color-accent);
    }

    .comparison-title {
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: 1.125rem;
    }

    .comparison-list {
        list-style: none;
        padding: 0;

        li {
            padding: 0.5rem 0;
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;

            &::before {
                content: "✗";
                color: var(--bg-color-danger);
                font-weight: bold;
            }
        }
    }

    .comparison-new .comparison-list li::before {
        content: "✓";
        color: var(--color-success);
    }

    /* ===== List Transformation ===== */
    .list-transformation {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        max-width: 800px;
        margin: 3rem auto;
        padding: 0 1rem;
        height: 100%;
        min-height: 450px;
    }

    .list-transformation.hero-inline {
        max-width: 600px;
        margin: 0 auto;
        padding: 0;
        min-height: auto;
        width: 100%;
        height: auto;
    }
    
    .transformation-container {
        width: 100%;
        position: relative;
    }

    .demo-caption {
        text-align: center;
        font-size: 0.875rem;
        color: var(--fg-color-black);
        opacity: 0.6;
        margin-top: 0.25rem;
        margin-bottom: 0;
        font-weight: 400;
        line-height: 1.5;
    }

    .list-card {
        background: var(--bg-color-default);
        border-radius: 1.5rem;
        padding: 0;
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: all 0.3s ease, min-height 0.5s ease;
    }

    .list-card.compact {
        border-radius: 1rem;
    }

    .list-card.compact .list-header {
        padding: 1rem 1.25rem;
    }

    .list-card.compact .list-title {
        font-size: 1.25rem;
    }

    .list-card.compact .task-list {
        padding: 1rem 1.25rem;
        min-height: auto;
    }

    .list-card.compact .task-item {
        padding: 12px 10px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .list-card.compact .project-item {
        padding: 12px 10px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        border-width: 2px;
    }

    .list-card.compact .add-task-btn-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .list-card.compact .lock-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .list-card.compact .list-caption {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .list-card.compact .task-more {
        font-size: 0.9rem;
    }

    .list-card.focused {
        border: 2px solid var(--bg-color-accent);
        box-shadow: 0 8px 32px rgba(9, 105, 218, 0.15);
    }
    
    .task-item.selecting {
        border-color: var(--bg-color-accent);
        background: rgba(9, 105, 218, 0.15);
        transform: scale(1.02);
        animation: selectPulse 0.5s ease;
        box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
    }
    
    .task-item.selected {
        border: 2px solid var(--bg-color-accent);
        background: rgba(9, 105, 218, 0.18);
        box-shadow: 0 2px 8px rgba(9, 105, 218, 0.2);
    }
    
    .task-item.fade-out {
        animation: fadeOut 0.5s ease forwards;
    }
    
    .task-item.transform-to-focused {
        animation: transformToFocused 0.8s ease forwards;
    }
    
    @keyframes selectPulse {
        0%, 100% { transform: scale(1.02); }
        50% { transform: scale(1.05); }
    }
    
    @keyframes fadeOut {
        to {
            opacity: 0;
            transform: translateX(-20px);
        }
    }
    
    @keyframes transformToFocused {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
            background: rgba(9, 105, 218, 0.08);
        }
    }

    .list-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
    }

    .list-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-black);
        margin: 0;
    }

    .task-count {
        font-size: 0.875rem;
        font-weight: 600;
        padding: 0.375rem 0.875rem;
        border-radius: 9999px;
        white-space: nowrap;
    }

    .stress-badge {
        background: #FF6B35;
        color: white;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35);
    }

    .success-badge {
        background: linear-gradient(135deg, #10B981 0%, #059669 100%);
        color: white;
        font-weight: 700;
        box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
        border: none;
    }

    .task-list {
        padding: 1.5rem;
        min-height: 300px;
        position: relative;
    }

    .task-list.overwhelming {
        background: linear-gradient(180deg, rgba(128, 128, 128, 0.01) 0%, rgba(128, 128, 128, 0.02) 100%);
    }

    .task-list.focused {
        background: linear-gradient(180deg, rgba(9, 105, 218, 0.02) 0%, rgba(9, 105, 218, 0.05) 100%);
    }

    .task-item {
        padding: 14px 11px;
        margin-bottom: 12px;
        background: rgba(128, 128, 128, 0.08);
        border: var(--border-width) solid rgba(128, 128, 128, 0.15);
        border-radius: 30px;
        font-size: var(--font-size-subheadline);
        color: var(--fg-color-black);
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .task-item:hover {
        border-color: rgba(128, 128, 128, 0.3);
    }

    .task-item.faded {
        opacity: 0.4;
    }

    .task-item.completed {
        background: var(--bg-color-muted);
        border-color: var(--bg-color-muted);
    }

    .task-item.completed span:last-child {
        text-decoration: line-through;
        color: var(--fg-color-muted);
    }

    .task-item.active {
        background: var(--bg-color-accent-light);
        border: 2px solid var(--bg-color-accent);
        font-weight: 500;
    }

    .project-item {
        padding: 14px 11px;
        margin-bottom: 12px;
        background: rgba(128, 128, 128, 0.08);
        border: var(--border-width) solid rgba(128, 128, 128, 0.15);
        border-radius: 30px;
        font-size: var(--font-size-subheadline);
        color: var(--fg-color-black);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .project-name {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .project-count {
        font-size: 0.85em;
        opacity: 0.7;
    }

    .list-header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .add-task-btn-badge {
        background: rgba(128, 128, 128, 0.1);
        color: var(--fg-color-black);
        padding: 0.375rem 0.75rem;
        border-radius: 30px;
        font-size: 0.875rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        opacity: 0.7;
    }

    .add-task-btn-badge:hover {
        background: rgba(128, 128, 128, 0.15);
        opacity: 0.9;
    }

    .lock-badge {
        background: rgba(16, 185, 129, 0.1);
        padding: 0.375rem 0.75rem;
        border-radius: 30px;
        font-size: 0.875rem;
        transition: all 0.3s ease;
    }

    .check-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        padding-inline: 7px;
        border-radius: 21px;
        height: 21px;
        font-size: var(--font-size-caption);
        font-weight: 700;
        flex-shrink: 0;
        line-height: 1;
    }

    .task-more {
        padding: 0.5rem 1rem;
        text-align: center;
        color: var(--fg-color-default);
        font-size: 1rem;
        font-weight: 600;
        margin-top: 0.5rem;
        position: relative;
        z-index: 2;
    }

    .list-caption {
        padding: 1rem 1.5rem;
        text-align: center;
        font-size: 0.875rem;
        color: var(--fg-color-muted);
        font-style: italic;
        background: var(--bg-color-muted);
        border-top: 1px solid var(--border-color);
        margin: 0;
    }

    .transformation-arrow {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
    }

    .transformation-arrow svg {
        color: var(--bg-color-accent);
        flex-shrink: 0;
    }

    .arrow-label {
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--bg-color-accent);
        text-align: center;
        margin: 0;
        white-space: nowrap;
    }

    .transformation-note {
        max-width: 800px;
        margin: 2rem auto 0;
        padding: 1.25rem 2rem;
        background: var(--bg-color-accent-light);
        border: 2px solid rgba(9, 105, 218, 0.2);
        border-radius: 1rem;
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
        color: var(--fg-color-black);
    }

    .transformation-note strong {
        color: var(--bg-color-accent);
        font-weight: 700;
    }

    /* ===== Day Timeline Comparison ===== */
    .day-comparison {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        max-width: 1200px;
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .day-column {
        background: var(--bg-color-muted);
        border-radius: 1.5rem;
        padding: 2.5rem 2rem;
        position: relative;
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    .day-header {
        text-align: center;
        margin-bottom: 2.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .day-emoji {
        font-size: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .day-emoji img {
        display: block;
    }

    .day-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-black);
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .day-subtitle {
        color: var(--fg-color-muted);
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
    }

    .day-timeline {
        position: relative;

        &::before {
            content: "";
            position: absolute;
            left: 1rem;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--bg-color-accent), var(--border-color));
            border-radius: 1.5px;
        }
    }

    .timeline-block {
        position: relative;
        padding: 1.75rem 0 1.75rem 3.5rem;
        border-radius: 0.75rem;
        margin-bottom: 1.5rem;
        transition: all 0.2s ease;

        &::before {
            content: "";
            position: absolute;
            left: 0.375rem;
            top: 2rem;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--bg-color-default);
            border: 3px solid;
            z-index: 2;
            box-shadow: 0 0 0 3px var(--bg-color-default);
        }

        p {
            margin: 0;
            color: var(--fg-color-black);
            line-height: 1.6;
            font-size: 0.95rem;
            font-weight: 500;
        }
    }

    .time-label {
        display: inline-block;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.375rem 1rem;
        border-radius: 9999px;
        margin-bottom: 0.75rem;
        box-shadow: 0 2px 8px rgba(9, 105, 218, 0.25);
        letter-spacing: 0.025em;
    }

    /* Timeline stress levels */
    .stress-high {
        background: rgba(217, 26, 9, 0.08);
        border-left: 4px solid var(--bg-color-danger);
        border-radius: 0 0.75rem 0.75rem 0;
        
        &::before {
            border-color: var(--bg-color-danger);
        }
    }

    .stress-medium {
        background: rgba(89, 99, 110, 0.08);
        border-left: 4px solid var(--fg-color-muted);
        border-radius: 0 0.75rem 0.75rem 0;
        
        &::before {
            border-color: var(--fg-color-muted);
        }
    }

    .stress-low {
        background: rgba(9, 105, 218, 0.08);
        border-left: 4px solid var(--bg-color-accent);
        border-radius: 0 0.75rem 0.75rem 0;
        box-shadow: 0 2px 12px rgba(9, 105, 218, 0.15);
        
        &::before {
            border-color: var(--bg-color-accent);
        }
    }

    /* Special styling for the "after" (KeyTasks) column */
    .day-after {
        position: relative;
        
        &::after {
            content: "";
            position: absolute;
            top: -0.5rem;
            left: -0.5rem;
            right: -0.5rem;
            bottom: -0.5rem;
            background: linear-gradient(135deg, rgba(9, 105, 218, 0.08), rgba(9, 105, 218, 0.04));
            border-radius: 2rem;
            z-index: -1;
            opacity: 0.7;
        }
    }

    /* ===== Flow Steps ===== */
    .flow-section {
        margin: 4rem 0;
        text-align: center;
    }

    .flow-steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin: 3rem 0;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .flow-step {
        position: relative;

        &:not(:last-child)::after {
            content: "→";
            position: absolute;
            right: -1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--bg-color-accent);
            font-size: 1.5rem;
            font-weight: bold;
        }
    }

    .flow-number {
        width: 40px;
        height: 40px;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        margin: 0 auto 1rem;
    }

    .flow-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--fg-color-black);
        margin-bottom: 0.5rem;
    }

    .flow-description {
        color: var(--fg-color-muted);
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* ===== Newsletter Section ===== */
    .newsletter-section {
        background: var(--bg-color-muted);
        padding: 4rem 2rem;
        border-radius: 1.5rem;
        text-align: center;
        margin: 4rem 0;
        border: 1px solid var(--border-color);
    }

    .newsletter-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-black);
        margin-bottom: 0.5rem;
    }

    .newsletter-subtitle {
        color: var(--fg-color-muted);
        margin-bottom: 2rem;
        font-size: 1rem;
        line-height: 1.5;
    }

    .newsletter-form {
        display: flex;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
        align-items: stretch;
    }

    .newsletter-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: 1px solid var(--border-color);
        border-radius: 9999px;
        font-size: 1rem;
        background: var(--bg-color-default);
        color: var(--fg-color-black);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;

        &:focus {
            outline: none;
            border-color: var(--bg-color-accent);
            box-shadow: 0 0 0 2px var(--bg-color-accent-light);
        }
    }

    .newsletter-button {
        padding: 0.75rem 1.5rem;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        border: none;
        border-radius: 9999px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;

        &:hover {
            background-color: var(--fg-color-black);
        }
    }

    .newsletter-privacy {
        margin-top: 1rem;
        font-size: 0.75rem;
        color: var(--fg-color-muted);
    }

    /* ===== Problem & Solution Section ===== */
    .main-problem {
        font-size: 2.25rem;
        line-height: 1.3;
        margin-bottom: 3rem;
        margin-top: 2rem;
        text-align: center;
    }

    .problem-solution-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .problem-card {
        background: var(--bg-color-muted);
        border-radius: 1.5rem;
        padding: 2.5rem;
        transition: all 0.3s ease;
    }

    .problem-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .solution-card {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
        border: 2px solid rgba(16, 185, 129, 0.2);
    }

    .problem-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-primary);
        margin: 0 0 1.25rem 0;
        line-height: 1.3;
    }

    .problem-text {
        font-size: 1.125rem;
        line-height: 1.7;
        color: var(--fg-color-default);
        margin: 0;
    }

    /* ===== Periods Framework Section ===== */
    .periods-framework-section {
        background: linear-gradient(180deg, var(--bg-color-default) 0%, var(--bg-color-muted) 100%);
        margin-top: 5rem;
        padding: 5rem 2rem;
    }

    .framework-quote {
        max-width: 900px;
        margin: 3rem auto;
        padding: 3rem;
        background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
        border-radius: 1.5rem;
        box-shadow: 0 16px 48px rgba(124, 58, 237, 0.25);
    }

    .quote-text {
        font-size: 1.75rem;
        line-height: 1.5;
        color: white;
        text-align: center;
        margin: 0;
        font-weight: 500;
    }

    .framework-explanation {
        max-width: 900px;
        margin: 3rem auto;
        text-align: center;
    }

    .framework-heading {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-primary);
        margin: 0 0 1.25rem 0;
    }

    .framework-text {
        font-size: 1.125rem;
        line-height: 1.8;
        color: var(--fg-color-default);
        margin: 0;
    }

    .periods-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        max-width: 1400px;
        margin: 4rem auto 3rem;
    }

    .period-card {
        background: var(--bg-color-default);
        border: 1px solid var(--border-color-light);
        border-radius: 1.25rem;
        padding: 2rem;
        transition: all 0.3s ease;
    }

    .period-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
        border-color: var(--bg-color-accent);
    }

    .period-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #7C3AED;
        margin: 0 0 0.5rem 0;
    }

    .period-range {
        font-size: 0.95rem;
        color: var(--fg-color-muted);
        margin: 0 0 1.5rem 0;
        font-weight: 500;
    }

    .period-examples {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }

    .period-example {
        font-size: 0.95rem;
        line-height: 1.5;
        color: var(--fg-color-default);
        padding-left: 0.25rem;
    }

    .periods-footer {
        text-align: center;
        font-size: 1.125rem;
        font-style: italic;
        color: var(--fg-color-muted);
        margin: 0;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* ===== FAQ Section ===== */
    .faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1200px;
        margin: 3rem auto 0;
    }

    .faq-item {
        background: var(--bg-color-muted);
        border-radius: 1.5rem;
        padding: 2.5rem;
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .faq-question {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-primary);
        margin: 0 0 1.25rem 0;
        line-height: 1.3;
    }

    .faq-answer {
        font-size: 1.125rem;
        line-height: 1.7;
        color: var(--fg-color-default);
        margin: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
        .periods-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .faq-grid {
            grid-template-columns: 1fr;
            gap: 1.75rem;
        }
    }

    @media (max-width: 768px) {
        .main-problem {
            font-size: 1.625rem;
            margin-bottom: 2rem;
        }

        .problem-solution-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .problem-card {
            padding: 2rem;
        }

        .problem-title {
            font-size: 1.375rem;
        }

        .problem-text {
            font-size: 1rem;
        }

        .faq-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .faq-item {
            padding: 2rem;
        }

        .faq-question {
            font-size: 1.375rem;
        }

        .faq-answer {
            font-size: 1rem;
        }

        .periods-framework-section {
            padding: 3rem 1.5rem;
            margin-top: 3rem;
        }

        .framework-quote {
            padding: 2rem;
            margin: 2rem auto;
        }

        .quote-text {
            font-size: 1.25rem;
        }

        .framework-heading {
            font-size: 1.375rem;
        }

        .framework-text {
            font-size: 1rem;
        }

        .periods-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin: 2.5rem auto 2rem;
        }

        .period-card {
            padding: 1.75rem;
        }

        .period-title {
            font-size: 1.375rem;
        }
    }

    /* ===== App Demo Container ===== */
    .app-demo-container {
        height: 100%;
        background: var(--bg-color-default);
        padding: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
        overflow: hidden;

        .demo-header {
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 1rem;
            margin-bottom: 1rem;
        }

        .period-container {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .period-content,
        .archive-content {
            flex: 1;
            overflow: hidden;
        }

        .segment-item {
            pointer-events: none;
        }

        .tasks-list {
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .tasks-list-actions {
            margin-top: auto;
            padding-top: 1rem;
        }

        button {
            pointer-events: none;
        }
    }

    /* ===== Navigation Header ===== */
    .header-nav {
        background: var(--bg-color-default);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
        margin: 0;
    }

    .sticky-header {
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }

    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        min-height: 60px;
        position: relative;
    }

    .nav-logo .logo-link {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--fg-color-black);
        text-decoration: none;
        font-family: Georgia, 'Times New Roman', Times, serif;

        &:hover {
            color: var(--bg-color-accent);
        }
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        color: var(--fg-color-black);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 9999px;
        transition: all 0.2s ease;

        &:hover {
            color: var(--bg-color-accent);
            background-color: var(--bg-color-accent-light);
        }
    }

    .nav-link-button {
        background: transparent;
        border: none;
        cursor: pointer;
        font-family: inherit;
        font-size: inherit;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 101;
    }

    .hamburger-line {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--fg-color-black);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-btn.menu-open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.menu-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.menu-open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* ===== Demo Button Styles ===== */
    .done-btn, .undo-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.5rem 1rem;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        border: none;
        border-radius: 9999px;
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;

        &:hover {
            background-color: var(--fg-color-black);
        }
    }

    .undo-btn {
        background: var(--bg-color-default);
        color: var(--fg-color-black);
        border: 1px solid var(--border-color);

        &:hover {
            background-color: var(--bg-color-accent);
            color: var(--fg-color-inverse);
            border-color: var(--bg-color-accent);
        }
    }

    /* ===== Animations ===== */
    @keyframes float {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        33% { transform: translate(30px, -30px) rotate(120deg); }
        66% { transform: translate(-20px, 20px) rotate(240deg); }
    }

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

    /* ===== Responsive Styles ===== */
    @media (max-width: 1024px) {
        .flow-steps {
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            max-width: 600px;
        }

        .flow-step:nth-child(2)::after,
        .flow-step:nth-child(4)::after {
            display: none;
        }

        .flow-step:nth-child(1)::after {
            content: "→";
        }

        .flow-step:nth-child(3)::after {
            content: "↓";
            right: auto;
            top: auto;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media (max-width: 768px) {
        .section-container {
            border-radius: 0;
            margin: 2rem 0;
            padding: 1.5rem;
        }
        
        .hero-section {
            padding: 2rem 0 4rem 0;
            margin-bottom: 3rem;
            min-height: 80vh;
        }

        .hero-section::after {
            width: 90%;
        }
        
        .hero-gradient {
            padding: 2.5rem 1.5rem;
            border-radius: 0.75rem;
            margin: 0.75rem;
            max-width: calc(100% - 1.5rem);
            min-height: auto;
            gap: 1rem;
        }

        .hero-title {
            font-size: clamp(1.75rem, 6vw, 2.5rem);
            line-height: 1.3;
            margin-bottom: 0.5rem;
        }

        .hero-subtitle {
            max-width: 100%;
            font-size: 1rem;
        }

        .hero-content-wrapper {
            flex-direction: column;
            gap: 1.5rem;
            height: 100%;
        }

        .hero-text-section {
            text-align: center;
            align-items: center;
            display: flex;
            justify-content: space-between;
            height: 100%;
        }

        .list-transformation.hero-inline {
            max-width: 100%;
            margin: 0 auto;
        }

        .list-card.compact .task-item {
            font-size: 0.8rem;
            padding: 10px 9px;
            margin-bottom: 8px;
        }

        .list-card.compact .list-header {
            padding: 0.875rem 1rem;
        }

        .list-card.compact .list-title {
            font-size: 1.125rem;
        }

        /* Value Proposition Mobile Styles */
        .value-proof-section {
            padding: 3rem 1.5rem;
            margin: 3rem 0;
        }

        .stat-group {
            gap: 1rem;
        }

        .primary-stats .stat-item {
            min-width: 150px;
            max-width: 200px;
        }

        .secondary-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .stat-number.highlight {
            font-size: 2.25rem;
        }

        .research-indicators {
            padding: 1rem;
        }

        .research-item {
            flex-direction: column;
            text-align: center;
            gap: 0.75rem;
            padding: 1rem;
        }

        .research-icon {
            width: 32px;
            height: 32px;
            font-size: 1.1rem;
        }

        .value-trust-note {
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }

        .research-sources {
            padding: 1rem;
            margin-top: 1.5rem;
        }

        .sources-grid {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.5rem;
        }

        .source-link {
            padding: 0.6rem;
        }

        .sources-title {
            font-size: 0.9rem;
        }

        .list-transformation {
            margin: 2rem auto;
            padding: 0 0.5rem;
            min-height: 400px;
        }

        .transformation-note {
            padding: 1rem 1.5rem;
            font-size: 0.9rem;
        }

        .day-comparison {
            grid-template-columns: 1fr;
            gap: 2.5rem;
            margin: 2rem auto;
            padding: 0 0.5rem;
        }

        .day-column {
            padding: 2rem 1.5rem;
        }
        
        .day-header {
            margin-bottom: 2rem;
            padding-bottom: 0.75rem;
        }
        
        .day-emoji {
            font-size: 2.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .timeline-block {
            padding: 1.25rem 0 1.25rem 3rem;
            margin-bottom: 1.25rem;
        }
        
        .day-timeline::before {
            left: 0.75rem;
            width: 2px;
        }
        
        .timeline-block::before {
            left: 0.25rem;
            top: 1.5rem;
            width: 12px;
            height: 12px;
        }

        
        .indicator {
            width: 10px;
            height: 10px;
        }

        .app-demo-container {
            padding: 1.5rem 1rem;
            gap: 1rem;
        }

        /* Adjust task demo elements for mobile */
        .task {
            font-size: 0.9rem;
        }

        .task span {
            min-width: 24px;
            font-size: 0.875rem;
        }

        .done-btn, .undo-btn {
            padding: 0.375rem 0.75rem;
            font-size: 0.8rem;
        }

        /* Features list mobile adjustments */
        .feature-item .feature-icon {
            width: 40px;
            height: 40px;
        }

        .feature-item .feature-icon img {
            width: 24px;
            height: 24px;
        }

        .feature-details .feature-title {
            font-size: 1.125rem;
        }

        .feature-details .feature-description {
            font-size: 0.875rem;
        }

        .feature-impact {
            font-size: 0.85rem;
            padding: 0.75rem;
        }

        /* Pricing cards mobile */
        .pricing-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .feature-card.most-popular {
            transform: scale(1);
            margin: 0 -0.5rem;
        }

        .large-price {
            font-size: 2rem !important;
        }
    }

    @media (max-width: 640px) {
        /* Extra small screens */
        .section-container {
            padding: 1rem;
            margin: 1.5rem 0;
        }

        .hero-gradient {
            padding: 2rem 1rem;
            margin: 0.5rem;
        }

        .hero-section {
            padding: 1.5rem 0 3rem 0;
            margin-bottom: 2rem;
        }

        .hero-title {
            font-size: 1.75rem;
            margin-bottom: 0.75rem;
        }

        .hero-subtitle {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .cta-primary {
            padding: 0.875rem 1.5rem;
            font-size: 1rem;
        }

        /* Period nav mobile */
        .period-nav {
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .segment-item {
            font-size: 0.8rem;
            padding: 0.4rem 0.6rem;
        }

        /* List transformation mobile */
        .list-card {
            border-radius: 1.25rem;
        }

        .list-header {
            padding: 1.25rem;
        }

        .list-title {
            font-size: 1.25rem;
        }

        .task-list {
            padding: 1.25rem;
            min-height: 250px;
        }

        .task-item {
            padding: 0.75rem 0.875rem;
            font-size: 0.9rem;
        }

        .list-caption {
            padding: 0.875rem 1.25rem;
            font-size: 0.8rem;
        }

        /* Day comparison mobile */
        .day-column {
            padding: 1.5rem 1rem;
            border-radius: 1.25rem;
        }

        .day-title {
            font-size: 1.25rem;
        }

        .day-subtitle {
            font-size: 0.875rem;
        }

        .timeline-block {
            padding: 1rem 0 1rem 2.5rem;
            margin-bottom: 1rem;
        }

        .timeline-block p {
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .time-label {
            font-size: 0.7rem;
            padding: 0.25rem 0.6rem;
            margin-bottom: 0.5rem;
        }

        .flow-steps {
            grid-template-columns: 1fr;
            gap: 2rem;
            max-width: 300px;
        }

        .flow-step:not(:last-child)::after {
            content: "↓";
            right: auto;
            top: auto;
            bottom: -1rem;
            left: 50%;
            transform: translateX(-50%);
        }

        .newsletter-form {
            flex-direction: column;
            max-width: 300px;
        }
        
        .newsletter-button { 
            padding: 0.875rem 1.25rem;
            border-radius: 9999px;
        }

        /* Small Screen Value Proposition Adjustments */
        .secondary-stats {
            grid-template-columns: 1fr;
        }

        .stat-number {
            font-size: 1.75rem;
        }

        .stat-number.highlight {
            font-size: 2rem;
        }

        .research-text {
            font-size: 0.9rem;
        }

        .proof-badge {
            font-size: 0.8rem;
            padding: 0.4rem 1rem;
        }

        .sources-grid {
            grid-template-columns: 1fr;
            gap: 0.4rem;
        }

        .source-title {
            font-size: 0.8rem;
        }

        .source-author {
            font-size: 0.7rem;
        }
    }

    @media (max-width: 480px) {
        /* Very small screens */
        .hero-section {
            padding: 1rem 0 2.5rem 0;
            margin-bottom: 1.5rem;
        }

        .hero-gradient {
            padding: 2rem 0.75rem;
            border-radius: 0.5rem;
        }

        .section-title {
            font-size: 1.375rem;
        }

        .section-subtitle,
        .section-title + p {
            font-size: 0.9375rem;
            margin-bottom: 2rem;
        }

        /* Features mobile */
        .feature-content {
            padding: 1.5rem 1rem;
        }

        .early-adopter-badge {
            font-size: 0.8rem;
            padding: 0.6rem 0.8rem;
        }

        /* List transformation extra small screens */
        .list-header {
            padding: 1rem;
        }

        .list-title {
            font-size: 1.125rem;
        }

        .task-count {
            font-size: 0.75rem;
            padding: 0.25rem 0.625rem;
        }

        .task-list {
            padding: 1rem;
            min-height: 220px;
        }

        .task-item {
            padding: 0.625rem 0.75rem;
            font-size: 0.85rem;
        }

        .transformation-note {
            padding: 0.875rem 1.25rem;
            font-size: 0.85rem;
        }

        /* Research section mobile */
        .value-proof-section {
            padding: 2rem 1rem;
            margin: 2rem 0;
        }

        .proof-badge {
            font-size: 0.75rem;
            padding: 0.375rem 0.875rem;
            margin-bottom: 2rem;
        }

        .stat-number {
            font-size: 1.5rem;
        }

        .stat-number.highlight {
            font-size: 1.75rem;
        }

        .stat-label {
            font-size: 0.8rem;
        }

        .research-item {
            padding: 0.75rem;
        }

        .research-text {
            font-size: 0.85rem;
        }

        /* Newsletter mobile */
        .newsletter-section {
            padding: 2.5rem 1rem;
            margin: 2rem 0;
        }

        .newsletter-title {
            font-size: 1.25rem;
        }

        .newsletter-subtitle {
            font-size: 0.9rem;
        }

        .newsletter-form {
            max-width: 100%;
        }

        .newsletter-input,
        .newsletter-button {
            font-size: 0.9rem;
        }

        /* CTA section mobile */
        .cta-section {
            margin: 2rem 0;
        }

        .section-lead {
            font-size: 1rem;
            margin-bottom: 1.5rem;
        }

        .cta-footnote {
            font-size: 0.8rem;
        }

        /* Pricing mobile */
        .plan-price {
            font-size: 1.25rem;
        }

        .large-price {
            font-size: 1.75rem !important;
        }

        .price-period {
            font-size: 1rem;
        }

        .plan-features {
            font-size: 0.85rem;
        }

        .plan-button {
            padding: 0.75rem 1.25rem;
            font-size: 0.9rem;
        }

        .guarantee-note {
            font-size: 0.85rem;
            padding: 0.75rem;
        }

        /* App demo container mobile */
        .app-demo-container {
            padding: 0.75rem;
            gap: 0.5rem;
        }
        
        .demo-header {
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .header-title {
            font-size: 0.875rem;
        }

        /* Task elements mobile */
        .task-container {
            margin-bottom: 0.5rem;
        }

        .task {
            padding: 0.5rem;
            font-size: 0.85rem;
        }

        .task .input {
            font-size: 0.85rem;
        }

        .tasks-list-actions {
            padding-top: 0.75rem;
        }

        .button {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }
    }

    /* ===== Landscape Mobile Adjustments ===== */
    @media (max-width: 768px) and (orientation: landscape) {
        .hero-section {
            padding: 1.5rem 0 3rem 0;
        }

        .hero-gradient {
            padding: 2rem 1.5rem;
        }

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

        .day-comparison {
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            padding: 0 0.5rem;
        }

    }

    /* ===== Touch Device Optimizations ===== */
    @media (hover: none) and (pointer: coarse) {
        /* Increase tap targets for touch devices */
        .nav-link,
        .cta-primary,
        .plan-button,
        .newsletter-button,
        .done-btn,
        .undo-btn {
            min-height: 44px;
            min-width: 44px;
        }

        /* Remove hover effects on touch devices */
        .feature-card:hover,
        .problem-card:hover,
        .period-card:hover,
        .research-item:hover,
        .faq-item:hover {
            transform: none;
        }
    }

    /* ===== Founder Story Section ===== */
    .founder-story-section {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .founder-badge {
        display: inline-block;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        padding: 0.5rem 1rem;
        border-radius: 1.25rem;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }
    
    .founder-story {
        background: var(--bg-color-muted);
        border-radius: 1rem;
        padding: 2rem;
        margin-top: 2rem;
        border: 1px solid var(--border-color);
    }
    
    .founder-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    .story-text {
        line-height: 1.7;
    }
    
    .story-lead {
        font-size: 1.15rem;
        color: var(--fg-color-black);
        margin-bottom: 1.5rem;
        font-weight: 500;
    }
    
    .story-text p {
        margin-bottom: 1.25rem;
        color: var(--fg-color-muted);
    }
    
    .founder-mission {
        background: var(--bg-color-default);
        padding: 1.5rem;
        border-radius: 0.75rem;
        border-left: 4px solid var(--bg-color-accent);
        margin-top: 1.5rem;
    }
    
    .founder-mission h3 {
        color: var(--fg-color-black);
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }
    
    .founder-stats {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .founder-stats .stat-item {
        text-align: center;
        background: var(--bg-color-default);
        padding: 1.25rem;
        border-radius: 0.75rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border-color);
    }

    /* Mobile Responsiveness for Founder Section */
    @media (max-width: 768px) {
        .founder-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        
        .founder-story {
            padding: 1.5rem;
        }
    }

    /* ===== FlowPad Section ===== */
    .flowpad-explanation {
        max-width: 1000px;
        margin: 3rem auto;
    }

    .flowpad-key-difference {
        text-align: center;
        margin-bottom: 3rem;
    }

    .flowpad-demo-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin: 3rem 0;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .flowpad-demo-card {
        background: var(--bg-color-default);
        border: 2px solid var(--border-color);
        border-radius: 1rem;
        padding: 2rem;
        position: relative;
        transition: all 0.3s ease;
    }

    .flowpad-demo-card:hover {
        border-color: var(--bg-color-accent);
        box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
    }

    .flowpad-demo-card.ai-organized {
        background: linear-gradient(135deg, var(--bg-color-accent-light) 0%, var(--bg-color-default) 100%);
        border-color: var(--bg-color-accent);
    }

    .demo-card-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--fg-color-primary);
        margin: 0 0 1rem 0;
        text-align: center;
    }

    .demo-content {
        line-height: 1.6;
    }

    .demo-content p {
        color: var(--fg-color-muted);
        font-style: italic;
        margin: 0;
    }

    .priority-group {
        margin: 1rem 0;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 0.5rem;
        border-left: 4px solid var(--bg-color-accent);
    }

    .priority-label {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        background: var(--bg-color-default);
        border: 1px solid var(--border-color);
    }

    .priority-label.high-priority {
        background: rgba(239, 68, 68, 0.1);
        border-color: #EF4444;
        color: #DC2626;
    }

    .priority-label.personal {
        background: rgba(34, 197, 94, 0.1);
        border-color: #22C55E;
        color: #16A34A;
    }

    .priority-label.learning {
        background: rgba(59, 130, 246, 0.1);
        border-color: #3B82F6;
        color: #2563EB;
    }

    .priority-group p {
        font-style: normal !important;
        color: var(--fg-color-default) !important;
        margin: 0.5rem 0 0 0;
        font-size: 0.95rem;
    }

    .flowpad-status {
        text-align: center;
        margin: 3rem auto;
        max-width: 600px;
    }

    .coming-soon-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--bg-color-accent);
        color: var(--fg-color-inverse);
        padding: 0.75rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 1rem;
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
    }

    .coming-soon-badge svg {
        width: 16px;
        height: 16px;
    }

    .flowpad-timeline {
        color: var(--fg-color-muted);
        font-size: 1rem;
        line-height: 1.6;
        margin: 0;
    }

    /* FlowPad Mobile Styles */
    @media (max-width: 768px) {
        .flowpad-demo-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .flowpad-demo-card {
            padding: 1.5rem;
        }

        .demo-card-title {
            font-size: 1rem;
        }

        .priority-group {
            padding: 0.5rem;
        }

        .coming-soon-badge {
            padding: 0.6rem 1.25rem;
            font-size: 0.9rem;
        }
    }
}
