/* Landing Page Layout */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateX(2deg);
    }

    50% {
        transform: translateY(-10px) rotateX(4deg);
    }

    100% {
        transform: translateY(0px) rotateX(2deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 10px 5px rgba(99, 102, 241, 0);
        /* Reduced blur radius */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

@keyframes scan-line {
    0% {
        transform: translateY(-100%) rotate(-5deg);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(1000%) rotate(-5deg);
        opacity: 0;
    }
}

@keyframes cell-reveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    will-change: opacity, transform;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Header & Nav (Preserved structure as requested) */
.k-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md) 0;
    background-color: var(--k-glass-bg);
    backdrop-filter: var(--k-glass-blur);
    z-index: 1000;
    border-bottom: 1px solid var(--k-glass-border);
}

.k-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Menu */
.k-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.k-nav-link {
    color: var(--k-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.k-nav-link:hover {
    color: var(--k-text-primary);
}

.k-nav-link.active {
    color: var(--k-text-primary);
}

.k-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--k-accent-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .k-nav-menu {
        display: none;
        /* Hide on mobile for now, or implement hamburger */
    }
}

.k-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--k-text-primary);
    text-decoration: none;
}

.k-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--k-text-primary);
    color: var(--k-bg-main);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 800;
}

.k-nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.k-nav-links a {
    color: var(--k-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.k-nav-links a:hover,
.k-nav-links a.active {
    color: var(--k-text-primary);
}

/* Hero Section */
.k-hero {
    padding-top: 160px;
    padding-bottom: var(--space-2xl);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.k-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -1;
}

.k-hero-content {
    max-width: 900px;
    margin-bottom: var(--space-2xl);
    z-index: 10;
}

.k-hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.04em;
    color: white;
}

.gradient-text {
    background: var(--k-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.k-hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--k-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Mockup Visual - Premium Improvements */
.k-hero-visual {
    width: 100%;
    max-width: 1100px;
    padding: 0 var(--space-md);
    perspective: 2000px;
}

.mockup-window {
    background-color: var(--k-bg-card);
    border: 1px solid var(--k-glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

/* Premium Sheen Effect */
.mockup-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 60%,
            transparent 100%);
    transform: skewX(-25deg);
    animation: sheen 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 60;
}

@keyframes sheen {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.mockup-window::before {
    /* Subtle internal glow */
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(99, 102, 241, 0.1);
    pointer-events: none;
    z-index: 55;
}

.mockup-header {
    height: 44px;
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    padding: 0 var(--space-lg);
    gap: 8px;
    border-bottom: 1px solid var(--k-glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background-color: #ff5f56;
}

.dot.yellow {
    background-color: #ffbd2e;
}

.dot.green {
    background-color: #27c93f;
}

.mockup-body {
    height: calc(100% - 44px);
    padding: var(--space-md);
}

/* Enhanced Abstract UI */
.abstract-ui {
    display: flex;
    height: 100%;
    gap: var(--space-md);
}

.ui-sidebar {
    width: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid var(--k-glass-border);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ui-sidebar-item {
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    width: 80%;
    transition: all 0.3s ease;
}

.ui-sidebar-item.active {
    background: var(--k-accent-primary);
    width: 90%;
    box-shadow: 0 0 15px var(--k-accent-glow);
}

.ui-sidebar-item:nth-child(n) {
    animation: cell-reveal 0.5s ease backwards;
}

.ui-sidebar-item:nth-child(2) {
    animation-delay: 0.6s;
    width: 60%;
}

.ui-sidebar-item:nth-child(3) {
    animation-delay: 0.7s;
    width: 70%;
}

.ui-sidebar-item:nth-child(4) {
    animation-delay: 0.8s;
    width: 40%;
}

.ui-sidebar-item:nth-child(5) {
    animation-delay: 0.9s;
    width: 65%;
}

.ui-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-xs);
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    flex: 1;
}

.ui-cell {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: cell-reveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    transition: all 0.3s ease;
}

.ui-cell:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Staggered Grid entry */
.ui-cell:nth-child(7n+1) {
    animation-delay: 0.5s;
}

.ui-cell:nth-child(7n+2) {
    animation-delay: 0.6s;
}

.ui-cell:nth-child(7n+3) {
    animation-delay: 0.7s;
}

.ui-cell:nth-child(7n+4) {
    animation-delay: 0.8s;
}

.ui-cell:nth-child(7n+5) {
    animation-delay: 0.9s;
}

.ui-cell:nth-child(7n+6) {
    animation-delay: 1.0s;
}

.ui-cell:nth-child(7n+7) {
    animation-delay: 1.1s;
}

.ui-cell::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.ui-cell.has-task-1::after {
    background: var(--k-accent-primary);
    opacity: 1;
    box-shadow: 0 0 5px var(--k-accent-primary);
}

.ui-cell.has-task-2::after {
    background: var(--k-success);
    opacity: 1;
    box-shadow: 0 0 5px var(--k-success);
}

.ui-cell.has-task-3::after {
    background: var(--k-warning);
    opacity: 1;
    box-shadow: 0 0 5px var(--k-warning);
}

.ui-cell.active {
    border-color: var(--k-accent-primary);
    background: rgba(99, 102, 241, 0.1);
    animation: pulse-glow 3s infinite;
}

/* Features Section */
.k-section {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--k-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--k-gradient-glass);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--k-glass-border);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--k-accent-primary);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-card:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--k-accent-primary);
}

