/* ==========================================================================
   Live Kitchen Web Application - Premium CSS Stylesheet
   ========================================================================== */

/* 1. Global Variables & Design Tokens */
:root {
    --bg-base: #0b0c10;
    --bg-surface: #12141c;
    --bg-surface-elevated: #1a1d29;
    --bg-glass: rgba(18, 20, 28, 0.65);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --primary: #ff6b08;
    --primary-hover: #ff8c3d;
    --primary-glow: rgba(255, 107, 8, 0.35);
    
    --secondary: #00e676;
    --secondary-hover: #33ff99;
    --secondary-glow: rgba(0, 230, 118, 0.25);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    --text-white: #ffffff;
    
    --accent-red: #ef4444;
    --accent-amber: #f59e0b;
    --accent-blue: #3b82f6;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Sora', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 25px var(--primary-glow);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: var(--bg-base);
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 3. Typography & Utility Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.green-text {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 107, 8, 0.4);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(255, 107, 8, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

/* Section Common Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}
.section-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1rem;
}

/* 4. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-normal);
}

.header-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-white);
}
.logo-icon {
    font-size: 1.5rem;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.5rem 0.25rem;
    position: relative;
}
.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 8px var(--primary-glow);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    left: 0;
    transition: transform var(--transition-fast);
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

/* 5. Section 1: Hero Section (Scrollytelling Layout) */
.hero-scroll-container {
    height: 320vh; /* Provides scrollable depth to scrub the 300 frames */
    position: relative;
    background: var(--bg-base);
}

.hero-canvas-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

#hero #animation-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-canvas-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 50%, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.75) 60%, rgba(11, 12, 16, 0.98) 100%);
    z-index: 2;
}

.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 84%;
    max-width: 720px;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Phase Transitions styling */
.hero-overlay-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}
.hero-overlay-content.exit {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-60%) translateX(0); /* Slides up as it exits */
}
.hero-overlay-content.enter-prep {
    transform: translateY(-40%) translateX(0); /* Prepares below for fade-up entry */
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 8, 0.1);
    border: 1px solid rgba(255, 107, 8, 0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.badge-new.bg-green {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--secondary);
}
.badge-new.bg-amber {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--accent-amber);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 107, 8, 0.7);
    animation: pulse 1.6s infinite;
}
.pulse-dot.green {
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse-green-glow 1.6s infinite;
}
.pulse-dot.amber {
    background: var(--accent-amber);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: pulse-amber-glow 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 8, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 107, 8, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 107, 8, 0);
    }
}

@keyframes pulse-green-glow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

@keyframes pulse-amber-glow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.gradient-text.green {
    background: linear-gradient(135deg, var(--secondary) 0%, #39ff14 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text.amber {
    background: linear-gradient(135deg, var(--accent-amber) 0%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.hero-desc-extra {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.hero-actions {
    display: flex;
    gap: 1rem;
}

.canvas-loader {
    position: absolute;
    inset: 0;
    background: var(--bg-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 20;
    transition: opacity 0.5s ease;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 107, 8, 0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 6. Section 2: Why Customers Trust Us */
.trust-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-surface);
    overflow: hidden;
}
.video-bg-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
/* Simulated kitchen background slow-motion layer */
.video-bg-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
    filter: blur(12px) opacity(0.08);
    animation: pan-slow 40s linear infinite alternate;
}
@keyframes pan-slow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(10px, 10px); }
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, var(--bg-base) 90%);
}
.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.05) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.trust-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.trust-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-md);
}
.trust-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.trust-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.trust-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 7. Section 3: What Makes Us Different? (USP) */
.usp-section {
    padding: 100px 0;
}
.usp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.usp-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    cursor: pointer;
    transition: var(--transition-normal);
}
.usp-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.usp-emoji {
    font-size: 1.5rem;
}
.usp-card h3 {
    font-size: 1.1rem;
}
.usp-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}
.usp-card:hover {
    border-color: rgba(255, 107, 8, 0.3);
    background: rgba(255, 107, 8, 0.02);
}
.usp-card.active {
    border-color: var(--primary);
    background: rgba(255, 107, 8, 0.06);
    box-shadow: 0 0 20px rgba(255, 107, 8, 0.1);
}

