:root {
    --bg-dark: #0f1115;
    --bg-darker: #0a0b0e;
    --bg-panel: #1a1d24;
    --bg-panel-hover: #22262f;
    --text-main: #f0f0f0;
    --text-muted: #8b92a5;
    --accent-red: #ff3b30;
    --accent-red-hover: #ff5247;
    --accent-green: #34c759;
    --accent-green-hover: #3edd65;
    --accent-blue: #0a84ff;
    --border-color: #2a2e39;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.2);
    --gold: #ffcc00;
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

/* Utilitaires */
.hidden {
    display: none !important;
}

.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }

/* ======= LANDING PAGE ======= */
#landing-screen {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Overlay plus clair (moins de "flou" visuel) */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('burgershot_hero_bg_1773601516042.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    line-height: 1;
}

.hero-content h1 span {
    color: var(--accent-red);
}

.hero-content p {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-premium {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-order {
    background: var(--accent-red);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.3);
}

.btn-order:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--accent-red-hover);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.5);
}

.btn-staff {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-staff:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Landing Menu Section */
.landing-menu-section {
    padding: 80px 5%;
    background: var(--bg-dark);
}

.landing-menu-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 900;
}

.landing-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.menu-item-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.menu-item-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-item-price {
    color: var(--accent-green);
    font-weight: 800;
    font-size: 20px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 5%;
    background: var(--bg-darker);
}

.feature-card {
    background: var(--bg-panel);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
}

.feature-card i {
    font-size: 40px;
    color: var(--accent-red);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======= PREORDER FLOW ======= */
#preorder-screen {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 400px;
    background: var(--bg-dark);
}

.preorder-steps {
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: auto;
}

.preorder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.preorder-form-step {
    max-width: 600px;
    margin: auto;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reusing some existing styles */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.input-group input, .form-select {
    width: 100%;
    padding: 16px;
    background: var(--bg-panel);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--accent-red);
    outline: none;
}

/* Checkout / Cart specific for pre-order */
.preorder-summary {
    background: var(--bg-panel);
    border-left: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* Existing button styles... */
.btn {
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.btn-success { background: var(--accent-green); color: white; border: none; }
.btn-secondary { background: var(--bg-darker); color: white; border: 1px solid var(--border-color); }

/* ======= MODALS & TOASTS ======= */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-panel);
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.toast {
    background: var(--accent-green);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* EXISTING STYLES RE-ADAPTED */
#login-screen { height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, var(--bg-panel), var(--bg-darker)); }
.login-wrapper { background: var(--bg-dark); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); width: 400px; }

#main-app { display: grid; grid-template-columns: 280px 1fr 380px; height: 100vh; }
.sidebar { background: var(--bg-panel); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 20px; }
.pos-area { display: flex; flex-direction: column; background: var(--bg-dark); height: 100vh; }
.cart-area { background: var(--bg-panel); border-left: 1px solid var(--border-color); display: flex; flex-direction: column; }

.products-grid { padding: 30px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 15px; overflow-y: auto; flex: 1; align-content: start; }
.product-card { background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; cursor: pointer; transition: 0.2s; height: 130px; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); border-color: var(--accent-red); background: var(--bg-panel-hover); }

/* ... (Many other styles from original styles.css will be merged) */
.stat-box { background: var(--bg-dark); padding: 15px; border-radius: 10px; border: 1px solid var(--border-color); }
.name { font-weight: 600; }
.status { color: var(--accent-green); font-size: 12px; }

/* Dashboard tables */
.data-table { width: 100%; border-collapse: collapse; }
.data-table td, .data-table th { padding: 12px; border-bottom: 1px solid var(--border-color); text-align: left; }

.badge { padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.badge-patron { background: rgba(255,204,0,0.2); color: var(--gold); }

/* Cart Items */
.cart-items { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { background: var(--bg-dark); padding: 12px; border-radius: 10px; border: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }

/* Modal Footer */
.modal-footer { margin-top: 20px; display: flex; gap: 10px; justify-content: flex-end; }