:root {
    --brand-amber: #f59e0b;
    --brand-amber-glow: rgba(245, 158, 11, 0.4);
    --brand-dark: #121212;
    --brand-card: #1e1e1e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --app-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    --glass: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--brand-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main) !important;
}

p, span, div {
    color: inherit;
}

.text-muted {
    color: var(--text-muted) !important;
}


/* Super Animated Background Engine */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 100% 100%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
}

.floating-food {
    position: absolute;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: floatItem 8s infinite ease-in-out;
    z-index: -1;
    opacity: 0.3;
}

@keyframes floatItem {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* System Bar & Top Nav */
.system-bar {
    height: 44px;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    position: fixed;
    top: 0; width: 100%;
    z-index: 10001;
}

.app-header {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(15px);
    padding: 50px 20px 15px;
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* App-Native Bottom Dock */
.app-dock {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 420px;
    height: 75px;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    border: 1px solid rgba(255,255,255,0.1);
}

.dock-btn {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.dock-btn i {
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.2s;
}

.dock-btn.active {
    color: var(--brand-amber);
    text-shadow: 0 0 15px var(--brand-amber-glow);
}

.dock-btn.active i { transform: translateY(-3px); }

/* Cinematic Hero */
.hero-section {
    padding: 140px 20px 40px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.hero-title span {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Category Bubbles */
.category-scroll {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-pill {
    background: var(--brand-card);
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 100px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.cat-pill.active {
    background: var(--brand-amber);
    color: #000;
    border-color: var(--brand-amber);
}

/* Product Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 20px 120px;
}

.menu-card {
    background: var(--brand-card);
    border-radius: 24px;
    padding: 15px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--app-shadow);
}

.menu-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 12px;
}

.menu-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
    height: 34px;
    overflow: hidden;
}

.menu-price {
    color: var(--brand-amber);
    font-weight: 800;
    font-size: 16px;
}

.add-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--brand-amber);
    color: #000;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 10px var(--brand-amber-glow);
}

/* QR Code Section Banner */
.qr-banner {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 25px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dev-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--brand-amber);
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

/* B2B SaaS Landing Page Styles */
.saas-header {
    padding: 180px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.saas-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.saas-title span {
    background: linear-gradient(135deg, var(--brand-amber) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.saas-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-saas-primary {
    background: var(--brand-amber);
    color: var(--brand-dark);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px var(--brand-amber-glow);
    transition: all 0.3s;
}

.btn-saas-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.6);
    color: var(--brand-dark);
}

.btn-saas-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--glass-border);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-saas-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: var(--text-main);
}

.bento-feature {
    background: var(--brand-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bento-feature:hover {
    transform: translateY(-10px);
    border-color: var(--brand-amber);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px var(--brand-amber-glow);
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--brand-amber);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.mockup-container {
    position: relative;
    margin-top: 80px;
    perspective: 1000px;
}

.mockup-img {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    transform: rotateX(10deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 0 1px var(--glass-border);
    transition: transform 0.5s;
}

.mockup-container:hover .mockup-img {
    transform: rotateX(0deg);
}

.saas-nav {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Super App Landing Page Enhancements */
.app-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--brand-dark);
    position: relative;
    box-shadow: 0 0 100px rgba(245, 158, 11, 0.1);
    overflow: hidden;
}

.pricing-card {
    background: linear-gradient(180deg, var(--brand-card) 0%, rgba(30,30,30,0.5) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.pricing-card.premium {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.1);
}

.pricing-card.premium::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    background: var(--brand-amber);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.integration-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    transition: all 0.3s;
}

.integration-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.stat-glow {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .saas-title { font-size: 2.8rem; }
    .saas-nav { padding: 15px 20px; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.fw-800 { font-weight: 800 !important; }