.usp-viewer {
    position: sticky;
    top: 100px;
}
.viewer-glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.viewer-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.4s ease forwards;
}
.viewer-panel.active {
    display: flex;
}

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

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}
.live-dot-pulse {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse-green 1.6s infinite;
}
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}
.stream-fps {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

.mock-stream-display {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
#mock-cooking-stream {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stream-overlay-metrics {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: monospace;
}

.viewer-footer p {
    font-size: 0.8rem;
}

/* Chef Profile Card style */
.chef-profile-widget {
    text-align: center;
    padding: 1rem 0;
}
.chef-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.chef-profile-widget h4 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}
.chef-specialty {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}
.chef-stars {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}
.rating-val {
    color: var(--text-muted);
}
.chef-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.chef-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.chef-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-main);
}

/* Customize Widget */
.customize-widget-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spice-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.spice-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}
.spice-btn:hover {
    border-color: rgba(255,255,255,0.15);
}
.spice-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pref-checkboxes {
    display: flex;
    gap: 1.5rem;
}
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
}
.checkbox-container input {
    cursor: pointer;
}
.custom-select, .custom-input {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-fast);
}
.custom-select:focus, .custom-input:focus {
    border-color: var(--primary);
}

.live-recipe-preview {
    border-top: 1px dashed var(--border-glass);
    padding-top: 1rem;
}
.live-recipe-preview h5 {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}
#recipe-spec-card {
    background: rgba(255, 107, 8, 0.05);
    border: 1px solid rgba(255, 107, 8, 0.15);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary-hover);
    font-weight: 500;
}

/* Order Tracker Panel */
.tracker-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 1.5rem 0;
    position: relative;
}
.tracker-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.4;
    transition: var(--transition-normal);
}
.tracker-step.active {
    opacity: 1;
}
.step-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1.5px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-normal);
}
.tracker-step.active .step-bullet {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 0 10px var(--primary-glow);
}
.tracker-step.completed .step-bullet {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--bg-base);
}
.step-info h5 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}
.step-info p {
    font-size: 0.75rem;
}
.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.4s ease;
}

/* Memories Showcase */
.memories-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    flex-grow: 1;
}
.memory-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}
.memory-thumb {
    aspect-ratio: 16 / 9;
    background: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=600&q=80") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-overlay {
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.play-overlay:hover {
    transform: scale(1.1);
    background: var(--primary);
}
.memory-thumb .duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.8);
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
}
.memory-details {
    padding: 1rem;
}
.memory-details h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.memory-details p {
    font-size: 0.75rem;
}
.memory-toast {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--secondary);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    text-align: center;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* 8. Section 4: How It Works */
.how-it-works-section {
    padding: 100px 0;
    background: var(--bg-surface);
}
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 2px;
    background: var(--border-glass);
}
.timeline-progress {
    position: absolute;
    top: 0;
    left: 31px;
    width: 2px;
    background: var(--primary);
    height: 0%;
    z-index: 1;
    transition: height 0.1s ease-out;
    box-shadow: 0 0 10px var(--primary-glow);
}
.timeline-item {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-muted);
    z-index: 2;
    transition: var(--transition-normal);
}
.timeline-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    flex-grow: 1;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.15;
    transform: translateX(40px);
}
.timeline-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.timeline-panel p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Scroll Active Timeline styling */
.timeline-item.active .timeline-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 0 20px var(--primary-glow);
}
.timeline-item.active .timeline-panel {
    border-color: rgba(255, 107, 8, 0.35);
    box-shadow: var(--shadow-sm);
    transform: translateX(0);
    opacity: 1;
}

/* 9. Section 5: Live Kitchen Preview */
.live-kitchen-preview {
    padding: 100px 0;
}
.chefs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.chef-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}
.chef-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-md);
}

.chef-stream-window {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #000;
    position: relative;
    overflow: hidden;
}
.chef-preview-canvas,
.chef-preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--accent-red);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    animation: blink-live 1.2s infinite alternate;
}
.chef-stream-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: var(--text-white);
    padding: 1.5rem 0.8rem 0.6rem;
    font-size: 0.75rem;
    font-family: monospace;
}
.chef-info-bar {
    padding: 1.2rem;
}
.chef-info-bar h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.chef-info-bar p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.preview-cta {
    text-align: center;
}

/* 10. Section 6: Our Promise */
.promise-section {
    padding: 100px 0;
    background: var(--bg-surface);
}
.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.promise-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: var(--transition-normal);
}
.promise-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}
.promise-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.promise-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}
.promise-card:hover {
    border-color: rgba(0, 230, 118, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 230, 118, 0.04);
}

