:root {
    --filesystem-width: 250px;
    --chat-width: 300px;
    --min-sidebar-width: 200px;
    --max-sidebar-width: 600px;
    --bg-primary: #1f1f1f;
    --bg-secondary: #2d2d2d;
    --bg-hover: #3d3d3d;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --primary-color: #007acc;
    --primary-color-dark: #0098ff;
    --primary-color-alpha: rgba(0, 122, 204, 0.2);
    --error-color: #ff4444;
    --error-color-alpha: rgba(255, 68, 68, 0.2);
    --error-bg: rgba(255, 68, 68, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 119, 237, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: #a1a1a6;
    margin-bottom: 3rem;
    max-width: 600px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    width: 100%;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature p {
    font-size: 0.9rem;
    color: #a1a1a6;
    line-height: 1.5;
}

.cta-button {
    margin-top: 2.5rem;
    background-color: #0077ED;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #2186F2;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 119, 237, 0.3);
}

.hidden {
    display: none;
}

.resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    cursor: col-resize;
    background: transparent;
    transition: background 0.2s;
}

.resize-handle:hover,
.resize-handle.active {
    background: rgba(0, 119, 237, 0.5);
}

.resize-handle-right {
    right: 0;
}

.resize-handle-left {
    left: 0;
}

.resizing {
    user-select: none;
    -webkit-user-select: none;
}

.file.selected-for-context {
    background-color: rgba(65, 105, 225, 0.2);
    border: 1px solid royalblue;
}

.context-button {
    margin: 10px;
    padding: 8px 16px;
    background-color: #4169e1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.context-button:hover {
    background-color: #3258c7;
}

.system-message {
    background-color: #f0f0f0;
    font-style: italic;
}

.copyright {
    margin-top: 3rem;
    color: #a1a1a6;
    font-size: 0.9rem;
    text-align: center;
}

.copyright a {
    color: #0077ED;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: #2186F2;
    text-decoration: underline;
}

.feature .license-text {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #a1a1a6;
}

.support-message {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1a6;
    font-size: 1rem;
    margin: 2rem 0;
    max-width: 600px;
    text-align: center;
    display: none;
}

.support-message.show {
    display: block;
}