﻿/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

:root {
    --bg: #0b121a;
    --surface: #121b26;
    --surface-strong: #172131;
    --surface-light: #1f2b3a;
    --surface-faint: rgba(255, 255, 255, 0.05);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #f97316;
    --accent-soft: #fb923c;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    min-height: 100vh;
    background: #0b121a;
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.app-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    padding: 32px 26px;
    background: linear-gradient(180deg, #101924 0%, #0b1118 100%);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f97316;
    color: white;
    font-size: 1.15rem;
}

.brand-copy h1 {
    font-size: 1.25rem;
    letter-spacing: 0.03em;
}

.brand-copy p {
    color: var(--muted);
    font-size: 0.93rem;
}

.nav-links {
    display: grid;
    gap: 12px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    transition: all 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.25);
    transform: translateX(4px);
}

.theme-btn {
    margin-top: auto;
    width: 100%;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.main-panel {
    padding: 32px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.topbar h2 {
    font-size: clamp(2.2rem, 2.8vw, 3.4rem);
    line-height: 1.05;
}


.eyebrow {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
    border: none;
    border-radius: 16px;
    padding: 14px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.ghost-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

.flash {
    padding: 16px 20px;
    border-radius: 18px;
    margin-bottom: 26px;
    border: 1px solid transparent;
}

.flash.success {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.22);
}

.flash.error {
    background: rgba(248, 113, 113, 0.14);
    border-color: rgba(248, 113, 113, 0.22);
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.hero-copy h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1.02;
}

.hero-copy p {
    color: var(--muted);
    max-width: 680px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 20px;
}

.speed-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
}

.speed-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316 0%, #fb923c 65%, rgba(255,255,255,0.2) 100%);
}

.track-visual {
    height: 220px;
    border-radius: 28px;
    background: radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 30%),
        linear-gradient(180deg, #131b27 0%, #0d1219 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cards-grid,
.page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.feature-card,
.info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card {
    display: block;
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card i,
.overview-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.14);
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.feature-card h3,
.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.feature-card p,
.info-card p,
.task-meta,
.muted {
    color: var(--muted);
    line-height: 1.7;
}

.overview-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
}

.display-number {
    font-size: 4rem;
    margin: 10px 0 0;
    line-height: 1;
}

.page-grid {
    grid-template-columns: 1.35fr 0.9fr;
}

.stacked-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.stacked-form input,
.stacked-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 14px 16px;
    border-radius: 16px;
    outline: none;
}

.stacked-form input:focus,
.stacked-form select:focus {
    border-color: rgba(249, 115, 22, 0.38);
}

.task-list {
    display: grid;
    gap: 16px;
}

.task-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.task-row strong {
    display: block;
    margin-bottom: 8px;
}

.task-meta {
    color: var(--muted);
    font-size: 0.95rem;
}

.action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}


.timer-card {
    display: grid;
    gap: 24px;
    text-align: center;
}

.timer-display {
    font-size: 4.5rem;
    letter-spacing: 0.02em;
    padding: 34px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.assistant-response {
    margin-top: 22px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill {
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.pill.low {
    background: rgba(34, 197, 94, 0.22);
}

.pill.medium {
    background: rgba(59, 130, 246, 0.22);
}

.pill.high {
    background: rgba(248, 113, 113, 0.22);
}

@media (max-width: 1080px) {
    .app-shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
        height: auto;
    }
    .main-panel {
        padding: 24px;
    }
    .hero-panel,
    .page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .main-panel {
        padding: 18px;
    }
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-copy h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .task-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .action-row {
        justify-content: flex-start;
    }
    .nav-links a {
        padding: 14px 12px;
    }
}










































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































`













































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