/* 11. Section 7: Our Partners */
.partners-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-glass);
}
.partners-wrapper {
    text-align: center;
}
.partners-wrapper h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.45;
    transition: var(--transition-fast);
    cursor: default;
}
.partner-logo:hover {
    opacity: 1;
    color: var(--text-white);
    transform: scale(1.05);
}

/* 12. Section 8: Find Us */
.find-us-section {
    padding: 100px 0;
}
.find-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.find-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.find-desc {
    margin-bottom: 2.5rem;
}
.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.info-block {
    display: flex;
    gap: 1.2rem;
}
.info-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-text h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.info-text p {
    font-size: 0.85rem;
}

/* Simulated Map Mockup CSS */
.find-map {
    width: 100%;
}
.map-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
    background: #11141a;
    box-shadow: var(--shadow-lg);
}
#mock-map {
    position: absolute;
    inset: 0;
    background-color: #0e1117;
    overflow: hidden;
}
.map-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 8, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
/* Abstract street lines in SVG or CSS */
.map-streets {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle, transparent 20%, #0e1117 80%),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(0deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 40px 40px;
    transition: transform 0.5s ease;
}
.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 10;
}
.pin-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 8, 0.15);
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s infinite ease-out;
}
@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.pin-dot {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    position: relative;
    z-index: 2;
}
.pin-bubble {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass-hover);
    color: var(--text-white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}
.pin-bubble::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--bg-surface-elevated);
}

.map-controls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.map-zoom-btn {
    width: 30px;
    height: 30px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-zoom-btn:hover {
    background: var(--primary);
    color: white;
}

/* 13. Section 9: Customer Reviews */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-surface);
    overflow: hidden;
}
.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.review-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-card {
    min-width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}
.stars {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}
.review-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-style: italic;
}
.reviewer-meta h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.reviewer-meta span {
    font-size: 0.8rem;
    color: var(--primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 14. Section 10: FAQs */
.faq-section {
    padding: 100px 0;
}
.faq-container-width {
    max-width: 760px;
}
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}
.faq-item:hover {
    border-color: var(--border-glass-hover);
}
.faq-item.active {
    border-color: var(--primary);
}

.faq-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-white);
    cursor: pointer;
}
.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}
.faq-item.active .faq-content {
    max-height: 300px; /* arbitrary height to slide down */
    padding-bottom: 1.5rem;
}
.faq-content p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 15. Footer */
.main-footer {
    background: #06070a;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.85rem;
    margin: 1.5rem 0;
}
.social-links {
    display: flex;
    gap: 0.8rem;
}
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.newsletter-input {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-full);
    color: white;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}
.newsletter-input:focus {
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 1.8rem 0;
}
.bottom-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

/* 16. Media Queries (Responsiveness) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    .hero-actions {
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usp-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .usp-viewer {
        position: static;
    }
    
    .chefs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .find-us-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0;
    }
    .menu-toggle {
        display: block;
    }
    .nav-bar {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }
    .nav-bar.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    /* Hamburger toggle state */
    .menu-toggle.active .hamburger {
        background: transparent;
    }
    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
    }
    
    .chefs-grid {
        grid-template-columns: 1fr;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   Page-Specific Styles (Subpages Expansion)
   ========================================================================== */

.page-padding {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Toast Notification Alert */
.custom-toast-alert {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--primary);
    color: var(--text-white);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 2000;
    box-shadow: var(--shadow-lg), 0 0 15px rgba(255,107,8,0.25);
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-toast-alert.active {
    transform: translateY(0);
    opacity: 1;
}

/* Homepage Explorer Dashboard */
.hub-section {
    padding: 80px 0;
}
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.hub-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}
.hub-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 107, 8, 0.05);
}
.hub-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}
.hub-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-white);
}
.hub-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.hub-link-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* Interactive Menu Page */
.menu-page-section {
    padding: 20px 0 80px;
}
.menu-layout-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
    align-items: start;
}
.category-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.cat-tab-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.cat-tab-btn:hover {
    border-color: var(--border-glass-hover);
    color: var(--text-white);
}
.cat-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.menu-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.menu-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}
.menu-item-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.item-visual-thumb {
    height: 120px;
    background: rgba(255, 107, 8, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border-bottom: 1px solid var(--border-glass);
}
.item-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.item-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}
.item-organic-badge {
    color: var(--secondary);
    font-weight: 600;
}
.item-calories {
    color: var(--text-muted);
}
.item-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}
.item-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.item-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
}
.item-actions-btns {
    display: flex;
    gap: 0.5rem;
}

