/* Platinenlager Design System */
:root {
    --bg: #1a0404;
    --primary: #C1603A;
    --accent: #B87333;
    --card: #F5F0E8;
    --text-dark: #2C1810;
    --text-light: #6B4C3B;
    --white: #FEFCF8;
    --secondary: #D4C5A9;
    --success: #4A7C59;
    --error: #8B2020;
}

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

body {
    background-color: var(--bg);
    background-image: url('/mockup/pcb-bg.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    font-family: Inter, system-ui, sans-serif;
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
}

/* ── NAVBAR ── */
.navbar {
    height: 192px;
    background: #080202F5;
    border-bottom: 1.5px solid #B873334D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-nav a {
    color: var(--secondary);
    font-size: 32px;
    text-decoration: none;
    padding: 12px 18px;
    font-family: Inter, system-ui, sans-serif;
}

.navbar-logo { height: 140px; width: auto; }

/* ── BUTTONS ── */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 18px 32px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 32px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-ghost {
    border: 1.5px solid #D4C5A959;
    color: var(--secondary);
    background: transparent;
    border-radius: 10px;
    padding: 18px 32px;
    font-family: 'Courier New', monospace;
    font-size: 32px;
    text-decoration: none;
    display: inline-block;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 162px 160px 224px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/mockup/pcb-bg.png');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,1,1,0.72);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge {
    display: inline-block;
    background: #B873331F;
    border: 1px solid #B873334D;
    border-radius: 20px;
    padding: 5px 14px;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 128px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-family: system-ui, sans-serif;
}

.hero h1.white  { color: var(--white); margin-bottom: 20px; }
.hero h1.copper { color: var(--accent); margin-bottom: 28px; }

.hero-sub {
    font-size: 30px;
    color: var(--secondary);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── SECTIONS ── */
.section { padding: 80px 160px; }
.section-dark { background: rgba(0,0,0,0.15); }

.section-label {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 73px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    font-family: system-ui, sans-serif;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 48px;
}

/* ── CARDS ── */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
}

.card-icon  { font-size: 40px; margin-bottom: 16px; }
.card-title { font-size: 21px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.card-text  { font-size: 16px; color: var(--text-light); line-height: 1.6; }

/* ── STEPS ── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
}

.step-num   { font-family: 'Courier New', monospace; font-size: 14px; color: var(--accent); margin-bottom: 12px; }
.step-title { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.step-text  { font-size: 16px; color: var(--secondary); line-height: 1.6; }

/* ── QUOTE ── */
.quote-section {
    padding: 56px 160px;
    text-align: center;
    background: rgba(0,0,0,0.25);
}

.quote {
    font-size: 24px;
    color: var(--secondary);
    font-style: italic;
    line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid #B873332E;
    padding: 36px 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--secondary); text-decoration: none; font-size: 16px; }
.footer-copy  { color: var(--text-light); font-size: 14px; }

/* ── DASHBOARD ── */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 192px);
}

.sidebar {
    width: 220px;
    background: rgba(0,0,0,0.4);
    border-right: 1px solid #B873332E;
    padding: 24px 0;
    flex-shrink: 0;
}

.sidebar-item {
    padding: 12px 24px;
    color: var(--secondary);
    font-size: 16px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    transition: color 0.15s;
}

.sidebar-item.active {
    color: var(--accent);
    border-left: 2px solid var(--accent);
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.main-content { flex: 1; padding: 32px 48px; }

.nfc-banner {
    background: #B873331F;
    border: 1px solid #B873334D;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.warehouse-card { background: var(--card); border-radius: 12px; padding: 24px; }
.warehouse-name  { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.warehouse-count { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }

.badge-ok   { background: #4A7C5920; color: #4A7C59; font-size: 12px; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.badge-warn { background: #B8733320; color: #B87333; font-size: 12px; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.badge-err  { background: #8B202020; color: #8B2020; font-size: 12px; padding: 3px 10px; border-radius: 20px; display: inline-block; }

/* ── TABLE ── */
.table-section h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Courier New', monospace;
    margin-bottom: 16px;
}

table { width: 100%; border-collapse: collapse; border-radius: 10px; overflow: hidden; }
thead { background: #080202; }
thead th { color: var(--text-light); font-family: 'Courier New', monospace; font-size: 12px; font-weight: 700; padding: 12px 16px; text-align: left; }
tbody tr:nth-child(odd)  { background: #0D0303; }
tbody tr:nth-child(even) { background: #080202; }
tbody td { color: var(--white); padding: 12px 16px; font-size: 14px; border-top: 1px solid #B873331A; }

/* ── AUTH FORMS ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.auth-page .hero-bg    { position: fixed; }
.auth-page .hero-overlay { position: fixed; }

.auth-card {
    background: #1a0808;
    border: 1px solid #B873332E;
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.auth-card h1 {
    font-family: 'Courier New', monospace;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: var(--secondary); font-family: 'Courier New', monospace; margin-bottom: 6px; }
.form-input {
    width: 100%;
    background: #0D0303;
    border: 1px solid #B873334D;
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 16px;
    font-family: Inter, system-ui, sans-serif;
    outline: none;
    transition: border-color 0.15s;
}
.form-input:focus { border-color: var(--accent); }
.form-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 20px;
    cursor: pointer;
    margin-top: 8px;
}
.form-link { color: var(--accent); text-decoration: none; font-size: 14px; }
.form-error { color: var(--error); font-size: 13px; margin-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .section { padding: 60px 48px; }
    .hero { padding: 100px 48px 140px; }
    .section-title { font-size: 52px; }
    .hero h1 { font-size: 88px; }
}

@media (max-width: 768px) {
    .navbar { height: 72px; padding: 0 18px; }
    .navbar-nav a { font-size: 17px; padding: 8px 10px; }
    .navbar-logo { height: 48px; }
    .btn-primary, .btn-ghost { font-size: 16px; padding: 12px 18px; }
    .hero { padding: 60px 24px 80px; min-height: auto; }
    .hero h1 { font-size: 52px; }
    .hero-sub { font-size: 18px; }
    .cards, .steps { grid-template-columns: 1fr; }
    .section { padding: 50px 24px; }
    .section-title { font-size: 36px; }
    .quote-section { padding: 40px 24px; }
    .footer { flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .sidebar { display: none; }
    .main-content { padding: 20px; }
}
