/* ===== CSS VARIABLES ===== */
:root {
    --sidebar-width: 270px;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99,102,241,.25);
    --surface-1: #0f1117;
    --surface-2: #16181f;
    --surface-3: #1e2028;
    --surface-4: #262830;
    --border-color: rgba(255,255,255,.06);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.5);
    --shadow-glow: 0 0 20px var(--accent-glow);
    --transition: all .2s cubic-bezier(.4,0,.2,1);
    --green: #10b981;
    --red: #ef4444;
    --yellow: #f59e0b;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
}
[data-bs-theme="light"] {
    --surface-1: #f0f2f5;
    --surface-2: #ffffff;
    --surface-3: #f8fafc;
    --surface-4: #e2e8f0;
    --border-color: rgba(0,0,0,.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
}

/* ===== GLOBAL ===== */
* { box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--surface-1);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--surface-1);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .4s, visibility .4s;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; }
.loading-icon {
    width: 70px; height: 70px; border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff; margin: 0 auto .75rem;
    box-shadow: var(--shadow-glow);
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(168,85,247,.15); }
}
.loading-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; }
.loading-sub { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* ===== LOGIN SCREEN ===== */
.login-mode { margin-left: 0 !important; }
.login-mode .topbar { display: none !important; }

.login-screen {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1040 40%, #24243e 100%);
    position: relative; overflow: hidden;
    padding: 1rem;
}

/* Particles */
.login-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.4) 0%, transparent 70%);
    animation: float-particle linear infinite;
}
.particle:nth-child(1) { width: 300px; height: 300px; top: -10%; left: -5%; animation-duration: 20s; }
.particle:nth-child(2) { width: 200px; height: 200px; top: 60%; right: -5%; animation-duration: 25s; animation-delay: -5s; background: radial-gradient(circle, rgba(168,85,247,.3) 0%, transparent 70%); }
.particle:nth-child(3) { width: 150px; height: 150px; top: 30%; left: 50%; animation-duration: 18s; animation-delay: -3s; }
.particle:nth-child(4) { width: 100px; height: 100px; bottom: 10%; left: 20%; animation-duration: 22s; animation-delay: -8s; background: radial-gradient(circle, rgba(6,182,212,.3) 0%, transparent 70%); }
.particle:nth-child(5) { width: 80px; height: 80px; top: 20%; right: 20%; animation-duration: 15s; animation-delay: -2s; background: radial-gradient(circle, rgba(16,185,129,.25) 0%, transparent 70%); }
.particle:nth-child(6) { width: 250px; height: 250px; bottom: -5%; right: 30%; animation-duration: 28s; animation-delay: -10s; background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%); }
.particle:nth-child(7) { width: 120px; height: 120px; top: 50%; left: 10%; animation-duration: 16s; animation-delay: -6s; background: radial-gradient(circle, rgba(245,158,11,.2) 0%, transparent 70%); }
.particle:nth-child(8) { width: 180px; height: 180px; top: 10%; right: 40%; animation-duration: 24s; animation-delay: -12s; background: radial-gradient(circle, rgba(139,92,246,.25) 0%, transparent 70%); }

@keyframes float-particle {
    0% { transform: translate(0, 0) scale(1); opacity: .6; }
    25% { transform: translate(30px, -40px) scale(1.1); opacity: .8; }
    50% { transform: translate(-20px, 20px) scale(.9); opacity: .5; }
    75% { transform: translate(40px, 30px) scale(1.05); opacity: .7; }
    100% { transform: translate(0, 0) scale(1); opacity: .6; }
}

/* Login Card */
.login-card {
    width: 100%; max-width: 420px;
    background: rgba(22, 24, 31, .75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    position: relative; z-index: 1;
    box-shadow: 0 25px 60px rgba(0,0,0,.5), 0 0 80px rgba(99,102,241,.08);
}
[data-bs-theme="light"] .login-card {
    background: rgba(255,255,255,.85);
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
}

.login-header { text-align: center; margin-bottom: 2rem; }
.login-logo { position: relative; display: inline-block; margin-bottom: 1rem; }
.login-logo-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    box-shadow: 0 0 30px var(--accent-glow);
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative; z-index: 1;
}
.login-logo-glow {
    position: absolute; inset: -15px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}