/* Customizer Panel on Menu Page */
.menu-customizer-panel {
    position: sticky;
    top: 100px;
}
.customizer-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.customizer-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}
.customizer-empty-state h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.custom-panel-head {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}
.custom-item-badge {
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.custom-panel-head h4 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin: 0.2rem 0;
}
.custom-base-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.customizer-scroller {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 1.5rem;
}
.exclusion-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.live-recipe-preview {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}
.live-recipe-preview h5 {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
#custom-live-spec {
    font-size: 0.85rem;
    font-family: monospace;
    color: var(--primary);
    line-height: 1.4;
}

/* Dine-In Booking Page */
.dine-in-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}
.dine-layout-map-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.dine-sub-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.restaurant-seating-grid {
    background: #090b11;
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 1.5rem 0;
}
.kitchen-glass-border {
    text-align: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.6rem;
    margin-bottom: 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}
.seating-row {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 1.8rem;
}
.table-node {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 1.5px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: rgba(255,255,255,0.02);
}
.table-node:hover {
    border-color: var(--secondary);
    background: rgba(0, 230, 118, 0.03);
}
.table-node.selected {
    border-color: var(--primary) !important;
    background: rgba(255, 107, 8, 0.08) !important;
    box-shadow: 0 0 15px rgba(255, 107, 8, 0.25);
}
.table-node.occupied {
    border-color: #333 !important;
    background: rgba(255,255,255,0.01) !important;
    cursor: not-allowed;
    opacity: 0.25;
}
.table-node.premium {
    border-color: rgba(255, 107, 8, 0.35);
}
.tbl-lbl {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}
.tbl-seats {
    font-size: 0.65rem;
    color: var(--text-muted);
}
.map-legend {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.75rem;
}
.lg-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}
.lg-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    display: inline-block;
}
.lg-box.green { background: rgba(255,255,255,0.02); border: 1.5px solid var(--border-glass); }
.lg-box.orange { background: rgba(255, 107, 8, 0.08); border: 1.5px solid var(--primary); }
.lg-box.orange-border { border: 1.5px solid rgba(255,107,8,0.35); }
.lg-box.grey { background: rgba(255,255,255,0.01); border: 1.5px solid #333; opacity: 0.25; }

.dine-details-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.booking-receipt-summary {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}
.booking-receipt-summary h5 {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}
.receipt-summary-text {
    font-size: 0.85rem;
    color: var(--text-white);
    line-height: 1.4;
}

/* Takeaway Grid Styles */
.takeaway-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.takeaway-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.takeaway-sub-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}
.takeaway-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.take-feature-item {
    display: flex;
    gap: 1.2rem;
}
.tf-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.take-feature-item h5 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}
.take-feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Live CCTV Stream Hub */
.live-feeds-pane {
    display: flex;
    flex-direction: column;
}
.live-cams-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.live-cam-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}
.live-cam-card.active-card {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255,107,8,0.12);
}
.cam-viewport-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.hub-stream-canvas,
.hub-stream-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.cam-status-overlay {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--accent-red);
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.cam-label {
    position: absolute;
    bottom: 0.8rem;
    left: 0.8rem;
    background: rgba(0,0,0,0.65);
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    color: var(--text-white);
    font-family: monospace;
    border-radius: 2px;
}
.cam-info-bar {
    padding: 1.2rem;
}
.cam-info-bar h5 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}
.cam-info-bar p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.telemetry-dashboard-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    margin-bottom: 1.8rem;
}
.telemetry-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.2rem;
}
.tel-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.tel-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tel-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
}

.sanitation-logger-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.8rem;
}
.logger-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.logger-lines-feed {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
    min-height: 150px;
    max-height: 150px;
    overflow: hidden;
}
.log-line {
    font-size: 0.75rem;
    font-family: monospace;
    line-height: 1.4;
    display: flex;
    gap: 0.5rem;
}
.log-time {
    color: var(--primary);
    flex-shrink: 0;
}
.log-msg {
    color: var(--text-muted);
}
.cam-control-action-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.cam-control-action-card h4 {
    color: var(--text-white);
    margin-bottom: 0.4rem;
}

