:root {
    --bg: #ffffff;
    --surface: #f7f7f8;
    --accent: #10a37f;
    /* ChatGPT Green */
    --text: #374151;
    --text-dim: #6b7280;
    --border: #e5e7eb;
    --glass: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
    --bg: #212121;
    --surface: #2f2f2f;
    --accent: #10a37f;
    --text: #ececec;
    --text-dim: #b4b4b4;
    --border: #3d3d3d;
    --glass: rgba(33, 33, 33, 0.8);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.5;
}

/* Nav */
.chatgpt-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-right {
    display: flex;
    gap: 12px;
}

/* Main */
.chat-interface {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 40px 20px;
}

/* Hero */
.hero-minimal {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-minimal h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    font-weight: 800;
}

.chat-box-mock {
    width: 100%;
    max-width: 768px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
}

.chat-box-mock input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1rem;
}

.send-btn {
    background: var(--border);
    color: var(--text-dim);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-actions button {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

.quick-actions button:hover {
    background: var(--surface);
}

/* Instructions */
.instructions-section {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.step-num {
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 8px;
}

/* Utils */
.btn-primary {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-minimal {
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.btn-outline:hover {
    background: var(--surface);
}

.theme-toggle {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
}

.gradient-text {
    color: var(--accent);
}

.glass-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
}

/* Footer */
.minimal-footer {
    max-width: 800px;
    margin: 100px auto 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
}

.release-minimal {
    text-align: center;
    padding: 60px 0;
}

.release-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Status Dashboard (Phase 20) */
.system-status-mini {
    display: flex;
    gap: 15px;
    margin-right: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
    position: relative;
    transition: 0.3s;
}

.status-dot.online {
    background: #00e676;
    box-shadow: 0 0 6px #00e676;
}

.status-dot.offline {
    background: #ff1744;
}

.status-dot.online::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #00e676;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.badge {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}