.login-title {
    font-size: 1.8rem; font-weight: 800; letter-spacing: -.5px;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-bs-theme="light"] .login-title {
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text; background-clip: text;
}
.login-subtitle { color: var(--text-muted); font-size: .85rem; margin-top: .25rem; }

/* Login Form */
.login-field { margin-bottom: 1.25rem; }
.login-label {
    display: block; font-size: .78rem; font-weight: 600;
    color: var(--text-secondary); margin-bottom: .5rem;
    text-transform: uppercase; letter-spacing: .5px;
}
.login-input {
    width: 100%; padding: .8rem 1rem; font-size: .95rem;
    background: rgba(30, 32, 40, .8);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}
[data-bs-theme="light"] .login-input {
    background: rgba(248,250,252,.9);
    border-color: rgba(0,0,0,.1);
}
.login-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.login-input::placeholder { color: var(--text-muted); }

.login-password-wrap { position: relative; }
.login-password-wrap .login-input { padding-right: 3rem; }
.login-eye {
    position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted); cursor: pointer;
    font-size: 1.1rem; padding: 4px; transition: color .2s;
}
.login-eye:hover { color: var(--accent); }

.login-error {
    display: flex; align-items: center; gap: .5rem;
    padding: .75rem 1rem; margin-bottom: 1rem;
    background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2);
    border-radius: 10px; color: #ef4444; font-size: .85rem; font-weight: 500;
}

.login-btn {
    width: 100%; padding: .9rem; font-size: 1rem; font-weight: 700;
    border: none; border-radius: 14px; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: #fff; transition: var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}
.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}
.login-btn:active:not(:disabled) { transform: translateY(0); }
.login-btn:disabled { opacity: .6; cursor: not-allowed; }
.login-btn-text, .login-btn-loading {
    display: inline-flex; align-items: center; gap: .5rem;
}

.login-footer { text-align: center; margin-top: 1.25rem; }
.login-forgot {
    background: none; border: none; color: var(--text-muted);
    font-size: .82rem; cursor: pointer; transition: color .2s;
    display: inline-flex; align-items: center; gap: .35rem;
}
.login-forgot:hover { color: var(--accent); }

