: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; }
.fw-900 { font-weight: 900 !important; }

/* ═══════════════════════════════════════════════════
   DESKTOP LAYOUT  ≥ 992px
   Full professional SaaS landing page
═══════════════════════════════════════════════════ */

.desktop-nav { display: none; }

@media (min-width: 992px) {

    /* ── Desktop Navigation Bar ── */
    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 64px;
        height: 70px;
        background: rgba(8,8,8,0.93);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255,255,255,0.07);
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 5000;
        box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    }
    .desktop-nav .dn-logo {
        display: flex; align-items: center; gap: 10px;
        text-decoration: none; flex-shrink: 0;
    }
    .desktop-nav .dn-icon {
        width: 38px; height: 38px; border-radius: 11px;
        background: var(--brand-amber); color: #000;
        display: flex; align-items: center; justify-content: center;
        font-size: 16px;
    }
    .desktop-nav .dn-wordmark {
        font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: -0.3px;
    }
    .desktop-nav .dn-links {
        display: flex; align-items: center; gap: 38px;
        list-style: none; margin: 0; padding: 0;
    }
    .desktop-nav .dn-links a {
        color: rgba(255,255,255,0.5); text-decoration: none;
        font-size: 13px; font-weight: 800; letter-spacing: 0.2px;
        transition: color 0.2s;
    }
    .desktop-nav .dn-links a:hover { color: #fff; }
    .desktop-nav .dn-cta {
        display: flex; gap: 12px; align-items: center;
    }
    .desktop-nav .dn-demo {
        background: var(--brand-amber); color: #000 !important;
        font-weight: 900; font-size: 13px;
        padding: 10px 26px; border-radius: 100px;
        text-decoration: none; transition: all 0.2s;
        box-shadow: 0 4px 16px rgba(245,158,11,0.3);
        white-space: nowrap;
    }
    .desktop-nav .dn-demo:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(245,158,11,0.5);
    }
    .desktop-nav .dn-consult {
        color: rgba(255,255,255,0.6) !important;
        font-weight: 800; font-size: 13px;
        padding: 10px 22px; border-radius: 100px;
        text-decoration: none;
        border: 1px solid rgba(255,255,255,0.12);
        transition: all 0.2s;
        white-space: nowrap;
    }
    .desktop-nav .dn-consult:hover {
        border-color: rgba(255,255,255,0.3);
        color: #fff !important;
        background: rgba(255,255,255,0.05);
    }

    /* ── Strip mobile wrapper constraints ── */
    .app-wrapper {
        max-width: 100% !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }

    /* ── Hide mobile-only UI ── */
    .system-bar,
    .app-header,
    #bottom-nav {
        display: none !important;
    }

    /* ── All sections: full-width with inner max-width container ── */
    .app-wrapper > section,
    .app-wrapper > footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .dt-inner {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 60px;
    }

    /* ── Hero ── */
    .hero-section-desktop {
        padding: 130px 60px 90px !important;
        text-align: left !important;
    }
    .hero-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 70px;
        align-items: center;
        max-width: 1240px;
        margin: 0 auto;
    }
    .hero-text-col { text-align: left; }
    .hero-text-col h1.saas-title { font-size: 4.2rem !important; }
    .hero-text-col p { padding-left: 0 !important; padding-right: 0 !important; max-width: 500px; }
    .hero-text-col .d-flex { justify-content: flex-start !important; }
    .hero-visual-col { position: relative; }
    .hero-visual-col .position-relative { margin: 0 !important; }

    /* ── Social proof strip ── */
    .social-proof-strip .social-proof-inner {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 60px;
    }

    /* ── Stats section: 4 columns inline ── */
    .stats-section { padding: 50px 60px !important; }
    .stats-section > .container { max-width: 1240px; }
    .stats-section .col-6 {
        width: 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
    .stats-section .stat-glow { font-size: 4rem !important; }

    /* ── Pain vs Solution ── */
    .pain-section { padding: 70px 0 !important; }
    .pain-section .pain-inner { max-width: 860px; margin: 0 auto; padding: 0 60px; }

    /* ── Features: 2×2 bento grid ── */
    .features-section { padding: 70px 60px !important; }
    .features-section .features-heading { max-width: 1240px; margin: 0 auto 32px; }
    .features-grid-dt {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        max-width: 1240px;
        margin: 0 auto;
    }
    .features-grid-dt .bento-feature { height: auto; }

    /* ── Ecosystem ── */
    .ecosystem-section { padding: 70px 60px !important; }
    .ecosystem-section > .mb-4 { max-width: 1240px; margin: 0 auto 32px !important; }
    .ecosystem-section .app-card { max-width: 1240px; margin: 0 auto 20px; }
    .ecosystem-section > a { max-width: 1240px; display: block; margin: 0 auto; }

    /* ── Testimonials: 3 columns ── */
    .testimonials-section { padding: 70px 60px !important; }
    .testimonials-section .testimonials-heading { max-width: 1240px; margin: 0 auto 32px; }
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: repeat(3,1fr) !important;
        gap: 24px !important;
        max-width: 1240px;
        margin: 0 auto;
    }

    /* ── Integrations ── */
    .integrations-section { padding: 60px !important; }
    .integrations-section h3 { max-width: 1240px; margin: 0 auto 32px; }
    .integrations-section .d-flex { max-width: 1240px; margin: 0 auto; }

    /* ── How It Works: 3 columns ── */
    .hiw-section { padding: 70px 60px !important; }
    .hiw-section .hiw-heading { max-width: 1240px; margin: 0 auto 48px; }
    .hiw-steps {
        display: grid !important;
        grid-template-columns: repeat(3,1fr) !important;
        gap: 24px !important;
        max-width: 1240px;
        margin: 0 auto;
        position: relative;
    }
    /* Horizontal connector line on desktop */
    .hiw-steps::before {
        content: '';
        position: absolute;
        top: 32px; left: 80px; right: 80px;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-amber), rgba(139,92,246,0.6), rgba(16,185,129,0.4));
        z-index: 0;
    }
    .hiw-steps > div { z-index: 1; }
    /* Hide the vertical line on desktop */
    .hiw-steps .hiw-vline { display: none !important; }

    /* ── Pricing: 3 columns ── */
    .pricing-section { padding: 70px 60px !important; }
    .pricing-section > .text-center { max-width: 700px; margin: 0 auto 48px !important; }
    .pricing-grid-dt {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 24px;
        max-width: 1240px;
        margin: 0 auto;
        align-items: start;
    }
    .pricing-grid-dt .pricing-card { margin-bottom: 0 !important; }

    /* ── Live Activity: 3 columns ── */
    .live-section { padding: 70px 60px !important; }
    .live-section .live-heading { max-width: 1240px; margin: 0 auto 32px; }
    .live-feed-grid {
        display: grid !important;
        grid-template-columns: repeat(3,1fr) !important;
        gap: 16px !important;
        max-width: 1240px;
        margin: 0 auto;
    }

    /* ── Architect profile ── */
    .architect-section { padding: 70px 60px !important; }
    .architect-section .container { max-width: 700px; }

    /* ── Footer ── */
    .app-wrapper > footer {
        padding: 60px 60px !important;
        max-width: 100%;
    }
    .app-wrapper > footer > div { max-width: 1240px; margin: 0 auto; }

    /* ── Upgrade text sizes for desktop ── */
    .hero-text-col h1 { letter-spacing: -2px; }
    section h2.fs-2 { font-size: 2.4rem !important; }
    .dev-badge { font-size: 11px !important; }
}

