/* Mobile Phone Frame Simulation */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #f5f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
}

.phone-container {
    perspective: 1000px;
    padding: 40px 20px;
}

.phone-frame {
    width: 375px;
    height: 812px;
    background: #1A1A1A;
    border-radius: 40px;
    box-shadow: 
        0 0 0 12px #1a1a1a,
        0 0 0 14px #333,
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Phone Notch */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 1001;
}

.phone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #1e1e1e;
    border-radius: 50%;
}

/* App Content Area */
.app-content {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.app-content::-webkit-scrollbar {
    display: none;
}

/* Bottom Navigation */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px 20px;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav.hidden {
    transform: translateY(100%);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.05);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    color: #1A1A1A;
}

.nav-item.active::before {
    opacity: 1;
    background: rgba(26, 26, 26, 0.08);
}

.nav-icon {
    width: 24px;
    height: 24px;
    stroke: #6B7280;
    transition: all 0.3s ease;
}

.nav-item.active .nav-icon {
    stroke: #1A1A1A;
    transform: scale(1.1);
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    transition: color 0.3s ease;
}

.nav-item.active .nav-label {
    color: #1A1A1A;
    font-weight: 600;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 120px;
    right: calc(50% - 187.5px + 30px);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1A1A1A 0%, #3A3A3A 100%);
    border: none;
    border-radius: 50%;
    box-shadow: 
        0 4px 16px rgba(26, 26, 26, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 24px rgba(26, 26, 26, 0.4),
        0 3px 12px rgba(0, 0, 0, 0.3);
}

.fab:active {
    transform: scale(0.95);
}

.fab svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* Responsive adjustments */
@media (max-height: 900px) {
    .phone-container {
        padding: 20px;
    }
    
    .phone-frame {
        transform: scale(0.9);
    }
}

@media (max-width: 450px) {
    body {
        background: #1A1A1A;
    }
    
    .phone-container {
        padding: 0;
    }
    
    .phone-frame {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    
    .phone-notch {
        display: none;
    }
    
    .fab {
        right: 30px;
    }
}
