:root {
    --bg-color: #ffffff;
    --wire-color: #333333;
    --fill-color: #f0f0f0;
    --text-color: #222222;
    --subtle-text: #666666;
    --border-width: 2px;
    --radius: 4px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px;
    background-color: #e5e5e5;
    font-family: var(--font-family);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.canvas {
    background-color: white;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border: 1px solid #ddd;
}

.canvas-header {
    text-align: center;
    margin-bottom: 20px;
}

.canvas-header h1 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.canvas-header p {
    color: var(--subtle-text);
    font-size: 1.1rem;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Screen Shell - Hand-sketch inspired */
.screen {
    background: white;
    border: 12px solid #f2f2f2;
    border-radius: 45px;
    height: 720px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08), inset 0 0 0 2px #e8e8e8;
}

.screen::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
}

.screen-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--subtle-text);
}

.screen-content {
    flex-grow: 1;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* UI Elements */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-bar {
    height: 8px;
    width: 35px;
    background: #dcdcdc;
    border: none;
    border-radius: 4px;
}

.title-large {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 10px 0;
}

.box {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 8px;
}

.box-shaded {
    background-color: #f9f9f9;
}

.box-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--subtle-text);
    margin-bottom: 5px;
}

.btn {
    padding: 16px;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    background: white;
}

.btn-primary {
    background: #a0a0a0;
    color: white;
    border-color: #a0a0a0;
}

.content-placeholder {
    flex-grow: 1;
    border: 2px dashed var(--wire-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--subtle-text);
    font-style: italic;
}

.nav-footer {
    height: 60px;
    border-top: 1px solid #eee;
    margin: auto -24px -30px -24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

.nav-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Quiz Specific */
.option {
    border: 1px solid #e0e0e0;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.option-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--wire-color);
    border-radius: 50%;
}

.feedback {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    border: 2px dashed var(--wire-color);
}

.footer-description {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    color: var(--subtle-text);
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .screens-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .screen {
        width: 375px;
    }
}