.feature-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--k-glass-border);
    transition: all var(--transition-smooth);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

/* Showcase Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.card-visual {
    background: var(--k-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--k-glass-border);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.card-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--k-accent-primary) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    filter: blur(20px);
    /* Reduced blur from 40px */
    will-change: transform;
}

.task-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    will-change: transform, opacity;
    cursor: grab;
}

.task-row:nth-child(1) {
    animation-delay: 0.2s;
}

.task-row:nth-child(2) {
    animation-delay: 0.4s;
}

.task-row:nth-child(3) {
    animation-delay: 0.6s;
}

.task-row:hover {
    transform: translateX(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.task-drag-handle {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0.3;
}

.task-drag-handle span {
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
}

.task-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--k-text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.task-row.completed .task-checkbox {
    background: var(--k-success);
    border-color: var(--k-success);
}

.task-row.completed .task-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.task-row.completed .task-text {
    text-decoration: line-through;
    opacity: 0.5;
}

.task-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

/* CTA actions moved/merged below */
.small-note {
    font-size: 0.85rem !important;
    opacity: 0.6;
    margin-top: 0 !important;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.task-tag {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.task-tag.work {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.task-tag.personal {
    background: rgba(236, 72, 153, 0.2);
    color: #f9a8d4;
}

.task-tag.event {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}

.task-notes-icon {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* CTA Section */
.k-cta {
    background: var(--k-gradient-dark);
    border-radius: 40px;
    padding: 100px var(--space-xl);
    margin: 80px var(--space-md);
    border: 1px solid var(--k-glass-border);
    position: relative;
    overflow: hidden;
}

.k-cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: -0.04em;
    margin-bottom: var(--space-md);
}

.k-cta-content p {
    margin-bottom: var(--space-2xl);
    color: var(--k-text-secondary);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 100px;
    box-shadow: 0 10px 20px -5px var(--k-accent-glow);
}

/* Footer Improvements */
.k-footer {
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .k-logo-text {
    font-size: 2rem;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    .k-hero {
        padding-top: 100px;
        padding-bottom: var(--space-xl);
    }

    .k-hero-title {
        font-size: 2.5rem;
        /* Smaller title */
        margin-bottom: var(--space-md);
    }

    .k-hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-lg);
    }

    .k-section {
        padding: 60px 0;
        /* Reduced padding */
    }

    .section-title {
        font-size: 2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .mockup-window {
        aspect-ratio: auto;
        height: 300px;
        /* Constrain height */
    }

    .ui-sidebar {
        display: none;
        /* Hide UI sidebar in mockup on narrow screens */
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Landing Notes Section */
#landing-notes-section {
    position: relative;
    z-index: 20;
    margin-top: -60px;
    /* Pull up to overlap hero slightly */
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-md);
    transition: all 0.5s ease;
}

#landing-notes-section.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.landing-notes-container {
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid var(--k-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out backwards;
}

.landing-notes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--k-glass-border);
}


/* Landing Dashboard - Premium Update */
#landing-dashboard-section {
    padding: var(--space-xl) 0;
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dashboard-header h3 {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    letter-spacing: -0.03em;
}

.dashboard-header h3 .icon {
    font-size: 1.8rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.dashboard-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(20, 20, 25, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 70%);
    pointer-events: none;
}

.dashboard-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(25, 25, 30, 0.5) 100%);
}

.dashboard-card-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.dashboard-card-header h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--k-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
}

.dashboard-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
    /* Space for scrollbar */
    position: relative;
    z-index: 2;
}

/* Custom Scrollbar */
.dashboard-list::-webkit-scrollbar {
    width: 4px;
}

.dashboard-list::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dashboard-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dashboard-empty-state {
    color: var(--k-text-muted);
    font-size: 0.95rem;
    text-align: center;
    padding: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    height: 100%;
}

.empty-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--k-text-muted);
    margin-bottom: var(--space-xs);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* List Items - Pill Style */
.dashboard-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    gap: 16px;
    align-items: center;
    cursor: pointer;
}

.dashboard-item:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Brighter on hover */
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px) scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    /* Slightly softer */
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--k-text-secondary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dashboard-item:hover .dashboard-item-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.1);
}

.event-icon .event-day {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--k-accent-primary);
}

.dashboard-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dashboard-item h4 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--k-text-primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-item span {
    font-size: 0.85rem;
    color: var(--k-text-secondary);
    /* Lighter than muted */
    display: block;
    font-weight: 400;
}

.dashboard-more-link {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--k-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    text-align: right;
    width: 100%;
    opacity: 0.6;
}

.dashboard-more-link:hover {
    color: var(--k-accent-primary);
    opacity: 1;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.landing-notes-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--k-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
}

.landing-note-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--k-glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 140px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.landing-note-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.landing-note-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--k-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-note-card p {
    font-size: 0.85rem;
    color: var(--k-text-secondary);
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}