/* ========================================
   Mobile Native App UI Simplification
   ======================================== */

/* Hide web-specific elements in native app mode */
body.native-app .navbar,
body.native-app .hero-section,
body.native-app .vision-message-section,
body.native-app .why-section,
body.native-app .platform-content-section,
body.native-app .faq-section {
    display: none !important;
}

/* Ensure body padding for the bottom nav bar */
body.native-app {
    padding-bottom: 70px !important;
    padding-top: 0 !important; /* Reset padding if it was for the fixed top navbar */
}

body.native-app #main-content {
    padding-top: 20px;
}

/* Adjust Tools Section for Native App */
body.native-app .tools-section {
    padding-top: 10px;
}

/* ========================================
   Bottom Navigation Bar (Native App Only)
   ======================================== */
.bottom-nav {
    display: none;
}

body.native-app .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-top: 1px solid #e2e8f0;
}

body.native-app[data-theme="dark"] .bottom-nav {
    background: #1e293b;
    border-top-color: #334155;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
    width: 25%;
    transition: all 0.3s ease;
}

body.native-app[data-theme="dark"] .bottom-nav-item {
    color: #94a3b8;
}

.bottom-nav-item.active {
    color: #667eea;
}

body.native-app[data-theme="dark"] .bottom-nav-item.active {
    color: #8b5cf6;
}

.bottom-nav-item .nav-icon {
    font-size: 1.5rem;
}

/* Main action button in the center */
.bottom-nav-item.main-action {
    position: relative;
    top: -15px;
}

.bottom-nav-item.main-action .icon-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.bottom-nav-item.main-action.active .icon-circle {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    transform: scale(1.05);
}