.login-info {
    text-align: center; margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted); font-size: .75rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--sidebar-width);
    background: var(--surface-2);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    overflow-y: auto; z-index: 1050;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
}
.sidebar .brand {
    padding: 1.5rem 1.25rem;
    font-size: 1.25rem; font-weight: 800;
    letter-spacing: -.5px;
    border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; gap: .75rem;
    flex-shrink: 0;
}
.sidebar .brand-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
    box-shadow: var(--shadow-glow);
}
.sidebar .nav-section {
    padding: 1.2rem 1.25rem .4rem;
    font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-muted);
}
.sidebar .nav-link {
    color: var(--text-secondary);
    padding: .65rem 1rem; border-radius: var(--radius-sm);
    margin: 1px 10px; transition: var(--transition);
    font-size: .875rem; font-weight: 500;
    display: flex; align-items: center; gap: .6rem;
    position: relative; overflow: hidden;
}
.sidebar .nav-link i { font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar .nav-link:hover { color: var(--text-primary); background: var(--surface-3); }
.sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    box-shadow: var(--shadow-glow);
    font-weight: 600;
}
.sidebar .nav-link .badge-count {
    margin-left: auto; font-size: .65rem; padding: 2px 7px;
    border-radius: 20px; background: rgba(255,255,255,.15);
}
.sidebar-footer {
    margin-top: auto; padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

/* ===== TOPBAR ===== */
.topbar {
    position: sticky; top: 0; z-index: 1040;
    background: rgba(15,17,23,.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: .75rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
[data-bs-theme="light"] .topbar { background: rgba(255,255,255,.85); }
.topbar .breadcrumb { margin: 0; font-size: .85rem; }
.topbar .breadcrumb-item.active { color: var(--text-secondary); }

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex; flex-direction: column;
}
.content-area { padding: 1.5rem; flex: 1; }

/* ===== CARDS ===== */
.card {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem; font-weight: 600;
}

/* ===== STAT CARDS ===== */
.stat-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden; position: relative;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--accent), #a855f7);
    opacity: 0; transition: opacity .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { opacity: 1; }
.stat-card .stat-icon {
    width: 50px; height: 50px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.stat-card .stat-value { font-size: 1.4rem; font-weight: 700; letter-spacing: -.5px; }
.stat-card .stat-label { font-size: .75rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ===== PAGE HEADER ===== */
.page-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 1.6rem; font-weight: 700; margin: 0;
    letter-spacing: -.5px;
    display: flex; align-items: center; gap: .5rem;
}
.page-header h1 i { color: var(--accent); }

/* ===== TABLES ===== */
.table { --bs-table-bg: transparent; font-size: .875rem; }
.table > thead > tr > th {
    background: var(--surface-3);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600; font-size: .75rem;
    text-transform: uppercase; letter-spacing: .5px;
    color: var(--text-muted); padding: .8rem 1rem;
}
.table > tbody > tr > td { padding: .8rem 1rem; border-color: var(--border-color); vertical-align: middle; }
.table > tbody > tr { transition: background .15s; }
.table-hover > tbody > tr:hover { background: var(--surface-3); }

/* ===== FORMS ===== */
.form-control, .form-select {
    background: var(--surface-3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    background: var(--surface-3);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
}
.form-label { font-weight: 500; font-size: .85rem; color: var(--text-secondary); margin-bottom: .4rem; }
.input-group-text {
    background: var(--surface-4); border-color: var(--border-color);
    color: var(--text-secondary); font-size: .85rem;
}

/* ===== BUTTONS ===== */
.btn { font-weight: 500; font-size: .875rem; border-radius: var(--radius-sm); transition: var(--transition); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border: none; box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover), #8b5cf6);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}
.btn-success { background: linear-gradient(135deg, #059669, #10b981); border: none; }
.btn-success:hover { background: linear-gradient(135deg, #047857, #059669); transform: translateY(-1px); }
.btn-outline-primary { border-color: var(--accent); color: var(--accent); }
.btn-outline-primary:hover { background: var(--accent); border-color: var(--accent); }

/* ===== BADGES ===== */
.badge {
    font-weight: 600; font-size: .72rem; padding: .35em .7em;
    border-radius: 6px; letter-spacing: .3px;
}
.bg-purple { background: #8b5cf6 !important; }

/* ===== ALERTS / FLASH ===== */
.alert {
    border-radius: var(--radius-md); border: none;
    font-size: .875rem; font-weight: 500;
    backdrop-filter: blur(10px);
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    background: var(--surface-3); border-color: var(--border-color);
    color: var(--text-secondary); border-radius: var(--radius-sm) !important;
    margin: 0 2px; font-size: .85rem;
}
.pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); }

/* ===== MODAL ===== */
.modal-content {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.modal-header { border-color: var(--border-color); }
.modal-footer { border-color: var(--border-color); }

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface-3);
    color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
    font-size: 1.1rem;
}
.theme-toggle:hover { background: var(--surface-4); color: var(--accent); }

/* ===== TABS (Product Form) ===== */
.form-tabs {
    display: flex; gap: .25rem; padding: .25rem;
    background: var(--surface-3); border-radius: var(--radius-md);
    margin-bottom: 1.25rem; overflow-x: auto;
}
.form-tab {
    padding: .55rem 1rem; font-size: .82rem; font-weight: 600;
    color: var(--text-muted); cursor: pointer;
    border-radius: var(--radius-sm); transition: var(--transition);
    white-space: nowrap; border: none; background: none;
    display: flex; align-items: center; gap: .4rem;
}
.form-tab:hover { color: var(--text-primary); background: var(--surface-4); }
.form-tab.active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    box-shadow: var(--shadow-glow);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeInUp .3s ease-out; }

/* ===== QUICK ACTIONS (Dashboard) ===== */
.quick-actions {
    display: flex; gap: .5rem; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.quick-action-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.1rem; border-radius: var(--radius-md);
    font-size: .82rem; font-weight: 600; cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--surface-2); color: var(--text-secondary);
    transition: var(--transition); text-decoration: none;
}
.quick-action-btn i { font-size: 1rem; }
.quick-action-btn:hover {
    border-color: var(--accent); color: var(--accent);
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}

/* ===== TIMELINE (Production) ===== */
.timeline { position: relative; padding: 0; margin: 0; list-style: none; }
.timeline::before {
    content: ''; position: absolute; left: 18px; top: 0; bottom: 0;
    width: 2px; background: var(--border-color);
}
.timeline-item {
    position: relative; padding-left: 48px; padding-bottom: 1.25rem;
    animation: fadeInUp .3s ease-out both;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .timeline-dot {
    position: absolute; left: 10px; top: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    border: 3px solid var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.timeline-item .timeline-dot.dot-success { background: var(--green); box-shadow: 0 0 8px rgba(16,185,129,.4); }
.timeline-item .timeline-dot.dot-primary { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.timeline-item .timeline-dot.dot-warning { background: var(--yellow); box-shadow: 0 0 8px rgba(245,158,11,.4); }
.timeline-item .timeline-dot.dot-danger { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,.4); }
.timeline-item .timeline-dot.dot-info { background: var(--cyan); box-shadow: 0 0 8px rgba(6,182,212,.4); }
.timeline-item .timeline-dot.dot-secondary { background: var(--text-muted); }
.timeline-item .timeline-dot.dot-purple { background: var(--purple); box-shadow: 0 0 8px rgba(139,92,246,.4); }

.timeline-content {
    background: var(--surface-3); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: .6rem .85rem;
}
.timeline-title { font-size: .82rem; font-weight: 600; margin-bottom: .15rem; }
.timeline-meta { font-size: .72rem; color: var(--text-muted); }
.timeline-note { font-size: .78rem; color: var(--text-secondary); margin-top: .25rem; }

/* ===== DETAIL CARD ===== */
.detail-section {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.detail-section:last-child { border-bottom: none; }
.detail-section-title {
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); margin-bottom: .75rem;
    display: flex; align-items: center; gap: .4rem;
}
.detail-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: .35rem 0; font-size: .85rem;
}
.detail-label { color: var(--text-muted); font-weight: 500; }
.detail-value { font-weight: 600; text-align: right; max-width: 60%; }

/* ===== MINI STAT ROW ===== */
.mini-stats {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .5rem; margin-bottom: 1rem;
}
.mini-stat {
    background: var(--surface-3); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: .6rem .8rem;
    text-align: center; transition: var(--transition);
}
.mini-stat:hover { border-color: var(--accent); transform: translateY(-2px); }
.mini-stat .mini-stat-value { font-size: 1.1rem; font-weight: 700; }
.mini-stat .mini-stat-label { font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .4s ease-out both; }
.animate-in:nth-child(1) { animation-delay: .02s; }
.animate-in:nth-child(2) { animation-delay: .06s; }
.animate-in:nth-child(3) { animation-delay: .1s; }
.animate-in:nth-child(4) { animation-delay: .14s; }
.animate-in:nth-child(5) { animation-delay: .18s; }
.animate-in:nth-child(6) { animation-delay: .22s; }
.animate-in:nth-child(7) { animation-delay: .26s; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center; padding: 3rem 1rem; color: var(--text-muted);
}
.empty-state i { font-size: 3rem; opacity: .3; margin-bottom: .75rem; display: block; }

/* ===== CODE ===== */
code {
    background: var(--surface-3); padding: .15em .4em;
    border-radius: 4px; font-size: .82em; color: var(--accent);
}

/* ===== POS ===== */
.pos-container { display: flex; gap: 1.25rem; height: calc(100vh - 140px); }
.pos-products { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.pos-cart {
    width: 400px; display: flex; flex-direction: column;
    background: var(--surface-2); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 0;
    box-shadow: var(--shadow-md); overflow: hidden;
}
.pos-cart-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.pos-cart-body { flex: 1; overflow-y: auto; padding: 0; }
.pos-cart-footer { padding: 1.25rem; border-top: 1px solid var(--border-color); background: var(--surface-3); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: .75rem; padding: .25rem 0; }
.product-card {
    background: var(--surface-2); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: 1rem;
    cursor: pointer; transition: var(--transition); text-align: center;
    position: relative; overflow: hidden;
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, var(--accent), #a855f7);
    opacity: 0; transition: opacity .2s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card:hover::before { opacity: 1; }
.product-card:active { transform: scale(.97); }
.product-card .name { font-weight: 600; font-size: .82rem; margin-bottom: .4rem; line-height: 1.3; }
.product-card .price { color: #10b981; font-weight: 700; font-size: 1.05rem; }
.product-card .stock { font-size: .7rem; color: var(--text-muted); margin-top: .25rem; }

.cart-item {
    display: flex; align-items: center; gap: .6rem;
    padding: .75rem 1.25rem; border-bottom: 1px solid var(--border-color); transition: background .15s;
}
.cart-item:hover { background: var(--surface-3); }
.cart-item .item-info { flex: 1; }
.cart-item .item-name { font-weight: 600; font-size: .82rem; }
.cart-item .item-price { font-size: .75rem; color: var(--text-muted); }
.cart-item .qty-controls {
    display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden;
}
.cart-item .qty-controls input {
    width: 36px; text-align: center; border: none; border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color); padding: 4px; font-size: .85rem; font-weight: 600;
    background: transparent; color: var(--text-primary);
}
.cart-item .qty-controls button {
    border: none; background: transparent; width: 30px; height: 30px; cursor: pointer;
    color: var(--text-secondary); font-size: .9rem;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.cart-item .qty-controls button:hover { background: var(--accent); color: #fff; }
.cart-item .item-total { font-weight: 700; font-size: .9rem; min-width: 70px; text-align: right; }
.cart-item .remove-btn {
    width: 24px; height: 24px; border-radius: 50%;
    border: none; background: rgba(239,68,68,.1); color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .65rem; transition: var(--transition);
}
.cart-item .remove-btn:hover { background: #ef4444; color: #fff; }

.payment-options { display: flex; gap: .5rem; margin-bottom: 1rem; }
.payment-opt {
    flex: 1; border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); padding: .5rem; text-align: center;
    cursor: pointer; transition: var(--transition); font-size: .8rem; font-weight: 500;
    color: var(--text-secondary); background: transparent;
}
.payment-opt i { display: block; font-size: 1.2rem; margin-bottom: .2rem; }
.payment-opt:hover { border-color: var(--accent); color: var(--accent); }
.payment-opt.active {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border-color: transparent; color: #fff; box-shadow: var(--shadow-glow);
}
.complete-btn {
    width: 100%; padding: .85rem; font-size: 1rem; font-weight: 700;
    border: none; border-radius: var(--radius-md);
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.complete-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px); box-shadow: 0 4px 15px rgba(5,150,105,.4);
}
.complete-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ===== SCANNER ===== */
.scanner-page { max-width: 600px; margin: 0 auto; }
.scanner-box {
    background: var(--surface-2); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); overflow: hidden;
}
.scanner-header {
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: space-between;
}
#reader { width: 100%; background: #000; min-height: 280px; }
#reader__header_message { display: none !important; }
.scan-status {
    padding: .6rem 1.25rem; font-size: .8rem; font-weight: 500;
    display: flex; align-items: center; gap: .5rem;
    border-top: 1px solid var(--border-color); background: var(--surface-3);
}
.scan-status .dot { width: 8px; height: 8px; border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.product-result {
    background: var(--surface-2); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); overflow: hidden; animation: slideUp .35s ease-out;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-result-header {
    padding: 1.25rem; background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(168,85,247,.05));
    border-bottom: 1px solid var(--border-color);
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; }
.info-item { padding: .85rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.info-item:nth-child(odd) { border-right: 1px solid var(--border-color); }
.info-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: .2rem; }
.info-value { font-size: .95rem; font-weight: 600; }
.info-item.full-width { grid-column: 1 / -1; border-right: none; }
.price-highlight { color: #10b981; font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; }
.stock-indicator {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .7rem; border-radius: 20px; font-size: .85rem; font-weight: 600;
}
.stock-ok { background: rgba(16,185,129,.12); color: #10b981; }
.stock-low { background: rgba(245,158,11,.12); color: #f59e0b; }
.stock-out { background: rgba(239,68,68,.12); color: #ef4444; }
.result-actions {
    padding: 1rem 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap;
    border-top: 1px solid var(--border-color); background: var(--surface-3);
}

/* ===== PRODUCTION CARDS ===== */
.production-card {
    border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    background: var(--surface-2); transition: var(--transition); overflow: hidden; position: relative;
}
.production-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; opacity: 0; transition: opacity .2s; }
.production-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.production-card:hover::before { opacity: 1; }
.production-card.status-printing::before { background: linear-gradient(90deg, var(--accent), #818cf8); }
.production-card.status-cooling::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.production-card.status-post_processing::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.production-card.status-quality_check::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.production-card.status-completed::before { background: linear-gradient(90deg, #059669, #10b981); }
.production-card.status-failed::before { background: linear-gradient(90deg, #dc2626, #ef4444); }

/* Production card clickable */
.production-card { cursor: pointer; }
.production-card .card-actions { cursor: default; }

/* ===== LOGOUT BUTTON ===== */
.logout-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border-color); background: var(--surface-3);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition); font-size: .9rem;
}
.logout-btn:hover { background: rgba(239,68,68,.15); color: #ef4444; border-color: rgba(239,68,68,.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.show { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .sidebar-overlay.show { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1049; display: block; }
    .pos-container { flex-direction: column; height: auto; }
    .pos-cart { width: 100%; max-height: 60vh; }
}
@media (min-width: 992px) { .mobile-toggle { display: none !important; } }
@media (max-width: 576px) {
    .content-area { padding: .75rem !important; }
    .page-header h1 { font-size: 1.2rem !important; }
    .login-card { padding: 1.75rem 1.25rem 1.5rem; }
    .form-tabs { gap: .15rem; }
    .form-tab { padding: .45rem .65rem; font-size: .75rem; }
    .quick-actions { gap: .35rem; }
    .quick-action-btn { padding: .45rem .75rem; font-size: .75rem; }
}

/* ==========================================
   AUEVON MULTI-UNIVERSE WEB ARCHITECTURE
   ========================================== */

/* Typography & Layout defaults for Auevon Pages */
.auevon-public-body {
    font-family: 'JetBrains Mono', 'Space Mono', monospace !important;
    background-color: #0A0A0A !important;
    color: #E0E0E0 !important;
}

/* Mechanical Shutter Transition */
.auevon-shutter {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}
.auevon-shutter.active {
    pointer-events: all;
}
.shutter-half {
    width: 100%;
    height: 50%;
    background-color: #0A0A0A;
    border-bottom: 0px solid #222;
    border-top: 0px solid #222;
    transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1);
    position: absolute;
    left: 0;
}
.shutter-top {
    top: 0;
    transform: translateY(-100%);
    border-bottom: 1px solid #1E1E1E;
}
.shutter-bottom {
    bottom: 0;
    transform: translateY(100%);
    border-top: 1px solid #1E1E1E;
}
.auevon-shutter.closing .shutter-top {
    transform: translateY(0);
}
.auevon-shutter.closing .shutter-bottom {
    transform: translateY(0);
}
.shutter-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #FFF;
    pointer-events: none;
}
.auevon-shutter.closing .shutter-content {
    opacity: 1;
    transition-delay: 0.3s;
}
.shutter-title {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.25em;
    color: #888;
}
.shutter-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    text-transform: uppercase;
}
.shutter-progress {
    width: 240px;
    height: 3px;
    background: #1A1A1A;
    margin: 1.5rem auto 0;
    overflow: hidden;
}
.shutter-progress-bar {
    width: 0%;
    height: 100%;
    background: #FFB800; /* Defaults to yellow, gets colored dynamically */
    transition: width 0.4s ease;
}

/* Header */
.auevon-header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #222;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    position: sticky;
    top: 0;
    z-index: 999;
}
.auevon-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #FFF;
    cursor: pointer;
    user-select: none;
}
.auevon-brand span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}
.auevon-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.auevon-nav-link {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    transition: color 0.15s ease-in-out;
}
.auevon-nav-link:hover, .auevon-nav-link.active {
    color: #FFF;
}
.nav-separator {
    color: #333;
    user-select: none;
}
.auevon-admin-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #EA580C;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border: 1px solid #222;
    transition: all 0.15s ease-in-out;
}
.auevon-admin-link:hover {
    color: #00FF88;
    border-color: #00FF88;
    background: rgba(0, 255, 136, 0.05);
}

/* Main layouts */
.auevon-viewport {
    background-color: #0A0A0A;
    min-height: 100vh;
    font-family: 'JetBrains Mono', monospace;
    color: #D8D8D8;
    display: flex;
    flex-direction: column;
}
.auevon-content {
    flex: 1;
    padding: 3rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Hub page cards */
.portal-intro {
    text-align: center;
    margin-bottom: 4rem;
}
.portal-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: #FFF;
    margin-bottom: 0.5rem;
}
.portal-subtitle {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.portal-card {
    background: #111;
    border: 1px solid #222;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 420px;
}
/* Shutter/Glitch effect variables for univers */
.universe-illuminate {
    --accent-color: #FFB800;
}
.universe-construct {
    --accent-color: #00FF88;
}
.universe-interface {
    --accent-color: #00D4FF;
}

.portal-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: var(--accent-color);
    transition: height 0.25s ease-out;
}
.portal-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.portal-card:hover::before {
    height: 4px;
}
.portal-card.coming-soon {
    opacity: 0.6;
}
.portal-card.coming-soon:hover {
    opacity: 0.9;
}
.card-slug {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.portal-card:hover .card-slug {
    color: var(--accent-color);
}
.card-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #FFF;
    margin-bottom: 1rem;
}
.card-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.card-meta {
    font-size: 0.75rem;
    color: #444;
    border-top: 1px solid #222;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.portal-card:hover .card-meta {
    color: #888;
    border-color: #333;
}
.card-btn {
    text-align: center;
    background: transparent;
    border: 1px solid #333;
    color: #FFF;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.portal-card:hover .card-btn {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #000;
}
.coming-soon-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    background: #222;
    color: #00FF88;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid #333;
}
.coming-soon-badge.cyan-badge {
    color: #00D4FF;
}

/* Coming Soon interactive inputs */
.card-notify-form {
    display: flex;
    gap: 0.25rem;
}
.card-notify-input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #FFF;
    font-family: inherit;
    outline: none;
}
.card-notify-input:focus {
    border-color: var(--accent-color);
}
.card-notify-btn {
    background: #222;
    border: 1px solid #333;
    color: #CCC;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    cursor: pointer;
}
.card-notify-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

/* Universe landing pages */
.universe-hero {
    border: 1px solid #222;
    padding: 4rem 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background: #111;
}
.universe-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.construct-theme .universe-hero::after {
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
}
.interface-theme .universe-hero::after {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
}
.universe-slogan {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--theme-accent, #FFB800);
    margin-bottom: 0.5rem;
}
.universe-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #FFF;
    margin-bottom: 1.5rem;
}
.universe-intro-text {
    max-width: 600px;
    margin: 0 auto;
    color: #888;
    line-height: 1.6;
    font-size: 0.85rem;
}

/* Products list */
.section-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #FFF;
    border-bottom: 1px solid #222;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.grid-count {
    font-size: 0.75rem;
    color: #555;
}
.universe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.catalog-card {
    background: #111;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease-out;
}
.catalog-card:hover {
    border-color: var(--accent-color, #FFB800);
}
.catalog-img-container {
    height: 240px;
    background: #0D0F12;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.catalog-card:hover .catalog-img {
    transform: scale(1.05);
}
.catalog-placeholder-img {
    font-size: 2.5rem;
    color: #222;
}
.catalog-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.catalog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}
.catalog-prod-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.catalog-prod-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 1rem;
    margin-top: auto;
}
.catalog-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color, #FFB800);
}
.catalog-btn {
    background: transparent;
    border: 1px solid #333;
    color: #FFF;
    font-size: 0.7rem;
    padding: 0.4rem 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.15s;
    text-transform: uppercase;
}
.catalog-card:hover .catalog-btn {
    border-color: var(--accent-color, #FFB800);
    background: var(--accent-color, #FFB800);
    color: #000;
}

/* Coming soon teaser layout */
.coming-soon-wrap {
    background: #111;
    border: 1px solid #222;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}
.progress-bar-container {
    max-width: 480px;
    margin: 2rem auto;
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}
.progress-bar-track {
    height: 12px;
    background: #000;
    border: 1px solid #222;
    padding: 2px;
}
.progress-bar-fill {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    transition: width 0.5s ease;
}
.teaser-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 600px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 1.5rem 0;
}
.teaser-feat-item {
    font-size: 0.8rem;
    color: #AAA;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Product Detail layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}
.product-detail-left {
    background: #111;
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    position: relative;
    overflow: hidden;
}
.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-detail-right {
    display: flex;
    flex-direction: column;
}
.detail-sku-row {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
}
.detail-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.detail-price-box {
    background: #111;
    border: 1px solid #222;
    padding: 1.5rem;
    font-family: inherit;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFB800; /* Amber default */
    margin-bottom: 2rem;
}
.detail-section-part {
    border-bottom: 1px solid #222;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.detail-section-title-part {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.detail-desc-text {
    font-size: 0.85rem;
    color: #AAA;
    line-height: 1.7;
}
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.tech-item {
    background: #111;
    border: 1px solid #222;
    padding: 0.75rem 1rem;
}
.tech-label {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}
.tech-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFF;
}
.detail-buy-btn {
    background: #00FF88;
    color: #000;
    border: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    width: 100%;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.detail-buy-btn:hover {
    background: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}
.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.15s ease-in-out;
}
.detail-back-link:hover {
    color: #FFF;
}

/* Manifesto section */
.auevon-manifesto-section {
    border-top: 1px solid #222;
    padding-top: 4rem;
    margin-top: 5rem;
    text-align: center;
}
.manifesto-quote {
    font-size: 1.4rem;
    color: #FFF;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}
.manifesto-author {
    font-size: 0.75rem;
    color: #555;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Inquiry Modal */
.auevon-modal-body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #111 !important;
    color: #E0E0E0 !important;
    border-radius: 0;
}
.auevon-text-input {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #FFF;
    font-family: inherit;
    outline: none;
    margin-bottom: 1rem;
}
.auevon-text-input:focus {
    border-color: #00FF88;
}
.auevon-submit-btn {
    background: #00FF88;
    color: #000;
    border: none;
    font-weight: 800;
    width: 100%;
    padding: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
}
.auevon-submit-btn:hover {
    background: #FFF;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .portal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .universe-title {
        font-size: 2.5rem;
    }
    .auevon-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}
