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

:root {
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #6b7280;
    --color-primary: #2563eb;
    --color-border: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
    background: linear-gradient(to bottom right, #f8fafc, #e0f2fe);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: none;
}

@media (min-width: 768px) {
    .brand-subtitle {
        display: inline;
    }
}

.nav-links {
    display: none;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Page Content */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Cards */
.memory-sections,
.life-sections,
.agents-sections,
.settings-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.section-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.section-card.featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
    border-color: var(--color-primary);
}

/* Workspace */
.workspace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.workspace-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
}

.workspace-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.workspace-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Ask Interface */
.ask-interface {
    max-width: 800px;
    margin: 0 auto;
}

.ask-input-container {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.ask-input {
    width: 100%;
    min-height: 120px;
    border: none;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem;
}

.ask-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ask-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.suggestions {
    text-align: center;
}

.suggestions h4 {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.suggestion-btn {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Footer */
.page-footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-container {
        padding: 2rem 1.5rem;
    }

    .page-content {
        padding: 2rem 1rem;
    }
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.placeholder-content p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Enhanced Card Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.info-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.info-value {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 600;
}

/* Tag List */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.2));
    transform: translateY(-2px);
}

/* Confidence Bar */
.confidence-bar {
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.confidence-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Preference Grid */
.preference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.preference-category {
    padding: 2rem;
}

.preference-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-icon {
    font-size: 1.5rem;
}

.preference-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preference-list li {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.preference-list li:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.preference-list strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================================
   ATLAS Workspace refresh
   Shared visual layer for all product sub-pages.
   ============================================================ */

:root {
    --atlas-ink: #102038;
    --atlas-muted: #6c7b91;
    --atlas-line: rgba(32, 61, 99, 0.12);
    --atlas-cyan: #27c7d9;
    --atlas-blue: #3478f6;
    --atlas-panel: rgba(255, 255, 255, 0.86);
}

html {
    background: #eef4fb;
}

body.has-global-nav {
    background:
        radial-gradient(circle at 8% 0%, rgba(39, 199, 217, 0.16), transparent 28rem),
        radial-gradient(circle at 92% 16%, rgba(52, 120, 246, 0.12), transparent 30rem),
        linear-gradient(145deg, #f7fbff 0%, #edf3fa 55%, #e9f1fa 100%) !important;
    color: var(--atlas-ink) !important;
}

.page-content {
    max-width: 1280px;
    padding: 5.5rem 1.5rem 3rem;
}

.content-container {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 3.5rem) !important;
    background: var(--atlas-panel) !important;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(45, 76, 116, 0.12) !important;
}

.content-container::before {
    content: '';
    position: absolute;
    width: 20rem;
    height: 20rem;
    top: -12rem;
    right: -7rem;
    border-radius: 50%;
    background: rgba(39, 199, 217, 0.12);
    pointer-events: none;
}

.page-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "eyebrow eyebrow"
        "title description";
    align-items: end;
    gap: 0.65rem 2rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--atlas-line);
}

.page-eyebrow {
    grid-area: eyebrow;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-bottom: 0 !important;
    color: #3276d9 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.16em !important;
}

.page-eyebrow::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--atlas-cyan);
    box-shadow: 0 0 0 0.25rem rgba(39, 199, 217, 0.14);
}

.page-title {
    grid-area: title;
    margin-bottom: 0 !important;
    color: var(--atlas-ink) !important;
    font-size: clamp(2.2rem, 5vw, 4.6rem) !important;
    letter-spacing: -0.055em !important;
    line-height: 0.98 !important;
}

.page-description {
    grid-area: description;
    max-width: 27rem;
    margin: 0 !important;
    color: var(--atlas-muted) !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
}

.page-body {
    position: relative;
    z-index: 1;
}

.section-card,
.workspace-card,
.task-column,
.timeline-item,
.preference-category,
.ask-input-container {
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid var(--atlas-line) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 10px 28px rgba(33, 63, 99, 0.06);
}

.section-card {
    position: relative;
    min-height: 10.5rem;
    padding: 1.5rem !important;
    overflow: hidden;
}

