/* Professional Studio - App Shell Design */
:root {
    /* Matte Palette - "Zinc" based */
    --bg-app: #09090b; /* Zinc 950 */
    /* Main background */
    --bg-header: #09090b;
    /* Header bg */
    --bg-surface: #18181b; /* Zinc 900 */
    /* Cards/Inputs */
    --bg-hover: #27272a; /* Zinc 800 */
    /* Hover states */

    --border-subtle: #27272a;

    --text-main: #fafafa; /* Zinc 50 */
    --text-muted: #a1a1aa; /* Zinc 400 */

    --accent-blue: #2563eb; /* Blue 600 - Technical */
    --accent-blue-hover: #1d4ed8; /* Blue 700 */

    --header-height: 56px;
}

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

body {
    background-color: var(--bg-app);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    /* App feel */
    display: flex;
    flex-direction: column;
}

/* --- App Header --- */
.app-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--border-subtle);
    background-color: var(--bg-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    flex-shrink: 0;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.logo-icon {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 4px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 6px 12px;
    width: 240px;
    color: var(--text-muted);
}

.search-bar input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 13px;
    width: 100%;
    outline: none;
}

/* Icons & Buttons */
.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn:hover {
    background-color: var(--bg-hover);
    color: var(--text-main);
}

.divider {
    width: 1px;
    height: 16px;
    background-color: var(--border-subtle);
    margin: 0 4px;
}

.menu-group {
    display: flex;
    gap: 4px;
}

.menu-btn {
    background: var(--bg-surface);
    /* Optional: can be transparent */
    border: 1px solid var(--border-subtle);
    /* Or transparent */
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--bg-hover);
    color: var(--text-main);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    background-image: url('https://ui-avatars.com/api/?name=User&background=random');
    background-size: cover;
}

/* --- Main Workspace (Hero) --- */
.workspace {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Give visual slightly more space */
    gap: 80px;
    max-width: 1400px;
    width: 100%;
    align-items: center;
}

/* Text Side */
.hero-text {
    /* No fixed width, let grid handle it */
    padding-left: 40px;
    /* Visual balance */
}

h1 {
    font-size: 4.5rem;
    /* Larger */
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(to bottom, #ffffff 0%, #a1a1aa 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 480px;
    font-weight: 400;
}

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

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    /* Slight fill */
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background-color: var(--bg-hover);
    border-color: var(--text-muted);
}

/* Visual Side Container */
.hero-visual-frame {
    position: relative;
    /* Card styling */
    background-color: #121214;
    /* Slightly lighter than bg */
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 12px;
    /* Pad the image inside */
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);

    /* Force aspect ratio constraints if needed, or just let image dictate height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Image itself */
.render-preview {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    /* Ensure it covers the area */
    border-radius: 8px;
    /* Inner radius */
    border: 1px solid #000;
    /* Subtle inner border */
}

/* Annotations Container - ensure it overlays correctly */
.annotation-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.annotation {
    position: absolute;
    display: flex;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

.label {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    border: 1px solid var(--border-subtle);
    margin-left: 0px;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-text {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .header-center {
        display: none;
    }

    /* Hide tools on tablet */
}

```