/* Feedback Elements */
.rating-stars-interactive {
    display: flex;
    gap: 0.5rem;
}
.star-btn {
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0.25;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.star-btn:hover {
    transform: scale(1.2);
}
.star-btn.active {
    opacity: 1;
}
.feedback-feed-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.feedback-feed-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.verified-reviews-stream {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
.verified-review-node {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.rev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.rev-header h5 {
    font-size: 0.95rem;
    color: var(--text-white);
}
.rev-tag {
    font-size: 0.65rem;
    color: var(--secondary);
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
}
.rev-stars {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}
.verified-review-node p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Billing Receipts Checkout layouts */
.cart-items-pane {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
}
.cart-empty-msg {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}
.cart-item-row {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-item-details h5 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}
.cart-item-specs {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.cart-item-price-action {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.cart-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}
.cart-remove-btn {
    background: transparent;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
}

.bill-breakdown-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.8rem;
}
.breakdown-rows {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breakdown-row.total-row {
    border-top: 1px solid var(--border-glass);
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.payment-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* Printable receipt mock styling */
.receipt-success-container {
    display: flex;
    justify-content: center;
    padding: 20px 0 80px;
}
.receipt-card-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.receipt-success-badge {
    background: rgba(0,230,118,0.08);
    border: 1px solid rgba(0,230,118,0.25);
    color: var(--secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.receipt-paper {
    background: #ffffff;
    color: #111111;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    font-family: monospace;
}
.rec-head {
    text-align: center;
    border-bottom: 1.5px dashed #ccc;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}
.rec-head h3 {
    color: #111;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.rec-head p {
    color: #666;
    font-size: 0.75rem;
    margin: 0.15rem 0;
}
.rec-items-list {
    border-bottom: 1.5px dashed #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.8rem;
}
.rec-item-line {
    display: flex;
    justify-content: space-between;
}
.rec-totals {
    border-bottom: 1.5px dashed #ccc;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
}
.rec-total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}
.rec-total-line.total {
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 0.6rem;
    border-top: 1.5px dashed #eee;
    padding-top: 0.5rem;
}
.rec-chef-assignment {
    background: #f3f4f6;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}
.rec-chef-assignment h5 {
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.chef-assignment-detail {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}
.chef-assignment-detail h6 {
    color: #111;
    font-size: 0.85rem;
    margin: 0 0 0.1rem;
}
.chef-assignment-detail p {
    color: #666;
    font-size: 0.75rem;
    margin: 0;
}
.rec-qr-section {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1.5px dashed #eee;
}
.mock-qr-code {
    width: 70px;
    height: 70px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    color: #aaa;
}
.qr-text h5 {
    color: #111;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}
.qr-text p {
    color: #666;
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

/* About Page Specifics */
.about-philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    margin-top: 2rem;
}
.philosophy-text h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}
.philosophy-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}
.philosophy-stats-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.phil-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.p-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.p-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.about-chefs-profiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.chef-profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.chef-avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1.5px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}
.chef-title-tag {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.chef-profile-card h3 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin: 0.3rem 0;
}
.chef-special {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}
.chef-quote {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.chef-stats-row {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.organic-farms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.farm-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    text-align: center;
    transition: var(--transition-normal);
}
.farm-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}
.farm-emoji {
    font-size: 2.2rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.farm-card h4 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}
.farm-loc {
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}
.farm-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .menu-layout-grid,
    .dine-in-grid,
    .takeaway-layout-grid,
    .live-hub-grid,
    .feedback-layout-grid,
    .checkout-layout-grid,
    .about-philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-chefs-profiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .organic-farms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .about-chefs-profiles,
    .organic-farms-grid,
    .hub-grid,
    .menu-cards-grid {
        grid-template-columns: 1fr;
    }
}
    


/* Grand decoration for the Open App link */
.nav-bar .portal-link {
    background: linear-gradient(135deg, var(--primary) 0%, #e04f00 100%);
    color: var(--text-white) !important;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(255, 107, 8, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    animation: btn-glow-pulse 2s infinite ease-in-out;
}

.nav-bar .portal-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 8, 0.6);
    background: linear-gradient(135deg, #ff7e1a 0%, #f05400 100%);
}

@keyframes btn-glow-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 107, 8, 0.35);
    }
    50% {
        box-shadow: 0 4px 22px rgba(255, 107, 8, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 107, 8, 0.35);
    }
}
