/* QREats Premium — Gold & White Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --gold: #F4C430;
    --gold-light: #FFD966;
    --gold-lighter: #FFF3C4;
    --gold-dark: #C9921A;
    --gold-darker: #9A6E0A;
    --amber: #FF8C00;
    --white: #FFFFFF;
    --bg: #FFFDF5;
    --bg-2: #FFF9E6;
    --bg-3: #FFF4CC;
    --surface: #FFFFFF;
    --border: rgba(244, 196, 48, 0.22);
    --border-light: rgba(244, 196, 48, 0.1);
    --text-dark: #1A1200;
    --text-main: #2D2200;
    --text-sub: #6B5800;
    --text-muted: #9C8640;
    --success: #059669;
    --success-bg: #ECFDF5;
    --danger: #DC2626;
    --danger-bg: #FEF2F2;
    --warning: #D97706;
    --info: #2563EB;
    --grad-gold: linear-gradient(135deg, #FFD966 0%, #F4C430 55%, #E0A800 100%);
    --grad-amber: linear-gradient(135deg, #F4C430 0%, #FF8C00 100%);
    --shadow-xs: 0 1px 4px rgba(244, 196, 48, 0.08);
    --shadow-sm: 0 4px 14px rgba(244, 196, 48, 0.14);
    --shadow-md: 0 10px 32px rgba(244, 196, 48, 0.2);
    --shadow-lg: 0 24px 64px rgba(244, 196, 48, 0.24);
    --shadow-gold: 0 8px 28px rgba(244, 196, 48, 0.38);
    --r-xs: 6px;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 36px;
    --r-full: 100px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur: 0.4s;
    --transition: all var(--dur) var(--ease);
    --nav-h: 68px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.gradient-text {
    background: var(--grad-amber);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .container {
        padding: 2rem 1.2rem;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(244, 196, 48, 0.09);
}

.nav-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.03em;
}

.nav-logo .logo-badge {
    width: 36px;
    height: 36px;
    background: var(--grad-gold);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border-radius: var(--r-full);
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--text-dark);
    background: var(--bg-2);
    border-color: var(--border);
}

.nav-links a.active {
    color: var(--gold-darker);
    background: var(--gold-lighter);
    border-color: rgba(244, 196, 48, 0.35);
    font-weight: 700;
}

.nav-toggle {
    display: none;
    background: var(--bg-2);
    border: 1px solid var(--border);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
}

@media(max-width:768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.3rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--r-full);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 44px rgba(244, 196, 48, 0.45);
    filter: brightness(1.04);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-sub);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-darker);
    background: var(--gold-lighter);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.modern-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(244, 196, 48, 0.3);
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.glass {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(244, 196, 48, 0.1);
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-sub);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(244, 196, 48, 0.12);
}

select.form-input {
    cursor: pointer;
}

textarea.form-input {
    resize: vertical;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 350px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-gold {
    background: var(--gold-lighter);
    color: var(--gold-darker);
    border: 1px solid rgba(244, 196, 48, 0.3);
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
}

.badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
}

.badge-warning {
    background: #FFF7ED;
    color: var(--warning);
}

.category-pill {
    padding: 0.55rem 1.3rem;
    border-radius: var(--r-full);
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text-sub);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
}

.category-pill:hover {
    border-color: var(--gold);
    color: var(--gold-darker);
    background: var(--gold-lighter);
}

.category-pill.active {
    background: var(--grad-gold);
    border-color: transparent;
    color: var(--text-dark);
    box-shadow: var(--shadow-gold);
}

.eyebrow {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse-gold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.5)
    }

    50% {
        box-shadow: 0 0 0 14px rgba(244, 196, 48, 0)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes borderPulse {

    0%,
    100% {
        border-color: rgba(244, 196, 48, 0.3)
    }

    50% {
        border-color: rgba(244, 196, 48, 1)
    }
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(30px, 20px) scale(1.1)
    }
}

.animate-fade {
    animation: fadeUp 0.6s var(--ease) both;
}

.animate-fade-2 {
    animation: fadeUp 0.6s var(--ease) 0.12s both;
}

.animate-fade-3 {
    animation: fadeUp 0.6s var(--ease) 0.24s both;
}

.animate-scale {
    animation: scaleIn 0.4s var(--ease-spring) both;
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

.pulse-alert {
    animation: borderPulse 1.8s ease-in-out infinite, pulse-gold 1.8s ease-in-out infinite;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(26, 18, 0, 0.2);
    border-top-color: var(--text-dark);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(50, 30, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border);
    animation: scaleIn 0.35s var(--ease-spring);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-gold);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.status-pending {
    background: #FFF7ED;
    color: var(--warning);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.status-preparing {
    background: #EFF6FF;
    color: var(--info);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.status-ready {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-2);
}

.text-center {
    text-align: center
}

.text-muted {
    color: var(--text-muted)
}

.text-gold {
    color: var(--gold-dark)
}

.text-success {
    color: var(--success)
}

.text-danger {
    color: var(--danger)
}

.w-full {
    width: 100%
}

.mt-1 {
    margin-top: 1rem
}

.mt-2 {
    margin-top: 2rem
}

.mb-1 {
    margin-bottom: 1rem
}

.mb-2 {
    margin-bottom: 2rem
}

@media(max-width:768px) {
    .container {
        padding: 2rem 1rem
    }

    .modal-content {
        padding: 1.8rem 1.4rem;
        border-radius: var(--r-lg);
        width: 100%;
        margin: 0 10px;
    }

    .btn {
        padding: 0.75rem 1.4rem;
        width: 100%;
    }
}

@media print {
    body {
        background: white
    }

    .no-print,
    nav {
        display: none !important
    }
}