:root {
    /* Tailwind Stone & Amber Palette - Updated */
    --bg-color: oklch(14.7% 0.004 49.25);
    /* Stone 950 */
    --card-bg: oklch(21.6% 0.006 56.043);
    /* Stone 900 */
    --text-main: oklch(92.3% 0.003 48.717);
    /* Stone 200 */
    --text-muted: oklch(70.9% 0.01 56.259);
    /* Stone 400 */

    --accent: oklch(76.9% 0.188 70.08);
    /* Amber 500 */
    --accent-glow: oklch(27.9% 0.077 45.635);

    --secondary: oklch(86.9% 0.005 56.366);
    /* Stone 300 - used for gradients */
    --success: oklch(69.6% 0.17 162.48);
    /* Emerald 500 */
    --warning: oklch(76.9% 0.188 70.08);
    /* Amber 500 */
    --danger: oklch(63.7% 0.237 25.331);
    /* Red 500 */

    --font-family: 'Outfit', sans-serif;

    --card-radius: 16px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    /* Supports ultrawide layouts reasonably well by centering content */
    margin: 0 auto;
    padding: 2rem 0;
    flex: 1;
}

/* Header */
.header {
    margin-bottom: 3rem;
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-main), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding-bottom: 3rem;
}

/* Premium Card Styles */
.card {
    background: var(--card-bg);
    border-radius: var(--card-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    border-color: rgba(255, 255, 255, 0.1);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Sections Specifics */
@media (min-width: 1600px) {

    /* Ultrawide consideration */
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Lists */
.list {
    list-style: none;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.project-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.project-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.project-header .title {
    font-weight: 600;
    color: var(--text-main);
}

.project-group .checklist {
    padding-left: 0.5rem;
    margin-bottom: 0.8rem;
}

.project-group .checklist li {
    font-size: 0.9rem;
    padding: 0.25rem 0;
    opacity: 0.85;
}

.status {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(0, 200, 83, 0.2);
    color: var(--success);
}

.status-planning {
    background: rgba(0, 229, 255, 0.2);
    color: var(--secondary);
}

.status-maintenance {
    background: rgba(255, 214, 0, 0.2);
    color: var(--warning);
}

/* Checklists */
.checklist {
    list-style: none;
    margin-bottom: 1rem;
}

.checklist li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.checklist input[type="checkbox"] {
    accent-color: var(--accent);
    cursor: not-allowed;
}

/* Progress-based Goals */
.goal-item {
    margin-bottom: 1.5rem;
}

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

.goal-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.progress-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Dreams */
.dream-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tag-cloud {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.tag-cloud li:hover {
    background: var(--accent);
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 2rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2.5rem;
    }
}