.section-card::after {
    content: '↗';
    position: absolute;
    top: 1.35rem;
    right: 1.4rem;
    color: #9aabc1;
    font-size: 1.2rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.section-card:hover {
    border-color: rgba(52, 120, 246, 0.42) !important;
    box-shadow: 0 18px 36px rgba(52, 120, 246, 0.14) !important;
    transform: translateY(-6px);
}

.section-card:hover::after {
    color: var(--atlas-blue);
    transform: translate(3px, -3px);
}

.section-card h3,
.workspace-card h3,
.task-column h3 {
    color: var(--atlas-ink);
    letter-spacing: -0.02em;
}

.section-card p,
.workspace-card p {
    color: var(--atlas-muted) !important;
    line-height: 1.65;
}

.section-card.featured {
    background: linear-gradient(135deg, #e8f8ff 0%, #f1efff 100%) !important;
    border-color: rgba(52, 120, 246, 0.32) !important;
}

.card-icon {
    display: grid !important;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.2rem !important;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e7f8ff, #e9e9ff);
    font-size: 1.45rem !important;
}

.info-list,
.preference-list {
    gap: 0.65rem;
}

.info-item,
.preference-list li {
    background: #f5f8fc !important;
    border: 1px solid rgba(44, 76, 116, 0.07);
}

.info-item:hover,
.preference-list li:hover {
    background: #edf5ff !important;
    transform: translateX(4px);
}

.info-label {
    color: #8190a4 !important;
}

.info-value {
    color: var(--atlas-ink) !important;
}

.tag {
    background: #edf5ff !important;
    border-color: rgba(52, 120, 246, 0.16) !important;
    color: #3478d7 !important;
}

.confidence-bar {
    height: 0.7rem;
    margin: 1.4rem 0 0.75rem;
    background: #e7edf5;
}

.confidence-fill,
.progress-fill {
    background: linear-gradient(90deg, var(--atlas-cyan), var(--atlas-blue)) !important;
}

.task-column {
    padding: 1.25rem !important;
}

.task-card,
.event-card {
    border: 1px solid rgba(32, 61, 99, 0.09);
    border-radius: 0.95rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(33, 63, 99, 0.06);
}

.task-card:hover,
.event-card:hover {
    border-color: rgba(52, 120, 246, 0.35);
    box-shadow: 0 12px 22px rgba(52, 120, 246, 0.11);
}

.timeline-item {
    padding: 1.35rem !important;
}

.timeline-date {
    color: #3276d9 !important;
    font-weight: 700;
}

.ask-interface {
    max-width: 900px;
}

.ask-input-container {
    border: 1px solid rgba(52, 120, 246, 0.25) !important;
    box-shadow: 0 18px 40px rgba(52, 120, 246, 0.1);
}

.ask-input:focus {
    outline: 0;
}

.ask-submit {
    border-radius: 0.8rem !important;
    background: linear-gradient(110deg, #3478f6, #27c7d9) !important;
    box-shadow: 0 10px 24px rgba(52, 120, 246, 0.2);
}

.suggestion-btn {
    background: #fff !important;
    border-color: var(--atlas-line) !important;
    color: #54708f;
}

.page-footer {
    padding: 0 1rem 2.5rem;
    color: #8291a6;
}

@media (max-width: 720px) {
    .page-content {
        padding: 4.5rem 0.8rem 2rem;
    }

    .content-container {
        padding: 1.3rem !important;
        border-radius: 1.25rem;
    }

    .page-header {
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "description";
        gap: 0.8rem;
        padding-bottom: 1.25rem;
    }

    .page-title {
        font-size: clamp(2.4rem, 15vw, 3.7rem) !important;
    }

    .page-description {
        max-width: none;
    }

    .memory-sections,
    .life-sections,
    .agents-sections,
    .settings-sections,
    .preference-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage visual language: dark command-center surface for product pages. */
body.has-global-nav {
    background:
        radial-gradient(circle at 8% 0%, rgba(36, 136, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 92% 16%, rgba(117, 65, 225, 0.18), transparent 30rem),
        linear-gradient(180deg, #05070b 0%, #0c1220 100%) !important;
    color: #f2f6ff !important;
}

.page-content {
    max-width: 1320px;
}

.content-container {
    background: linear-gradient(145deg, rgba(17, 28, 49, 0.94), rgba(8, 14, 27, 0.92)) !important;
    border: 1px solid rgba(143, 200, 255, 0.14);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36) !important;
}

.content-container::before {
    background: rgba(103, 232, 249, 0.08);
}

.page-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.page-eyebrow {
    color: #67e8f9 !important;
}

.page-title {
    color: #f4f8ff !important;
}

.page-description {
    color: #9ba8bd !important;
}

.section-card,
.workspace-card,
.task-column,
.timeline-item,
.preference-category,
.ask-input-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
    border-color: rgba(255, 255, 255, 0.11) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.section-card:hover {
    border-color: rgba(103, 232, 249, 0.48) !important;
    background: linear-gradient(145deg, rgba(39, 103, 190, 0.24), rgba(255, 255, 255, 0.045)) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32) !important;
}

.section-card::after {
    color: #8293ae;
}

.section-card:hover::after {
    color: #67e8f9;
}

.section-card h3,
.workspace-card h3,
.task-column h3 {
    color: #f2f6ff;
}

.section-card p,
.workspace-card p,
.confidence-note {
    color: #899ab4 !important;
}

.section-card.featured {
    background: linear-gradient(145deg, rgba(39, 103, 190, 0.28), rgba(103, 232, 249, 0.07)) !important;
    border-color: rgba(103, 232, 249, 0.34) !important;
}

.card-icon {
    background: linear-gradient(145deg, rgba(103, 232, 249, 0.2), rgba(91, 140, 255, 0.18)) !important;
}

.info-item,
.preference-list li {
    background: rgba(4, 10, 22, 0.54) !important;
    border-color: rgba(255, 255, 255, 0.08);
}

.info-item:hover,
.preference-list li:hover {
    background: rgba(103, 232, 249, 0.08) !important;
}

.info-label {
    color: #8293ae !important;
}

.info-value {
    color: #eaf4ff !important;
}

.tag {
    background: rgba(103, 232, 249, 0.1) !important;
    border-color: rgba(103, 232, 249, 0.24) !important;
    color: #a8f1ff !important;
}

.confidence-bar {
    background: rgba(255, 255, 255, 0.1);
}

.task-card,
.event-card {
    background: rgba(4, 10, 22, 0.66);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.task-card h4,
.event-title {
    color: #eaf4ff;
}

.task-card p,
.event-time,
.task-date {
    color: #899ab4;
}

.timeline-date {
    color: #67e8f9 !important;
}

.ask-input-container {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.ask-input {
    color: #f2f6ff;
    background: transparent;
}

.suggestion-btn {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #9ba8bd;
}

.suggestion-btn:hover {
    color: #67e8f9;
    border-color: rgba(103, 232, 249, 0.4) !important;
    background: rgba(103, 232, 249, 0.08) !important;
}

.page-footer {
    color: #7083a2;
}

/* Memory Sections Grid */
.memory-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Category Icon in headers */
h3 .category-icon {
    display: inline-block;
    margin-right: 0.5rem;
}

/* Timeline Styles */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    padding: 2rem;
}

.timeline-date {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.75rem;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-meeting { border-left-color: #3b82f6; }
.event-task { border-left-color: #10b981; }
.event-focus { border-left-color: #8b5cf6; }
.event-deadline { border-left-color: #ef4444; }
.event-trip { border-left-color: #f59e0b; }

.event-time {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.875rem;
}

.event-title {
    font-weight: 500;
    color: var(--color-text);
}

.event-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
}

/* Tasks Board */
.tasks-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.task-column {
    padding: 1.5rem;
}

.task-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-todo { background: #94a3b8; }
.status-progress { background: #3b82f6; }
.status-done { background: #10b981; }

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

.task-card {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.task-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.task-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.priority-medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.priority-low {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.task-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.task-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.task-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.task-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.task-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 999px;
    font-size: 0.75rem;
    color: #2563eb;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transition: width 0.6s ease;
}

.task-completed {
    opacity: 0.7;
}

.completed-date {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
}
